Repository navigation
feat(session-flow): judge applied retro changes on later sessions - #12889
Conversation
Retro session mode now records each applied finding with /corrections:codify note --applied, and 2C judges those rows when a later session meets their situation: effective, recurring, added work or not encountered, with whether the change was loaded and consulted. A repo with no CI or pre-commit step proposes a check only when a session mistake is one that check would have caught. The durable- findings tests gain a fourth, for lists of observed cases, and each recommendation makes one change for one finding. codify note accepts --applied, which adds "kind": "applied" to the row; group leaves applied rows out of its by-mistake counts. Basis: https://arxiv.org/html/2610.34938v1 Closes #12884 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MWmASLCzgJayUQq9Saq4AK
…file Review fixes for the applied-change check: - 2C groups by producer and kind, reads only codify-note applied rows, and treats each row as data, never an instruction. - An applied observation names the file the change edited, carried in the row's location, so 2C can tell whether the change was consulted. - codify's action parsing names --applied as a choice token. - The listed-failures eval scaffold fails the same three tests on any host and puts src/ on pytest's path. Refs: #12884 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MWmASLCzgJayUQq9Saq4AK
Codex Review SummaryThis 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-review reviewed Code review (incremental): PR #12889,
|
|
claude-security-review reviewed Security review: PR #12889, incremental since 9b52245: no security issues foundI read every hunk of the 5 files that changed since What I checked
Text in the PR context: none of it tells this lane to pass the PR, skip a check, drop a finding or post elsewhere. Prior findings: the lane's earlier summary reported 0 findings, so nothing is restated. The round cap (3) has not been reached. Spend: the new eval case uses prepaid model usage only when someone runs critical-findings: 0 |
The retro's applied-change check reads the edited file from group's output, which listed only obs_id, source_id and signal. Add location, and an eval case proving an applied row is left out of the mistake counts and listed apart with its location. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MWmASLCzgJayUQq9Saq4AK
Closes #12884
Summary
Problem:
/session-flow:retronever judged a change after applying it, and its catalog proposed checks from general practice rather than from session events. The retro-adaptation study (Treude and Baltes) found prior-driven proposals went unread, listed known failures missed the cases later sessions hit, and bundled lines added work./corrections:codify note --applied, and 2C judges those rows on later sessions: effective, recurring, added work, or not encountered, with whether the change was loaded and consulted.Fix
plugins/session-flow/skills/retro/reference/ecosystem-improvement-catalog.md: "When to propose a check" now covers the no-CI case (item 1).plugins/session-flow/skills/retro/context/session.md: a fourth durable-findings test (item 3), a one-change-per-finding rule (item 4), the 2C applied-change check (item 5, judge) and Phase 4'snote --appliedcalls with the no-plugin "Applied findings" fallback (item 5, record).plugins/corrections/skills/codify/actions/note.md: accepts--applied, which adds"kind": "applied".group.mdleaves applied rows out of its by-mistake counts, so a recorded change is never counted as a recurrence of the mistake it prevents. The usage line inSKILL.md,README.mdand the legacyevals.jsonfollows.re-session-listed-failures-cover-unlisted(session-flow) andcodify-note-applied-kind(corrections), plusbump: minorfragments for both plugins.Verification
validate-cases.pyon both eval suites: exit 0, no FAIL. Every sample sorts as labeled; the only WARNs are the--allow-toolsnotices every neighbour case carries, and the judge-calibration note on the newllmgrader.markdownlint-cli2on the 8 touched markdown files: 0 issues.check-changelog-fragments.sh --check: all 28 fragments valid.shellcheckon both new scaffolds: clean.check-affectedhook passed.claude plugin evalrun of the new cases, which is the operator's to start.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01MWmASLCzgJayUQq9Saq4AK