refactor(experiments): share transactional run and dispatch insertion (CL29)

This commit is contained in:
Boki 2026-10-28 14:58:38 -04:00
parent 33e224048f
commit 731acc41db
8 changed files with 136 additions and 40 deletions

View file

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

@ -2,7 +2,7 @@
"schema_version": 1,
"plan_revision": "2026-10-28.143",
"repository_base": "b7aeca4",
"plan_status": "architecture_cleanup_in_progress",
"plan_status": "architecture_cleanup_complete",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "Owner: commit and continue with the rest of the tasks till 100%",
@ -3757,7 +3757,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL22"],
"completed_commit": "3fc0a272d8356fa1de98f703d4df763f4938547c",
"completed_commit": "1aa35d2db330179c4b19a6dadaacdb0b23761d3b",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -3817,7 +3817,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL25"],
"completed_commit": "366a6054bf831df7bff02207bccccb9b82912dc7",
"completed_commit": "2a9382a201477590c93b76ed7c82caec405cd8af",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -3837,7 +3837,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL26"],
"completed_commit": "b4589d5af1c4b78026ef4fad484a8f493bc98786",
"completed_commit": "33e224048ff326e482ad452f48ad5590a753373b",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -3857,7 +3857,7 @@
"complexity": "M",
"assignment": null,
"write_locks": ["CL27"],
"completed_commit": "5c9e32d0ef1811acd2b79a59c896d55233c2179e",
"completed_commit": "dac49ac1b89414afd980dfb6b57f0fb153ca981e",
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md",
@ -3890,7 +3890,7 @@
"epic": "E13",
"priority": "P2",
"severity": "Medium",
"status": "ready",
"status": "done",
"dependencies": ["CL28"],
"decision_dependencies": [],
"task_file": "backlog/tasks/CL29.md",
@ -3900,7 +3900,9 @@
"completed_commit": null,
"blocker": null,
"release_gates": [],
"completion_evidence": "architecture-cleanup-execution.md"
"completion_evidence": "architecture-cleanup-execution.md",
"integration_state": "accepted",
"validation": "Shared insertion helper preserves exact run/outbox SQL payload and order under caller-owned transaction; UUIDs, numbering, locks, quotas, receipts and holdout choice stay with callers. Focused26 tests351 assertions passed; independent SQL review no blockers. Complete repository check passed; full disposable PostgreSQL/Redis287 tests2949 assertions passed, including duplicate keys, second-dispatch rollback and heldout admission."
},
{
"id": "CL30",
@ -10407,7 +10409,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": 13,
"last_verification": "Independent review reproduced premature worker drain at2s. Follow-up removes false-success2s/5s queue deadlines; actual Queue.close is idempotent and retains workers/transports until completion. Deferred-worker regression crosses both old deadlines; real Redis DB15 smoke preserves queued payloads through observer/producer shutdown and subsequent consumption. Root queue build and focused tests passed; service-level exit deadline remains authoritative."
"completed": 14,
"last_verification": "Shared insertion helper preserves exact run/outbox SQL payload and order under caller-owned transaction; UUIDs, numbering, locks, quotas, receipts and holdout choice stay with callers. Focused26 tests351 assertions passed; independent SQL review no blockers. Complete repository check passed; full disposable PostgreSQL/Redis287 tests2949 assertions passed, including duplicate keys, second-dispatch rollback and heldout admission."
}
}

View file

@ -18,3 +18,7 @@ PostgreSQL duplicate keys, numbering, rollback, holdout isolation. Focused revie
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
Shared insertion helper preserves exact run/outbox SQL payload and order under caller-owned transaction; UUIDs, numbering, locks, quotas, receipts and holdout choice stay with callers. Focused26 tests351 assertions passed; independent SQL review no blockers. Complete repository check passed; full disposable PostgreSQL/Redis287 tests2949 assertions passed, including duplicate keys, second-dispatch rollback and heldout admission.