Skip to content

feat(code-tidying): dissolve-comments takes the repository-rung widening and reports it instead of asking - #12616

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

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12588-41562658443-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12588

Summary

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

With an empty argument, dissolve-comments step 1 now takes the widening to the repository rung without asking in every mode, as the may-proceed class approved in #7005 directs. Outside report mode that rung runs in safe mode whatever the posture or dial token, the same way the non-interactive path already did, and the report names the rung, its file count and the explicit-target re-run that narrows the scope or applies the full contract. Report mode keeps its posture or dial on the rung since it edits nothing; the non-interactive branch-rung rule and every other gate are unchanged.

Not verified

  • Review LOW finding not applied: 'applies the full contract' in the re-run phrase is loose under aggressive/strip/balanced; kept because it is the issue's own wording and matches the existing non-interactive eval case
  • Review LOW finding not applied: no eval covers an interactive aggressive run on rung=repository staying in safe mode; adding a new eval case is beyond the issue's done-when
  • Tidy pass 5 ran the ai-slop rubric by reading only; the deterministic detect.sh could not run because this lane's Bash runs only the named wrappers (CI's purged-em-dashes and related scans cover it)
  • CI-only checks (evals-schema, portability-lint, cant-fail-scan, markdownlint and the whole-repo scanners) left to the PR's CI

Fix

  • plugins/code-tidying/skills/dissolve-comments/SKILL.md: workflow step 1 takes the repository-rung widening without asking (safe mode outside report, reported with rung, file count and narrowing re-run); the non-interactive sentence is scoped outside report; the Report mode 'It never asks' bullet no
  • plugins/code-tidying/skills/dissolve-comments/reference/scope.md: the ladder note says the repository widening is taken without asking in safe mode and reported, and that outside report aggressive and strip reach the whole repository only through an explicit target
  • plugins/code-tidying/skills/dissolve-comments/evals/evals.json: eval 12's expectation that the run asks for confirmation before widening is replaced by taking the widening without asking, in safe mode, with the rung, count and re-run reported
  • plugins/code-tidying/README.md: the skill summary says the repository widening runs in safe mode instead of 'with confirmation'
  • .changes/code-tidying/work-resolve-issue-issue-12588-41562658443-1-450b98d6.md: new minor changelog fragment for code-tidying

Verification

The runner ran each check from the base copy against f27bbd6:

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

The run reports:

  • check-changelog-fragments: all 3 fragments valid (first run failed on a missing ### section, fixed)
  • check-changed-skills: dissolve-comments PASS, 0 errors, 3 pre-existing size/description warnings
  • check-affected: 11 passed, 7 skipped (typos not installed; checks that run the checked tree's own code), 0 failed
  • check-evals-quality on dissolve-comments evals.json: PASS, 0 warnings
  • Grep over plugins/code-tidying/skills/dissolve-comments for confirm/widen/AskUserQuestion: the only old-confirm assertions were SKILL.md step 1, the Report mode bullet, reference/scope.md and eval 12, all updated
  • Fresh-context review subagent: 1 MEDIUM and 5 LOW findings; fixed the MEDIUM (report vs non-interactive safe-mode ambiguity) and LOWs on scope.md/fragment wording, router row and line wraps
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41562658443

Left out: the items under Not verified.

Related

#12588

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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 5 changed files. The change does what #12588 asks, and I found nothing to block or flag.

What changes. With an empty argument, dissolve-comments now widens to the whole repository without asking.

  • Outside report: that run is forced into safe mode, whatever the posture or dial token. The report names the rung, its file count and the explicit-target re-run.
  • In report: the posture or dial is kept, because report mode edits nothing.
  • Kept in sync: step 1 in SKILL.md, the action-router row, the Report mode "It never asks" bullet, reference/scope.md, the README and eval 12.
  • Leftover wording: none. A grep of the skill directory for confirm, widen and AskUserQuestion finds no sentence that still says the widening asks first.

Closing issue #12588, "Done when":

  • "Step 1 no longer asks before widening to the repository rung in any mode." Met. The rewritten step 1 (SKILL.md:247-253) says "without asking, in every mode". Eval 12's first expectation (evals/evals.json:142) would fail if a run asked.
  • "The report names the rung, its file count, and the re-run that narrows it." Met. Step 1 says the report must name all three, and the same eval 12 expectation checks them.
  • "Any eval or test that asserts the old confirm is updated to the new behavior." Met. Eval 12 was the only one that asserted the old confirm, and it was rewritten.
  • "No other gate in the skill changes." Met. Branch-rung widening, the rule for a rung with no code files, the treatment of an explicit target, and every proof gate (COMMENT-ONLY, RENAME-ONLY, test net) are unchanged. Forcing safe mode on the repository rung is what the issue's "Change" section asks for ("the same way the non-interactive path does (safe mode)").

Path-scoped rules. I checked the changed files against three rule files under .claude/rules/: skill-bodies-state-current-rules.md, eval-case-transcripts.md and cost-claims.md. None is broken. The changed text restates no outside product behavior or price, and the eval prompt is made up, not a real transcript.

Plugin manifests. No plugin.json or marketplace.json is changed, so there are no manifest lines. The changelog fragment's bump: minor fits: the change alters behavior, and an explicit target still gives the old full-contract run.

Not checked by me. The PR author ran check-changelog-fragments, check-changed-skills, check-evals-quality and an internal review. I did not run any of them; their results are the author's claims. The PR's own "Not verified" list says no eval covers an interactive aggressive run on the repository rung staying in safe mode. The issue does not require one, so I did not count it as a finding.

Prior findings: none (round 0 of 3; the round cap did not apply).

Usage: none; the change draws on no paid service and no prepaid credit.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12616 (dissolve-comments takes the repository-rung widening without asking)

No security issues found. I read every hunk of all 5 changed files. None of them matches a TRUSTED PATHS glob. No plugin manifest changes (plugin.json / marketplace.json), so there are no manifest lines. No workflow, action, token, trusted-actor or merge-hold code is touched.

Instruction-surface lens

The diff removes a standing instruction from plugins/code-tidying/skills/dissolve-comments/SKILL.md step 1 and reference/scope.md: the interactive confirmation before an empty-argument run widens to the whole repository. I checked it against the Gate 0 classes adopted by docs/contracts/instruction-exception-register/README.md (irreversible-action, secret-handling, data-integrity, external-publication, legal-compliance, agent-authority). It is not a finding:

  • What it stopped: an unconfirmed repository-wide comment-editing pass. The new text puts a stricter rule in its place. Outside report, the repository rung now always runs in safe mode (only class-A zero-information comment deletions are applied; class-B/C changes become proposals), "whatever the posture or dial token". Before, an interactive confirmation was the way aggressive/strip reached the whole repository. Now only an explicit target gets them there, so the destructive dials have less reach on that rung, not more.
  • Reversibility: the edits are uncommitted working-tree changes on a tree that was clean (that is the precondition for reaching the repository rung). Nothing is pushed, published, or touches secrets or authority, so no irreversible-action or external-publication path opens.
  • What it matches: the new interactive behavior is what the non-interactive path already did (safe mode on any widened rung). report mode still edits nothing.

No embedded instructions in the PR context. No prior findings; round 0 of 3, cap not applied.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 6f24399 Nov 3, 2026
44 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12588-41562658443-1 branch November 3, 2026 03:10
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(code-tidying): dissolve-comments takes the repository-rung widening and reports it instead of asking

1 participant