You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reseed gates never run the release binary as build orchestrator #757
The clone-storm seed break (fixed in 0f66336) shipped through a fully green battery + reseed because of a coverage hole: during a battery, the release binary runs only as a spawned pure-compiler child (workers, tests). The FIRST time it ever evaluates build.w comptime as orchestrator is after :update-seed/:install-user — on the user's machine, with no gate in between. A regression confined to the build.w evaluation path (comptime evaluator, action graph, worker spawning) is invisible to build/fixpoint/audits/tests and detonates on the next 'with build'.
Gate proposal: :update-seed (or :install-user) must first run the candidate binary as orchestrator on a small but representative action set — e.g. force-regenerate compat-runtime-source (it exercises the embedded-stdlib comptime loop that blew up) plus one object target, under a tight memory/time budget, and fail the reseed if it exceeds either.
Context: groundwork 882921e made evaluator read paths deep-clone; quadratic on big string accumulators; 64 GiB in ~30s. Batteries 8-10 green; seed g43df7f0d8 broke every subsequent orchestrated build until the direct-compile bootstrap recovered it.
Fixed in f481eb5. :update-seed / :install-user (cli_fast_install_blessed) now, after the last-green sha check and before copying, run the candidate as check build.w and as build :compiler-main-source under WITH_BUILD_ACTION_FORCE=1 — a fingerprint cache miss, so the candidate evaluates build.w in full as the orchestrator, compiles its runner, and runs the action natively — with 300s/600s timeouts and a 1 GiB peak-RSS tripwire (#679 class). Output is captured to out/command/reseed-gate/; any failure refuses the install with the child's stderr.
Demonstrated on the refusal path before this reseed: WITH_RESEED_SMOKE_TARGET=nonexistent-target out/release/bin/with build :update-seed exits 1 with error: reseed gate: candidate failed as build orchestrator on ':nonexistent-target' (exit 1) and src/main is byte-identical before and after. The real reseed then went through the gate.
Activity
reseed: gate install on the candidate checking build.w and orchestrat…
ehartford commentedon Sep 1, 2026
Fixed in f481eb5.
:update-seed/:install-user(cli_fast_install_blessed) now, after the last-green sha check and before copying, run the candidate ascheck build.wand asbuild :compiler-main-sourceunderWITH_BUILD_ACTION_FORCE=1— a fingerprint cache miss, so the candidate evaluates build.w in full as the orchestrator, compiles its runner, and runs the action natively — with 300s/600s timeouts and a 1 GiB peak-RSS tripwire (#679 class). Output is captured toout/command/reseed-gate/; any failure refuses the install with the child's stderr.Demonstrated on the refusal path before this reseed:
WITH_RESEED_SMOKE_TARGET=nonexistent-target out/release/bin/with build :update-seedexits 1 witherror: reseed gate: candidate failed as build orchestrator on ':nonexistent-target' (exit 1)andsrc/mainis byte-identical before and after. The real reseed then went through the gate.