Repository navigation
feat(efficacy): register round 5's spec by content, and refuse any other - #77
Merged
Merged
Conversation
Each trial recorded the spec's SHA-256, but nothing compared it. The harness now refuses a round-5 trial whose spec differs from the registered content, checked before every trial so an edit mid-run builds nothing. The report refuses a round-5 report holding a trial that built from other content, or a scorable trial that records no spec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
The source was hashed before it was copied, so an edit between the two gave a trial changed content under the registered hash. The workspace's copy is now what is checked and recorded, and a refused workspace is removed so the trial's slot stays free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
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.
Each trial recorded the spec's SHA-256, but nothing compared it. An edit to
SPEC.mdduring block A's two-day run would have mixed two specs in one round without a warning. This registers the hash and checks it at both ends.round-5.mdSPEC.mdat sha25648ee93ff…, amended 2026-10-29, before any trialharness.pyreport.pyBefore and after, with
SPEC.mdedited mid-run:Self-tests:
Round 6 will need its own registered spec: the check applies to any run holding a round-5 arm.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX