docs: plan cleanup and maintainability backlog

This commit is contained in:
Boki 2026-10-26 13:17:01 -04:00
parent fbf2eb9e0c
commit 4ddffa6b67
19 changed files with 1743 additions and 7 deletions

View file

@ -1,12 +1,14 @@
# Canonical development backlog
**All 45/45 scheduled tasks are complete (100%).** The canonical Rust engine, TypeScript research/workbench, bounded worker pool, isolated candidates, AI evidence workflow and human-reviewed paper promotion are validated. Implementation commits: `bbf0dd4`, `26b9726`, `25b5cbf` (R07 measurement `ab08db8`). Six conditional tasks remain deferred; four merged IDs remain redirects. This is scheduled-backlog completion, not live-trading activation.
**The original 45/45 scheduled tasks are complete.** The canonical Rust engine, TypeScript research/workbench, bounded worker pool, isolated candidates, AI evidence workflow and human-reviewed paper promotion are validated. Implementation commits: `bbf0dd4`, `26b9726`, `25b5cbf` (R07 measurement `ab08db8`). Six conditional tasks remain deferred; four merged IDs remain redirects. This is scheduled-backlog completion, not live-trading activation.
**New work:** [13 cleanup stories](../CLEANUP.md) were proposed on October 26, 2026. Their implementation has not been requested; the manifest's current execution authorization is false. The first independent group is CL01, CL03 and CL04.
## One source of truth
[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.
**45 scheduled + 6 deferred + 4 merged IDs = 55 retained IDs.** F09/P07 add 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: 45 completed original tasks + 13 proposed cleanup tasks + 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.
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.
@ -114,6 +116,26 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
| [O01 Serialize additive schema migrations safely](tasks/O01.md) | P1 / done | None | — | PostgreSQL/backend infrastructure / S |
| [O02 Expose truthful research and paper readiness diagnostics](tasks/O02.md) | P1 / deferred | S04 | — | Infrastructure/observability / M |
### E10 — Cleanup and maintainability foundations
Scope and first execution wave: [CLEANUP.md](../CLEANUP.md). Ready is code readiness only; all new implementation is planning-only until requested.
| Task | Priority / status | Implementation prerequisites | Release gate | Specialist / size |
| --- | --- | --- | --- | --- |
| [CL01 Replace permissive DI configuration tests with production-path assertions](tasks/CL01.md) | P1 / ready | None | — | TypeScript infrastructure testing / M |
| [CL02 Normalize database configuration once and enforce consistent service switches](tasks/CL02.md) | P1 / blocked | CL01 | — | TypeScript configuration and database adapters / M |
| [CL03 Roll back failed shared-service startup and clear initialization timers](tasks/CL03.md) | P1 / ready | None | — | TypeScript resource lifecycle and concurrency / M |
| [CL04 Provide one consistent research startup path and repair stale commands](tasks/CL04.md) | P1 / ready | None | — | Bun/Turbo developer tooling / S |
| [CL05 Extract shared dataset and reporting logic behind a research library boundary](tasks/CL05.md) | P2 / ready | D01, F08, R05 | — | TypeScript domain boundaries and package migration / M |
| [CL06 Use shared dataset response schemas and eligibility checks in the workbench](tasks/CL06.md) | P2 / blocked | CL05 | — | Shared contracts and frontend validation / M |
| [CL07 Share JSON transport handling across experiment and validation clients](tasks/CL07.md) | P2 / ready | None | — | Frontend HTTP contracts and retry semantics / M |
| [CL08 Split backtest template, run and reproduction responsibilities behind the existing service](tasks/CL08.md) | P2 / blocked | CL05 | — | TypeScript application services and PostgreSQL transactions / M |
| [CL09 Separate strategy metadata, version inspection and publication UI](tasks/CL09.md) | P2 / ready | None | — | React strategy workflows / M |
| [CL10 Separate experiment modes and make draft/submission state explicit](tasks/CL10.md) | P2 / ready | None | — | React experiment workflow state / M |
| [CL11 Separate backtest template loading, run monitoring and submission state](tasks/CL11.md) | P2 / ready | None | — | React asynchronous state and durable-run UX / M |
| [CL12 Simplify retired execution seams while preserving historical reads](tasks/CL12.md) | P2 / blocked | CL08 | — | Compatibility cleanup and execution boundaries / M |
| [CL13 Hide placeholder navigation while preserving useful product routes](tasks/CL13.md) | P2 / ready | None | — | React navigation and product clarity / S |
## Scheduling checks
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.