fix(ingestion): await container-owned handler initialization (CL27)

This commit is contained in:
Boki 2026-10-28 13:56:31 -04:00
parent cd1aa61481
commit 5c9e32d0ef
11 changed files with 424 additions and 317 deletions

View file

@ -13,3 +13,7 @@ Agents use root-reserved disjoint files in the integration worktree. Root alone
- **CL22:** Queue library tsc build passed; independent root queue-lifecycle and cache-ownership suites passed (see /tmp/stock-bot-cl22-root.log). Scoped lint/format passed. Pending payload ownership, drain behavior, and connection cleanup covered without service mutation.
- **CL23:** Independent root retired-backtest-api, catalog-backtest-contract and backtest-result-mapping suites: 16 passed, 125 assertions. Scoped lint/format passed. Regression verifies no writes on retired V1/implicit autostart, explicit save-only behavior and preserved historical read/cancellation.
- **CL27:** Root rebuilt DI and independently ran ingestion-handler-initialization: 6 passed, 27 assertions. Enabled-instance identity, two-container isolation, failure propagation, operations waiting for init, unchanged schedules and duplicate registration covered. Scoped lint/format passed.
- **CL34:** Independent provider normalization suite: 6 passed, 10 assertions. Disposable PostgreSQL pipeline safety: 8 passed, 28 assertions, including verified mapping preservation, unverified update and replay identity. Scoped lint/format passed; active QM session manager preserved.

View file

@ -1,6 +1,6 @@
# Canonical development backlog
**Active: E13 architecture cleanup, CL22–CL35 (3/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).
**Active: E13 architecture cleanup, CL22–CL35 (5/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).
**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).

View file

@ -3777,7 +3777,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL23"],
"completed_commit": null,
"completed_commit": "cd1aa6148119ea364de52bcfb4cfa1bac8259ca9",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -3846,7 +3846,7 @@
"epic": "E13",
"priority": "P1",
"severity": "High",
"status": "ready",
"status": "done",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL27.md",
@ -3856,7 +3856,9 @@
"completed_commit": null,
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md"
"completion_evidence": "architecture-cleanup-execution.md",
"integration_state": "accepted",
"validation": "Root rebuilt DI and independently ran ingestion-handler-initialization: 6 passed, 27 assertions. Enabled-instance identity, two-container isolation, failure propagation, operations waiting for init, unchanged schedules and duplicate registration covered. Scoped lint/format passed."
},
{
"id": "CL28",
@ -3972,7 +3974,7 @@
"epic": "E13",
"priority": "P2",
"severity": "Medium",
"status": "ready",
"status": "done",
"dependencies": [],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL34.md",
@ -3982,7 +3984,9 @@
"completed_commit": null,
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md"
"completion_evidence": "architecture-cleanup-execution.md",
"integration_state": "accepted",
"validation": "Independent provider normalization suite: 6 passed, 10 assertions. Disposable PostgreSQL pipeline safety: 8 passed, 28 assertions, including verified mapping preservation, unverified update and replay identity. Scoped lint/format passed; active QM session manager preserved."
},
{
"id": "CL35",
@ -10387,7 +10391,7 @@
],
"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": 3,
"last_verification": "Independent root retired-backtest-api, catalog-backtest-contract and backtest-result-mapping suites: 16 passed, 125 assertions. Scoped lint/format passed. Regression verifies no writes on retired V1/implicit autostart, explicit save-only behavior and preserved historical read/cancellation."
"completed": 5,
"last_verification": "Independent provider normalization suite: 6 passed, 10 assertions. Disposable PostgreSQL pipeline safety: 8 passed, 28 assertions, including verified mapping preservation, unverified update and replay identity. Scoped lint/format passed; active QM session manager preserved."
}
}

View file

@ -18,3 +18,7 @@ Two-container isolation, disabled providers, failure/order, instance identity, s
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
## Accepted verification
Root rebuilt DI and independently ran ingestion-handler-initialization: 6 passed, 27 assertions. Enabled-instance identity, two-container isolation, failure propagation, operations waiting for init, unchanged schedules and duplicate registration covered. Scoped lint/format passed.