docs: close architecture cleanup backlog with verified results

This commit is contained in:
Boki 2026-10-28 16:11:14 -04:00
parent 8c54eb7e12
commit f8ca9b529b
6 changed files with 156 additions and 40 deletions

View file

@ -1,8 +1,8 @@
# Canonical development backlog
**Active: E13 architecture cleanup, CL22–CL35 (14/14 complete).** Owner authorized all October 28 audit recommendations and a commit per validated task. Earlier completion counts below are historical. [Execution record](../architecture-cleanup-execution.md).
**E13 architecture cleanup: CL22–CL35 (14/14 complete).** Each task is committed and the combined repository, database and browser gates passed. [Execution record](../architecture-cleanup-execution.md). Earlier milestone counts below are historical.
**Current scheduled backlog: 99/99 complete.** The owner resumed performance and authorized review of all seven conditions. P08 and O02 are implemented; five optional extensions remain deliberately deferred, and four merged IDs are redirects. This is not a claim that all 108 retained IDs were implemented. [Decisions, measurements and validation](../conditional-review.md).
**Current scheduled backlog: 113/113 complete (100%).** The October 28 whole-application cleanup adds 14 completed tasks to the earlier 99. Five optional extensions remain deliberately deferred, and four merged IDs remain redirects. [Conditional decisions](../conditional-review.md).
**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.
@ -12,7 +12,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: 108 retained IDs — 99 done, 5 deferred, 4 merged.** No task is ready or active. P08/O02 source commits are `70d173a9` / `8c858b9d`. Deferred tasks retain concrete reopen conditions; the earlier blanket performance pause is superseded by the October 28 owner instruction. The manifest owns scheduling and completion evidence.
**Current total: 122 retained IDs — 113 done, 5 deferred, 4 merged.** No selected task is ready or active. D04/P03/P05/P06/CL21 retain their documented reopen conditions. The manifest owns scheduling and verification evidence.
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.

View file

@ -365,3 +365,24 @@ flowchart TD
R04 --> RP32
RP30 --> RP32
subgraph E13["E13: Whole-application architecture cleanup"]
CL22["CL22: Own queue transports without deleting pending payloads"]
CL23["CL23: Reject retired backtest creation before persistence"]
CL24["CL24: Remove prototype dashboard from normal navigation"]
CL25["CL25: Share validated product response contracts"]
CL26["CL26: Replace private application imports with explicit shared modules"]
CL27["CL27: Initialize enabled ingestion handlers once per container"]
CL28["CL28: Compose research services with explicit collaborators"]
CL29["CL29: Share transactional experiment run and dispatch insertion"]
CL30["CL30: Separate research UI workflow state from rendering"]
CL31["CL31: Publish a stable strategy authoring contract"]
CL32["CL32: Separate paper safety enforcement from readiness projection"]
CL33["CL33: Isolate legacy repository writers from production capabilities"]
CL34["CL34: Normalize provider symbols and remove unused scaffolding"]
CL35["CL35: Make optional Python analytics composition honest and testable"]
end
CL26 --> CL28
CL28 --> CL29
CL25 --> CL30
CL26 --> CL31

View file

@ -1,6 +1,6 @@
{
"schema_version": 1,
"plan_revision": "2026-10-28.143",
"plan_revision": "2026-10-28.144",
"repository_base": "b7aeca4",
"plan_status": "architecture_cleanup_complete",
"execution_authorized": true,
@ -30,6 +30,27 @@
"implemented": ["P08", "O02"],
"reviewed_not_selected": ["D04", "P03", "P05", "P06", "CL21"],
"record": "conditional_review"
},
"architecture_cleanup": {
"authorized_by": "Owner: do it all till 100% commit after each",
"tasks": [
"CL22",
"CL23",
"CL24",
"CL25",
"CL26",
"CL27",
"CL28",
"CL29",
"CL30",
"CL31",
"CL32",
"CL33",
"CL34",
"CL35"
],
"status": "complete",
"record": "architecture-cleanup-execution.md"
}
},
"cleanup_scope": {
@ -3817,7 +3838,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL25"],
"completed_commit": "2a9382a201477590c93b76ed7c82caec405cd8af",
"completed_commit": "ed7429cfbc0d792249c13d92328f6fd1ae0a6ac2",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -10214,17 +10235,31 @@
},
"completion_summary": {
"date": "2026-10-28",
"scheduled_complete": 99,
"scheduled_total": 99,
"scheduled_complete": 113,
"scheduled_total": 113,
"scheduled_percent": 100,
"deferred_conditional": 5,
"merged_redirects": 4,
"retained_total": 108,
"retained_total": 122,
"implementation_commits": {
"P08": "70d173a908eadac53941cc931b1f6cd3ca4070af",
"O02": "8c858b9d5ca4675d064c4a853b0e9575a84872cb"
"O02": "8c858b9d5ca4675d064c4a853b0e9575a84872cb",
"CL22": "1aa35d2db330179c4b19a6dadaacdb0b23761d3b",
"CL23": "cd1aa6148119ea364de52bcfb4cfa1bac8259ca9",
"CL24": "5400dba47ee4fbd0f1aa0f12a358864df6bb7a38",
"CL25": "ed7429cfbc0d792249c13d92328f6fd1ae0a6ac2",
"CL26": "33e224048ff326e482ad452f48ad5590a753373b",
"CL27": "dac49ac1b89414afd980dfb6b57f0fb153ca981e",
"CL28": "24487d35daef7bd09af09905a7dfca3955aec5a7",
"CL29": "731acc41db221887e3e527fe0cc139f739273975",
"CL30": "a411f9a6659014a3a2f1cedd7f3d4ed5f23dbe54",
"CL31": "3a63b2039e8f6b874d5cb1e1748c688a10f98c11",
"CL32": "2165a2efa845b601ce478d59d31bce5ea5cfbaa4",
"CL33": "ec582bd5e8d3cad13e03486e345a0f383e5a087e",
"CL34": "e2292e4883516cf2e4cb5d19d3dff003f60567b7",
"CL35": "7ae6ac21c471f8841ba1985b5ce0d42c04401704"
},
"scope": "All selected work complete. All seven conditions reviewed; five optional extensions intentionally remain deferred. Performance pause superseded by explicit resumption. Financial policy and paper/live activation gates unchanged."
"scope": "All113 selected tasks complete, including E13 CL22\u2013CL35. Five optional extensions remain deliberately deferred. This is not live-trading activation or a claim that every retained ID was implemented."
},
"completion_review": {
"date": "2026-10-28",
@ -10410,6 +10445,57 @@
"work_policy": "Root integrates/commits reviewed tasks; agents own disjoint explicit files in the root integration worktree. Only root builds shared outputs and runs combined gates. No isolated native agent build claim.",
"first_wave": ["CL22", "CL23", "CL24"],
"completed": 14,
"last_verification": "Chromium caught a valid historical SQL-null configuration rejected by the new schema. Read contracts now preserve null and canonical setup/detail access is guarded; no stored records rewritten. Source typecheck and108 focused tests835 assertions passed; final Chromium27 workflows971 assertions passed, including historical unavailable-results and run-error recovery. Error assertions follow real server/transport responses."
"last_verification": "Chromium caught a valid historical SQL-null configuration rejected by the new schema. Read contracts now preserve null and canonical setup/detail access is guarded; no stored records rewritten. Source typecheck and108 focused tests835 assertions passed; final Chromium27 workflows971 assertions passed, including historical unavailable-results and run-error recovery. Error assertions follow real server/transport responses.",
"verification": {
"repository_check": {
"command": "CARGO_BUILD_JOBS=2 bun run check",
"status": "passed",
"log": "/tmp/stock-bot-architecture-cleanup-check-final.log",
"tooling": 179,
"utilities": 43,
"calculations": 44,
"integration": {
"passed": 1609,
"skipped": 14
},
"rust": {
"passed": 150,
"ignored": 4
},
"build_types_contracts_lint_secrets": "passed"
},
"postgres": {
"passed": 287,
"skipped": 0,
"assertions": 2949,
"failed": 0,
"log": "/tmp/stock-bot-architecture-cleanup-postgres.log"
},
"browser": {
"passed": 27,
"skipped": 0,
"assertions": 971,
"failed": 0,
"log": "/tmp/stock-bot-architecture-cleanup-browser.log"
},
"analytics_api": {
"passed": 11,
"log": "/tmp/stock-bot-cl35-root.log",
"successful_scientific_runtimes": "stubbed"
},
"native_binary_sha256": "df0ecbd5c3772d7e8aeb0226b40ae290cfaddf9d87fb3a7375f2a31c2acf05e5",
"limitations": [
"14 opt-in real OS-isolated candidate tests were not enabled.",
"Four manual Rust cases remain ignored.",
"Python scientific and multipart success paths use stubs; heavy optional runtimes were not installed."
],
"independent_reviews": [
"CL26 shared custody/build boundaries: no blockers.",
"CL28 composition and transactions: no blockers.",
"CL29 SQL ordering and caller ownership: no blockers.",
"CL35 lazy optional capabilities: no blockers.",
"CL22/CL27 review found premature worker drain; corrected and verified beyond both former deadlines and with Redis."
]
}
}
}