docs: close architecture cleanup backlog with verified results

This commit is contained in:
Boki 2026-10-28 16:11:14 -04:00
parent 8c54eb7e12
commit f8ca9b529b
6 changed files with 156 additions and 40 deletions

View file

@ -8,6 +8,10 @@ Frontend run observation/submission, strategy cloning/version inspection and exp
submission each have focused hooks/components beside their existing pages. These moves
preserve the Rust financial engine and saved-run contracts described below.
The API and orchestrator share server helpers through [`libs/trading-runtime`](../../libs/trading-runtime/package.json): historical storage, retained-package verification, paper admission and lazy build identity inspection. These modules do not run strategies or simulate money. Browser-safe wire schemas live under [`stock-config/contracts`](../../apps/stock/config/src/contracts), and strategy authors import only types from `@stock-bot/research/strategy-api`.
[`createResearchServices()`](../../apps/stock/web-api/src/services/research-services.ts) is the API composition point: it shares experiment, validation, evidence and result readers explicitly. The production run repository exposes canonical operations; historical write fixtures use the private compatibility adapter. On the web side, research read/edit/save lifecycles live in [feature hooks](../../apps/stock/web-app/src/features/research/hooks/useResearchEntry.ts), while components render their state.
[Guide home](README.md) · [System map](system-map.md) · [Backtest walkthrough](backtest-walkthrough.md) · [Strategy authoring](strategy-development.md)