Repository navigation
fix(bench): N-chances retry carries the investigation trail — fresh attempts no longer start amnesiac - #2177
Merged
Conversation
… attempt no longer starts amnesiac
Glass-boxed live (benchy-sympy-22840-n4 attempt 2, 2026-08-08): the zero-diff
verdict said "go straight to the file you already identified" — and she could
not, because a retry is a FRESH turn with fresh working memory. Her recall
carried only a generic "I worked a real coding task" reflection; nothing named
cse_main.py. Positive control: the verdict text WAS in her window (all three
new-contract phrases present), and she still spent 10 of 12 acts re-deriving
the file attempt 1 had already found. The instruction referenced state the
substrate held but never handed over.
Fix — three thin layers on the same channel the verdict already rides:
- drive_to_settle collects `touched_paths` (any file_path/path arg on an
executed call, first-touch order, deduped) onto SettleOutcome — the
turn's investigation trail as STATE, distinct from files_changed (git):
a failed edit or a read appears here and nowhere else.
- AgentSolveResult gains `files_examined` (ts-rs regenerated).
- The retry verdict names it: zero-diff arm appends "Files your previous
attempt examined (in order): …"; the edits-exist arm also names
files_changed ("Your edits are in: …").
Mechanical extraction from her own calls — never inferred, never a steer;
the retry objective remains hers. cargo check green; act_observe 28/28,
experience 48/48.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 8, 2026
…growth #2162 declared but never pinned (#2179) Canary's Continuum Rust Tests has been red since fb93436 (PR #2162, 2026-08-08 00:48Z — verified against the run history; the streak predates today's #2174-#2177 merges, which inherited it). The tripwire fired exactly as designed: the agentic surface needs 9756 tokens against a 9600 ceiling. What grew, stated plainly as the ratchet demands: #2162 grew the native payload 20 → 23 schemas (+212 tokens, 9544 → 9756) and said so in its own commit message — the #339 lifecycle write-back verbs (REACHABLE-VERIFIED: declared everywhere but native, so a native-call citizen could claim work she could never update or close) plus room/members (pinned after #358 proved a correct roster read). Each verb closes a measured live defect; shrinking here would undo verified fixes. What #2162 did not do was re-pin this ceiling — which is the ratchet working: the growth gets named here instead of accruing silently. Companion: PR #2178 (BigMama) clears the other red guard (ts-rs drift). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The live failure
benchy-sympy-22840-n4 attempt 2: the #2174 zero-diff verdict reached her window (positive-control verified — all three contract phrases present) and told her to "go straight to the file you already identified." She couldn't: a retry is a fresh turn with fresh working memory, her recall carried only a generic reflection, and she burned 10 of 12 acts re-deriving cse_main.py — which attempt 1 had already found. The verdict referenced state the substrate held but never handed over.
The fix
drive_to_settlecollectstouched_paths(file_path/path args on executed calls, first-touch order) ontoSettleOutcome;AgentSolveResultsurfaces it asfiles_examined; both retry-verdict arms name the trail (and the edits-exist arm additionally namesfiles_changed). Mechanical extraction from her own calls — state handed back, never a steer.Verification
cargo check green; act_observe 28/28; experience 48/48; ts-rs bindings regenerated.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo