T-214: M2.1w — Add notebook snapshot CLI, MCP end-to-end study+snapshot+finding test, and fix docs/->design/ path drift
This commit is contained in:
parent
8e2bf1c7f2
commit
2e71dda7f2
10 changed files with 2192 additions and 43 deletions
12
CLAUDE.md
12
CLAUDE.md
|
|
@ -1,14 +1,14 @@
|
|||
# CLAUDE.md — Stock Bot Engineering & Quant Guide
|
||||
|
||||
Read [AGENTS.md](./AGENTS.md) first for mandatory environment and database safety rules, then [docs/README.md](./docs/README.md) for the platform architecture and active milestone checklist.
|
||||
Read [AGENTS.md](./AGENTS.md) first for mandatory environment and database safety rules, then [design/README.md](./design/README.md) for the platform architecture and active milestone checklist.
|
||||
|
||||
## 1. Canonical Documentation
|
||||
- [AGENTS.md](./AGENTS.md) — Runtime commands (`bun`, `turbo`), `dev` vs `qa` port isolation, and strict QA MongoDB/PostgreSQL protection rules.
|
||||
- [docs/PLATFORM-PLAN.md](./docs/PLATFORM-PLAN.md) — North-star architecture and locked design decisions (`D1`–`D12`).
|
||||
- [docs/MILESTONES.md](./docs/MILESTONES.md) — Ordered implementation roadmap (`M0` → `M5`) with file targets and falsifiable exit criteria.
|
||||
- [docs/DATA-CONTRACTS.md](./docs/DATA-CONTRACTS.md) — Empirical schemas and adjustment/PIT rules for all 31 QA MongoDB collections, PostgreSQL security master (`instruments`, `instrument_listings`, `corporate_actions`), DuckDB/Parquet, and QuestDB `10.2.0`.
|
||||
- [docs/VALIDATION-AND-RIGOR.md](./docs/VALIDATION-AND-RIGOR.md) — `@stock-bot/calculations` single-source metric formulas, append-only `trial_ledger`, $\hat{N}$ Deflated Sharpe, CSCV PBO, Purged CPCV/Walk-Forward, rolling 6-month Vault + Post-2023 Recency Gate, and IBKR Margin (`USD`/`CAD`) execution rules.
|
||||
- [docs/servers.md](./docs/servers.md) — Hardware & container topology (`quant` `10.0.0.51`, `9900K` execution host, `TrueNAS`, local dev).
|
||||
- [design/PLATFORM-PLAN.md](./design/PLATFORM-PLAN.md) — North-star architecture and locked design decisions (`D1`–`D12`).
|
||||
- [design/MILESTONES.md](./design/MILESTONES.md) — Ordered implementation roadmap (`M0` → `M5`) with file targets and falsifiable exit criteria.
|
||||
- [design/DATA-CONTRACTS.md](./design/DATA-CONTRACTS.md) — Empirical schemas and adjustment/PIT rules for all 31 QA MongoDB collections, PostgreSQL security master (`instruments`, `instrument_listings`, `corporate_actions`), DuckDB/Parquet, and QuestDB `10.2.0`.
|
||||
- [design/VALIDATION-AND-RIGOR.md](./design/VALIDATION-AND-RIGOR.md) — `@stock-bot/calculations` single-source metric formulas, append-only `trial_ledger`, $\hat{N}$ Deflated Sharpe, CSCV PBO, Purged CPCV/Walk-Forward, rolling 6-month Vault + Post-2023 Recency Gate, and IBKR Margin (`USD`/`CAD`) execution rules.
|
||||
- [design/servers.md](./design/servers.md) — Hardware & container topology (`quant` `10.0.0.51`, `9900K` execution host, `TrueNAS`, local dev).
|
||||
|
||||
## 2. Non-Negotiable Architecture & Data Invariants
|
||||
1. **Protect QA Data:** Never drop, reset, or write to QA MongoDB (`27017/stock`) or QA PostgreSQL (`5432/trading_bot`) from `dev` or tests. Query QA MongoDB strictly read-only via `MONGODB_READ_URI` (`studio_stock_bot_read`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue