Skip to content

Compile the preflight preview registry with aging on#439

Merged
MaxGhenis merged 1 commit into
mainfrom
preflight-age-targets
Jul 16, 2026
Merged

Compile the preflight preview registry with aging on#439
MaxGhenis merged 1 commit into
mainfrom
preflight-age-targets

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Why

Follow-up to #438 (this change was described in #438's body but did not ship in it — my error; the body has been corrected). With the wrapper fixed, running the preflight with --ledger-facts on the real feed still crashes at preview time:

PeriodContractError: Period contract violation on 1488 dollar target(s) ...

The release tool compiles the registry with --age-targets on by default (CBO growth-factor aging of cross-period dollar facts); the static preview must compile the registry the release run will actually calibrate.

What

Verified end to end on the real Build M inputs (rebuilt base + v8 facts): preflight completes — selection carryover PASS 57,240/57,240, zero-support preview runs, keogh 13/13 supported.

🤖 Generated with Claude Code

With #438's wrapper fix in place, the real feed still fails the period
contract at preview time (1,488 cross-period dollar targets, e.g. 2023
BEA/Fed/SOI facts in a 2024 build): the release tool compiles with
--age-targets on by default, and the preview must compile the registry
the release run will actually calibrate. _load_ledger_target_specs now
passes age_targets=True; the seam regression test asserts the compiler
receives it.

Verified end to end against the real Build M inputs (rebuilt base +
v8 facts feed): the preflight completes and reports selection
carryover PASS 57,240/57,240, keogh 13/13 supported, and the
export-mass parity advisories.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit 6584dfa into main Jul 16, 2026
4 checks passed
@MaxGhenis
MaxGhenis deleted the preflight-age-targets branch July 16, 2026 10:53
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