feat(research): retain immutable strategy versions and review history

This commit is contained in:
Boki 2026-10-23 19:35:56 -04:00
parent b106c1ca85
commit 4a2e5ad362
36 changed files with 3236 additions and 148 deletions

View file

@ -75,7 +75,7 @@ Keep `/api/v2` and current operator sessions. New APIs follow the task-specific
Do not delay M1/M2 for the entire Rust migration. Conversely, delivering those screens does not make old financial results trustworthy. M1 release requires C06 runtime isolation; exploratory labels never excuse interference with paper state.
Dataset selection R11 lists retained manifests without loading bar payloads. A selected existing hash is pinned at submission. A new source request freezes query parameters then prepares asynchronously through the existing runner; only after a fenced atomic dataset binding is it reproducible input. No strategy execution occurs before that binding. Retries reuse the pinned dataset, not a fresh provider query. The UI must distinguish these phases.
Dataset selection R11 lists retained manifests without loading bar payloads. A selected existing hash is recorded in the immutable submission and is bound by the runner after retained-content validation. A new source request freezes query parameters then prepares asynchronously through the existing runner; only after a fenced atomic dataset binding is it reproducible input. No strategy execution occurs before that binding. Retries reuse the pinned dataset, not a fresh provider query. The UI must distinguish these phases.
## Example: bounded AI-assisted multi-strategy research
@ -107,3 +107,6 @@ R11 exposes retained v1 metadata and exact hash selection in both backtest forms
- AI narratives cite run/version/metric paths. Traceable evidence is not automatic validation of an arbitrary natural-language conclusion.
Validation reports (R08) are immutable experiment-owned outputs, not research findings. Their display must work before R03. R09 enables save/link-finding only when R03 evidence APIs are present; the finding references the exact report and contributing runs, without moving financial truth into a second store.
R01 now retains immutable bundled JavaScript and exact dependency locks with source/build metadata. Three tables support editable strategy metadata, immutable versions and append-only reviews. The offline seed command registers only locally packaged built-ins; HTTP uploads/clones remain candidates. Catalog parameter validation never evaluates code, and all versions remain explicitly non-runnable. R02 may deliver catalog/forms before R05, but version-based execution requires R05; arbitrary candidates additionally require A02. Review approval is evidence, not activation. Original TS source and complete run reproducibility remain outside this catalog-only claim.