docs: close first development wave with verified commit references
This commit is contained in:
parent
67f12b49a0
commit
6d357af983
4 changed files with 163 additions and 42 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# First development wave: four independent assignments
|
||||
|
||||
**Owner authorized the planning commit and first-wave implementation on 2026-10-22.** The canonical manifest records that scope. Its four tasks may now run in isolated worktrees; this does not authorize pushes, PRs, trading operations or subsequent implementation commits.
|
||||
**First wave completed and committed on 2026-10-22.** The owner authorized implementation with “make a commit and start,” then authorized the implementation and handoff commits with “do all comits.” The canonical manifest records this completed scope; later tasks, pushes, PRs and trading operations remain unauthorized. The assignments below are retained for traceability.
|
||||
|
||||
Choose **C01, C03, C04, W01**. They have no code/ADR prerequisites beyond global execution approval and no shared authored source files. Recommend three implementers plus one coordinator/read-only reviewer; start C01/C03/W01 and rotate C04 into the first free slot. If runtime cleanup is more urgent than the interim funding fix, start C04 before C03. This is capacity management, not a dependency.
|
||||
|
||||
|
|
@ -268,3 +268,35 @@ Definition of done:
|
|||
Independent reviewer checks scope and exact fixtures, then the integrator runs relevant native, TS, contracts and disposable SQL checks on the combined branch. Run full `bun run check` once at integration, reporting unrelated baseline failures explicitly. No economic/provenance certification is implied by this wave; same-bar timing and canonical Rust ownership/risk remain subsequent work.
|
||||
|
||||
The planner records accepted evidence/commit references only when commit authority exists, updates dependencies once integrated, and then offers C02/P01/O01 plus C06 (after C04) and W02 (after W01). F01/D01 also require their ADR approvals.
|
||||
|
||||
## Execution record — 2026-10-22
|
||||
|
||||
Planning snapshot: `1148673`. C01/C03/C04/W01 were implemented in isolated worktrees, reviewed independently of their authors, integrated and validated together, then committed with owner approval. The canonical manifest records `done` and each implementation commit: C01 `74ba3b9`, C03 `a21a1b8`, C04 `3d26da0`, W01 `67f12b4`. No later task, push, PR or trading operation was started.
|
||||
|
||||
| Task | Verified behavior |
|
||||
| --- | --- |
|
||||
| C01 | Terminal liquidation costs enter the final equity mark exactly once. The one-share fixture ends at 9.92 with 0.08 fees; same-time curve samples are replaced. Existing micro-position policy is unchanged. |
|
||||
| C03 | Legacy non-reducing funding checks include unpaid proposed and pending-order fees under frozen policies. The 100-share fixture rejects; 99 shares leave cash 1 after fees 99. Partial fills, cancellation and duplicates are covered. |
|
||||
| C04 | Failed initialization cleans every attempted resource stage, preserves the original error and clears runtime state; cleanup failures do not prevent subsequent cleanup or retry. |
|
||||
| W01 | Selection-owned polling rejects stale responses, cancellation waits for persisted state, reconnects recover, and failed/cancelled/missing results differ from successful zero-trade results. Unsupported execution controls are removed; chart playback remains intact. |
|
||||
|
||||
Integration verification (all passed; overlapping suites are not additive test counts):
|
||||
|
||||
| Command / gate | Result |
|
||||
| --- | --- |
|
||||
| `CARGO_BUILD_JOBS=2 bun run check` | All repository gates passed, including build, types, contracts, tooling, utilities, calculations, integration, native, lint and secret audit. |
|
||||
| `CARGO_BUILD_JOBS=2 cargo test -p engine --lib --offline` | 37 passed, 0 failed. |
|
||||
| Financial/lifecycle suite below | 66 passed, 0 failed, 389 assertions. |
|
||||
| Exact W01 four-file command above | 68 passed, 0 failed, 406 assertions against the integrated checkout. |
|
||||
| `bun run test:postgres` with disposable fixtures | 45 passed, 0 failed, 202 assertions; isolated `stock_bot_safety` database and Redis DB15, never the development trading database. |
|
||||
| Scoped formatting/lint and `git diff --check` | Passed. |
|
||||
|
||||
Financial/lifecycle command:
|
||||
|
||||
```sh
|
||||
bun test test/integration/fee-funding.test.ts test/integration/order-execution.test.ts test/integration/strategy-recovery.test.ts test/integration/mode-lifecycle.test.ts test/integration/native-terminal-equity.test.ts test/integration/backtest-result-mapping.test.ts test/integration/backtest-ledger.test.ts
|
||||
```
|
||||
|
||||
The native addon was rebuilt from the integrated source; its path/hash are recorded in the manifest. Native subprocess builds/IPC and disposable database access required sandbox escalation. Existing Rust warnings and frontend build warnings remain; no unrelated cleanup was included. W01 adds pinned `happy-dom@21.0.4` for 18 React interaction tests under Bun, not a second test runner or a browser E2E claim.
|
||||
|
||||
Limits: this wave does not fix same-bar look-ahead execution, establish canonical Rust financial authority, change legacy short/reducing-order funding semantics, or satisfy W04's real-browser release gate. ADR-002/003/007 remain approval-gated. Worktrees are retained for handoff; temporary PostgreSQL/Redis fixture containers were removed. C06/W02 are now ready but have not been authorized or started.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue