docs: close second wave and authorize migration and benchmark work

This commit is contained in:
Boki 2026-10-22 14:51:43 -04:00
parent fe00ecd0e2
commit c5b93eb8fd
4 changed files with 199 additions and 41 deletions

View file

@ -1,8 +1,8 @@
# Revised development roadmap
Baseline `b7aeca4` · reviewed 2026-10-22 · **First wave completed and committed; see manifest execution_scope**
Baseline `b7aeca4` · reviewed 2026-10-22 · **Second wave committed; O01/P01 continuation authorized; see manifest execution_scope**
Authorization update: the owner requested a planning commit and implementation start, then authorized all pending commits. C01/C03/C04/W01 are completed, reviewed, validated and committed. Later tasks and economic/timing/trust-model decisions remain gated. Historical review statements describe the planning phase, not current authorization. No push, PR or trading operation is authorized.
Authorization update: the first and second waves are independently reviewed, validated and committed. The owner's “do all the commits and continue” authorizes the second-wave closeout and continuation with next-ready O01/P01. Other tasks and economic/timing/trust-model decisions remain gated. Third-wave implementation commits, pushes, PRs and trading operations are not authorized.
## Strategy and review outcome
@ -81,7 +81,27 @@ Completed wave; the table records its original rationale. Exact prompts, paths,
Recommend **3 simultaneous implementers**, reserving one slot for coordination/independent review. Start C01 + C03 + W01; rotate C04 into the first freed slot, or start C04 first if runtime containment is the immediate operational need. These four have no mutual code dependencies and disjoint writable files. Four concurrent implementers are technically possible but not recommended without separate review capacity.
Next-ready work: C02, C06, W02, P01 and O01; execution still requires owner approval. F01/D01 require their ADR approvals as well. W02 follows W01 because they edit the same detail page, not because it requires the new engine.
Next wave: O01 and P01 are authorized. F01/D01 still require their ADR approvals. W04 remains blocked on W03/O01; subsequent work is not included in this execution scope.
## Second-wave handoff — 2026-10-22
All three tasks are `done` / `validated_committed` following owner approval: C02 `ee670a3`, C06 `43ffb54`, W02 `fe00ecd`. Worktrees are retained under `/tmp/stock-bot-wave2.M9vHDK/`.
| Task | Implemented and verified |
| --- | --- |
| C02 | Whole-load native validation preserves previously admitted data on any invalid row. Indexed errors cover malformed rows, OHLCV/VWAP, timestamps and unsupported types. 1001ms/1999ms remain distinct. Identical/conflicting duplicates and decreasing timestamps now reject explicitly; optional VWAP and zero volume remain accepted. |
| C06 | Default paper composition uses native research. Legacy TS requires explicit `role: 'research-only'`; startup and both exposed mode initializers reject cross-role activation before effects. Real paper account/ledger/checkpoint hashes and lifecycle stay unchanged through native success/cancel/failure jobs, and the paper feed continues afterward. No second execution framework was added. |
| W02 | Saved configuration and dataset evidence are distinguished from mutable legacy display fallbacks. Missing artifact/build versions stay unknown; known metric placeholders are unavailable while measured TS zeros remain visible. Limitations appear beside performance, and mutable legacy capital cannot fabricate cash profit. No stored results or financial calculations were rewritten. |
Combined integration gates:
- `CARGO_BUILD_JOBS=2 bun run check`: passed all gates; 54 tooling, 43 utility, 35 calculation, 293 integration and 37 Rust tests, with no failures. Build, typecheck, contracts, lint and secret audit passed. The 47 native bridge cases are included in integration, not an additional count.
- `bun run test:postgres` against disposable `stock_bot_safety` PostgreSQL and Redis DB15: 47 passed, 267 assertions. Includes two real-ledger research-isolation regressions. Temporary fixture containers were removed after validation; development databases/services were untouched.
- `git diff --check`: passed. All 21 authored implementation/test files match reviewed worktrees; the rebuilt integration addon hash is in the manifest.
Native subprocess builds/IPC and fixture networking required sandbox escalation. Existing Rust/frontend build warnings remain. Explicit linting of the old W01 test harness still reports its unchanged test-only curly findings; the repository lint gate and new scoped code checks pass. No real-browser E2E coverage is claimed here.
Limits: composition guards are not an untrusted-code sandbox; same-bar execution, canonical Rust accounting and owner-aware funding remain future tasks. ADR-002/003/004 still gate F01, and ADR-007 gates AI isolation. No push, PR or trading operation occurred. Subsequent O01/P01 work is tracked separately in the manifest.
## Deferred and rejected
@ -97,4 +117,4 @@ Rejected: competing TS/web simulators, wholesale Rust rewrite, hand-written deci
Only [manifest.json](backlog/manifest.json) owns status/assignment/dependencies. [Task files](backlog/README.md) own scope/acceptance. Read the reusable [implementation](agents/implementation.md), [review](agents/review.md), [integration](agents/integration.md), [planning](agents/planning.md) briefs and [quality gates](QUALITY-GATES.md).
Approval of planning artifacts is not permission to commit, push or create PRs. No application changes, runtime benchmarks or application-test pass claims are made by this revision.
Approval of planning artifacts is not permission to commit, push or create PRs. Historical planning-only statements refer to the original audit; later execution records and the canonical manifest identify actual implementation, authorization and validation evidence.