Skip to content

fix(bench): retry verdict leads with p2p breakage — hidden-collateral fix - #2204

Merged
joelteply merged 1 commit into
canaryfrom
fix/regression-in-retry-excerpt
Aug 8, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/regression-in-retry-excerpt

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

atlas-24066-n7 receipts: right function, plausible fix, wrong symbol broke all 30 p2p tests — and the retry excerpt (f2p report only) never showed her. Identical broken patch resubmitted twice. grade() now composes the excerpt from both reports with REGRESSION leading; pure composer + unit test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…hidden-collateral fix (#122/#222)

Glass-boxed on atlas-sympy-24066-n7: her attempt-1 edit was in the exact gold
function with a plausible fix concept, but a wrong symbol (S.Exp) + a mangled
__init__ edit broke ALL 30 pass-to-pass tests — and the retry excerpt was
built from the f2p report alone, so the breakage never reached her prompt.
She resubmitted a byte-identical broken patch on attempts 2 and 3. The verdict
taught "my patch doesn't fix it yet" when the truth was "my patch destroyed
the tree".

grade() now keeps the p2p report and composes the excerpt from BOTH:
a REGRESSION section leads whenever p2p broke (count + capped names + "fix or
revert FIRST — re-read your own diff" + p2p report tail), the f2p tail
follows. Extracted pure compose_failure_excerpt so composition is
unit-testable without a venv; test pins section order, name cap, both tails,
no-fabrication on clean trees, and None when nothing fails.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 8, 2026 21:35
@joelteply
joelteply merged commit 976a172 into canary Aug 8, 2026
@joelteply
joelteply deleted the fix/regression-in-retry-excerpt branch August 8, 2026 21:35
joelteply added a commit that referenced this pull request Aug 9, 2026
…EARNING-STUCK (verdict-as-prose didn't teach) (#2209)

The ledger's first divergence: Benchy climbed again (76 gens, 22 edit acts,
39/40 p2p held across all three attempts, patches growing 2.7K→11.4K) while
Atlas resubmitted a same-size same-verdict patch DESPITE the regression-led
excerpt naming her breakage — the #2204 lever informed but did not teach,
the exact signature the two-axis rule exists to catch. Finding: information
delivered as prose in the next attempt's prompt does not alter resubmission
behavior; the next lever lands as STATE (perception fact / forced diff
re-read), gated on patch-sha receipts (#379 — byte-identity is currently
unanswerable because attempt receipts carry size, not hash, a custody gap
against our own #377 standard). Substrate axis fully green: lane_acquire
<1ms both runs, zero parks, lanes stable all night.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant