docs: plan orchestrator and engine cleanup tasks

This commit is contained in:
Boki 2026-10-26 19:05:24 -04:00
parent 700ee09c4c
commit 7481d02c6c
13 changed files with 869 additions and 4 deletions

View file

@ -8,7 +8,7 @@
[manifest.json](manifest.json) owns scheduling metadata: status, priorities, dependencies, ADR approvals, assignments and write locks. Task Markdown owns implementation scope/evidence/acceptance. This index and the [graph](dependencies.mmd) are derived views. Only the planning/integration owner updates scheduling state.
**Current total: 45 completed original tasks + 13 implemented cleanup tasks pending independent review + 6 deferred + 4 merged IDs = 68 retained IDs.** The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
**Current total: 76 retained IDs.** The earlier 68 IDs retain their state. E11 adds seven authorized cleanup tasks and one conditional replay extraction; see the manifest for current scheduling. The original backlog accounted for 55 IDs. F09/P07 added projection/profiling work; the owner deferred P08's TypeScript optimization. Merged records preserve traceability; never execute them separately. Deferred work requires its stated trigger and explicit activation.
States: ready, claimed, in_progress, review, done, blocked, deferred, merged. “Ready” means no code/ADR prerequisite, not execution authority. Implementation dependencies require accepted integration. `release_gates` govern enabling an end-to-end feature, not component coding or integration; conditional gates apply only to the named capability. F05 may integrate before F06, but its replay behavior is not released until F06 proves it.
@ -141,3 +141,18 @@ Scope and first execution wave: [CLEANUP.md](../CLEANUP.md). The owner has autho
Before any wave: unique IDs; existing task/ADR references; acyclic implementation graph; no scheduled task dependent on merged/deferred work; approvals/readiness; actual file locks; isolated native build outputs/workspace dependencies and test databases. Release gates are checked separately at activation.
R06/R08/R09 and the R07 comparison/measurement are complete. The default supports canonical single-asset research. Regime panels require actual retained annotations; no arbitrary candidate regime labels or profitability claims are inferred. The six conditional tasks keep their evidence/approval gates. Completing scheduled implementation does not activate paper/live trading or approve a multi-asset mark policy.
## E11 — Orchestrator and engine cleanup
Owner authorized planning and per-task implementation commits. [Execution plan](../orchestrator-engine-cleanup.md). Earlier cleanup reviews and the six original conditional tasks remain unchanged.
| Task | Priority | Dependencies |
| --- | --- | --- |
| [CL14 Require canonical capabilities in durable research contracts](tasks/CL14.md) | P1 | None |
| [CL15 Retire abandoned Rust architecture scaffolding](tasks/CL15.md) | P1 | None |
| [CL16 Give orchestrator composition an explicit shutdown owner](tasks/CL16.md) | P1 | None |
| [CL17 Separate historical reads from unused storage writes](tasks/CL17.md) | P2 | CL14 |
| [CL18 Share strict native parsing and financial view projection](tasks/CL18.md) | P2 | CL15 |
| [CL19 Share pure strategy bookkeeping and event ordering](tasks/CL19.md) | P2 | None |
| [CL20 Return validated retained results from the worker supervisor](tasks/CL20.md) | P2 | CL14 |
| [CL21 Extract private deterministic replay preparation when needed](tasks/CL21.md) | P3 | Conditional |