Skip to content

Add live runtime manifests for canonical US build stages#188

Merged
anth-volk merged 8 commits into
mainfrom
codex/stage-3-live-runtime-manifests-20260601
Jun 3, 2026
Merged

Add live runtime manifests for canonical US build stages#188
anth-volk merged 8 commits into
mainfrom
codex/stage-3-live-runtime-manifests-20260601

Conversation

@anth-volk
Copy link
Copy Markdown
Contributor

Fixes #187

Summary

This implements live runtime manifests for the canonical multi-source US Microplex versioned build path.

The core change is that the build path now initializes a USStageRuntimeWriter before source loading, writes Stage 1/2 manifests during setup/source loading, updates stage lifecycle state as the build progresses, and finalizes the live manifests against the saved artifact manifest without overwriting terminal runtime state.

What this adds

  • Live per-stage manifest writing for Stages 1-9 in the canonical multi-source versioned build path.
  • Stage 4 scaffold seed artifact publication.
  • Stage 6 pre-calibration PolicyEngine entity-table artifact publication when available.
  • Stage 7 calibrated PolicyEngine entity-table artifact publication.
  • Stage 8 artifact inventory and conditional readiness publication.
  • Explicit Stage 9 validation/benchmarking replay support against existing Stage 8 datasets.
  • Seam tests for adjacent stage manifest consumption.

What this does not add

  • Automatic conditional execution or skipping earlier stages.
  • Full production-scale local pipeline execution.
  • A new source-provider/modeling implementation.

Local verification

This machine is macOS x86_64, and uv run attempted to install torch==2.11.0, which has no compatible macOS x86_64 wheel. I therefore ran the checks through the existing local .venv rather than forcing dependency resolution.

Passing checks:

  • .venv/bin/python -m pytest tests/pipelines/test_versioned_artifacts.py::test_build_and_save_versioned_us_microplex_from_source_providers -q
  • .venv/bin/python -m pytest tests/pipelines/test_stage_runtime.py tests/pipelines/test_stage_run.py tests/pipelines/test_stage_artifacts.py tests/pipelines/test_stage_contracts.py -q
  • .venv/bin/python -m pytest tests/pipelines/test_stage9_replay.py -q

@anth-volk anth-volk marked this pull request as ready for review June 3, 2026 14:32
@anth-volk anth-volk merged commit a9739a5 into main Jun 3, 2026
5 checks passed
@anth-volk anth-volk deleted the codex/stage-3-live-runtime-manifests-20260601 branch June 3, 2026 14:32
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.

Add live runtime manifests for canonical US build stages

1 participant