Skip to content

Pool main's default ASEC years in Route A (d2603) - #1559

Merged
juaristi22 merged 8 commits into
mainfrom
route-a-default-asec-pool
Nov 18, 2026
Merged

juaristi22 merged 8 commits into
mainfrom
route-a-default-asec-pool

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Max's d2603 (7 November 2026, "From the next build") moves Route A from income years 2022-2024 to main's default ASEC pool, income years 2023-2025 (ASEC 2024-2026, asec_sources.ASEC_DEFAULT_POOL_INCOME_YEARS). This PR moves the driver and its Modal base template, so the next certified US build becomes the first on the default pool. The November 2026 certified build keeps 2022-2024: it runs from its own worktree at 9434c504b with a frozen driver copy, and nothing here reaches it.

Refs #296. I'll close it with a comment once this merges.

Status: draft. Targeted local tests pass. The GPT-6.1 Sol review waits in Subfleet's queue behind its disk hold.

What changes

  • Driver. tools/route_a/route_a.sh passes census_cps_2025.h5, census_cps_2024.h5 and census_cps_2023.h5, newest first as before, with their pins, and the Census person archives asecpub24csv.zip to asecpub26csv.zip. input_rows lists the new files with the registries' digests and byte counts. Next to its H5 check, check_commit now also refuses a build commit whose education_assistance_source.py lacks a pooled archive pin.
  • Modal template. docs/us-modal-stage-route-a-rerun-base-plan.json becomes the next certified build's template. It names a new registration, us-puf-support-base-income-2023-2025, and lists every input in CAS form (volume://cas/sha256/<sha>/<name>) with the registries' digests. Its commit placeholder, PICK_MAIN_COMMIT_FOR_THE_NEXT_CERTIFIED_BUILD, makes validate refuse it until an operator fills it.
  • Registration. tools/modal_us_stage_plan.py adds AsecPool and builds the base command's input roles and argv from a pool. us-puf-support-base-income-2023-2025 runs the rerun registration's command, crosswalk pin and resources on the default pool, plus one seed-only input, asec_weeks_unemployed_zip. us-puf-support-base and us-puf-support-base-rerun keep every field but the argv builder, and their builders return the same argv as before, so plans made before this PR still validate on main.
  • Local reference. tools/route_a/make_local_reference.py reads the pool from the registration and hashes a seeded input where the local tool read it, in the home cache.
  • Docs. A new "ASEC pool" section in the driver README, the env example, a "Route A" section in the pins doc, "The default-pool template" in the runbook, dated notes on the 18 October rerun record and its prep report, and a changelog fragment.

Why the years stay written out

d2603's brief asked whether to derive the years or write them out. The driver and the template write them out, and CI holds them to the default pool:

  • Each year carries its own digest, byte count, file name and CAS upload, and the operator stages new files at a rollover. A derived year list would leave all of that to do by hand.
  • The driver hashes its inputs and checks the build commit's pins in bash (verify_inputs, check_commit) before it creates the build worktree and its venv, so it has no Python to ask.
  • When the pool moves is a ruling, as d2603 shows. A derived pool would move Route A silently the day someone pins a 2026 file.
  • test_route_a_asec_pool.py fails as soon as the driver's or the template's years leave ASEC_DEFAULT_POOL_INCOME_YEARS, so the PR that pins a newer year has to move Route A too, or say why not.

The LKWEEKS sidecar

The base reads the income-2022 Census archive, asecpub23csv.zip, for weeks unemployed in every mode; it isn't a pooled year. The driver passes no --asec-2023-weeks-unemployed-source, so the base calls fetch_asec_2023_weeks_unemployed_source(), which reads ~/.cache/microcosm/cps/asec_2023/, downloads from Census only when the file is missing, and checks the pin. The driver's prefetch stage warms that cache. The older registrations seed it from asec_education_2022_zip, which the default pool drops, so the new registration stages the same file as asec_weeks_unemployed_zip and seeds the cache from that. Neither path passes the flag, so local and Modal bases record the same run config.

ASEC order

The base pools the --asec-h5 years in the order given and records that order in the run context it locks, so the order belongs to the build. Route A keeps newest first (2025, 2024, 2023), as it passed 2024, 2023, 2022 before. The archives stay oldest first.

Invariants

