Repository navigation
fix(bench): zero-diff retry contract + deliverable inference — graded loop stops re-authorizing discovery - #2174
Merged
Conversation
…aded loop stops re-authorizing discovery (#365, #366 follow-up) Two state fixes at the N-chances seam, both glass-boxed live 2026-08-08 on the first hands-free graded runs (Atlas PASS sympy-24152 / Benchy 0-for-3 sympy-22840): 1. Retry contract forks on patch_bytes. The single verdict wording told a zero-diff attempt "Your previous edits are still in this workspace. Investigate why these tests fail — run them —" — factually wrong (no edits exist) and its verbs re-authorized exactly the discovery loop being retried: Benchy burned 3 graded attempts / 224 acts with zero code/write|code/edit calls, each retry re-entering the same read/search spiral. A retry's objective is STATE (the doctrine's gate/retry/lease/verb class — facts don't move behavior). The zero-diff arm now states the real contract: only an edit can score; apply the best-guess fix to the file already identified; a wrong edit earns failing-test feedback, no edit earns nothing. 2. deliverable inference (#365). A scored run inside a staged SWE checkout that left `deliverable` unset slipped past the autograde gate and burned its chances as ONE ungraded attempt, silently (both first sympy launches). Now: unset infers Workspace with a warn; an EXPLICIT Answer is respected but warns that grading is disarmed on a run that asked to be scored. 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
…een red since #2174 `GenomeTeachParams` gained `fromExperience` and six `benchmark/*` binding files were never committed at all, so the ts-rs Binding Drift Guard fails on canary itself (e8d9767, e08d178, 9c3e563) and therefore on every PR branched from it. Purely generated output -- produced by `cargo test -p continuum-core --lib -- export_bindings`, no hand edits, no Rust change. The six untracked files are the more interesting half: the guard's diff only NAMED the modified file, so the missing ones were invisible in the CI output and would have stayed missing after a fix that only addressed what the error message mentioned. Sibling generated dirs are tracked and these are not ignored, so their absence was an omission, not a policy. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
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]>
joelteply
added a commit
that referenced
this pull request
Aug 8, 2026
…een red since #2174 (#2178) `GenomeTeachParams` gained `fromExperience` and six `benchmark/*` binding files were never committed at all, so the ts-rs Binding Drift Guard fails on canary itself (e8d9767, e08d178, 9c3e563) and therefore on every PR branched from it. Purely generated output -- produced by `cargo test -p continuum-core --lib -- export_bindings`, no hand edits, no Rust change. The six untracked files are the more interesting half: the guard's diff only NAMED the modified file, so the missing ones were invisible in the CI output and would have stayed missing after a fix that only addressed what the error message mentioned. Sibling generated dirs are tracked and these are not ignored, so their absence was an omission, not a policy. Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc Co-authored-by: Claude Opus 5 (1M context) <[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.
Two state fixes at the agent/solve N-chances seam, glass-boxed live 2026-08-08 on the first hands-free graded SWE runs (Atlas PASS sympy-24152 attempt 1 / Benchy 0-for-3 sympy-22840):
1. Retry contract forks on
patch_bytes. The single verdict wording told a zero-diff attempt "Your previous edits are still in this workspace. Investigate why these tests fail — run them —" — factually wrong when no edits exist, and its verbs re-authorized exactly the discovery loop being retried. Receipts: 3 graded attempts, 224 acts, zerocode/write/code/editcalls, each retry re-entering the same read/search spiral. A retry's objective is state (gate/retry/lease/verb class — facts don't move behavior); the zero-diff arm now states the real contract: only an edit can score, apply the best-guess fix to the file already identified, a wrong edit earns failing-test feedback, no edit earns nothing.2.
deliverableinference (#365). A scored run inside a staged SWE checkout that leftdeliverableunset slipped past the autograde gate and burned its chances as ONE ungraded attempt, silently (both first sympy launches). Unset now infersWorkspacewith a warn; an EXPLICITAnsweris respected but warns that grading is disarmed on a run that asked to be scored.cargo check -p continuum-core --features metal,accelerategreen. Live A/B next: relaunch Benchy on sympy-22840 under the new contract.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo