Skip to content

fix(verification): pass --unattended to the map refresh only when confirm's caller passed it - #11721

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11578-41240955539-1
Oct 31, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11578-41240955539-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11578

Summary

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

/verification:confirm used to add --unattended to /app-control:map refresh whenever it guessed that no one was present (a pipeline lane). That broke the #9104 rule that the caller's argument is the only unattended signal. Now the skill adds the flag only when its own caller passed --unattended. The Mode dispatch paragraph says the flag also governs this refresh. The eval prompt passes --unattended, and its pipeline-lane sentence is gone, so the eval passes only by keying on the flag. Choice and basis: this is part 2 of #11572's split; the parent's section 2 names SKILL.md:170 and the eval as the change.

Not verified

  • check-evals-quality could not run on this eval: the wrapper needs a JSON eval set and failed to parse case.yaml (jq parse error). check-affected lists evals-quality and evals-schema as CI only, so they are left to the PR's CI.
  • Running the eval itself (model run of confirm-unattended-refresh-passes-unattended) is left to the PR's CI; this lane runs no eval harness.
  • Tidy partly ran (step recorded as skipped). Passes 1-4 ran and changed only the changelog fragment, where one two-thought sentence was split. Pass 5 (/ai-slop:audit fix) could not run its detector, because the lane's Bash allows only the named wrappers. The in-scope lines were read by hand against t
  • Untracked files in the checkout root (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) were not created by this run. They were left out of the change and the tidy measure.
  • Out of scope, for a possible follow-up: plugins/verification/skills/confirm/context/intent.md:8 and :42-43 still decide intent retrieval and whether to ask from the environment (TRUSTED_CONTEXT_FILE, 'a pipeline lane, an unattended run'), which may conflict with the same #9104 rule. Not changed here

Fix

  • plugins/verification/skills/confirm/SKILL.md: Stage 2 step 1 adds --unattended to /app-control:map refresh only when this skill's caller passed --unattended, replacing the 'no one is present (a pipeline lane)' guess; Mode dispatch now names this refresh as something --unattended governs.
  • plugins/verification/evals/confirm-unattended-refresh-passes-unattended/case.yaml: the prompt opens with '/verification:confirm outcome --unattended', the 'A pipeline lane invoked this run and no one is present' sentence is removed, and the description is reworded to match.
  • .changes/verification/work-resolve-issue-issue-11578-7c4e2b19.md: new patch changelog fragment for the verification plugin.

Verification

The runner ran each check from the base copy against 84baf12:

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

The run reports:

  • check-changelog-fragments: All 8 changelog fragment(s) under .changes/ are valid (run before tidy, after tidy, and after the review fixes).
  • check-affected: 11 passed, 7 skipped over 3 changed files; skips are typos (not installed), shellcheck and ruff (no shell or .py changed), and checks that run the checked tree's own code (run three times, last after the review fixes).
  • Fresh-context review subagent over the diff: no blocking findings. Fixed two low findings: the Mode dispatch scope sentence was incomplete, and the eval prompt still carried pipeline-lane wording, so the old environment-inference rule would also pass. Graders and samples/refresh-passes-unattended.js
  • Grep of plugins/verification for 'pipeline lane|no one is present|unattended': no other place infers an unattended refresh from the environment.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41240955539

Left out: the items under Not verified.

Related

#11578

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

Copy link
Copy Markdown
Contributor

claude-review reviewed 84baf1264b0b21829483408593fea0edc185a2c9: 1 finding(s), 0 as inline comments.

The SKILL.md change, the Mode dispatch wording and the changelog fragment (bump: patch) match the closing issue #11578 and look correct. I read the diff and grepped plugins/verification. I didn't run the eval.

One finding: the "only when" half of the done-when has no test that could fail. See the inline comment on the eval prompt.

Closing issue #11578 done-when, "verification:confirm adds --unattended to the refresh call only when its caller passed it, and its eval passes the flag":

  • Eval passes the flag: met.
  • SKILL.md: met.
  • "Only when": met in the text, but not covered by any test.

The PR body notes that confirm/context/intent.md:8 and :42-43 still key on the environment ("a pipeline lane, an unattended run"). That is out of scope for this part, so I raised nothing on it.

Spend: none. This change doesn't add model runs or schedule changes.

critical-findings: 1

Findings not posted inline (their lines are not in the diff):

  • plugins/verification/evals/confirm-unattended-refresh-passes-unattended/case.yaml:27 (RIGHT): This prompt now passes --unattended and no longer says a pipeline lane invoked the run. The old rule was "add --unattended when no one is present". With the flag in the prompt, a model following the old rule would also add it, so the case passes under both rules.

The issue's done-when says "adds --unattended to the refresh call only when its caller passed it". Nothing here would fail if that half regressed to "add it whenever nobody is present".

Add a sibling case with the same facts, a pipeline-lane or no-one-present sentence, and no --unattended argument. It should expect /app-control:map refresh cart/total without the flag. Both the pattern grader and the criteria would need to forbid --unattended on the call.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

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

No security issues found in this pull request.

critical-findings: 0

What I read. All three changed files in .claude-lane/pr.diff, plus the PR context. The files are a changelog fragment, one eval case.yaml, and plugins/verification/skills/confirm/SKILL.md. None of them matches a trusted path, and none is a plugin manifest, so there are no manifest <field> lines.

Instruction-surface check. The SKILL.md edit narrows when /verification:confirm adds --unattended to /app-control:map refresh. Before, it added the flag whenever it guessed no one was present. Now it adds the flag only when its own caller passed --unattended.

  • This is the direction that asks more often, not less. No guardrail, permission check, token scope or trusted-actor rule is removed or loosened.
  • The skill still never edits a control skill, and the line "Neither the drift nor app-control's absence holds the verdict" is unchanged.
  • Untrusted text gains no new route into a credentialed lane. The "pipeline lane" environment guess that was dropped was a weaker signal than the caller's argument.
  • docs/conventions/instruction-exception-register/README.md in the checkout is only a redirect stub, so the protected-class list was not consulted. I judged by consequence instead: a pipeline lane that omits the flag may now get a prompt from the refresh, which is a stall (an availability or behavior cost). That does not reach a leak, compromise or charge.

Cost. The diff adds no billed resources. The eval change only alters the prompt of an existing eval case, so it spends no new prepaid credits.

Out of scope, per the PR text. plugins/verification/skills/confirm/context/intent.md still infers its behavior from the environment. That is a consistency matter for a follow-up, not a security finding here.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 84baf1264b0b21829483408593fea0edc185a2c9.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit 73c0d7e Oct 31, 2026
44 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-11578-41240955539-1 branch October 31, 2026 22:23
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 73c0d7e1c4be43da1d052c055d1fead4128c1463; later checks count it verified from this comment.

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 2 of 4

0 participants