Each holds for every input, and test_route_a_asec_pool.py executes it:

  1. The driver's and the template's pooled years equal ASEC_DEFAULT_POOL_INCOME_YEARS.
  2. Every pooled year sits in all four year-keyed registries: ASEC_SOURCE_ARTIFACTS, ASEC_EDUCATION_ASSISTANCE_ARCHIVES, ASEC_SPM_ROLE_SOURCES and ASEC_PUBLIC_ASSISTANCE_TYPE_AUDIT_PINS.
  3. Every pin in the driver and the template matches its registry: digest, byte count and file name, and the LKWEEKS archive's digest and name.

The same file also runs:

  • a differential test: the driver's base command, as bash expands it, tokenizes to the registration's planned command, flag for flag and value for value except file locations;
  • check_commit against a commit whose registries lack each pooled year's pins in turn, which must report exactly those two blockers;
  • a check that the new registration differs from the rerun registration only in its name, pool and seeded archive;
  • a Hypothesis property: the argv builder maps any pool year for year, in pool order, and at the 2022-2024 pool returns the historical builder's argv;
  • AsecPool refusing a repeated year, or archives that don't match the pooled years;
  • the pre-d2603 template, frozen byte for byte as a fixture, still validating on us-puf-support-base-rerun with its 2022-2024 years and pins.

#1044's "not affected" note

The PR that set the default pool, #1044, said Route A "reads explicit local paths and is not affected". That held for the driver of its day, which named 2022-2024, and d2603 ends it. The pins doc and the 18 October rerun record (its "ASEC 2025" row) now say so.

The student debt pilot (d2606)

The EqRC hub chose (a) on 9 November: the pilot's base keeps the November build's pool, income years 2022-2024 (ASEC 2023-2025), because d2606's terms come from the November build on that pool, and a new pool would reopen them inside a booking with no room for it. The pilot runs a copy of the driver from the last main commit before this merge, with the pre-merge template on us-puf-support-base-rerun. EqRC asked that this registration stay unchanged and that the pre-merge template keep validating on main. This PR keeps both, and the fixture test above holds them. EqRC also said the merge need not wait for the pilot.

Left alone

  • The November 2026 certified build, its worktrees and its kit.
  • us/spec/sources.yaml asec_raw_stage (51e9fafc…, which pools 2022-2024). The spec engine reads it; Route A's base passes no spec and writes its own raw-stage checkpoint. The Microcosm non-dynamics session pins the first default-pool base's checkpoint there once that base exists.
  • The driver's default CROSSWALK_SHA (c7cb040b…, the historical in-tree file). Each build's route_a.env sets the current pin, as the 18 October rerun's did.
  • Launchd jobs and builds: nothing ran, locally or on Modal.

Tests

  • Local, Python 3.14, serial: 571 passed at b377f7851 across test_route_a_asec_pool.py, test_route_a_driver.py, test_route_a_lineage_class_check.py, test_us_route_a_local_reference.py, test_us_modal_stage_puf_support_base.py, test_us_asec_sources.py and test_us_modal_stage_plan_tool.py. After the second commit, the three files it touches passed again (220), and the new fixture test passed by node id.
  • Mutation smoke: one changed digit in the driver's ASEC_EDU_2025_SHA and one in the template's asec_2023_h5 digest failed the driver-pin, template-pin, differential and check_commit tests, as they should.
  • A direct check with the module at 9b7a4544b and at this head: the pre-merge rerun template and the historical plan parse on both, with identical argv.
  • ruff check and ruff format --check pass on the changed Python files, and tools/ci_test_plan.py verify passes.
  • Independent review: GPT-6.1 Sol through Subfleet, pending.

🤖 Generated with Claude Code

Taken over on 17 November

