Repository navigation
Conversation
Re-earns the post-#6243 fresh-emit re-measure receipt (owed on main; the prior receipt lived only on session/neat-hawk-785, never merged). Non-destructive `regen_stage0 --emit-fresh` + cargo build on main tip: 1667 -> 3 rustc errors, all E0433 with one root -- `emit_cargo_toml` omitted `libc` from the emitted [dependencies]. The emitted crate bundles the copied host-physics v1_interpreter.rs, which uses libc::clock_gettime(CLOCK_THREAD_CPUTIME_ID) for the fast-lane eval budget, so the fresh crate is cargo-RED without the dep. Adding libc -> 0 errors, cargo-green (matches the committed stage0 Cargo.toml, which already carries it directly). Verified by execution, not deduction: - gen-1: emitted v1_compiler_emit_rust.rs now emits the libc row. - gen-2: running emit_cargo_toml through the interpreter over the live .dag yields a Cargo.toml containing `libc = "0.2"`. New execution witness emit_cargo_toml_libc_witness_test.dag asserts this (RED control: drop the libc row -> witness reds). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
What this change doesAdds one dependency row — Why: the emitted crate bundles the copied host-physics Impact: this was the sole remaining gap in the fresh-emit re-measure — 1667 → 3 → 0 errors (cargo-green). The rest of the original 1667 was already closed on main by the emitter restoration ( Verified by execution: gen-1, the freshly-emitted Scope is just the emitter fix + witness — not the full write-mode cutover. |
The .dag emitter change adds the libc dep row, so the fresh self-compile of emit_cargo_toml now emits it. Regenerate the committed seed so v1_compiler_emit_rust.rs matches (regen_verify_gate fixed point). Exactly one generated file changes; `regen_stage0 --verify` reports regen_divergence_count=0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Follow-up: regen fixed-point (CI
|
The new emit_cargo_toml_libc witness imported v1.compiler.emit_rust, but the CI floor compiles dag/test/claim with source roots dag + src/v2 only (not src/v1), so the import was unresolvable and redded dag_compile_clean_gate. Remove it and fold the guard into the existing v1_source_audit witness, which reads v1 source as text via filesystem_io (ReadsLiveTree) — the floor-compatible pattern for auditing v1.compiler source. emit_generates_cargo_toml now also asserts the libc dep row; RED control: drop the row -> witness reds. Execution coverage of the emit itself remains the regen_verify_gate (dag emitter -> committed seed, byte-exact). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Follow-up 2: floor witness source-root fixThe Fix (commit
Execution coverage of the emit itself stays with |
Follow-up 3: remaining
|
Re-earns the post-#6243 fresh-emit re-measure receipt
The prior re-measure receipt was never merged to main — it lives only on
session/neat-hawk-785(an older pre-fork branch). So the receipt was still owed on main; this re-earns it and closes the last emitter gap.Re-measure (non-destructive
regen_stage0 --emit-fresh+cargo build, on main tip)E0433, one root:libcThe emitter restoration already on main (the
field_access_field_is_boxed/shared_typespredicate) closed ~all of the 1667. The sole remaining gap:emit_cargo_tomlomittedlibcfrom the emitted[dependencies], but the emitted crate bundles the copied host-physicsv1_interpreter.rs, which useslibc::clock_gettime(CLOCK_THREAD_CPUTIME_ID)for the fast-lane eval budget — so a fresh crate is cargo-RED without it. (The committed stage0Cargo.tomlalready carrieslibcdirectly; this brings the emitted manifest into parity.)The fix
One dep row in
emit_cargo_toml'sbase_deps(src/v1/05_emit_rust.dag):Verified by execution (not deduction)
v1_compiler_emit_rust.rsnow emits thelibcrow (absent in baseline).emit_cargo_tomlthrough the interpreter over the live.dagyields aCargo.tomlcontaininglibc = "0.2".dag/test/claim/emit_cargo_toml_libc_witness_test.dag(PASS) asserts this — RED control: drop thelibcrow → witness reds.Not included (operator-gated)
The full write-mode cutover — regenerating all ~40 seed files (~4.3k lines of accumulated drift) and un-ignoring the witnesses — is a separate, heavier decision. This PR lands only the targeted emitter fix + its witness.
🤖 Generated with Claude Code