Repository navigation
Wave 2: bootstrap preservation lexer and token audit (BS-02, #92), with #173 (#169) and #174 (#170) - #171
Conversation
86291fa to
90d7992
Compare
|
@afflom @humuhumu33 Status update for #171 (
|
90d7992 to
e347382
Compare
|
Rebased onto |
…f each module The gate runs the lowered lexer and token audit under the calculus evaluator on the first 1,500 characters of every shipped preservation-library and calculus module (the evaluator interprets the program, and the prefix keeps the gate's time bounded); the register statement, scenario, §31 row and §17.23 prose claimed the whole modules. The statement now says what runs (R2). CONFORMANCE.md regenerated by `validate-model --write`. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY (cherry picked from commit 0307cdf38599b5ca93f1988a1fd09fa9d982f1d7)
BS-01 and BS-02 build the bootstrap project once per test process and ran in the remainder, which every draft push runs; BS-02 alone takes about 45 minutes on the normative host. The compiler part is the shortest leg (15 minutes on the train's gate run) and the bootstrap project is the compiler's own components, so both cases move there and the remainder stays the quick development signal of SPEC.md §9.4. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY (cherry picked from commit a7be34ca76db7edbd7186934ee5e0b5824953402)
|
Maintainer: I am taking this branch from Independently regenerated here on the merged identity (lock, Generated by Claude Code |
|
The whole gate is green on Measured against the train's run (730 runner-minutes, 102 min wall): 872 runner-minutes, 158 min wall. @humuhumu33 this needs an approval from someone other than its authors; the three hand changes on top of Generated by Claude Code |
|
Maintainer review at Checked against #92 step 3 (the pilot's second component): Generated by Claude Code |
…0-slice2 The merged tree is main plus the slice-2 sources; generated records are regenerated next. Main moved no version field since 193cd21, so the combined semantic_ir 14, lean_backend 20, latex_backend 13 stand. The register is 414 on main plus LM-04..LM-06: 417, set by hand in README, the SPEC §31 total, repository.rs and spec_links.rs. CHANGELOG keeps both entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #169
Closes #170
Refs #92
Wave 2 after the v0.4 train (#167): the second bootstrap component,
BS-02, on the merged identity, carrying the two small hygiene PRs that were ready at the same time so that the gate runs once for the three.Members
BS-02(#92 step 3, this branch's own commitse347382c7,9e2de819f)bootstrap/src/TokenAudit.lex.tex, withlexandauditTokensasrust-stdproduction roots held to the Rust oracleproduction::preserve::{lex, audit_tokens}RT-04's source scanner blanks only test items1cc1ab1ccmerged; closes #169; #173 to be closed by hand with a pointer77553dbf3merged; closes #170; #174 to be closed by hand with a pointerWhat
BS-02establishesrust-stdwith exactly their declared effects (none), read from the eligibility report the build writes.SP-09's number-lexing corpus, and the first 1,500 characters of every module of the shipped preservation library and calculus modules) and 300 seeded texts per root.rustc, the rendered packages agree with the oracle on those vectors plus 4,000 seeded texts per root (5,731 runs each).TokenAudit.lex.tex(nested-comment depth, uppercase hex digits, interpolated strings, C1 controls, quoted forbidden attribute, qualified forbidden constant, unlisted import) are each detected by the differential.lexandaudit_tokenspackages are byte-identical to the committed ones undertests/production-export/bootstrap/and realize the lowered program the differential ran.Changed at integration, by hand (maintainer, on top of
9e2de819f)BS-02say that the evaluator reads the first 1,500 characters of each library and calculus module; the gate always did (the evaluator interprets the lowered program, and the prefix keeps its time bounded), and the statement claimed the whole modules. R2: the statement says what runs.CONFORMANCE.mdregenerated..github/bdd-parts.json:BS-01andBS-02run in thecompilerbdd part. Both build the bootstrap project once per test process (§9.4: cases sharing a fixture are named by one part), andBS-02takes about 45 minutes on the normative host; in the remainder it would have made therestleg every draft push runs (24 min on the train's run) about three times as long.compileris the shortest leg (15 min).check-test-inventory(RP-13) passes: compiler 23, rest 292.Records
e347382c7is the author's rebase ontomain(193cd2148, register 414) with the records regenerated there. The maintainer regenerated them independently on the same identity (records reset tomain's, thenlexlean lock,check-golden --write,check-production-export --write,verify-examples --writewithcompiler,stdliband one example as controls, all byte-identical to their committed records): the result is byte-identical to9e2de819f, so no regeneration commit is on this PR.Checked locally on the tree of this head
cargo fmt --check,clippy -D warnings,validate-model,validate-spec-links(414 rows),check-test-inventory,check-golden,check-production-export;conformance_bs_02(Lean-backed, 2,687 s),conformance_rt_*(4),conformance_rp_*(14), the xtask unit tests. The whole gate runs in CI on this head.How this merges
The head contains
main(193cd2148). It is ready for review; the merge is a merge commit pinned to the final head, and the push run onmainruns nothing when this PR's run passed every job (#166). It needs an approval from someone other than its authors.🤖 Generated with Claude Code
https://claude.ai/code/session_013QppGKetUURseXowZun9KY