Repository navigation
feat(session-flow): ask whether a check could decide a retro finding before proposing a prose rule - #15961
feat(session-flow): ask whether a check could decide a retro finding before proposing a prose rule#15961melodic-automation-lanes[bot] wants to merge 4 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review: PR #15961 (incremental, blocking only)I found no security issues in the commits pushed since Scope. This lane already reviewed an earlier head, so this pass reports only CRITICAL and IMPORTANT findings. I read the whole change in both files on the incremental list:
Neither file matches a trusted path, and neither is a plugin manifest. What changed. The full "could a check decide this?" test moves back out of session mode's Phase 3 "Check first" paragraph and into the catalog's placement decision tree. It now sits there as the first step, with a Yes branch and a No branch. "Check first" in Check on the moved instruction. These are edits to a standing skill body, so I judged them under the instruction-surface lens:
Not consulted. Prior findings. This lane's only earlier post is its summary of the previous head, which reported 0 findings, so there is nothing to carry over. Embedded text. The PR context holds no instructions aimed at this lane. critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): PR #15961Scope: what changed since
This lane has already reviewed an earlier head, so this review reports blocking findings only. Result: no blocking findings. What the push does:
Earlier findings:
Pointers checked:
Not verified: two done-when items are not visible to this lane: the No subagent hunters or verifiers were run. Verifier dropped 0 of 0 candidates. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM63GoE9
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
pr-unblock / address-feedback finished round 1 of max 4 on 0ce490c. |
Eval compare: do not merge yet; the change does not pass its own new caseHeld with New case (
The existing case ( Why, from one after-version trace: Phase 3 still put the prose rule first. Row 1, priority High: add a What the change needs before it can merge: the check-first rule stated where Phase 3 builds its recommendation rows (and the catalog read before a row is written, if that is the intended route), so that a finding a check can decide yields a check proposal and no prose-rule row. Then the new case is run again on the after version. Method notes: the retro skill's cases are in the older |
…ites rows The eval run showed Phase 3 forming its rows from context/session.md without reading the catalog's new first step, so a check-decidable finding still got a prose-rule row ahead of the codify route. State "Check first" once in session.md Phase 3, before the catalog is loaded: a finding a check could decide becomes a check proposal (/corrections:codify when installed, else the catalog's Hooks section on the strongest ladder rung) and gets no CLAUDE.md, AGENTS.md or rules-file row. Quick mode follows the same step. The catalog's first step is reduced to a pointer at it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reworked in 5705013 after the eval compare above showed Phase 3 forming its rows from
Local checks: |
Eval after the rework (head
|
| Case | Grader | Before the change | First version of this PR | This head |
|---|---|---|---|---|
| New: mechanical finding | Treats the rule as one a check can decide first | 3 of 3 | 2 of 3 | 3 of 3 |
Routes to /corrections:codify as a check proposal |
1 of 3 | 2 of 3 | 3 of 3 | |
| Proposes no new CLAUDE.md, AGENTS.md or rules-file line | 1 of 3 | 0 of 3 | 3 of 3 | |
| Proposal awaits approval | 3 of 3 | 3 of 3 | 3 of 3 | |
| Existing: first-occurrence policy-class mistake | all three graders | 3 of 3 | 3 of 3 | 3 of 3 |
Limits of this evidence, stated plainly:
- The validity gate marks every pass
INVALID, in every version, for one cause: the retro skill searches for session transcripts outside the eval sandbox (Globat the sandbox root and under the user's projects directory) and the sandbox denies it. The denial is the same before and after, so it does not explain the difference in the table, but it means these are grader counts, not a formal compare number, and no interval is quoted. - Three runs per cell. The judge was calibrated on these graders with must-pass samples only.
- Bash was not granted to the runs, the same in every version.
- The other 11 retro cases were not run on this head.
The do-not-merge label is removed on this evidence. Follow-up worth its own item: the retro's transcript search makes its cases unrunnable under the validity gate; the cases need a scaffolded transcript, or the gate needs to treat that denial as environmental.
|
The unattended merge path armed native auto-merge at head |
Verification evidence for 5705013The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file. Capture artifact: pr-capture-15961-5705013fc0109c7957581e03d448c9783df82b75, expires on 2026-12-13. One comment per pull request, updated in place for each new head. |
|
Merge-Risk: max=HIGH demote=true head=5705013fc0109c7957581e03d448c9783df82b75 rubric=8.4.17 rater=claude-opus-5-5 checker=claude-opus-5-5 |
|
pr-unblock / address-feedback finished round 2 of max 4 on 5705013. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM63I1h2
|
pr-unblock / address-feedback finished round 3 of max 4 on 5b238d4. |
Eval on head
|
|
Eval result for head 5b238d4 stands as posted above: the new case passes on 3 of 3 runs and the validity gate reads VALID. Nothing holds this pull request from my side; it is clear to merge once its checks pass. |
Hold: before/after eval for
|
| Case (Sonnet, mean of 6) | BEFORE | AFTER |
|---|---|---|
re-session-listed-failures-cover-unlisted |
1.000 | 1.000 |
re-session-noop-steering-line |
0.700 | 0.633 |
re-session-unwired-check-first |
1.000 | 0.875 |
- Sonnet: NOT met. Both batches are INVALID (5 permission denials AFTER, 8 BEFORE:
lsand Glob calls into the run's own auto-memory directory and the plugin's data scores directory, the same on both sides, so main's own behavior), and the compare is not shown non-inferior (-0.06, 95% interval -0.13 to +0.01). No case drops by a third. - Opus: not run. Its two batches were estimated at about 12.8 USD, over what the ceiling left.
- The drop on
re-session-unwired-check-firstis the grader, not the replies: the three failing AFTER replies namescripts/check-bare-fetch.shas the existing unwired check first, in words the regexnames-unwired-check-firstmisses ("nothing runs it", "never invoke it"). - No runnable case tests this PR's new behavior (a finding a check could decide comes back as a check proposal). Only id 16 in the legacy
skills/retro/evals/evals.jsoncovers it, andclaude plugin evaldoes not run that file; the issue's Done-when asks for one eval case.
Next, by the hub: fix the grader on main as its own change; remove the denial cause from the measurement; add a runnable case for the new behavior to this PR; include the running-retro cases that read the changed session.md; then a pre-registered run 2 on both models.
Before/after eval (run 2)Result: NOT MET (sonnet); opus not run.
Validity:
Turning auto memory off removed the memory-directory denials that made run 1 invalid. The score-history probe denials remain on both sides. The scores below are reported for completeness only. They do not count, because both sides are INVALID.
New case:
Cause analysis (a second agent re-derived the verdicts and numbers above from the result files and found no mismatch):
Next for this pull request: a wording change to the "Check first" paragraph so it decides where a finding goes and not whether to look for one, then run 3 on both models once the score-history read is fixed on main. Nothing has been pushed to this branch since run 1. session: GitHub Support |
Before/after eval, run 3: NOT MET on both modelsRun by the GitHub Support session on a local merge of this branch with Validity (re-derived with
|
| Model | Cases | BEFORE | AFTER |
|---|---|---|---|
| Sonnet | re-session-* (3) |
VALID | INVALID (1 counted denial) |
| Sonnet | rr-* (2) |
INVALID (14) | INVALID (17) |
| Opus | re-session-* (3) |
VALID | VALID |
| Opus | rr-* (2) |
INVALID (18) | INVALID (17) |
| both | re-mechanical-finding-check-proposal (AFTER only) |
n/a | VALID |
The rr-* cases read INVALID on main as well as on this branch: the retro reads the run's own transcripts and the plugin copy's root, which the sandbox denies. No before/after of those two cases can read VALID today, whatever this branch contains.
Scores (mean of 6 runs)
| Case | Sonnet before | Sonnet after | Opus before | Opus after |
|---|---|---|---|---|
| re-session-listed-failures-cover-unlisted | 1.00 | 1.00 | 1.00 | 1.00 |
| re-session-noop-steering-line | 0.80 | 0.83 | 1.00 | 1.00 |
| re-session-unwired-check-first | 1.00 | 1.00 | 1.00 | 0.958 |
| rr-routes-never-codifies | 0.72 | 0.74 | 0.98 | 1.00 |
| rr-skill-fit-names-owner | 0.458 | 0.417 | 0.667 | 0.583 |
- The only pair that is VALID on both sides is Opus
re-session-*: -0.01 (-0.04 to +0.01), non-inferior at 0.05. - Opus over all five cases: -0.02 (-0.06 to +0.01), not shown non-inferior. It includes the INVALID
rr-*files. - Run 2's loss on
routes-noop-linedid not recur (Sonnet 4/6 before, 6/6 after). The run-2 traces showed the same miss onmainwithout this branch's text, so it was not caused by this change. - One real loss: Opus
re-session-unwired-check-firstrun 5 failedno-bash-writeson a scratch copy it built withrm -rf,mkdirand a redirect.
This branch's own case
re-mechanical-finding-check-proposal: Opus 1.00 (6/6). Sonnet 0.75, with proposes-check-not-rules-line failing 0 of 6. In the run read, the retro proposes the check and also offers an "optional and secondary" CLAUDE.md line, which the rubric rejects. On Sonnet the behavior this change adds does not hold.
What this means
By the registered rule the result is NOT MET. Two things are in the way, and only one is this branch's:
- The
rr-*cases cannot read VALID onmain, so they cannot serve as before/after evidence until that is fixed onmain. - On Sonnet, the new case fails its main grader in every run.
Numbers other than the validity verdicts are the eval agent's and were not recomputed by this session. Result files and the registration are kept on the build host (eval-15961-3/, eval-15961-prereg-3.md). List cost about 45 USD.
|
Closing this pull request on the owner's answer of 2026-11-14 (hub question Q145, option (a)). Three two-version evals of this branch read NOT MET. In run 3 the branch's own new case, Issue #15935 stays open and goes back through intake with two added acceptance criteria, recorded there. The branch is left in place for the next build to read. |
Closes #15935
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 8268f92:
The run reports:
Left out: the items under Not verified.
Related
#15935