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

@ -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.