Skip to content

Add a failure log for US national builds from main - #1654

Draft
MaxGhenis wants to merge 9 commits into
mainfrom
us-build-from-main-failure-log
Draft

MaxGhenis wants to merge 9 commits into
mainfrom
us-build-from-main-failure-log

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

docs/us-build-from-main-failure-log.md lists each gate that stops a US national build from main, in the order
a run reaches it, starting with the Route A driver (tools/route_a/route_a.sh) at a pinned commit. Each entry
names what refuses, links its lines at that commit, gives the message or the condition the code checks, and
carries a status.

We keep the pull request open as a draft for as long as builds from main keep failing. It adds only
docs/us-build-from-main-failure-log.md.

An agent adds an entry by committing to the pull request's branch:

  1. Read the refusing lines at the commit the run used, and link them with a permalink at that commit's full sha.
  2. Put the entry where a run reaches the gate, with the message the code prints or the condition it tests.
  3. Give the entry one status in its heading. Use from the code for a refusal read and not run, predicted for a
    stop the code and the run's settings or host point to, and observed for a stop a run hit. An observed entry
    names the run's commit and quotes its log line.
  4. When a run passes a gate an entry predicted, delete the entry and name the run in the commit message.

axiom: n/a: a documentation file; no rule, parameter or dataset change

🤖 Generated with Claude Code

MaxGhenis and others added 7 commits November 17, 2026 00:23
One new file, docs/us-build-from-main-failure-log.md: each gate that stops a US national build from main, in the order a run reaches it, read at c7a5f96, with the results of the 17 November sync, resolve and preflight.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ured

Entry 6's heading now names the unobserved stop (exit 1), which its status describes. The preflight paragraph says the run measured neither column after calibration, where it had restated the preflight's forecast of the solve.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The run section gains what #1653 changed on main: sha_of fails when openssl prints no digest, and verify_inputs names the unreadable input. Entry 1 keeps describing the pinned commit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Federal Reserve replaced the SCF 2022 summary extract on 9 October 2026.
Entry 2 (`predicted`) records the two stops that follow: `verify_inputs` refuses
an `SCF` file that fails the member pin, and the prefetch fails the zip check on
a machine whose cache lacks the original member. Entries 2 to 8 become 3 to 9.

Entry 9 now reads #1635 at 455d466 and reverses the earlier entry, which said
the shadow could fail a finished base or release. At that head the shadow prints
a warning on a verdict difference, and today's gates set the exit. The shadow
can still stop a run through a fault while a tool builds it, and a staged base
refuses a resume that changes the shadow switch. The entry's status moves from
`predicted` to `from the code`.

Entry 6 also moves to `from the code`. On 18 November 2026 (UTC) an agent
installed emitter 0.16.0 on a Mac that runs these builds, where `uv tool list`
had reported 0.13.0.

axiom: n/a: documentation only

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Main gained #1650, #1653, #1559 and #1635 after the old pin, c7a5f96. 198 of
the log's 200 code links now cite main at bcb5cba, and two dated observations
keep the commits their runs used.

The log drops the `uv sync` entry. Since #1650 the driver syncs with
`--python "$UV_SYNC_PYTHON"` and unsets `UV_FROZEN`, so neither cause reaches
`uv sync in $WT`. The code removed that stop; no run passed it.

New entries:

