Skip to content

Bind runbook command to preflight bundle#83

Merged
weich97 merged 1 commit into
mainfrom
guard-runbook-preflight-path
Jun 9, 2026
Merged

Bind runbook command to preflight bundle#83
weich97 merged 1 commit into
mainfrom
guard-runbook-preflight-path

Conversation

@weich97

@weich97 weich97 commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Extract the preflight bundle path from the supported operator-runbook validate-live-readiness command
  • Reject live-readiness bundles when the runbook command points at a different preflight JSON than the one being validated
  • Add a regression test using the real live-readiness demo artifacts

Verification

  • python -m pytest tests/test_examples.py::test_live_readiness_preflight_requires_runbook_command_to_reference_current_bundle tests/test_examples.py::test_live_readiness_preflight_cli_validates_demo_bundle -q
  • python -m pytest tests/test_examples.py::test_live_readiness_preflight_requires_runbook_now_to_match_checked_at -q
  • python -m ruff check src/tradearena/tools/live_readiness.py src/tradearena/tools/operator_runbook.py tests/test_examples.py
  • python -m pytest tests/test_examples.py -q
  • python -m pytest tests/test_issue_demos.py -q
  • python -m mypy
  • python scripts/check_release_readiness.py

@weich97 weich97 merged commit 48fa9d5 into main Jun 9, 2026
10 checks passed
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