Skip to content

fix(native-references): move eleven skills from a bare unattended to an order-independent --unattended - #11594

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-11577-41213525315-1
Oct 31, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-11577-41213525315-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11577

Summary

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

The 11 skills #11572 lists (batch-simplify, audit-install-state, audit-performance, audit-skill-visibility, overengineering audit and delta, go-faster, clean-stop, handoff, retro, run-e2e) now take --unattended, accepted anywhere in their arguments, and list it in their argument-hint after the action and before the subject, as docs/contracts/skill-argument-shape/README.md sets. Every caller and eval on the positional form moves with them: the autonomy drift-delta routine, delta's recurring-wiring examples and its forward to audit, and the eval prompts and samples in code-tidying, harness-ops, overengineering, performance, session-flow and testing. Design choices, based on the contract's rule that an unrecognized token stops and names the accepted set: where a bare unattended could be misread (as a root, layer hint, scope or mode), the skill stops and names --unattended; in handoff and run-e2e it stays ordinary topic, purpose or scenario text and the run is attended. No script receives the flag: the three harness-ops engines (no --unattended in their argparse) still have it removed first, and go-faster passes only findings.py --mode unattended, a value that parser accepts (findings.py:1721). run-e2e's hint now puts its worst-case action first, and the body accepts worst-case either first or after the key=value tokens, so existing invocations still parse.

Not verified

  • Tidy skipped: the change is 46 files across 7 plugin areas, over the 10-file and 1-area tidy cutoffs
  • Eval suites were not executed here (no plugin-eval runner in this lane); left to the PR's CI
  • check-affected skipped typos (not installed), changed-skills, and three validate-plugins sub-checks that run code from the checked tree; the PR's CI runs them
  • Bump level is a judgment: the bare word unattended no longer marks a run unattended, a breaking change for any outside caller. The fragments use minor (patch for autonomy) to match #11545's fragments; a reviewer may raise session-flow, harness-ops and testing (all >=1.0) to major
  • Left to sibling parts of #11572, outside this issue's done-when: verification:confirm's environment inference, docs/contracts/native-references/README.md item 7 ('The bare unattended argument'), and plugins/harness-ops/skills/audit-native-overlap/SKILL.md:333, which says each suggesting skill decl
  • Untracked root dotfiles (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) appeared in git status during the run; this run did not create or edit them, and they are not part of the change

Fix

  • plugins/code-tidying/skills/batch-simplify/SKILL.md: hint \[time-window|branch|repo\] \[--unattended\] ...; the flag section, detection heuristic and Native-step label use --unattended, accepted anywhere; a bare unattended stops and names the flag
  • plugins/code-tidying/skills/batch-simplify/context/bundled-simplify.md: --unattended spelling
  • plugins/code-tidying/evals/{bs-branch-path-three-dot,bs-docs-protects-history,bs-dot-repo-path,bs-no-task-tools-fallback,bs-window-scope-and-exclusions}/case.yaml: prompts pass --unattended in different positions
  • plugins/code-tidying/evals/bs-no-task-tools-fallback/samples/skill-invoked.json: pass sample args use --unattended
  • plugins/harness-ops/skills/audit-install-state/SKILL.md, audit-performance/SKILL.md, audit-skill-visibility/SKILL.md: hint and Arguments use \[--unattended\], removed before the engine runs; a bare unattended stops; the suggestion labels use --unattended
  • plugins/harness-ops/skills/audit-install-state/evals/evals.json: eval 11 is now unattended-flag-not-a-root, run with --unattended
  • plugins/overengineering/skills/audit/SKILL.md: hint \[--unattended\] \[layer ...\]; only --unattended is accepted, anywhere in the arguments, and a bare word stops; write-route and probe text use --unattended
  • plugins/overengineering/skills/audit/context/surface-walk.md: --unattended spelling
  • plugins/overengineering/skills/delta/SKILL.md: same hint and argument rule; forwards --unattended to overengineering:audit
  • plugins/overengineering/skills/delta/context/recurring-wiring.md: every scheduled line and rule uses --unattended
  • plugins/overengineering/skills/audit/evals/evals.json, delta/evals/evals.json, evals/de-unknown-schema-stops/samples/no-audit-invoked.json: prompts and the sample args use --unattended, in different positions
  • plugins/performance/skills/go-faster/SKILL.md: hint \[--unattended\]; MODE and --mode come from the flag, which reaches neither findings.py nor the sweeper
  • plugins/performance/skills/go-faster/reference/areas.md, evals/evals.json, plugins/performance/evals/ac5-unattended-adopts-nothing/case.yaml: rerun advice and eval prompts use --unattended
  • plugins/session-flow/skills/handoff/SKILL.md, reference/settle-in-flight.md: hint \[file|prompt\] \[--unattended\] \[topic\] \[purpose...\]; the flag is removed anywhere before method detection
  • plugins/session-flow/skills/retro/SKILL.md: hint lists the modes, then \[--unattended\]; the flag is removed anywhere; the /insights offer is tied to the flag
  • plugins/session-flow/skills/clean-stop/SKILL.md: hint \[--unattended\]; other text is context, and a bare unattended stops
  • plugins/session-flow/skills/handoff/evals/evals.json, retro/evals/evals.json: prompts and expectations use --unattended, including before the method or mode
  • plugins/testing/skills/run-e2e/SKILL.md: hint \[worst-case…\] \[--unattended\] \[app=<app>\] \[base=<ref>\] \[trusted-root=<dir>\] \[scenario|<target>\] (fits the 100-character budget); the flag is removed anywhere; worst-case is accepted first or after the key=value toke
  • plugins/testing/skills/run-e2e/context/own-driving.md: Native-step label uses --unattended
  • plugins/testing/skills/run-e2e/evals/evals.json and plugins/testing/evals/run-e2e-*/case.yaml (6 files): prompts pass --unattended

