Skip to content

feat(sf): PredictorTraining auto-syncs predictor.yaml from alpha-engine-config#194

Merged
cipher813 merged 1 commit into
mainfrom
feat/predictor-sf-pull-config
May 9, 2026
Merged

feat(sf): PredictorTraining auto-syncs predictor.yaml from alpha-engine-config#194
cipher813 merged 1 commit into
mainfrom
feat/predictor-sf-pull-config

Conversation

@cipher813
Copy link
Copy Markdown
Owner

Summary

Symmetric fix to PR #193 (DataPhase1's alpha-engine-config pull). PredictorTraining task pulls alpha-engine-predictor but relies on the dispatcher's local alpha-engine-predictor/config/predictor.yaml (gitignored in predictor repo, staged from alpha-engine-config sibling clone). Nothing was keeping the staged copy in lockstep with origin/main of alpha-engine-config.

The 2026-05-09 horizon migration (alpha-engine-config #90: forward_days 5 → 21, output_distribution_gate_blocking false → true, purge_days 5 → 21) would not have reached the next Saturday training without a manual SSM-side cp intervention.

Adds two commands before the spot_train.sh invocation:

  • git -C alpha-engine-config pull --ff-only origin main
  • cp alpha-engine-config/predictor/predictor.yaml alpha-engine-predictor/config/predictor.yaml

Test plan

  • After deploy-infrastructure GHA runs (auto on merge to main), next PredictorTraining state on Sat 5/16 picks up the 21d horizon config without manual intervention
  • One-off SSM already applied to the trading instance to ensure THIS Saturday's retrain has the new config (covers the gap before the SF redeploy lands)

🤖 Generated with Claude Code

…ha-engine-config

Closes the same staleness vector PR #193 closed for DataPhase1: the SF
PredictorTraining task pulls alpha-engine-predictor on every run but
relies on the dispatcher's local
``alpha-engine-predictor/config/predictor.yaml`` for training config.
That file is gitignored in the predictor repo and must be staged from
the alpha-engine-config sibling clone — but nothing in the SF flow was
keeping the staged copy in lockstep with origin/main of alpha-engine-config.

The 2026-05-09 horizon migration (alpha-engine-config #90: forward_days
5 → 21, output_distribution_gate_blocking false → true, purge_days bump)
would not have reached the next Saturday training without a manual
SSM-side intervention to copy the config from alpha-engine-config to
alpha-engine-predictor.

Adds two commands before the spot_train.sh invocation:
  - ``git -C alpha-engine-config pull --ff-only origin main``
  - ``cp alpha-engine-config/predictor/predictor.yaml alpha-engine-predictor/config/predictor.yaml``

Now any merged config change in alpha-engine-config reaches the next
PredictorTraining cycle automatically. Mirrors the symmetric DataPhase1
fix from PR #193.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cipher813 cipher813 merged commit 0a6fce8 into main May 9, 2026
1 check passed
@cipher813 cipher813 deleted the feat/predictor-sf-pull-config branch May 9, 2026 17:22
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