Skip to content

Bridge run-contract stage IDs to canonical stages#45

Merged
MaxGhenis merged 1 commit into
us-runtime-stage-contractsfrom
codex/pr43-run-contract-stage-bridge-20260528
May 28, 2026
Merged

Bridge run-contract stage IDs to canonical stages#45
MaxGhenis merged 1 commit into
us-runtime-stage-contractsfrom
codex/pr43-run-contract-stage-bridge-20260528

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

@MaxGhenis MaxGhenis commented May 28, 2026

Summary

Adds a small compatibility bridge on top of #43 so old operational run-contract stage IDs resolve to the canonical 9-stage taxonomy.

  • adds canonicalize_us_pipeline_stage_id and legacy alias constants
  • canonicalizes dashboard run_summary.json stage references while preserving legacy_stage_id provenance
  • documents the run-contract ID bridge in the stage-contract docs

Tests

  • uv run ruff check src/microplex_us/pipelines/stage_contracts.py src/microplex_us/pipelines/dashboard.py tests/pipelines/test_stage_contracts.py tests/pipelines/test_dashboard.py
  • uv run --with pytest python -m pytest tests/pipelines/test_stage_contracts.py tests/pipelines/test_dashboard.py -q (10 passed)

Stacked on #43.

@MaxGhenis MaxGhenis merged commit 94cc887 into us-runtime-stage-contracts May 28, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/pr43-run-contract-stage-bridge-20260528 branch May 28, 2026 21:29
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