Verification

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

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • Grep ^argument-hint:.*\\[unattended\\] and ^argument-hint:.*\[^-\]unattended under plugins/: no matches
  • Grep across the repo, excluding CHANGELOGs, for the 11 skill names followed by a bare unattended: only prose mode names, eval tags, sample answer text, findings.py --mode unattended, and two harness-ops grader fail samples (--root unattended, negative examples) remain
  • Grep for --unattended\[A-Za-z0-9\] under plugins/: no matches, after fixing the 16 glued run-e2e prompts the review found
  • Grep of harness-ops audit-install-state/audit-performance/audit-skill-visibility scripts for unattended: none, so no engine parser takes the flag, and the skills keep removing it
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: All 31 changelog fragments valid
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: first run failed validate-plugins (run-e2e argument-hint 102 characters); after the fix, 11 passed, 7 skipped over 46 changed files
  • check-evals-quality on the 7 changed evals.json files: PASS (5 warnings, all on cases this change does not touch); rerun on run-e2e and go-faster evals after the review fixes: PASS, 0 warnings
  • Fresh-context review subagent over the whole diff: 3 findings (glued run-e2e eval prompts, clean-stop stopping on any free text, run-e2e hint putting modifiers before the action) plus wording nits; all were fixed and both checks rerun
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41213525315

Left out: the items under Not verified.

Related

#11577

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

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 36052aa603f8fe2751c707d5b64087039101ea61: 0 finding(s), 0 as inline comments.

No security issues in the incremental change (plugins/session-flow/skills/handoff/SKILL.md, since adf338d).

I read the change under the instruction-surface lens, because it edits a skill body. It only re-wraps the --unattended bullet in the Arguments section, and the wording changes are trivial: "the topic or purpose text, like any other word" became "topic or purpose text, like any word".

The rule still says everything it said before:

  • The flag applies anywhere in $ARGUMENTS.
  • It is stripped before method detection.
  • It affects only the /export ask and the stuck-dependent-work step.
  • The bare word unattended is not the flag.

No rule is deleted, narrowed or softened, so there is nothing for the instruction exception register to match. I did not open that register, because no standing rule changed. The file matches none of the trusted-path globs. It touches no manifest, workflow, token scope, kill switch or merge hold.

I did not review the other 45 files, which are unchanged since adf338d and were reviewed then.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on fce893418b624effbf8bb155b0a08ce869006600; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 36052aa603f8fe2751c707d5b64087039101ea61: 0 finding(s), 0 as inline comments.

Incremental review of plugins/session-flow/skills/handoff/SKILL.md (since adf338d): 0 findings.

The change only re-wraps the --unattended bullet and its lead-in sentence in the Arguments section. I compared the removed and added text, and the wording and meaning are unchanged:

  • --unattended is stripped from $ARGUMENTS before method detection.
  • It affects only the /export step and stuck dependent work.
  • The bare word unattended is still read as topic or purpose text.

The reflow leaves the lines uneven (some about 120–150 characters, next to others wrapped at about 100). That is cosmetic. The repo's .markdownlint-cli2.jsonc sets MD013: false, so there is no line-length lint to break.

I checked this change by reading the diff and the file. I ran no tests. Everything else in the PR is unchanged since the earlier review and I did not re-review it.

No hold applies, and there is no cost or security surface in this change.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 36052aa603f8fe2751c707d5b64087039101ea61. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (evidence-unbound:claude-review: not bound:
  rerun-not-allowed; evidence-unbound:claude-security-review: not bound: rerun-not-allowed)

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6ySGdR
@melodic-automation-lanes

melodic-automation-lanes Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the pull request has an unresolved review thread the lane does not take (a reviewer it does not act on, a review of an older head, or a thread it already answered), so nothing will resolve it. The lane sets no label: the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11594 -f activity=address-feedback

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit 00ae8d5 Oct 31, 2026
81 of 86 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-11577-41213525315-1 branch October 31, 2026 20:39
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.

fix\(native-references\): finish the move to an order-independent --unattended - part 1 of 4

1 participant