Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/drift-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ jobs:
market_history = os.environ["MARKET_HISTORY_PATH"]
store_root = bundle_root / "data" / "lifecycle_store"
for profile in profiles:
# Preflight returns CSV is a walk-forward research proxy for doctor/
# monitor freshness — not paper/live account PerformanceStore PnL.
# Real account drift requires a verified live_stream_id on the
# reusable workflow (QPK) once LIFECYCLE_LIVE_STREAM_ID is set.
returns_output = (
bundle_root
/ "external"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_drift_workflow_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No
assert "matrix:" in workflow
assert "profile: ${{ fromJSON(needs.preflight_backtests.outputs.lifecycle_profiles) }}" in workflow
assert "strategy_profile: ${{ matrix.profile }}" in workflow
assert "walk-forward research proxy" in workflow
assert "not paper/live account" in workflow
assert "tqqq_growth_income" not in workflow.split("LIFECYCLE_PREFLIGHT_BUNDLE_ROOT", 1)[1].split("Upload lifecycle", 1)[0]
assert "codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}" in workflow
assert "secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN || github.token" in workflow