docs: close W04 and record policy-gated next wave

This commit is contained in:
Boki 2026-10-22 19:16:31 -04:00
parent 550d8b769b
commit 243e9ab43f
5 changed files with 189 additions and 21 deletions

View file

@ -56,7 +56,9 @@ bun run check
bun run test:postgres
```
`bun run check` runs build/types/contracts/tooling/utils/calculations/integration/native/lint and secret audit; it **does not include** disposable PostgreSQL, browser E2E or Python analytics. Run new browser task command after W04; `bun run test:analytics-api` if Python API behavior is touched. Native command is `cargo test -p engine --lib --offline`; missing dependencies are a reported blocker, not a pass.
`bun run check` runs build/types/contracts/tooling/utils/calculations/integration/native/lint and secret audit; it **does not include** disposable PostgreSQL, browser E2E or Python analytics. Run `bun run test:e2e` separately for the web workbench and `bun run test:analytics-api` if Python API behavior is touched. Native command is `cargo test -p engine --lib --offline`; missing dependencies are a reported blocker, not a pass.
The browser gate requires a built checkout, explicit `PIPELINE_TEST_DATABASE_URL` pointing to a disposable `stock_bot_safety*` database, dedicated Redis DB15 in `BACKTEST_TEST_REDIS_URL`, and Chromium. Install the pinned browser explicitly with `bun run test:e2e:install` if missing; do not install browsers implicitly during checks. The command rebuilds the frontend for same-origin production use. It exercises authenticated HTTP/WebSocket routes, durable dispatch and SQL persistence with deterministic UI fixtures plus an actual native smoke run. Fixture results are not financial-correctness evidence. Never use a development trading database or queue.
Before making canonical Rust the default: all in-scope approved economic fixtures pass, every implemented strategy mode shares the same financial transition semantics/hashes (an unimplemented DSL is not a gate), canonical results render/reopen/reproduce, and paper migration passes fault tests if paper is switched. Keep a versioned rollback route for software deployment, but never silently downgrade a failed run's economics or mutate accounts between incompatible schemas.