docs: close W04 and record policy-gated next wave
This commit is contained in:
parent
550d8b769b
commit
243e9ab43f
5 changed files with 189 additions and 21 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# Revised development roadmap
|
||||
|
||||
Baseline `b7aeca4` · reviewed 2026-10-22 · **First four waves committed; W04 authorized; see manifest execution_scope**
|
||||
Baseline `b7aeca4` · reviewed 2026-10-22 · **First five waves committed; next implementation policy-gated; see manifest execution_scope**
|
||||
|
||||
Authorization update: the first four waves are independently reviewed, validated and committed. The owner's “commit and continue” authorizes the W03 closeout and continuation with next-ready W04. Other tasks and economic/timing/trust-model decisions remain gated. Fifth-wave implementation commits, pushes, PRs and trading operations require further approval.
|
||||
Authorization update: the first five waves are independently reviewed, validated and committed. The latest “commit and continue” authorized the W04 implementation and planning closeout commits. Continuation readiness was checked: no remaining scheduled task has both code and architecture-policy prerequisites satisfied. Explicit approval is requested for ADR-002/003/004 before F01 and D01; no policy approval is inferred from a generic continuation request. Pushes, PRs and trading operations remain outside scope.
|
||||
|
||||
## Strategy and review outcome
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ 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.
|
||||
|
||||
O01/P01 and W03 are committed. W04 now adds real-browser end-to-end verification of the existing workbench. F01/D01 still require their ADR approvals; subsequent tasks are not included in this execution scope.
|
||||
O01/P01, W03 and W04 are committed. W04 adds validated real-browser end-to-end verification of the existing workbench. F01/D01 still require their ADR approvals; no subsequent implementation starts before its prerequisites are satisfied.
|
||||
|
||||
## Second-wave handoff — 2026-10-22
|
||||
|
||||
|
|
@ -145,7 +145,29 @@ Independent review caught and corrected premature list refresh while saving and
|
|||
|
||||
Limits: UI retry identities are component-lifetime state, not recovery across reload/navigation. Definition POST response loss is not covered by run-submission idempotency. Operator/service scopes are the existing single-operator security model, not new user accounts or AI authorization. DOM tests do not prove browser layout, virtualized rows or full browser/API execution; that is W04. Existing native economic limitations remain visible and unchanged.
|
||||
|
||||
W03 was committed with owner approval; no push, PR or trading operation occurred. W04 is authorized next; canonical Rust finance still requires ADR-002/003/004 approval.
|
||||
W03 was committed with owner approval; no push, PR or trading operation occurred. W04's subsequent execution is recorded below; canonical Rust finance still requires ADR-002/003/004 approval.
|
||||
|
||||
## Fifth-wave handoff — 2026-10-22
|
||||
|
||||
W04 is independently reviewed and `validated_committed` as `550d8b7` on base `95842c3`, following owner approval. The sole implementation owner used `/tmp/stock-bot-wave5.t2GVG7/w04`; the independent reviewer accepted the frozen five-file implementation and reran all browser cases. Integration and pre-commit verification preserved all five hashes. No production application source, financial behavior or business API changed.
|
||||
|
||||
- **Real product path:** Chromium uses the built frontend, authenticated existing routes/websocket projection, SQL repository, durable dispatcher and worker against isolated fixtures. Save-only creates no run/outbox; explicit submission, persisted progress, unsupported-control absence, completion, trades, limitations, frozen inputs and reopening survive navigation/reload.
|
||||
- **Failure and race evidence:** Separate cases cover cancellation acknowledgement versus worker settlement, failed and zero-trade results, missing results/run, network failure/retry, actual client websocket disconnect/reconnect, and a delayed real API response after switching selected runs. The stale-response assertion waits for the exact old request to finish or fail before inspecting the selected run.
|
||||
- **Native smoke:** The existing Rust adapter/subprocess executes 70 synthetic bars, persists native results and dataset provenance, and renders trades/reopened results. Fixed lifecycle fixture outputs are UI test data, not an alternate financial simulator or correctness oracle.
|
||||
- **Harness:** `bun run test:e2e` requires explicit disposable `stock_bot_safety*` PostgreSQL, Redis DB15, a local build/addon and explicitly installed Chromium. It rebuilds the UI in production mode with same-origin API routing. It blocks external browser requests and unrelated fixture API routes, isolates schemas/queues/listeners, and reports prerequisite/readiness/cleanup failures instead of skipping tests. Playwright 1.53.2 is now an explicit dependency; no additional runner framework was introduced.
|
||||
|
||||
Combined validation:
|
||||
|
||||
- `CARGO_BUILD_JOBS=2 bun run check`: all gates passed; 60 tooling, 43 utility, 35 calculation, 310 integration and 37 Rust tests, zero failures. Build, typecheck, contracts, lint and secret audit passed.
|
||||
- `bun run test:postgres`: 58 tests, 345 assertions, zero failures against disposable PostgreSQL/Redis after integration.
|
||||
- `bun run test:e2e`: 4 tests, 42 assertions, zero failures on the final main-workspace build (18.99s). Author and independent reviewer also passed all four cases on the frozen implementation. These are additional gates, not included in the repository-check totals.
|
||||
- Standalone strict TypeScript and explicit ESLint passed for all three new harness files. Frozen offline dependency installation passed. Missing fixture settings, unsafe PostgreSQL/Redis databases and a missing browser installation each failed explicitly before execution.
|
||||
|
||||
Logs, five reviewed file hashes and native artifact identities are recorded in the manifest. Exact disposable PostgreSQL/Redis containers and their recreatable fixture data, including leftovers from aborted diagnostic attempts, were removed after validation. Development services were untouched; worktree and local logs are retained. W04 was committed with owner approval; no push, PR or trading operation occurred.
|
||||
|
||||
Limits: Chromium only (138.0.7204.23). A standalone probe reproduced a Bun 1.2.17 server-initiated websocket close/reconnect shutdown hang; final coverage uses an actual client-initiated disconnect and does not suppress server cleanup failures or claim server-initiated shutdown coverage. An author-reported first clean-worktree build had a browser/logger type-resolution ordering failure; a retry and the combined check passed, but no fix or reproducible diagnosis is claimed. Existing build warnings remain. UI fixtures and native smoke do not certify same-bar execution, canonical accounting, ownership or funding semantics.
|
||||
|
||||
Next: approve ADR-002/003/004 before F01, ADR-003 before D01, and ADR-006 before the parallel R01 product lane. The post-commit readiness review found 32 remaining scheduled tasks and no ungated candidate. F01, D01 and R01 have satisfied code prerequisites but pending ADRs; optimization/deferred work is not a substitute. Do not start financial or trust-model changes by interpreting this test completion or the continuation request as policy approval.
|
||||
|
||||
## Deferred and rejected
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue