stock-bot/design
2026-12-03 19:11:05 -05:00
..
data-pipeline fix(docs): use Addendum heading in rust-migration-evaluation.md to preserve 7-section contract 2026-11-30 13:56:59 -05:00
development renames docs 2026-11-27 00:12:48 -05:00
guide renames docs 2026-11-27 00:12:48 -05:00
backtest-datasets.md renames docs 2026-11-27 00:12:48 -05:00
DATA-CONTRACTS.md T-151: M2.1i — findings + provider_caveats append-only PostgreSQL migration (research track, 37-research-findings.sql) with fresh-database schema tests (no adapters, no new deps) 2026-12-02 00:47:40 -05:00
m2-baseline-report.md T-128: M2.0 — Baseline gate rerun on master (56b73b7e, contains M1 d52aa20b) before M2 implementation 2026-11-30 15:11:43 -05:00
m2-gap-audit.md T-203: Audit M2 exit criteria on master against docs/MILESTONES.md 2026-12-03 19:11:05 -05:00
MILESTONES.md renames docs 2026-11-27 00:12:48 -05:00
PLATFORM-PLAN.md T-68: Bug sweep (5 bugs: T-58, T-59, T-61, T-62, T-63) 2026-11-27 20:14:25 -05:00
README.md T-124: M1.2aj — Spike: evidence-based evaluation of moving apps/stock/data-pipeline into Rust (written recommendation in design/data-pipeline/rust-migration-evaluation.md, no code changes) 2026-11-29 23:41:47 -05:00
servers.md renames docs 2026-11-27 00:12:48 -05:00
VALIDATION-AND-RIGOR.md T-68: Bug sweep (5 bugs: T-58, T-59, T-61, T-62, T-63) 2026-11-27 20:14:25 -05:00

Stock Bot — Documentation Map

Start here. Every document below has a single responsibility; historical sprint logs and superseded design notes have been retired.


1. Platform Direction & Execution Plan

Document Owns When to Read
PLATFORM-PLAN.md Target system architecture, settled decisions (D1–D12), layer boundaries, agent roles, and IB execution model Before making architectural changes or starting a new milestone
MILESTONES.md Active checklist (M0 → M5), task order, explicit scope cuts, target file paths, and falsifiable exit criteria Day-to-day execution for you, Claude Code, and Studio agents
DATA-CONTRACTS.md Raw MongoDB provider quirks, PostgreSQL security-master DDL, split/volume un-adjustment rules, known_at derivation, DuckDB/Parquet & QuestDB 10.2.0 schemas, and MarketDataStore API Before touching data-pipeline, data-ingestion, SQL migrations, or MarketDataStore
VALIDATION-AND-RIGOR.md Canonical metric definitions, trial_ledger schema, effective-trials DSR (\hat{N}), CSCV PBO, Purged CPCV/Walk-Forward, rolling 6-month Vault + Post-2023 Recency Gate, lifecycle gates, and Dual Live Drift + IB/TSX execution rules Before touching libs/calculations, libs/research, validation workflows, or paper/live execution
servers.md Host roles (quant 12900K research/data server, 9900K isolated IB live/paper host, TrueNAS cold storage, dev workstation) and port/storage layout Infrastructure, deployment, and worker sizing
data-pipeline/rust-migration-evaluation.md Evidence-based evaluation of keeping apps/stock/data-pipeline in TypeScript vs. moving bulk MongoDB streaming or the full pipeline into Rust (tools/curate-etl) Before M2 adds PIT fundamentals, ceoPosts, or bars_1m QuestDB ingestion

2. Current Connected Runtime & Code Tour

These documents describe what is already implemented and running in code today:

Document Owns
guide/README.md High-level tour of the current canonical single-asset research workbench
guide/system-map.md Applications, shared libraries, queues, and process boundaries
guide/backtest-walkthrough.md End-to-end trace of a canonical backtest from HTTP admission to Rust replay and result persistence
guide/strategy-development.md Current StrategyProgram callback contract and isolated candidate packaging
guide/code-reading.md Function-level call paths across web-api, orchestrator, and engine
backtest-datasets.md Current v2 retained dataset snapshot preparation, hashing, and local export
data-pipeline/phase1-investigation.md Measured 31-collection QA MongoDB inventory, identifier coverage, and cross-provider tricky cases

3. Enduring Architecture Decisions & Gates

Document Owns
development/QUALITY-GATES.md Build, typecheck, contract, lint, native Rust, disposable PostgreSQL/Redis, and E2E verification gates
development/architecture/overview.md Core invariants of the Rust financial kernel and durable worker supervision
development/architecture/research-product.md Retained provenance, idempotency, agent grants (A01), candidate isolation (A02), and paper custody (A04)
development/architecture/benchmarks.md Reproducible dataset and replay benchmark methodology
development/architecture/decisions/ Approved ADRs 001–008 (ownership, 8-decimal postings, availability timing, NAPI pull boundary, durable cutover, AI boundary, performance)