Skip to content

feat(docs-hygiene): compress takes its prescribed scope and concurrency defaults instead of interviewing - #12627

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12591-41562841063-1
Nov 3, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12591-41562841063-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12591

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Step 3 of compress's repo-wide fallback no longer asks the user anything. It takes the prescribed defaults (the first ten COMPRESS rows in step 2's order, concurrency 2, always-loaded files excluded) and reports them in one line, with the override for each. The user gives any override in the reply to step 4's existing confirmation. Always-loaded files still need the explicit opt-in, and the step 1 offer, the step 4 confirmation and every per-file hard rule are unchanged. I chose to keep the step 4 confirmation as the place for overrides because clean-tree-fallback.md requires compress to confirm a second time before any edit.

Not verified

  • tidy: passes 1-4 ran. In pass 5 the ai-slop deterministic detector (detect.sh) could not run, because this lane runs only its named wrappers. Only the rubric read covered the changed lines, and it found nothing to fix
  • markdownlint and the skill script tests were skipped inside check-changed-skills (CHECK_SKILL_SKIP_MARKDOWNLINT / CHECK_SKILL_SKIP_SCRIPT_TESTS); left to the PR's CI
  • Two review suggestions not applied, as out of scope: renaming the 'Repo-wide interview fallback' heading and its citations, and saying what happens when there are fewer than ten COMPRESS files
  • git status shows untracked sandbox files at the repo root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc). This run did not create them, and they are not part of the change

Fix

  • plugins/docs-hygiene/skills/compress/SKILL.md: step 3 now takes the defaults without AskUserQuestion and reports them in one line with the override for each; the intro names the two gates that remain (steps 1 and 4); step 4 runs over the reported set plus any override; the non-interactive line is re
  • plugins/docs-hygiene/context/clean-tree-fallback.md: the compress row now says the run takes prescribed defaults and stays confirmation-gated, not interview-gated
  • plugins/docs-hygiene/skills/compress/context/target-types.md: the clean-tree row says 'audit-first run', not 'audit-first interview'
  • plugins/docs-hygiene/skills/compress/evals/evals.json: eval 7 now expects the defaults to be taken without a question and reported with their overrides, always-loaded files to stay excluded without an opt-in, and declining the offer or the final confirmation to exit
  • .changes/docs-hygiene/work-resolve-issue-issue-12591-41562841063-1-6864271f.md: new minor changelog fragment for the change

Verification

The runner ran each check from the base copy against 65d3a7f:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 5 fragments valid (run after the edits, after tidy, and after the review fixes)
  • check-changed-skills: compress PASS, 0 errors; the 4 warnings were already there (description length, body size, token cap, a fan-out-orchestration.md judgment-language note)
  • check-affected: 11 passed, 7 skipped, 0 failed over the 5 changed files
  • check-evals-quality on compress evals.json: PASS; the 4 Q4 warnings are on eval cases 5, 6 and 10, which this change did not touch
  • fresh-context review subagent over the diff: no failures against the issue's done-when. Fixed two findings: eval 7 still said 'declining at any step', and the scope default now names step 2's order, which has a tie-break
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41562841063

Left out: the items under Not verified.

Related

#12591

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 65d3a7f781ca324e8c92d7656d1eeb3a0994a868: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12627 (head 65d3a7f)

I found no security issues.

I read every hunk of all 5 changed files. The change only edits prose in a skill, plus a changelog fragment and an eval. No workflow, action, trust control, manifest, hook, or file under the trusted paths is touched.

Instruction-surface lens. The diff narrows a standing instruction. In compress's repo-wide fallback, step 3 used to ask about scope and concurrency with AskUserQuestion. It now takes the prescribed defaults (top-10 COMPRESS, concurrency 2, always-loaded files excluded) and reports them in one line. I checked each removed rule against what breaks when it is absent:

  • Mutation without consent: still gated. The step 1 offer stays. The step 4 "Confirm and run" stays before any edit (plugins/docs-hygiene/skills/compress/SKILL.md L36, L49). The eval still expects "No file is edited before the user's explicit final confirmation".
  • Always-loaded files: they stay excluded unless the user opts in explicitly, the same opt-in as --force (SKILL.md L48). The new eval expectation enforces this.
  • Exposure cap: the top-10 default and the circuit-breaker reasoning are unchanged.
  • Non-interactive path: it still takes the no-op branch (SKILL.md L52). The wording changed but the behaviour did not.
  • Every per-file hard rule (semantic-diff dispatch, revert pass, markdownlint, <3% revert) is unchanged.

So no protected action loses its check. I did not consult the instruction exception register file, so I judged the removed rules by their consequence only.

PR context. It contains no embedded directives aimed at this lane.

Spend. Nothing new. Each run uses the same capped defaults as before.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 65d3a7f781ca324e8c92d7656d1eeb3a0994a868: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12627. No findings.

I read every hunk in all 5 changed files. To check the change in context, I also read the head versions of plugins/docs-hygiene/skills/compress/SKILL.md (the auto-detect section and the fallback section) and plugins/docs-hygiene/context/clean-tree-fallback.md. None of the changed files matches a trusted-path glob.

Closing issue #12591, done-when:

  • Step 3 no longer calls AskUserQuestion and states the defaults it took and how to override them. Met. At SKILL.md#L136, step 3 takes the defaults without asking and reports them in one line, with an override for each. The scope default is the first ten COMPRESS rows in step 2's deterministic order, which matches "top-10 by expected yield". A test covers it: eval 7 has a new expectation that no AskUserQuestion runs on scope or concurrency.
  • Always-loaded files stay excluded unless the user opts in explicitly. Met at SKILL.md#L139. Eval 7 has a new expectation for it.
  • The step 1 offer and every per-file hard rule are unchanged. Met. The diff does not touch step 1 or the Hard rules section. Eval 7 still has its expectations for the offer and for the per-file hard rules.

Consistency checks:

  • clean-tree-fallback.md requires compress to confirm a second time before any edit ("Deliberate divergences"). Step 4 still does that.
  • The updated compress row in the shared contract and the target-types.md row both match the new step 3.
  • The ## Repo-wide interview fallback heading is kept, so the existing citations to it still resolve.
  • The changelog fragment's bump: minor fits a change to how an existing flow behaves. No plugin manifest changed, so the manifest checks do not apply.

Verification: I ran no tools beyond reading files. The PR's results for check-changelog-fragments, check-changed-skills, check-affected and check-evals-quality are the author's claims and I have not verified them. The PR also says markdownlint was skipped and left to CI.

No embedded instructions were found in the PR context. Nothing was held from earlier rounds: this is round 0 of 3.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 65d3a7f781ca324e8c92d7656d1eeb3a0994a868.

Merged via the queue into main with commit b83be29 Nov 3, 2026
44 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12591-41562841063-1 branch November 3, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(docs-hygiene): compress takes its prescribed scope and concurrency defaults instead of interviewing

1 participant