- 2 (`predicted`): the 2023-2025 pool needs `census_cps_2025.h5` under
  `STORAGE` and `asecpub26csv.zip` under `EDU` (#1559).
- 6 (`from the code`): a rerun whose worktree synced with another interpreter
  stops at the sync marker (#1650).
- 9 (`predicted`): the Modal hand-off's copy stops on the base's
  `gate_battery_shadow/` directory (#1635). #1677, still open, makes that copy
  recursive.

Moved or rewritten:

- The emitter entry moves up to 5. The driver now checks the installed emitter
  in the commit check, before it creates a worktree (#1650).
- The gate-shadow entry, now 8, states what main does, since #1635 merged.
- Entry 1 quotes the message #1653 added for a file the driver cannot hash.
- Entry 4 quotes the feed and crosswalk blockers as #1650 reworded them.
- Entry 7 adds the 2023-2025 Modal template and the reference a hand-off needs.
- Entries 3, 10 and 11 keep their stops at new line numbers.
- "The run" loses its paragraphs on #1650 and #1653; the entries carry them.

axiom: n/a: documentation only

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The log linked main at bcb5cba, from 18 November, 1,117 commits back
and before PR #1672 split building from certifying. Every blob link now
points at 88fadfa, main on 1 December, except two that keep the
commits of the dated runs they cite.

The entries follow the gates in the order a run reaches them at that
commit, now 24 of them:
- new entries for the driver's startup refusals, the block_v1 ladder,
  the driver's own files and tools, the certified-build guard on
  --rebuild, the Modal destination, staged checkpoints, gate
  references from failed builds, the release dry run, the --out
  guards, the release's exit codes, the probe, a blocked new-lineage
  preflight and certification's record checks;
- rewritten entries for missing inputs, the SCF 2022 pin, the feed and
  crosswalk pins, the 0.17.0 emitter floor, the base's memory and
  lineage checks, the shadow outputs, the QRF register and the
  hand-off preflights;
- the predicted copy stop on the Modal hand-off is gone: the runbook
  now copies with cp -pR, and the October rerun used cp -pRc.

Entry 3 adds the dated observation of the inputs on a Mac that runs
these builds. No entry covers the SCF 2025 extract: a build reads it
only with --scf-education-debt, which the driver and its template
leave off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow the driver from startup through hand-off. Cross-reference repeated
input checks, the prefetch retry, and the release gates replayed after the
dry run. Document the missing refusals and qualify dated observations.

The October rerun runbook now specifies cp -pRc. The recursive flag was
added in November by 9f48a99, merged in #1677.

A Codex lane (sol62) wrote this from the independent review of 14b0a0c;
every link stays a permalink at main 88fadfa.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Agent-written for Max, by the Microcosm hub (Claude Code).

An independent review of 14b0a0ca ran on a Codex lane (sol62) and returned REQUEST_CHANGES. All 309 links resolved and the quoted messages matched the code at 88fadfa8, but the log left out gates on the default path and mixed early and late checks:

  • the size and hash checks on every configured input, not only STORAGE;
  • four more ways the required donor prefetch retry can fail (SIPP financial assets, the SCF 2022 full extract, SIPP tips, CPS ORG);
  • the worktree refusals, the supervisor's admission and runtime limits, the staged base's hard gates, the dry run's pre-solve checks and the final batch;
  • STOP_BEFORE_RELEASE=1 exits 0 only when the release has no ACCEPTED marker, and the dry-run wrapper can exit 2 before the release tool runs.

It also found two claims in that commit's message wrong. The entries did not follow run order, and the October rerun did not use cp -pRc: the runbook now specifies it, and the recursive flag came in November, in #1677.

c92f8073 answers each finding. A Codex lane wrote it from the review, and every link stays a permalink at 88fadfa8: 395 there and the two dated-run links, all checked mechanically. The log now has 29 entries in run order, with forward references where a check runs twice. A scoped second review of c92f8073 is queued. The pull request stays a draft while builds from main keep failing.

MaxGhenis and others added 2 commits December 3, 2026 00:11
Clarify restart behavior, document the missing build and certification
refusals, and qualify the dated observations. Source permalinks use
88fadfa, with two links at the dated-run commits.

A Codex lane (sol62) wrote this from the scoped review of c92f807.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The third and last scoped review (at 9b3d94f) found three gaps of
substance and three of wording. Each fix was checked against the code
at 88fadfa:

- The summary now says the release-gate dry run happens only for a
  pending release, and that a dry run already accepted for the same
  settings is reused.
- The target-frame checkpoint entry names where the tool looks for the
  checkpoint, and adds the batch guards that rematerialization runs:
  group units must nest in households, positive Medicaid claiming
  tax-unit IDs must resolve in the person's household, and a batch
  engine that computed a population aggregate is refused.
- The written-H5 entry adds the writer's own export contract and its
  reload check, which run before the stored-input comparison.
- The base entry says the emitter start is attempted, since optional
  telemetry lets the base continue without one.
- The release-preflight receipt sentence covers both cases: equal
  receipts for an identified pool, none on either side for a generic H5.

All 455 blob links resolve at their pinned commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Two more review rounds have run on the failure log, which reaches the round limit. Both ran as scoped reviews on a Codex lane (GPT-6, read-only, no network), checking claims against the code at 88fadfa8.

Round 2 (at c92f8073): request changes, 8 P1. Fixed in 9b3d94fd:

  • the pending-release path under STOP_BEFORE_RELEASE;
  • the weeks-unemployed archive and extraction checks;
  • the ASEC pin and receipt checks before checkpoints;
  • the first pool authentication and deny-list check at base preflight;
  • the base's zero-support, SPM composition and export-mass conditions;
  • the target-frame checkpoint refusal;
  • the named terminal calibration failures;
  • the written-H5 stored-input check and its exit code;
  • the commit message's claim about links.

Round 3 confirmed each of these fixed, along with all eight round-2 P2s.

Round 3 (at 9b3d94fd): request changes, 3 P1 and 3 P2. Fixed in 54a4914a, each checked by hand against the cited code:

  • The summary now limits the release-gate dry run to a pending release, and notes that an accepted dry run for the same settings is reused.
  • The checkpoint entry names where the tool looks for the checkpoint. It also adds the batch guards that rematerialization runs: households must nest their group units and Medicaid claiming tax units, and the tool refuses population aggregates per batch.
  • The written-H5 entry adds the writer's export contract and reload check, which run before the stored-input comparison.
  • Three wording fixes: the base entry says it attempts the emitter start, the checkpoint entry cites the resolver, and the receipt rule covers the generic-H5 case.

All 455 blob links resolve at their pinned commits.

Known gaps (P2 or lower), left open:

No review round follows. The PR stays a draft by design.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant