Repository navigation
feat(session-flow): report what is still reported in recall - #16030
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-refine/fix-docs
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM63Bub7
…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
`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
… 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
…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
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #16030, incremental (
|
|
claude-review reviewed Code review (incremental): PR #16030, from
|
|
The pr-verify verifier failed head What it wrote (28 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
…rule setup-apply.test.sh now writes recall_doc_paths=*.md and recall_report_kinds=type: bug and reads them back unchanged, written double-quoted, and has --check flag recall_doc_paths values ../x, /abs, a'b and *.md, and recall_report_kinds value Bug, by their schema pattern. With both patterns loosened to ^.*$ the five rejecting cases go red (15 assertions); restored, all pass. The recall-still-reports-reopened-bug case's tracker stand-in gains open bug #61, which reports the same redirect loop as #57 under another title, and the regex grader still-reported-same-symptom requires one Still reported line naming #57 and #61 with a same-symptom reason, with pass and fail samples. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc
Closes #15839
session: GitHub Support
Summary
/session-flow:recallgains a Still reported section. It lists tracker items of an incident or user-report kind that were closed and later reopened (read from the tracker's state history), items whose fix was reverted, items that repeat the same symptom, and postmortems on the topic.This pull request carries the same diff as #15920 at its last head
69d15f782d(main merged in), opened from the owner login because the merge lane closed #15920 at its verifier cap: the third judged head was pushed before the eval record below existed, so the verifier judged it against the earlier, missed compare. Nothing in the diff changed after that judgment.Fix
get-item <id> --historyaddsstate_historyto the item, gated in core byfeatures.state_history; the GitHub adapter fills it from the issue timeline'sclosedandreopenedevents, and every other shipped adapter answersavailable: falsewith a reason./work-items:track view --historyexposes it to other plugins./work-items:track search, reads the state history of up to ten matched items withview --history, and marks an item reopened once or more under Still reported with its dates and count. Item text is read for a reopen only when the history was not read or is not available, and "not available" is never read as "not reopened".recall_report_kinds(defaultBug) andrecall_doc_paths(default*.md) resolve repository file over user option over default. Eachrecall_doc_pathsentry is passed to a read-onlygit grepas one single-quoted pathspec after--, and the schema pattern allows no quotes,;,$(, leading/or...recall-still-reports-reopened-bug(a stand-in work-items plugin inside the case directory, loaded only by that case) andrecall-still-reports-reverted-fix.Verification
Before/after eval, pass 4, pre-registered, at this head: VALID and met on Sonnet and on Opus. BEFORE
3e181469d6(main), AFTER69d15f782d, 6 runs per case per side, judgeclaude-opus-5-5.recall-asks-before-other-projectsrecall-reports-tried-kept-revertedrecall-states-scope-searchedrecall-still-reports-reopened-bug(new)recall-still-reports-reverted-fix(new)Sonnet: change -0.01, 95% interval -0.02 to +0.01, non-inferior at margin 0.05, no case drop. Opus: change +0.04, 95% interval -0.04 to +0.11, non-inferior at margin 0.05, no case drop. AFTER shows no denied tool call in 60 runs. The full record is on feat(session-flow): report what is still reported in recall #15920: feat(session-flow): report what is still reported in recall #15920 (comment)
Pass 3's drop is explained and gone. Pass 3 recorded a Sonnet drop on
recall-reports-tried-kept-reverted(1.00 to 0.67). The cause was that case's regex graders failing correct answers, fixed on main by fix(session-flow): stop three recall eval graders failing correct answers #15985; with those graders the case scores 1.00 on both sides and both models.Tests (run on feat(session-flow): report what is still reported in recall #15920's heads, unchanged code):
work-item-tracker.test.sh171 passed;adapters/github/get-item.test.sh28 passed;conformance/run-conformance.sh --binding local-markdown137 cases, 0 failed.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, and check that the item appears under Still reported; the tracker read it uses is/work-items:track view '<id>' --historyfrom the updated work-items plugin.Review threads on feat(session-flow): report what is still reported in recall #15920: all ten were answered with evidence and resolved at this head.
Limits: no detection control was run, so the eval does not show the cases would catch a loss. Three pattern graders in the shared recall cases (
asks-before-widening,scope-stated,scope-resolved) fail some correct answers on both sides; they were left frozen for the compare and are a follow-up on main.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa43yD6ENjKAwDyeHp3bc