Skip to content

fix(toolchain): count a run with no sign of a person as unattended - #17641

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-17636-44714020791-1
Nov 20, 2026
Merged

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

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17636

Summary

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

Rung 2 of the run-kind detector in plugins/toolchain/reference/resolution-ladder.md used to say "a person is in the session and can answer a question now", which a model cannot observe, so a bare /toolchain:check could take the attended rung. It now names what the run must observe: a message a person wrote other than the one that started the run, such as an earlier turn or a reply to an earlier question. The starting message alone (the slash command with its arguments, or a request to run it) is not enough, so such a run falls through to rung 3 and counts as unattended. Choice and basis: the eval case ck-unsure-run-is-unattended (prompt: a bare /toolchain:check) defines that input as 'cannot tell', so the sign had to be something beyond the invocation. I left the shared ecosystem-resolution contract unchanged because the issue covers only toolchain's detector.

Not verified

  • Eval runs: ck-unsure-run-is-unattended passing markdown-unresolved in 3 of 3 runs, and the other three unattended cases scoring no lower than on #16097's run. The issue names these as a host step after the PR opens; this lane runs no eval.
  • docs/contracts/ecosystem-resolution/README.md:43 and the shared generic-resolution.md copies (plugins/*/reference/ecosystem-resolution.md) still word rung 2 as 'A person is in the session and can answer now'. Toolchain's rung 2 is now stricter than the contract it cites. Aligning the contract and…
  • Review LOW findings left unchanged: plugins/toolchain/skills/lint/SKILL.md:176-182 still labels the gate rows Interactive/Non-interactive, and skills/check/SKILL.md:32 and README.md:26-28 say 'cannot tell whether a person is present' without saying that a bare invocation is that case. Neither…
  • Tidy: the ai-slop pass's detect.sh and digest-guard fix flow did not run because the lane's Bash allows only the named wrappers. The edited lines were read against the catalog by hand instead, with no finding. The write-for-agents and write-for-humans passes ran and tightened the wording.
  • check-affected skipped typos (not installed), comment-hygiene (fetch failed in the sandbox) and size-check (script missing in the lane); the PR's CI runs them.

Fix

  • plugins/toolchain/reference/resolution-ladder.md: rung 2 of "Run kind" now names the observable sign of an attended run (a message from a person other than the one that started the run) and says the starting message alone is no such sign.
  • .changes/toolchain/work-resolve-issue-issue-17636-44714020791-1-b5b1e997.md: new patch changelog fragment (### Fixed) describing the change and its effect on a session whose first message is /toolchain:check or /toolchain:lint, and how to get an attended run.

Verification

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

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

The run reports:

  • check-changelog-fragments: all 1 fragment under .changes/ valid (run before and after the tidy and review fixes).
  • check-changed-skills: no changed skills under plugins/*/skills/, nothing to gate.
  • check-affected: 14 passed, 9 skipped over 2 changed files (typos not installed; comment-hygiene and size-check could not run in the lane; validate-plugins sub-checks skipped by the check itself).
  • Fresh-context review subagent over the whole diff: no HIGH findings. Fixed its MEDIUM findings on a circular example, an unclear 'invocation' term under claude -p and an understated changelog. It found no eval case in plugins/toolchain/evals that depends on attended behavior from a bare invocation,…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44714020791

Left out: the items under Not verified.

Related

#17636

Follow-ups

  • Pre-existing (advisory): **Advisory: a person cannot get an attended run from the first message of a session.** (thread)

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

Copy link
Copy Markdown
Contributor

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

Security review: PR #17641

No security issues found. I read both changed files in full: the new changelog fragment and the edit to rung 2 of the run-kind detector in plugins/toolchain/reference/resolution-ladder.md.

What changed

  • Before, rung 2 counted a run as attended when "a person is in the session and can answer a question now". A model can't observe that.
  • Now a run counts as attended only when the session holds a message a person wrote other than the one that started the run. The starting /toolchain:check or /toolchain:lint command alone, or a request to run one, doesn't count.

Why this raises no security finding

  • Instruction-surface check: this rewrites a standing instruction in a plugin reference doc, so I checked it by consequence. The new rule is stricter: fewer runs count as attended, and more fall through to rung 3, which treats them as unattended. Per the changelog, an unattended run asks nothing, installs nothing, and stops after the plan for --code-fix without --yes. The change removes no guardrail and widens no action. It only sends more runs down the more cautious path.
  • Prompt injection: under the base wording, any session could claim to be attended. The new wording asks for evidence beyond the invocation itself. That narrows the attended path; it does not widen it.
  • Protected-class list: I didn't consult docs/contracts/instruction-exception-register/README.md, because no deletion or softening called for it. The edit narrows the rule.

Other checks

  • Trust controls: none of these are touched: trusted-actor list, kill switch, token broker, merge holds, or anything under .github/actions/. Neither file matches a trusted-path glob.
  • Manifests and code: the PR changes no plugin manifest, no userConfig key, and no workflow or code file.
  • Embedded text: the PR context file contains no text addressed to the review lane.
  • Prior findings: none; this lane hasn't reviewed an earlier head, so the review wasn't limited to blocking findings.

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 ee3ef6e3f977d335480f69d8e6367459ba08da1a; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed ee3ef6e3f977d335480f69d8e6367459ba08da1a: read 2 of 2 changed file(s); 1 finding(s), 1 as inline comments.

Code review: PR #17641, toolchain run-kind rung 2

The PR changes rung 2 of the run-kind detector in plugins/toolchain/reference/resolution-ladder.md. A run now counts as attended only when the session holds a message from a person other than the one that started the run. It also adds a patch changelog fragment. I read both changed files in full.

Closing issue #17636

  • "Rung 2 … names what the run must observe to count as attended, so a run with no such sign falls through to rung 3": met. The new text names the observable sign and says the starting message alone does not count. Prose like this has no unit test. The test that could catch it breaking is the ck-unsure-run-is-unattended eval.
  • "ck-unsure-run-is-unattended passes its markdown-unresolved grader in 3 of 3 runs" and "the three other unattended cases score no lower": not checked. The PR's "Not verified" section and the issue both say these are a host step after the PR opens. Their outcome is unknown until those eval runs land.

Eval regressions checked. Every ck-* and ln-* case that relies on rung-1 commands writes a full .claude/ecosystems/*.yaml record. Some use eval_eco, which sets every *-cmd key, null included. Others use a heredoc that sets all five keys. So the cases with a bare prompt do not depend on bundled-default fallback, and turning those runs unattended should not change what they expect. This came from reading the scaffolds; I did not run any eval.

Blocking findings. None.

Advisory finding (inline). A person cannot get an attended run from the first message of a session. The inline comment is on resolution-ladder.md:97-100.

Embedded text. None found in the PR context.

Loosened checks would be marked: fail (bundled default; no loosened_check_verdict: or loosened_check_patterns: line in the prompt, so fail and no consumer entries apply); patterns: 0. No loosened_check_decision_record: line either, so the citation requirement was not checked. The change makes the detector stricter, which is not a loosening.

Spend: none beyond this review run.

Verifier dropped 0 of 1 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44716729410

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on ee3ef6e.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44716729410

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head ee3ef6e3f977d335480f69d8e6367459ba08da1a, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=ee3ef6e3f977d335480f69d8e6367459ba08da1a rubric=10.4.3 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit c9eec4b Nov 20, 2026
69 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17636-44714020791-1 branch November 20, 2026 10:28
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit c9eec4baeb7def42dcc03eb1e14269c6398e85c2; 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(toolchain): a run that cannot tell whether a person is present still takes the attended rung

0 participants