Skip to content

[codex] Add US equity runtime contracts and snapshot helpers#10

Merged
Pigbibi merged 2 commits intomainfrom
codex/20260416-us-equity-runtime-contracts
Apr 16, 2026
Merged

[codex] Add US equity runtime contracts and snapshot helpers#10
Pigbibi merged 2 commits intomainfrom
codex/20260416-us-equity-runtime-contracts

Conversation

@Pigbibi
Copy link
Copy Markdown
Contributor

@Pigbibi Pigbibi commented Apr 16, 2026

Summary

  • add explicit StrategyArtifactContract and StrategyRuntimePolicy contracts with validation and public exports
  • add shared runtime config resolution and feature-snapshot evaluation helpers for broker platforms
  • update US equity onboarding, cross-platform, and live-switch docs to define platform/strategy responsibilities and the current 8-profile switch matrix

Why

This gives the platform repos a typed contract for snapshot artifacts, config source policy, reconciliation output, and runtime execution windows, instead of relying on profile-name branches.

Validation

  • PYTHONPATH=src .venv/bin/python -m unittest discover -s tests -v -> 115 passed
  • /home/ubuntu/TelegramCodexCCBot/.venv/bin/ruff check tests/test_feature_snapshot_runtime.py tests/test_runtime_config.py -> passed
  • Earlier focused check: PYTHONPATH=src .venv/bin/python -m pytest tests/test_feature_snapshot_runtime.py tests/test_runtime_config.py tests/test_strategy_contracts.py tests/test_strategies.py -> 51 passed

Merge Order

Merge this PR before the UsEquityStrategies and platform PRs that consume the new contracts.

@Pigbibi Pigbibi marked this pull request as ready for review April 16, 2026 12:09
@Pigbibi Pigbibi merged commit a68d937 into main Apr 16, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/20260416-us-equity-runtime-contracts branch April 16, 2026 12:12
Pigbibi added a commit that referenced this pull request Apr 17, 2026
…-runtime-contracts

[codex] Add US equity runtime contracts and snapshot helpers
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