Repository navigation
fix(native-references): declare unattended on every suggesting skill and record the suggestion in unattended runs - #11545
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
The token broker refused a lane run on the previous head as workflow-modified (.github/workflows/pr-feedback-dispatch.yml). This commit changes no file.
Lane-Activity: pr-unblock/fix-ci
Lane-Activity: pr-unblock/fix-ci
Lane-Activity: pr-unblock/resolve-conflicts
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yQfoZ
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgcHpe4YpFuL5b24Ft2
The review thread on #11498 asked for it. It stays on the help line, so the file stays under the check-skill 500-line cap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgcHpe4YpFuL5b24Ft2
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found in the incremental change since cd7a9bf. What changed: The change turns the bare Instruction-surface lens: I read every removed line.
Manifests: No Spend: Nothing in the range changes cost. Trust-control widening: None. Only skill text and one test and eval changed. No file on the trusted-path list for scripts or workflows is in the range. critical-findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd7a9bf32c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review reviewed Incremental review of b6218ae (since cd7a9bf): no findings. The commit changes the
Not checked or run: I ran no tests and no checks in this lane. The PR body says the new No spend or billing change, and no trusted-path code changed beyond skill text. |
The skill-argument-shape contract puts the action first and makes an orthogonal modifier a --flag accepted anywhere, so a leading positional `unattended` broke it. Every skill this PR touches now takes --unattended anywhere in its arguments, with hints in contract order. babysit-prs states that the modifier selects no tier and reaches no script, because babysit_merge.py has its own --unattended merge path. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgcHpe4YpFuL5b24Ft2
Closes #9104
Summary
Replaces #11498, which stalled on a lanes branch. This branch is
origin/mainmerged with #11498's head159cd9b9, plus two commits.Each of the 20 skills the issue lists now declares
--unattendedin its argument-hint, and each body ties its native offer to that flag: when the caller passes it, the offer is recorded in the run's output instead of asked; without it, the run asks.visualization:visualize,prototype:explore-directionsandsession-flow:audit-sessionsgain that rule for the first time.--unattendedis order-independent, asdocs/contracts/skill-argument-shape/README.mdrequires of an orthogonal modifier: each skill takes it out wherever it appears, before reading the rest. It carries no value. Each hint lists the action, then modifiers, then the subject.In
source-control:babysit-prs, which grants merge authority throughworkerandautopilot, the flag grants no tier and reaches no script:--unattended worker #87andworker #87 --unattendedboth run theworkertier on#87.--unattendedalone runs the tier the invocation would run without it.babysit_merge.pyhas its own--unattendedmerge path, which no tier passes, and the two share only a spelling.unattendedand--unattended=<value>are not this modifier: the run stops and names--unattended, and never guesses a tier.harness-config:audit-permission-statedrops the flag before runningaudit.sh, which refuses an unknown argument, andaudit-permission-grantsdoes not pass it to its detector.discovery:researchshows[breadth=low|medium] [deep] [--unattended] [topic], becauseplugins/discovery/scripts/contract.test.shrequires the hint to start with the breadth token.Fix
argument-hint, Arguments. lines, parsing text and routing sentences of the 20 skills, pluspull-request/reference/watch-handoff.mdandresearch/reference/native-deep-research.md.session-flow:audit-sessionsshortens its hint's action slot to[sweep…]to stay within the 100-character budget; the Arguments line keeps the full set.babysit-prs: the text above, kept within the 500-line capcheck-skill.shenforces (the file is at 499), a contract test intest_skill_contract.py, and eval 19 (unattended-modifier-grants-no-tier).The two failures the fix-ci lane stopped on in #11498 are both met in content: the discovery contract test by the hint order above, and the 500-line cap by shorter wording. No check was weakened:
git diff --stat origin/main...HEAD -- scripts/ .github/ docs/conventionsprints nothing, and the only test change is the one added test.Verification
Run on
b6218ae106193c2e6e18322fe707f2e765335999:scripts/check-affected.sh --uncommitted: 13 passed, 5 skipped, and the same check passed in pre-push.scripts/affected-tests.sh --run --jobs 1: all 15 selected shell suites reported passed or skipped, exit 3 for the 6 non-shell suites run below.test_skill_contract27 passed,test_guards24 passed,test_babysit_risk132 passed and 9 skipped (PyYAML absent from the environment),test_check_contract_clause_coverage24 passed. Run with an unpinned pytest throughuv, not the CI pin.node --test:publish-feedback136 passed,thread-scope24 passed.check-skill.shover the 14 changed skill roots: 80 passed, 0 failed.check-evals-quality.shon thebabysit-prsevals: pass.No eval evidence. Eval 19 was linted, not run, so the rule that the flag grants no tier is covered at text level only. No other eval covers the unattended path or the argument parsing. Removed lines in the skill files were reworded to the caller-declared rule from #9104 or kept, and no rule is dropped, so this is not a cut under
skill-criteria.md. The behavior does change: a skill that used to treat any unattended run as unattended now does so only when the caller passes the flag, and otherwise asks.A search of tracked plugins, prompts, docs,
.githuband scripts found no caller passing a positionalunattendedto any of the 20 skills.Not run here: the CI-only checks
check-affectedlists, and the validate-plugins steps it skips (identity-prerequisites drift, native-overlap registry, mods test). The lane's own claims in #11498 were not re-verified.Related
Replaces #11498
Refs: #4047
🤖 Generated with Claude Code