Repository navigation
feat(debugging): search for defect siblings, propose an always-on signal, and state the legitimate-state test in - #12164
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review: PR #12164 (head 66894e6)I read every hunk of all 13 changed files in Scope. No changed file matches a What I checked:
PR context. It contains no embedded directives aimed at this lane. Spend: the new eval case runs 3 runs, each up to 40 turns / 900 s, when the eval suite runs. This uses prepaid API credit only and is not a hold. critical-findings: 0 |
| Whether to propose is the `always_on_signal` key of `docs/conventions/debugging.yaml` at the | ||
| repository root (the git toplevel; outside a git work tree, or with the root at or above your | ||
| home directory, skip the file). `when-instrumented` (the default, used when the file or the key | ||
| is absent) proposes one when Phase 4 instrumentation ran, since needing a probe is what shows | ||
| the fact was hidden; `always` proposes one on every run; `never` skips it. A file that does not | ||
| parse, or any other value, is reported in the reply as invalid with the file, key and value, and | ||
| the default applies. Report the value in use in one line, such as | ||
| `always_on_signal: when-instrumented (default)`. |
There was a problem hiding this comment.
Advisory: only the default path of the always_on_signal gate is tested.
#12146 asks that the signal be proposed "only when the gating key says to", and that the skill "reads that key from the repository's docs/conventions/debugging.yaml". The new eval case covers exactly one path: no config file, Phase 4 ran, so a proposal is expected.
No test in this PR or the repo would fail if any of these broke:
- The skill ignores the file. A scaffold with
always_on_signal: neverstill gets a proposal, and every current grader still passes. when-instrumentedstops checking whether Phase 4 ran, and a session with no probe gets a proposal anyway.- An invalid value (say
always_on_signal: sometimes) is applied silently instead of being reported in the reply as invalid.
Fix: add one small sibling case whose scaffold commits docs/conventions/debugging.yaml with always_on_signal: never. Give it a grader that fails when the reply proposes an always-on signal and passes when it reports always_on_signal: never. That catches both a skill that ignores the key and one that misreads the file.
claude-lane: claude-review
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/debugging/skills/debug/SKILL.md:312, plugins/debugging/evals/phase6-finds-sibling-and-proposes-signal/case.yaml:4, plugins/debugging/evals/phase6-finds-sibling-and-proposes-signal/scaffold.sh:7, plugins/evals/skills/plugin-eval/reference/case-authoring.md:51
The gap is real. The only eval for the gate, phase6-finds-sibling-and-proposes-signal, has a scaffold that never writes docs/conventions/debugging.yaml. So nothing fails if the skill ignores always_on_signal: never, skips the Phase 4 check in when-instrumented mode, or silently applies an invalid value (SKILL.md:312-319). The fix is a sibling case whose workspace commits that file. Per case-authoring.md:51-52, a case can only get a writable file into its workspace through its own context.scaffold_script; add_dirs is read-only and outside the repository root. The runner documents no argument or environment variable that would let one scaffold serve two cases, and changing the existing scaffold to write never would break the current case, which expects a proposal. So the fix needs a new .sh scaffold, for example plugins/debugging/evals/phase6-signal-gate-never/scaffold.sh. The lane's path check refuses that file because new shell scripts are out of scope for this mode. I made no edit. A person should add the case: a copy of the existing scaffold that also commits docs/conventions/debugging.yaml with always_on_signal: never, a prompt.md like the existing one, and a grader with samples. The grader should FAIL a reply that proposes an always-on signal and PASS one that reports always_on_signal: never. A second case with an invalid value would cover the invalid-value branch.
There was a problem hiding this comment.
pr-fix lane: please fix this finding.
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/debugging/skills/debug/SKILL.md:312, plugins/debugging/evals/phase6-finds-sibling-and-proposes-signal/case.yaml:4, plugins/debugging/evals/phase6-finds-sibling-and-proposes-signal/scaffold.sh:7, plugins/debugging/evals/capture-request-routes-to-drive/scaffold.sh:5, plugins/evals/skills/plugin-eval/reference/case-authoring.md:51
I followed the request to fix this, but this lane cannot make the fix, so it needs a person. The gap is still there: SKILL.md:312-319 gates the signal on always_on_signal, and the only eval for it, phase6-finds-sibling-and-proposes-signal, has a scaffold that never writes docs/conventions/debugging.yaml. A never case needs a workspace whose git root commits that file. Per case-authoring.md:51-52, only the case's own context.scaffold_script can write a file into the workspace. Every debugging case has its own scaffold.sh, and the shared ones call fixtures/seed.sh through their own directory (capture-request-routes-to-drive/scaffold.sh:5). So the fix needs a new scaffold.sh in a new case directory. The path check refuses that file (phase6-signal-gate-never/scaffold.sh) because this lane may not add shell scripts. The existing scaffold is in scope but cannot do the job. Making it write never would break the current case, which expects a proposal. The repository documents no argument or environment variable that would let the script tell which case runs it, so it cannot serve both. Adding only the case's data files would leave a case.yaml pointing at a missing script, so I made no edit. Fix for a person: add phase6-signal-gate-never/ with a scaffold.sh that copies the existing one and also commits docs/conventions/debugging.yaml with always_on_signal: never, a prompt.md like the existing one, and an llm grader with samples. The grader should FAIL a reply that proposes an always-on signal and PASS one that reports always_on_signal: never. A second case with an invalid value such as sometimes would cover the invalid-value branch, and a never-instrumented session under the default would cover the when-instrumented check.
There was a problem hiding this comment.
The replacement PR #12200 carries the fix: new eval case plugins/debugging/evals/phase6-signal-gate-never/ commits docs/conventions/debugging.yaml with always_on_signal: never and grades that the reply reports that value (regex grader, samples checked by validate-cases.py) and proposes no signal (llm grader). Pushed; head 52954d1 on feat/debugging-12146-signal-gate.
|
claude-review reviewed Code review: #12164 (head 66894e6)I read all 13 changed files in full. The change does what #12146 asks. The Phase 6 sibling search, the gated always-on signal proposal, the legitimate-state test on the null-check line, the schema 1.1 eval case and the Findings
Closing issue #12146: acceptance criteria
Other notes
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
pr-unblock / address-feedback finished round 1 of max 4 on 66894e6. |
|
The pr-unblock lane stopped
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 gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12164 -f activity=address-feedback |
|
pr-unblock / address-feedback finished round 2 of max 4 on 66894e6. |
|
The pr-unblock lane stopped on this pull request and needs a person: a disputed review finding is one only a person decides (a CRITICAL finding, a security-review finding with no rating the lane reads, or a thread a person opened or directed).
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12164 -f activity=address-feedback |
|
Superseded by #12200, merged 2026-11-02T03:54:38Z. |
Closes #12146
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
Verification
The runner ran each check from the base copy against 66894e6:
The run reports:
Left out: the items under Not verified.
Related
#12146