María took this PR over for the County Files' national donor (plan and rulings in #1647). The commits below come after Max's two, in this order:

  1. 870c8ffa3 merges main (3b75cf151). The one conflict was in check_commit: this PR's Census archive pin loop now runs before Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650's crosswalk check.
  2. c2b426785 points Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650's new driver tests at run_driver_settings. This branch had moved the old _input_settings_result helper to test_support under that name, with the same code. 14 tests failed with a NameError and now pass.
  3. f7acd8ea4 adds a LOCATION_RULE setting for the base (US household location v1: one census block per household, every geography derived #1047).
    • legacy, the default, keeps the published command. The differential test still holds it to the legacy Modal registration.
    • block_v1 drops --ledger-facts, --assign-congressional-districts and --congressional-district-seed, and passes --location-rule block_v1 --location-seed 0. A test runs the base tool's own parser on the driver's block_v1 command.
    • Under block_v1, check_commit also checks the two new flags. Any other value stops the driver.
  4. 8c130fe1f adds LADDER_SHA and LADDER_BYTES settings, which default to the d713 ladder. Under block_v1, verify_inputs refuses a ladder without the per-block puma array.
  5. 75d689551 merges main (a21fa3b9b), which has Refuse an empty digest for unreadable files in the Route A driver #1653. The one conflict was in test_route_a_driver.py, where both sides added tests. Both sets stay, and Refuse an empty digest for unreadable files in the Route A driver #1653's test now calls run_driver_settings.
  6. 826c5ebd4 says that block_v1 is for a base the driver builds itself (from Vahid's review). The Modal default-pool registration keeps the legacy location flags, and no plan can pass --location-rule. The README and the Modal runbook say not to hand a Modal base to a block_v1 run, because the driver skips a base stage that is already accepted.

Settings F18 needs from this branch

  • The ASEC 2026 inputs: census_cps_2025.h5 in STORAGE and asecpub26csv.zip in EDU, beside the 2023 and 2024 files.
  • LOCATION_RULE=block_v1.
  • A block ladder rebuilt on main with tools/build_us_block_ladder_artifact.py, set as LADDER, LADDER_SHA and LADDER_BYTES. The ladder pointer gives the file and its route_a.env lines.
  • A base that route_a.sh builds itself, not a Modal base.
  • The feed settings that --resolve names (Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650).

Checks

  • Run locally on Python 3.14: the Route A driver, ASEC pool, lineage class, local reference, Modal base, Modal plan, ASEC sources and base block-location suites. Result: 678 passed and 1 skipped. The skipped test needs shellcheck, which this Mac does not have.
  • ruff check and ruff format --check pass on the two changed test files. bash -n passes on the driver and on the settings example.
  • After the merge of main (75d689551): the driver, ASEC pool, lineage class, local reference and Modal base suites gave 339 passed and 1 skipped.
  • After 826c5ebd4: the driver, ASEC pool, Modal base and ACS local release suites gave 605 passed and 2 skipped. bash -n passes on the driver and on the settings example.
  • CI runs on this head.

#1653: it merged into main as a21fa3b9b, and 75d689551 merges it here (item 5).

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 9, 2026 13:47
Max's d2603 (7 November 2026, "From the next build") moves Route A from
income years 2022-2024 to main's default pool, income years 2023-2025
(ASEC 2024-2026). route_a.sh now passes census_cps_2025/2024/2023.h5 and
asecpub24-26csv.zip with their registry pins, and check_commit refuses a
build commit whose registries lack a pooled pin. The Modal base template
names a new registration, us-puf-support-base-income-2023-2025, which
stages the 2023 ASEC archive as its own LKWEEKS cache seed; the historical
and rerun registrations keep their inputs, argv and seeds.
test_route_a_asec_pool.py holds the driver and the template to
ASEC_DEFAULT_POOL_INCOME_YEARS and the four year-keyed registries.

The November 2026 certified build keeps 2022-2024 and its own driver.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The student debt pilot's base (d2606) keeps the November build's pool on
us-puf-support-base-rerun, through the template as it stood at 9b7a454
(EqRC, 2026-11-09). A byte copy of that template now sits in the
modal_us_stage fixtures, and test_route_a_asec_pool.py checks that it still
validates on main with its 2022-2024 years, order, seed and pins.

The default-pool registration takes its stage from the rerun registration
it extends. The README describes what the education fetcher does, the pins
doc drops a build reference this PR can't verify, and the runbook states
the run-id convention without claiming the validator enforces it.

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

Copy link
Copy Markdown
Collaborator

Max, the County Files need a new national build from main (plan in #1647). #1630's hand-off says a full county run needs a national donor with the #1039 industry and worked-last-year columns, and no published national build has them. Your d2603 says the next build uses this ASEC pool, and the Route A switch to block_v1 would go on top of this PR.

Do you want to pick this PR up and get it in, or should we take it over? If we take it, we bring it up to date with main, get its checks green and ask you to review it.

🤖 Generated with Claude Code

@juaristi22

Copy link
Copy Markdown
Collaborator

The County Files timeline is tight, so we're taking this PR over now. The plan, as additive commits on this branch, with no force-push:

  1. Merge main. The only conflict is tools/route_a/route_a.sh with Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650, as Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650 expected.
  2. Add a block_v1 switch for the base (US household location v1: one census block per household, every geography derived #1047): a LOCATION_RULE setting whose default, legacy, keeps the published run as it is. Under block_v1 the base drops --ledger-facts, --assign-congressional-districts and --congressional-district-seed, and passes --location-rule block_v1 --location-seed 0.
  3. Make the block ladder's digest and size settings (LADDER_SHA, LADDER_BYTES), as Route A driver: name main's pins, pin the sync interpreter, check the emitter #1650 did for the feed. Under block_v1 the driver also checks that the ladder carries the per-block puma array.

For F18: please hold the national base until this lands, so that the build uses the d2603 pool and block_v1 (rulings in #1647). F18's settings will then need the ASEC 2026 inputs from this PR, LOCATION_RULE=block_v1, and a block ladder rebuilt on main with its digest and size.

I'll ask for your review here once CI is green.

🤖 Generated with Claude Code

juaristi22 and others added 4 commits November 17, 2026 10:00
The one conflict is in tools/route_a/route_a.sh's check_commit: this
branch's Census archive pin loop now runs before #1650's crosswalk check,
which names the commit's own digest and refuses a missing crosswalk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch moved the driver-settings harness into
test_support/microcosm_build/route_a_driver.py as run_driver_settings.
The tests #1650 added on main still called the old local name,
_input_settings_result, which the merge no longer defines, so 14 of them
failed with a NameError. Both helpers have the same signature and code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new LOCATION_RULE setting picks how the base locates households.

- legacy, the default, keeps the published run's command byte for byte:
  a congressional district drawn from SOI return counts, then a block
  within it.
- block_v1 draws one 2020 census block per household within its CPS ASEC
  source geography. The base drops --ledger-facts,
  --assign-congressional-districts and --congressional-district-seed,
  which it refuses beside --location-rule block_v1, and passes
  --location-rule block_v1 --location-seed 0. It keeps the vintage
  crosswalk, which the release checks, and the block ladder.
- Under block_v1, check_commit also requires the base tool at the commit
  to declare the two new flags. A legacy build of an older commit is
  checked as before.
- Any other value stops the driver with exit 64.

The base command now reads its location flags from base_location_args,
which section 4 calls once W is set. Tests check that:
- the legacy command still matches the Modal registration;
- the block_v1 command differs only in the location flags;
- the base tool's own parser accepts the block_v1 command;
- an unknown value is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ladder row of input_rows read a fixed digest and size. They are now
LADDER_SHA and LADDER_BYTES, as #1650 did for the feed. Both default to
the published run's d713 ladder, so a default run checks the same bytes
as before. A build with another ladder sets LADDER, LADDER_SHA and
LADDER_BYTES together.

Under LOCATION_RULE=block_v1, verify_inputs also lists the ladder's
arrays with PYTHON. It records an input problem when the per-block puma
array that load_us_location_ladder requires is missing, or when the file
cannot be read. It checks the array itself, because a digest alone does
not say which arrays a ladder holds. tools/build_us_block_ladder_artifact.py
on main writes the array.

Tests check that:
- the pins keep their defaults or take the settings;
- a block_v1 ladder passes with the array, and fails without it or when
  it cannot be read;
- a legacy ladder is not checked.

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

Copy link
Copy Markdown
Collaborator

@MaxGhenis, could you review this? GitHub can't request a review from a PR's author, so I'm asking here.

  • The section at the end of the description lists the four commits after yours and the settings F18 needs from this branch.
  • The two driver changes are the block_v1 switch (LOCATION_RULE, default legacy) and the ladder settings (LADDER_SHA, LADDER_BYTES). Under the defaults the base command is the published one, byte for byte.
  • CI on 8c130fe1f: lint, wheels, the emitter check and the UK integration job pass. The engine-free, engine-us and engine-uk jobs are still running, and none has failed so far.

🤖 Generated with Claude Code

@juaristi22

Copy link
Copy Markdown
Collaborator

The F18 block ladder is on the staging repo. It carries the per-block PUMA array that LOCATION_RULE=block_v1 needs.

It was built on main at 3b75cf151 with tools/build_us_block_ladder_artifact.py, from public Census and OMB files only. 28 of 28 checks passed: the counts in docs/us-location-v1.md, Connecticut's planning-region CBSAs against #1072, each block's PUMA against the Census tract file, and the source digests against the repo's receipts. A second build gave the same bytes. The build summary and verify1.json are in the same folder.

Take this file. A rebuild on another machine can compress to different bytes; verify1.json has per-array digests.

The opt-in registry test did not run: ncleg.gov answered 403 to the registry tool's download of the 2019 North Carolina plan.

F18's route_a.env lines. LADDER is where the hub saves the download.

LOCATION_RULE=block_v1
LADDER=$PE/_build_artifacts/us-block-ladder-f18/us_block_ladder_2020.npz
LADDER_SHA=528085de8b4a9ba3ba3f25e841158c8f2807e790f00bf084ba5dc4378a7d1217
LADDER_BYTES=19098783

🤖 Generated with Claude Code

@juaristi22

Copy link
Copy Markdown
Collaborator

For F18 from this branch: a gate dry run before the release

The 3 November national attempt failed two release gates:

So that a failure costs under an hour, not a 33–57 h release, please run F18 in this order:

  1. The base.
  2. The gate dry run on that base, with the release arguments Route A will pass:
    uv run python tools/dry_run_us_release_gates.py \
      --release-config <run>/release-config.json \
      --base-h5 <run>/base-out/base_populace_us_2024_puf_support.h5 \
      --json-out <run>/dry-run-gates.json
    Route A writes release-config.json only when it starts the release, so before that, pass the same release arguments after --.
    • The dry run runs the release's own base load, input stages and pre-solve gates. That part took at most 2,049 s on 26 September.
    • It grades every data-dependent register and pre-export gate, the QRF tail register included.
    • Exit 0 means clean, 2 means at risk only, and 1 means a certain failure.
  3. The register, if it needs a change. Post the dry run's register diff here, and I'll rule on the entries. Then set QRF_TAIL_EXCLUSIONS and QRF_TAIL_EXCLUSIONS_SHA to the new register, and run the dry run again with --qrf-tail-concentration-exclusions <candidate>.
  4. The release.

The dry run needs the base, which reads the PUF, so it runs on the build machine. Route A's preflights don't cover it: they grade the raw base, before the release's QRF stages.

🤖 Generated with Claude Code

Main brought #1653 (sha_of refuses an empty digest for an unreadable file)
and #1655 (Belgium's donor money declaration).

The one conflict was in test_route_a_driver.py, where both sides added tests
after the feed pin test. Both sets stay. #1653's verify_inputs test called
#1650's local _input_settings_result helper, which this branch moved to
test_support as run_driver_settings with the same body, so it now calls
run_driver_settings.

route_a.sh and the README merged without conflicts. In verify_inputs, an
unreadable input now gets the status "unreadable", and under block_v1 the
ladder's PUMA check still runs after the input rows. A ladder that PYTHON
cannot read is an input problem, as #1653 intends for openssl.

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

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at 75d6895, including the commits added on 17 November.

  • The driver's pooled years (tools/route_a/route_a.sh:672-676) and the new template match ASEC_DEFAULT_POOL_INCOME_YEARS (asec_sources.py:145, currently 2023-2025), and test_route_a_asec_pool.py:191-205 will fail when that default moves, so the written-out list cannot drift silently.
  • Driver and template pins, including the LKWEEKS archive, are tested against all four registries; no live path still names the 2022 H5 or the 2022 education archive.
  • The block_v1 arguments from base_location_args (route_a.sh:374-383) drop exactly the flags _validate_block_v1_args refuses (tools/build_us_puf_support_base.py:633-680) and keep the crosswalk and ladder; the extra BASE_FLAGS check is limited to block_v1 (route_a.sh:124). ladder_has_puma checks puma.npy, which matches US_BLOCK_LADDER_PUMA_ARRAY.
  • Both merge resolutions keep both sides correctly.
  • The seven touched or related engine-free suites pass at this head (664 passed, 1 skipped for shellcheck), and bash -n passes on the driver and the settings example.

Two small notes: the description's "Overlap" line about #1653 is now out of date, since #1653 merged as a21fa3b and that merge is in 75d6895; and block_v1 is local-driver only, as the Modal default-pool registration stays on the legacy location flags.

Review drafted with AI assistance and checked against the code at 75d6895.

Vahid's review of #1559 noted that block_v1 is for the local driver only.
The Modal default-pool registration keeps the legacy location flags, and no
plan can pass --location-rule. A Modal base handed to a block_v1 run would
still be used, because the driver skips a base stage that is already
accepted.

The driver's base-stage comment, the Route A README (the location rule and
the Modal hand-off), the settings example, the Modal runbook's default-pool
template and the changelog fragment now say so. Only comments and documents
change.

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

Copy link
Copy Markdown
Collaborator

Vahid, both notes are addressed.

  • The description's Refuse an empty digest for unreadable files in the Route A driver #1653 line is updated. Refuse an empty digest for unreadable files in the Route A driver #1653 merged into main as a21fa3b9b, and 75d689551 merges it here.
  • 826c5ebd4 says that block_v1 is for a base the driver builds itself. The driver's base-stage comment, the Route A README, the settings example, the Modal runbook's default-pool template and the changelog now say so.
    • The README and the runbook also say not to hand a Modal base to a block_v1 run. The driver skips a base stage that is already accepted, so the release would use the legacy base.
    • Nothing in the driver refuses that hand-off. F18 builds its base locally, so it is not affected.

Local checks after 826c5ebd4: 605 passed and 2 skipped in the driver, ASEC pool, Modal base and ACS local release suites, and bash -n passes. Only comments and documents changed.

🤖 Generated with Claude Code

@juaristi22
juaristi22 marked this pull request as ready for review November 18, 2026 10:29
@juaristi22
juaristi22 merged commit 3a301fd into main Nov 18, 2026
12 checks passed
juaristi22 added a commit that referenced this pull request Nov 18, 2026
…efresh

The only conflict is the us_national gate-scope digests in
test_us_battery_bindings.py: both sides moved them. They are re-measured on
the merged gates.json, which carries #1635's last edits and this branch's
base-weight tail gate note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
juaristi22 added a commit that referenced this pull request Nov 18, 2026
…regenerate the US F0 coverage report (#931)

Main took #1635 (the US gate battery in shadow), #1559 (Route A's default
ASEC pool) and #1664 (the US one-population selection). Two files
conflicted; both hold values that both sides move:

- test_us_multispine_pool_tool.py pins the US bundle's spec_sha256.
  #1585's us/gates.json row in country_package.json moved it on main,
  and #931's keyed helpers moved it here. The merged value is
  load_bundle("us")'s digest on the merged tree, the method that gives
  this branch's own pin exactly; both comments are kept.
- docs/evidence/spec-engine/us-f0-coverage.json is regenerated with
  tools/spec_engine_coverage.py on the merged tree; --check passes.

Two more files changed on both sides and merged cleanly:
docs/gate-battery-contract.md and test_transport_evidence_kernels.py.

Checks on the merged tree, UK engine hidden: the coverage tool's
contract tests, the country gates manifest, field usage, transport
evidence kernels, gate battery contract pins and the transport binding
rule, the US spine-blindness, battery binding and gate shadow tests,
and test_run_uk_cut.py. The US workflow test needs the US engine, which
this environment lacks; CI's engine-us job runs it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
juaristi22 added a commit that referenced this pull request Nov 18, 2026
Brings in #1635 (the US gate battery shadow), #1559 (Route A's default ASEC
pool) and #1664. Two conflicts, both where the two sides added code at the
same place:

- Above main(): this branch's build record and certification section and
  #1635's gate shadow section. Both are kept.
- In _main, after the certified-directory refusal: this branch's refusal of
  an --out awaiting certification and #1635's release of the shadow's files.
  Both are kept, the refusal first, so a rerun that either refusal stops
  leaves the shadow files of the build it protects as they were. #1635's
  order pin now requires both refusals before the release, and the two
  shadow docstrings name both.

Every us_national shadow site sits in the build, which still runs under
main()'s shadow; certification runs none of them. The shadow writes under
<out>/gate_battery_shadow/, outside the release directory, so the record and
the manifests bind none of its files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Nov 18, 2026
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>
MaxGhenis added a commit that referenced this pull request Nov 18, 2026
Brings in #1559 (Route A default ASEC pool) and #1635 (US gates in
us/gates.json, run in shadow beside today's gates). No textual conflicts;
git auto-merged the four files both sides touched
(tools/build_us_acs_local_release.py, tools/modal_us_stage_plan.py,
test_us_acs_local_release_tool.py, test_us_spine_blindness.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit that referenced this pull request Nov 19, 2026
Brings in #1664 (the selection library this branch stacks on, merged as
4d287f4), #1559 (Route A default pool) and #1635 (the US gate battery
in shadow). Git merged every file cleanly, the spine-blindness
classification lists included: this branch adds one_population_contract.py
to the provenance owners and the other-runtime list, #1635 adds
battery_bindings.py, gate_scopes.py and gate_shadow.py to the other-runtime
list and re-pins the pool tool's graph at 86 modules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants