refactor(orchestrator): share pure strategy bookkeeping (CL19)
This commit is contained in:
parent
984dc1a9cc
commit
6055aeeee9
17 changed files with 297 additions and 157 deletions
|
|
@ -144,7 +144,7 @@ R06/R08/R09 and the R07 comparison/measurement are complete. The default support
|
|||
|
||||
## E11 — Orchestrator and engine cleanup
|
||||
|
||||
Owner authorized planning and per-task implementation commits. [Execution plan and validation](../orchestrator-engine-cleanup.md). First wave CL14/CL15/CL16 is completed and committed. CL17/CL18 are completed; CL19/CL20 are in progress; CL21 remains conditional. Earlier cleanup reviews and the six original conditional tasks remain unchanged.
|
||||
Owner authorized planning and per-task implementation commits. [Execution plan and validation](../orchestrator-engine-cleanup.md). First wave CL14/CL15/CL16 is completed and committed. CL17–CL19 are completed; CL20 is in progress; CL21 remains conditional. Earlier cleanup reviews and the six original conditional tasks remain unchanged.
|
||||
|
||||
| Task | Priority | Dependencies |
|
||||
| --- | --- | --- |
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"plan_revision": "2026-10-26.83",
|
||||
"plan_revision": "2026-10-26.84",
|
||||
"repository_base": "b7aeca4",
|
||||
"plan_status": "orchestrator_engine_cleanup_remaining_wave",
|
||||
"execution_authorized": true,
|
||||
|
|
@ -2877,10 +2877,10 @@
|
|||
],
|
||||
"assignment": "/root/implement_cl17",
|
||||
"branch": "cleanup/cl17-historical-reader",
|
||||
"completed_commit": null,
|
||||
"completed_commit": "984dc1a9",
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"integration_state": "validated_pending_commit",
|
||||
"integration_state": "validated_committed",
|
||||
"integration_base": "580a6de7",
|
||||
"completion_evidence": "orchestrator-engine-cleanup.md",
|
||||
"reviewer": "/root",
|
||||
|
|
@ -2888,7 +2888,8 @@
|
|||
"integration": "Root 60 passed, 519 assertions; implementer expanded103 plus architecture17",
|
||||
"postgres": "12 passed, 92 assertions: stored preparation and strategy recovery on disposable database",
|
||||
"review": "Root independently accepted; normalization bodies and baseline frozen hashes unchanged"
|
||||
}
|
||||
},
|
||||
"implementation_commit": "984dc1a9"
|
||||
},
|
||||
{
|
||||
"id": "CL18",
|
||||
|
|
@ -2940,7 +2941,7 @@
|
|||
"epic": "E11",
|
||||
"priority": "P2",
|
||||
"severity": "Medium",
|
||||
"status": "in_progress",
|
||||
"status": "done",
|
||||
"dependencies": [],
|
||||
"decision_dependencies": [],
|
||||
"task_file": "backlog/tasks/CL19.md",
|
||||
|
|
@ -2967,9 +2968,15 @@
|
|||
"completed_commit": null,
|
||||
"blocker": null,
|
||||
"release_gates": [],
|
||||
"integration_state": "implementing",
|
||||
"integration_state": "validated_pending_commit",
|
||||
"integration_base": "580a6de7",
|
||||
"completion_evidence": "orchestrator-engine-cleanup.md"
|
||||
"completion_evidence": "orchestrator-engine-cleanup.md",
|
||||
"reviewer": "/root/review_cl19",
|
||||
"validation": {
|
||||
"integration": "Root 60 passed, 6959 assertions; application types passed",
|
||||
"postgres": "Root 35 passed, 275 assertions: canonical paper, crash and strategy recovery",
|
||||
"review": "Independent reviewer accepted; canonicalJson bytes verified against baseline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "CL20",
|
||||
|
|
|
|||
|
|
@ -66,3 +66,12 @@ CL18 implementation commit: `03518c8a`.
|
|||
Historical storage now borrows only its logger, MongoDB and QuestDB readers. Removed uncalled market/performance writes, ad hoc DDL, PostgreSQL injection, mode state and empty shutdown; retained ModeManager/examples no longer give this reader a resource lifecycle. Provider routing, decoding, validation and synthetic calculations stay unchanged. Pinned baseline V1/V2 hashes and malformed-volume negatives protect retained data semantics.
|
||||
|
||||
Implemented by `/root/implement_cl17`, independently reviewed/integrated by `/root`. Root scoped historical/dataset/mode suite: 60 passed, 519 assertions; application types passed. Expanded implementer suite: 103 passed, 895 assertions; architecture rerun: 17 passed. Root disposable stored-dataset preparation plus strategy recovery: 12 passed, 92 assertions. Authored-test types/lint and diff checks passed. Three obsolete parameterized storage-lifecycle cases were removed with the nonexistent stages; actual execution/feed/strategy rollback cases remain. Initial worktree browser bundling read errors cleared on architecture rerun. Nine pre-existing lint findings in other historical test bodies and the already-broken no-argument legacy example were not widened into this task. Logs: `/tmp/stock-bot-engine-cleanup-20261026/cl17-{root-tests,root-types,postgres}.log`.
|
||||
|
||||
|
||||
CL17 implementation commit: `984dc1a9`.
|
||||
|
||||
### CL19 — accepted
|
||||
|
||||
Research and paper share pure diagnostic initialization and owner-feedback projection, keeping their separate confirmation/SQL commit boundaries. Feed planning and paper admission share the existing timestamp/phase/UTF-8/source comparator. `canonicalJson` moved unchanged to a neutral module with its legacy re-export; canonical consumers no longer depend on legacy recovery.
|
||||
|
||||
Implemented by `/root/implement_cl19`, independently accepted by `/root/review_cl19`, integrated by `/root`. Root runtime/feed/recovery/architecture suite: 60 passed, 6,959 assertions; application types passed. Root disposable canonical-paper, crash and strategy-recovery suite: 35 passed, 275 assertions. Root also compared the entire canonicalJson function/comment against baseline bytes. Tests cover research/paper state/RNG/feedback parity and detached initial state, malformed-owner atomicity, native-accepted Unicode ordering and historical serialization. Explicit authored-test types/lint/format passed. Worktree Bun browser-bundle errors cleared on separate architecture rerun; root combined focused invocation passed. Logs: `/tmp/stock-bot-engine-cleanup-20261026/cl19-root-{tests,types,postgres}.log`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue