Repository navigation
verified: t27c judges run records with code generated from run_record.t27 (Refs #7332) - #7434
Merged
Merged
Conversation
….t27 (Refs #7332) run_run_record no longer mirrors the receipt and run judgments by hand: receipt_first_missing, run_first_missing, verdict_word_known, placements_needed and the RUN_* names now come from bootstrap/gen/rust/verified/run_record.rs, which t27c gen-rust writes from specs/verified/run_record.t27. A drift test regenerates it and compares byte for byte. Hand Rust: +33 / -31 (main.rs 5, service.rs 14/-31, tests 14). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 7, 2026 09:22
3 tasks
This was referenced Oct 7, 2026
Closed
Merged
Merged
t27c: refuse a malformed number literal by name, read 0o as octal (Closes #7319, Closes #2645)
#7421
Draft
Contributor
gHashTag
added a commit
that referenced
this pull request
Oct 7, 2026
…nst today's base (Refs #7432) The own-language run on 72c07b2 used pull_request.base.sha 848490e, so its foreign-line budget counted bootstrap/src/service.rs from #7416 and #7434, already on master. Against current master this branch changes only the t27b ledger and its docs/now note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Refs #7332 (epic #6655, Round 3 step 1: generated code instead of hand mirrors)
What
t27c run-recordnow judges with code thatt27c gen-rustwrites fromspecs/verified/run_record.t27, instead of a hand-written Rust mirror of it:bootstrap/gen/rust/verified/run_record.rs: generated, checked in (gen/is gitignored, added with-f)bootstrap/src/main.rs:#[path] mod run_record;, the same shape ast27aandsigned_receiptbootstrap/src/service.rs:run_run_recordcallsreceipt_first_missing,run_first_missing,verdict_word_known,placements_neededand theRUN_*names. The hand loop and constants are deleted.bootstrap/tests/run_record_reader.rs: drift test. It regenerates the file from the spec and compares it byte for byte.Budget
Hand Rust is +33 / -31 (main.rs 5, service.rs 14 / -31, tests 14). The new logic lives only in the spec.
Verified (Railway lab, applied on master cfda070)
cargo build --release -p t27c: clean--bin t27c -- r2_silicon_receipt run_record r3_signed_receipt: 18/18--test run_record_reader: 14/14, including the drift test--test signed_receipt_reader: 5/5This PR does not conflict with #7416: the
modlines sit in a different place in main.rs.🤖 Generated with Claude Code