Repository navigation
feat(session-flow): report what is still reported in recall - #15920
melodic-automation-lanes[bot] wants to merge 15 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-refine/fix-docs
|
claude-security-review reviewed Security review: PR #15920 at
|
|
claude-review reviewed Code review: PR #15920 at
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM63Bub7
|
pr-unblock / address-feedback finished round 1 of max 4 on c70226b. |
|
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=15920 -f activity=address-feedback |
…tection The tracker surface recall reads (`/work-items:track search` and `view --comments`) returns no state history, so a reopen is visible only where an item's own body or comments record it. Step 5 now says so and forbids reading the absence as "not reopened"; Step 6 reports that limit when the tracker was searched. The README, config reference and changelog fragment stop promising reopen detection. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
|
pr-unblock / address-feedback finished round 2 of max 4 on c70226b. |
|
Held with Why. The open review finding on What is not met. The "closed-then-reopened" half of the linked issue's first Done-when criterion needs a tracker capability that does not exist. That is a design decision for the owner, with these options:
Also owed before merge. The recall skill body changed and eval cases load it ( The two manifest notes on |
`get-item <id> --history` adds state_history to the item object. The flag is core-gated by features.state_history: the GitHub adapter reads the issue timeline's closed and reopened events over REST, one paginated read made only when asked for; every adapter that declares no state history (local-markdown and the jira, gitea and linear seeds) gets available: false with a reason, never an empty history. `track view --history` exposes it to other plugins. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Recall's tracker step now reads the state history of up to ten matched report-kind items with /work-items:track view --history and lists an item that was closed and later reopened under Still reported, with its dates and reopen count. When the tracker cannot report history, recall says so instead of reading that as "not reopened". A new eval case loads a work-items stand-in whose view returns a closed-then-reopened bug no comment mentions. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
…he seam doc relatively Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
…tems stand-in Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Result: /session-flow:recall before/after evalBottom line: non-inferiority NOT met on either model under the pre-registered rule. Terms (pre-registered before any scored run)
Sonnet: NOT met
Validity, verbatim:
Noise report: Conclusion: NOT met. AFTER is INVALID, and the compare does not show non-inferiority. The point Opus: NOT met
Validity, verbatim:
Noise report: Conclusion: NOT met under the pre-registered rule. Both sides are INVALID. The scores themselves Cause of the INVALID verdictsEvery permission denial has the same shape, on both sides. The recall skill's setup step leads the Both SKILL.md versions name the
This is not an API or auth error, so no run was excluded or re-run. Most denied runs recovered and Denials occur on both sides, so the mechanism predates this PR. AFTER had more: 5 against 2 New case:
|
| Model | Run | Score | Failed graders |
|---|---|---|---|
| sonnet | 1 | 0.0 | history-read, still-reported-names-reopened (run hit the Bash denial and stopped at 2 turns) |
| sonnet | 2 | 0.5 | history-read |
| sonnet | 3 | 0.5 | history-read |
| opus | 1 | 0.5 | history-read |
| opus | 2 | 0.5 | history-read |
| opus | 3 | 0.5 | history-read |
The case passes 0 of 6 runs. The still-reported-names-reopened grader passes in 5 of 6 runs, but
history-read fails in all 6.
Under the pre-registered rule, the sonnet result for this case is not comparable, because sonnet
run 1 did not attempt the task. The 0-of-6 pass count stands either way, since history-read
failed every run.
- What the runs did: in every trace the only Skill call is
work-items:trackwith
search 'redirect loop'. None callsview --history. - Why the history still reached the answer: the answers still cite the close on 2026-09-02 and
the reopen on 2026-09-10. The stand-in's ownSKILL.md
(evals/recall-still-reports-reopened-bug/work-items-stub/skills/track/SKILL.md:40-56) prints the
full state history in its body. Any invocation of the stand-in,searchincluded, therefore puts
the history in the model's context. The model reads it there instead of asking for--history
(INFERRED from the traces and that file). - Consequence: as written, the case cannot tell whether recall asks the tracker for state
history. The Still-reported grader can pass without the--historyread. That is a case-design
defect. It was left unchanged, as the freeze requires.
New case: recall-still-reports-reverted-fix (AFTER only)
1.00 on all 6 runs (3 sonnet, 3 opus). This is the issue's "closed, reverted bug surface under
'Still reported'" case.
Spot-read
Sonnet BEFORE tried-kept-reverted run 3 scored 0.4, but its answer is correct. Two graders failed it
on wording:
tried-kept-reverted: the grader's negative lookahead fires on the closing line "with a token
bucket, ... A sliding-window limiter ... is current". It reads that line as calling the token bucket
current.unavailable-prs-named: it misses "skills aren't available here, so I searched neither closed
PRs nor the tracker".
These are grader false negatives. They move that case's score on both sides and widen the sonnet
interval. They were left unchanged, as the freeze requires.
Not done
No detection control was run, because the brief does not ask for one and it would need edited skill
text. Even a VALID no-loss reading here would therefore have no proof that these 3 cases can detect a
loss.
Cost
| Batch | costUsd |
|---|---|
| attempt 1, sonnet BEFORE + AFTER (CLI refused every run) | 0.00 |
| sonnet BEFORE | 0.89 |
| sonnet AFTER | 1.62 |
| opus BEFORE | 1.81 |
| opus AFTER | 3.44 |
| Total | 7.76 of 30 USD |
Attempt 1 was a harness refusal with nothing scored. Its verdicts, verbatim:
- BEFORE:
verdict: INVALID (9 run errors; permission denials unchecked in 9 runs with no readable trace) - AFTER:
verdict: INVALID (15 run errors; permission denials unchecked in 15 runs with no readable trace; skill firing unchecked in 3 runs)
Every run error read: a git directory of the plugin registers more linked worktrees than can be screened.
Commands run
# BEFORE checkout (the first form, under .work/, was refused by the source-control worktree hook)
git -C <repo> worktree add --detach <before-checkout> ce48a2cc6562a037b8d2648f70b397bb1442ae3e
# validation, no spend (exit 0, WARN only)
python3 <worktree>/plugins/evals/skills/validate/scripts/validate-cases.py <worktree>/plugins/session-flow/evals
# attempt 1 (refused: "a git directory of the plugin registers more linked worktrees than can be screened")
env TMPDIR=<tmp-before> claude plugin eval <before-checkout>/plugins/session-flow --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 4 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-before --json <worktree>/.work/eval-15920/sonnet-before.json
env TMPDIR=<tmp-after> claude plugin eval <worktree>/plugins/session-flow --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 6 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-after --json <worktree>/.work/eval-15920/sonnet-after.json
# copies outside any repo
rsync -a --exclude .git --exclude evals/results <before-checkout>/plugins/session-flow/ <copies>/before/
rsync -a --exclude .git --exclude evals/results <worktree>/plugins/session-flow/ <copies>/after/
# scored batches
env TMPDIR=<tmp-before> claude plugin eval <copies>/before --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 4 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-before-r2 --json <worktree>/.work/eval-15920/sonnet-before-r2.json
env TMPDIR=<tmp-after> claude plugin eval <copies>/after --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 6 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-after-r2 --json <worktree>/.work/eval-15920/sonnet-after-r2.json
env TMPDIR=<tmp-before> claude plugin eval <copies>/before --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 8 --no-publish --output-dir <worktree>/.work/eval-15920/opus-before-r2 --json <worktree>/.work/eval-15920/opus-before-r2.json
env TMPDIR=<tmp-after> claude plugin eval <copies>/after --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash --judge-model opus --threshold 0.8 --max-cost-usd 12 --no-publish --output-dir <worktree>/.work/eval-15920/opus-after-r2 --json <worktree>/.work/eval-15920/opus-after-r2.json
# reading
python3 .../plugin-eval/scripts/run-validity.py <result.json> --runs 3 --scaffolded
python3 .../plugin-eval/scripts/noise-report.py <after.json> --threshold 0.8 --interval-method normal --grader-agreement --baseline <before.json> --margin 0.05Results files: <worktree>/.work/eval-15920/{sonnet,opus}-{before,after}-r2.json.
What happens next
The pull request keeps do-not-merge. Two defects this run exposed are being fixed on the branch, then a fresh pre-registered run follows:
- The stand-in tracker in
recall-still-reports-reopened-bugprints the state history from any call, so the case cannot show whether recall asks forview --history; and in these runs recall never asked. - Recall's settings step leads the model to one compound shell command that the eval's permission mode denies, on both sides, which makes the batches INVALID.
session: GitHub Support
… read shell-plain
The first eval run found that recall never asked for view --history.
The reopened-bug case's work-items stand-in printed every item's state
history in its skill body, so the model already had the reopen after
search. The stand-in now answers through a bundled reader that prints
the history only on view <id> --history, and nothing else in the case
mentions the reopen. Recall's history read is now its own Step 5
bullet, which runs for every matched report-kind item even when the
search rows already show kind and state.
The settings step led the model to one compound Bash command, with a
loop, $( ) and the literal ${user_config.*} placeholder, which a
don't-ask session denies. Step 2 now gives the three user option values
in its own text and runs one plain command per call: the git root, the
check, and the reader once per key.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Result: /session-flow:recall before/after evalPass 2 runs on the fixed head Bottom line: non-inferiority NOT met on either model under the pre-registered rule.
Terms (pre-registered before any scored run:
|
| Case | Before mean | After mean | Runs counted (B/A) | Excluded runs |
|---|---|---|---|---|
| recall-asks-before-other-projects | 1.00 | 1.00 | 3/3 | none |
| recall-reports-tried-kept-reverted | 1.00 | 0.93 (1.0, 0.8, 1.0) | 3/3 | none |
| recall-states-scope-searched | 0.89 (1.0, 0.67, 1.0) | 1.00 | 3/3 | none |
Validity, verbatim:
- BEFORE:
verdict: INVALID (1 permission denial in the traces) - AFTER:
verdict: INVALID (the skill did not fire in 2 with-arm runs of a should-trigger case).
The "did not fire" flag is reopened-bug'shistory-readSkill grader (runs 1 and 3).
Noise report:
with-arm change (this minus baseline), paired over 3 cases: +0.01, 95% interval -0.09 to +0.12compare verdict: not shown non-inferior at margin 0.05 (the interval's lower end -0.09 is below -0.05)- No
case dropline appeared.
Conclusion: NOT met. Both sides are INVALID, and the interval reaches past the margin.
Opus: NOT met
| Case | Before mean | After mean | Runs counted (B/A) | Excluded runs |
|---|---|---|---|---|
| recall-asks-before-other-projects | 1.00 | 1.00 | 3/3 | none |
| recall-reports-tried-kept-reverted | 0.87 (1.0, 1.0, 0.6) | 0.93 (0.8, 1.0, 1.0) | 3/3 | none |
| recall-states-scope-searched | 0.89 (1.0, 1.0, 0.67) | 0.44 (0.33, 0.67, 0.33) | 3/3 | none |
Validity, verbatim:
- BEFORE:
verdict: INVALID (6 permission denials in the traces) - AFTER:
verdict: INVALID (the skill did not fire in 3 with-arm runs of a should-trigger case).
The "did not fire" flag is reopened-bug'shistory-read(all 3 runs).
Noise report:
with-arm change (this minus baseline), paired over 3 cases: -0.13, 95% interval -0.44 to +0.19case drop: case recall-states-scope-searched with-arm fell from 0.89 to 0.44, a third or more; name its cause and prove it before shippingcompare verdict: not shown non-inferior at margin 0.05 (the interval's lower end -0.44 is below -0.05), and 1 case(s) dropped by a third or more
Conclusion: NOT met. This is a measured loss on recall-states-scope-searched.
Probable cause of the drop (INFERRED, not proven by a restore run).
-
Opus only. Sonnet's score on this case went from 0.89 to 1.00.
-
The report wording changed.
- AFTER's opus answers open with prose labels, such as "Transcript scope: worktree" and
"this repo's other worktrees". - BEFORE wrote "
transcript_scope:worktree" and "this repository's other worktrees".
- AFTER's opus answers open with prose labels, such as "Transcript scope: worktree" and
-
How the graders miss it.
scope-resolvedneeds the literaltranscript_scopekey. It failed AFTER runs 1 and 3.scope-statedneeds "this worktree", "repository's other worktrees", orscope: worktree
with no markdown between them. It failed all 3 AFTER runs.
-
The content is still there. In the spot-read of AFTER run 1, the answer names:
- the scope and the layer that set it;
- the scope reached;
- "0 directories and 0 transcripts";
- the search terms.
The loss is in wording the graders key on, which still counts under the rule.
-
Which text change most likely did it.
- The pass-1 AFTER head (
1f1a3a692f) already had the Step 6 header that lists three settings.
On that head, opus scored this case 0.78, the same as BEFORE, andscope-resolvednever failed. - Between
1f1a3a692fandd36a378e56, the recall skill changed only in Step 2 and Step 5. - The likeliest source is the Step 2 rewrite. It moves the user-option values into a
**User option.**bullet withtranscript_scope=...pairs and splits the reads into
separate calls. - Runs made hours apart are not strictly comparable (skill-criteria step 4), so this is a
hypothesis.
- The pass-1 AFTER head (
-
What would prove it: a restore run. Revert Step 2's layout and keep the no-compound-command
rule, on the same cases and model.
Under skill-criteria step 6 the drop blocks shipping until the cause is proven and closed, or the
before text of that part is kept.
Denials alone (separate from the rule)
Pass 1 found the denials and this pass was meant to remove them, so they are reported here apart
from the rule.
| Side | Sonnet denials | Opus denials | Validity with the denial check alone |
|---|---|---|---|
| BEFORE (main) | 1 | 6 | INVALID on both models, from denials |
| AFTER | 0 | 0 | denial check PASS on both models |
AFTER's only remaining INVALID reason is the reopened-bug case's history-read grader; see below.
Every BEFORE denial is a ;-chained setup command holding the literal
${user_config.transcript_scope}, which main's recall Step 2 leads to. AFTER's rewritten Step 2
left 0 denials in its 30 runs (5 cases, 3 runs, 2 models); BEFORE had 7 in 18 runs.
New case: recall-still-reports-reopened-bug (AFTER only)
| Model | Run | Score | Failed graders | History read? (trace) | Reopen reported under Still reported? (spot-read) |
|---|---|---|---|---|---|
| sonnet | 1 | 0.0 | history-read, still-reported-names-reopened | yes, through the reader script | yes |
| sonnet | 2 | 0.5 | still-reported-names-reopened | yes, Skill view '57' --comments --history |
yes |
| sonnet | 3 | 0.5 | history-read | yes, through the reader script | yes |
| opus | 1 | 0.5 | history-read | yes, through the reader script | yes |
| opus | 2 | 0.5 | history-read | yes, through the reader script | yes |
| opus | 3 | 0.5 | history-read | yes, through the reader script | yes |
All 6 runs fail at least one grader. The traces and answers show the intended behaviour in all 6,
so both failures come from the case, not from recall:
history-readmisses the reader-script path.- The grader counts only a
Skillcall whose input holdswork-items:track ... --history. - The new stand-in tells the model to answer every call by running its reader script with Bash.
After loading the stand-in once withsearch, 5 of 6 runs called
track.sh 'view' 'github:acme/web#57' '--comments' '--history'directly through Bash. - So the read happened, but not through a
Skillcall the grader can see. - The run gate's "skill did not fire" verdict on AFTER is this grader.
- The grader counts only a
still-reported-names-reopenedmisses multi-line answers.- The grader needs
#57andreopenon one line. - Sonnet runs 1 and 2 put the item on one line and "reopened ... on 2026-09-10" on a sub-bullet
below it, under Still reported.
- The grader needs
Graders are frozen, so these stay as recorded. 0 of 6 runs passed, although all 6 did what the case
asks. The history-read mismatch comes from the stand-in fix itself: its new instruction to call
the reader through Bash takes later reads out of the grader's sight. Sonnet run 2 shows the case
can pass history-read when the read goes through a Skill call.
New case: recall-still-reports-reverted-fix (AFTER only)
1.00 on all 6 runs (3 sonnet, 3 opus).
Spot-read summary
- Opus
states-scope-searched, AFTER run 1 against BEFORE run 2: read side by side. The
difference is wording, as described above. reopened-bug, all 6 runs: checked against their traces. History was read in all 6, and the
reopen appears under Still reported in all 6.- Pass 1's grader findings on
tried-kept-reverted: that grader marks some correct answers
wrong. Its failures in this pass were not re-read.
Not done
- No detection control: none was requested, and one needs edited skill text.
- No restore run proving the cause of the opus case drop.
Cost
| Batch | costUsd |
|---|---|
| sonnet BEFORE | 0.85 |
| sonnet AFTER | 1.84 |
| opus BEFORE | 1.85 |
| opus AFTER | 3.88 |
| Pass 2 total | 8.42 of the 22 USD left |
| Both passes | 16.18 of 30 USD |
Commands run
git -C <repo> fetch origin main
git -C <repo> merge-base d36a378e56ff395ae93a693d66cefdfda1809120 origin/main # 1e43743870...
git -C <before-checkout> switch --detach 1e43743870e69e27785724c5aa60e01b77566fb3
git -C <repo> diff --stat 1f1a3a692fa74bd38c68c6f53deb89176a5e0e49 d36a378e56ff395ae93a693d66cefdfda1809120 -- <the five recall case dirs>
rsync -a --delete --exclude .git --exclude evals/results <before-checkout>/plugins/session-flow/ <copies>/before/
rsync -a --delete --exclude .git --exclude evals/results <worktree>/plugins/session-flow/ <copies>/after/
diff -rq <before-checkout>/plugins/session-flow <copies>/before
diff -rq <worktree>/plugins/session-flow <copies>/after
python3 <worktree>/plugins/evals/skills/validate/scripts/validate-cases.py --json <copies>/after/evals
env TMPDIR=<tmp> claude plugin eval <copies>/before --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 3 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-before-r3 --json <worktree>/.work/eval-15920/sonnet-before-r3.json
env TMPDIR=<tmp> claude plugin eval <copies>/after --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 5 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-after-r3 --json <worktree>/.work/eval-15920/sonnet-after-r3.json
env TMPDIR=<tmp> claude plugin eval <copies>/before --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 5 --no-publish --output-dir <worktree>/.work/eval-15920/opus-before-r3 --json <worktree>/.work/eval-15920/opus-before-r3.json
env TMPDIR=<tmp> claude plugin eval <copies>/after --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 9 --no-publish --output-dir <worktree>/.work/eval-15920/opus-after-r3 --json <worktree>/.work/eval-15920/opus-after-r3.json
python3 <worktree>/plugins/evals/skills/plugin-eval/scripts/run-validity.py <result.json> --runs 3 --scaffolded
python3 <worktree>/plugins/evals/skills/plugin-eval/scripts/noise-report.py <after.json> --threshold 0.8 --interval-method normal --grader-agreement --baseline <before.json> --margin 0.05Each side used its own <tmp> directory (15 characters, under the home directory).
…in reads through the skill The second eval run showed three wording and fixture gaps: - The work-items stand-in told the model to run its reader with Bash, so later reads skipped /work-items:track. Its SKILL.md now renders the reader's output at load time with !`...` and $ARGUMENTS, so each read is one Skill call and the model never receives a command to run. - Recall's Still reported entries could put the reason on a sub-bullet. Step 6 now puts the item id and why it is still reported on one line. - Step 2's key = value layout led opus to paraphrase transcript_scope. Step 2 returns to its earlier prose and one-line report, keeps the rule that no option or placeholder goes into a shell command and no command is chained, and skips the check and readers when the repository has no session-flow.yaml. Step 6 asks for each setting as Step 2's line, key as is, and the scope reached in Step 3's words. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Conflicts resolved by hand: - plugins/session-flow/reference/config.md: kept this branch's recall_report_kinds and recall_doc_paths rows and main's verification row (default light). - docs/contracts/config-cascade/README.md: took main's rows (no value resolves light) and re-applied this branch's session-flow row change, naming the two recall keys after transcript_scope with its comma. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Result: /session-flow:recall before/after evalPass 3 runs on the fixed head Bottom line: the requirement is NOT met on either model, under rule A or rule B.
Terms (pre-registered before any scored run:
|
| Case | Before mean | After mean | Runs counted (B/A) | Excluded runs |
|---|---|---|---|---|
| recall-asks-before-other-projects | 0.90 (0.71, 1.0, 1.0) | 1.00 | 3/3 | none; BEFORE run 1 did not attempt the task (see below) |
| recall-reports-tried-kept-reverted | 1.00 | 0.67 (0.8, 0.6, 0.6) | 3/3 | none |
| recall-states-scope-searched | 0.78 (1.0, 1.0, 0.33) | 0.89 (1.0, 0.67, 1.0) | 3/3 | none; BEFORE run 3 did not attempt the task (see below) |
Validity, verbatim:
- BEFORE:
verdict: INVALID (2 permission denials in the traces) - AFTER:
verdict: VALID (warnings: skill fired)
Noise report:
with-arm change (this minus baseline), paired over 3 cases: -0.04, 95% interval -0.33 to +0.24case drop: case recall-reports-tried-kept-reverted with-arm fell from 1.00 to 0.67, a third or more; name its cause and prove it before shippingcompare verdict: not shown non-inferior at margin 0.05 (the interval's lower end -0.33 is below -0.05), and 1 case(s) dropped by a third or more
Two BEFORE runs did not attempt the task. In asks-before run 1 and states-scope run 3, the
denied setup command ended the run at 2 turns. Under the pre-registration, those two cases are not
comparable on sonnet, which leaves one comparable case: too few to call.
- Rule A: NOT met. BEFORE is INVALID, the compare is not non-inferior, and there is a case drop.
- Rule B: NOT met. AFTER is VALID, but the compare is not non-inferior and there is a case drop.
Cause of the case drop (spot-read; INFERRED, not proven by a restore run).
- The answers carry the content. In AFTER run 2, the answer is complete and correct. It says
"/source-control:pull-requestand/work-items:trackaren't available here, so closed PRs and
tracker items weren't searched." - The graders miss the wording.
unavailable-prs-namedandunavailable-tracker-namedaccept
"not searched", "unavailable", "could not" and similar phrases. They do not accept "aren't
available" or "weren't searched". - Pass 1 found the same thing. That grader wording gap was recorded there.
- What may have shifted the wording. AFTER's Step 6 report now opens with a settings block, and
the PR and tracker line moved into it with this phrasing (INFERRED).
Opus
| Case | Before mean | After mean | Runs counted (B/A) | Excluded runs |
|---|---|---|---|---|
| recall-asks-before-other-projects | 0.90 (0.71, 1.0, 1.0) | 1.00 | 3/3 | none |
| recall-reports-tried-kept-reverted | 1.00 | 1.00 | 3/3 | none |
| recall-states-scope-searched | 0.67 (0.67, 0.67, 0.67) | 1.00 | 3/3 | none |
Validity, verbatim:
- BEFORE:
verdict: INVALID (3 permission denials in the traces) - AFTER:
verdict: VALID (warnings: skill fired)
Noise report:
-
with-arm change (this minus baseline), paired over 3 cases: +0.14, 95% interval -0.05 to +0.34 -
compare verdict: not shown non-inferior at margin 0.05 (the interval's lower end -0.05 is below -0.05) -
No
case dropline appeared. -
Rule A: NOT met. BEFORE is INVALID, and the compare is not shown non-inferior.
-
Rule B: NOT met. AFTER is VALID and there is no case drop, but the compare misses by a hair:
its lower end, shown rounded as -0.05, is below -0.05. AFTER scored 1.00 on every case, and
states-scope-searchedrecovered from pass 2's 0.44. The interval's width comes from BEFORE's
spread across 3 cases.
Denials alone
| Side | Sonnet denials | Opus denials |
|---|---|---|
| BEFORE (main) | 2 | 3 |
| AFTER | 0 | 0 |
- AFTER validity alone: VALID on both models.
- What every BEFORE denial is: a chained setup command holding the literal
${user_config.transcript_scope}. - Across passes 2 and 3: AFTER had 0 denials in 60 runs. BEFORE had 12 in 36.
New case: recall-still-reports-reopened-bug (AFTER only)
| Model | Runs | Scores | Failed graders |
|---|---|---|---|
| sonnet | 3 | 1.0, 1.0, 1.0 | none |
| opus | 3 | 1.0, 1.0, 1.0 | none |
Harness check on the ! injection: there is no harness finding.
- Where to look: sonnet's 3 traces.
- What they show: every tracker read was a
Skillcall, for example
work-items:track view 'github:acme/web#57' --comments --history. - Result: the injected output carried
state_history. There was no refusal, no aborted Skill
call and no empty render.
New case: recall-still-reports-reverted-fix (AFTER only)
1.00 on all 6 runs (3 sonnet, 3 opus).
Not done
- No detection control.
- No restore run for the sonnet case drop.
Cost
| Batch | costUsd |
|---|---|
| sonnet BEFORE | 0.80 |
| sonnet AFTER | 1.70 |
| opus BEFORE | 1.78 |
| opus AFTER | 3.55 |
| Pass 3 total | 7.83 of the 13.8 USD left |
| All three passes | 24.01 of 30 USD |
Commands run
git -C <repo> fetch origin main
git -C <repo> merge-base 3137f700fd2f789c91e601a3665711b0a615990f origin/main # eb5c66d57f...
git -C <before-checkout> switch --detach eb5c66d57f1152edd1cf1b8f9262b8be3ccba193
git -C <repo> diff --stat d36a378e56ff395ae93a693d66cefdfda1809120 3137f700fd2f789c91e601a3665711b0a615990f -- <the five recall case dirs>
rsync -a --delete --exclude .git --exclude evals/results <before-checkout>/plugins/session-flow/ <copies>/before/
rsync -a --delete --exclude .git --exclude evals/results <worktree>/plugins/session-flow/ <copies>/after/
diff -rq <before-checkout>/plugins/session-flow <copies>/before
diff -rq <worktree>/plugins/session-flow <copies>/after
env TMPDIR=<tmp> claude plugin eval <copies>/before --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 2 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-before-r4 --json <worktree>/.work/eval-15920/sonnet-before-r4.json
env TMPDIR=<tmp> claude plugin eval <copies>/after --case 'recall-*' --model sonnet --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 3 --no-publish --output-dir <worktree>/.work/eval-15920/sonnet-after-r4 --json <worktree>/.work/eval-15920/sonnet-after-r4.json
env TMPDIR=<tmp> claude plugin eval <copies>/before --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 3 --no-publish --output-dir <worktree>/.work/eval-15920/opus-before-r4 --json <worktree>/.work/eval-15920/opus-before-r4.json
env TMPDIR=<tmp> claude plugin eval <copies>/after --case 'recall-*' --model opus --runs 3 --ablation none -j 1 --trust-plugin --keep-temp --scaffold --allow-tools Bash Skill --judge-model opus --threshold 0.8 --max-cost-usd 5.8 --no-publish --output-dir <worktree>/.work/eval-15920/opus-after-r4 --json <worktree>/.work/eval-15920/opus-after-r4.json
python3 <worktree>/plugins/evals/skills/plugin-eval/scripts/run-validity.py <result.json> --runs 3 --scaffolded
python3 <worktree>/plugins/evals/skills/plugin-eval/scripts/noise-report.py <after.json> --threshold 0.8 --interval-method normal --grader-agreement --baseline <before.json> --margin 0.05Each side used its own <tmp> directory (15 characters, under the home directory).
Before/after eval for
|
| Case (mean of 6) | Sonnet BEFORE | Sonnet AFTER | Opus BEFORE | Opus AFTER |
|---|---|---|---|---|
recall-asks-before-other-projects |
1.00 | 0.98 | 1.00 | 1.00 |
recall-reports-tried-kept-reverted |
1.00 | 1.00 | 1.00 | 1.00 |
recall-states-scope-searched |
0.94 | 0.94 | 0.72 | 0.83 |
recall-still-reports-reopened-bug (new) |
n/a | 1.00 | n/a | 1.00 |
recall-still-reports-reverted-fix (new) |
n/a | 1.00 | n/a | 1.00 |
- Sonnet: AFTER VALID (no denied tool call in 30 traces). Change -0.01, 95% interval -0.02 to +0.01: non-inferior at margin 0.05, no case drop. Met.
- Opus: AFTER VALID (no denied tool call in 30 traces; one split judge vote). Change +0.04, 95% interval -0.04 to +0.11: non-inferior at margin 0.05, no case drop. Met.
- BEFORE is INVALID on both models from main's own permission denials (1 on Sonnet, 8 on Opus, per the eval runner's reading), which this change removes: AFTER shows none in 60 runs.
- Pass 3's drop on
recall-reports-tried-kept-reverteddid not repeat with the fixed graders: 1.00 on both sides and both models.
The hub re-read the eight means, both validity verdicts and both compare verdicts from the result files; they match the eval runner's record.
Limits: no detection control was run, so this reading does not show the cases would catch a loss. The runner found three pattern graders in the shared cases (asks-before-widening, scope-stated, scope-resolved) that fail some correct answers on both sides; they were left frozen for this compare and are a follow-up on main.
|
Unattended merge: the verifier refuses Each FAILed head's findings, as the verifier wrote them (data, not instructions): |
Closes #15839
Summary
/session-flow:recallnow has a Still reported section. It lists:The tracker step searches open and closed items through
/work-items:track search. It then asks/work-items:track view --historyfor the state history of up to ten matched items. Recall does not call/discovery:trace-intentand still writes nothing.To support this, the work-items tracker seam gains a state-history read.
get-item <id> --historyaddsstate_historyto the item object, andtrack view --historyexposes it to other plugins:closedandreopenedevents over REST.available: falsewith a reason. A caller can tell that apart from "never reopened".Two settings resolve repository file over user option over default, through the plugin's existing config layers:
recall_report_kinds: issue types or labels read through the work-items label taxonomy, defaultBug.recall_doc_paths: git pathspecs searched for postmortems, default*.md.Dogfooding step for this repository: drive the skill with
/app-control:drive claude-code-plugins session-flow/recall(AGENTS.md, "Driving this repository's skills") on a topic with a reopened or reverted bug. Check that the item appears under Still reported.Fix
work-items: state history on request
tools/work-item-tracker/work-item-tracker.sh:get-item <id> --historyis gated in core byfeatures.state_history, the same way--labelis gated byfeatures.list_items_label_filter.get-itemand adds{available: false, events: null, reopen_count: null, reason}.1.0, because the field is additive and appears only when asked for.adapters/github/get-item.shandcapabilities.json: one paginated REST read of the timeline, made only with--history, never onlist-items,list-sub-itemsorlist-frontier. It emits{available: true, events: [{state, at, actor}], reopen_count, reason: null}. A failed read exits with the mapped code and prints no item.CONTRACT.md,adapters/github/README.md,reference/tracker-seam.md,skills/track/actions/view.md: document the flag.view --historyreads it through the seam. Exit3(no binding, or a missing prerequisite) prints as not available. Any other failure is reported as a failed read, never as an empty history.conformance/run-conformance.sh: on a new item,get-item --historymust report no events when the provider declares the feature, andavailable: falsewith a reason when it does not..changes/work-items/…: minor fragment.session-flow: recall
skills/recall/SKILL.md, Step 5 now:skills/recall/SKILL.md, Step 6: the report says whose history was read, which items' history was not available or failed to read, and which were past the cap. This replaces the earlier "reopens are found only where an item's text records them" line.README.md,reference/config.md, the session-flow fragment: describe the history read.evals/recall-still-reports-reopened-bug/. A work-items stand-in plugin inside the case directory servessearchandview --history. It returns bug#57, which was closed and then reopened with no comment saying so, and task#12, which was closed and never reopened. Graders:history-read: aview … --historycall;still-reported-names-reopened:#57under Still reported with its reopen.skills/recall/evals/evals.json: case 6still-reports-reopened-bug.recall-still-reports-reverted-fixcase, the two settings (plugin.json, schema,config.md, setup), anddocs/contracts/config-cascade/README.md.Verification
plugins/work-items/tools/work-item-tracker/work-item-tracker.test.sh: 171 passed, 0 failed. New cases:--history;available: falsewith the provider named;adapters/github/get-item.test.sh: 28 passed. The fakeghuses the timeline-stub pattern fromlabel-provenance.test.sh. It runs on both the native (gh 2.97) and REST (gh 2.50) item paths and covers:[]and0;get-itemreads no timeline.conformance/run-conformance.sh --binding local-markdown: 137 cases, 0 failed, including the new not-available--historyassertions. Also run and green:bindings/local-markdown.test.sh,bindings/jira.test.sh,bindings/github.test.sh,run-conformance.test.sh, the local-markdownget-itemandcapabilitiestests, and the githubcapabilitiestest.scripts/check-affected.sh: 15 passed, 1 skipped (ruff, no Python changed) over 32 changed files.plugins/evals/skills/validate/scripts/validate-cases.py plugins/session-flow/evals: 0 FAIL, and each new grader's sample answers sort correctly. The only warning on the new case is theBash--allow-toolsone its sibling recall cases carry.check-evals-quality.shonskills/recall/evals/evals.json: PASS.check-changed-skills.sh --merge-base: 0 errors.shellcheck,markdownlint-cli2andtyposare clean on the changed files.closed, "The issue or pull request was closed.";reopened, "The issue or pull request was reopened."; both are listed as available in the REST API for timeline events.view --history. The stand-in now answers through a bundled reader that prints the history only onview <id> --history. Recall's history read is now its own step, which runs for every matched report-kind item.$( )and the literal option placeholder), which the eval's don't-ask mode denied, making the batches INVALID. Step 2 now gives the user option values in its text and runs one plain command per call./work-items:track. Its SKILL.md now renders the reader's output at load time (!`…`with$ARGUMENTS), so each read is one Skill call.transcript_scopeafter the Step 2 rewrite (recall-states-scope-searched0.89 to 0.44). Step 2 returns to its earlier prose and one-line report, keeps the no-shell, no-chaining rule, and skips the check and readers when the repository has nosession-flow.yaml. Step 6 asks for each setting as Step 2's line.opusandsonnetaliases, three runs per side, a--casefilter and a--max-cost-usdceiling. It runs in the one local eval-runner session and was not run here. The newrecall-still-reports-reopened-bugcase has not run yet either. This PR keepsdo-not-mergeuntil that record lands.recall-*) onorigin/main's session-flow and on this head, and read each case's grader pass rates side by side. The new case is expected to passhistory-readandstill-reported-names-reopenedin the with-plugin arm.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc