Remove legacy strategy frameworks and clarify supported execution paths

This commit is contained in:
Boki 2026-10-21 17:38:50 -04:00
parent 4207bf2c1c
commit 783b619846
28 changed files with 996 additions and 4689 deletions

View file

@ -85,6 +85,15 @@ not the application service container:
`strategyRegistry` to `registerOrchestratorServices`. No manager switch needs updating.
Keep persisted aliases stable; a custom registry must also be supplied on restart.
Supported TypeScript implementations live in `strategies/builtin/`: `SmaCrossoverStrategy`
and `MeanReversionStrategy`. Optional ML research lives in `strategies/experimental/`, still
lazy-loaded and unavailable for paper execution. The unregistered strategy variants and their
private position/risk framework have been removed; `ExecutionService` remains the financial
authority. File/class relocation preserves the existing aliases and v2 checkpoint versions.
Use the [strategy extension guide](apps/stock/orchestrator/docs/architecture-improvements.md)
for the supported lifecycle and a type-checked, integration-tested runner example. Removed
internal deep imports must migrate; their source remains recoverable in Git history.
New paper strategies must provide a complete versioned checkpoint contract and recovery
tests. Registering a factory does not bypass risk checks or the durable-checkpoint requirement.
The experimental ML strategy remains unavailable for paper execution.