docs(development): defer performance work and begin durable execution

This commit is contained in:
Boki 2026-10-23 14:22:55 -04:00
parent ca5abdde0e
commit 5e9655de0b
6 changed files with 88 additions and 30 deletions

View file

@ -1,22 +1,24 @@
{
"schema_version": 1,
"plan_revision": "2026-10-23.34",
"plan_revision": "2026-10-23.35",
"repository_base": "b7aeca4",
"plan_status": "fifteenth_wave_in_review",
"plan_status": "sixteenth_wave_in_progress",
"execution_authorized": true,
"execution_scope": {
"authorized_by": "User: commit and continue (2026-10-23), after S01 validated handoff named S02. S01 accepted and committed as 2bcadbd. Continue only S02 under approved ADR-002/003/004/005.",
"authorized_by": "User: commit and continue, then stop performance work for now and continue remaining backlog (2026-10-23). S02 accepted and committed ca5abdd. S03 is the highest-priority ready non-performance task under approved ADR-005.",
"tasks": [
"S02"
"S03"
],
"permissions": [
"accepted_wave14_commits",
"accepted_wave15_commits",
"isolated_implementation",
"local_tests",
"local_correctness_tests",
"local_integration_review",
"planning_progress_updates"
],
"excluded": [
"performance_profiling_or_optimization",
"performance_benchmarks",
"new_wave_commits_without_further_approval",
"push",
"pull_requests",
@ -969,7 +971,7 @@
"epic": "E4",
"priority": "P1",
"severity": "High",
"status": "review",
"status": "done",
"dependencies": [
"S01"
],
@ -989,12 +991,12 @@
"assignment": "/root/s02_strategy",
"branch": "wave15/s02-strategy",
"pull_request": null,
"completed_commit": null,
"completed_commit": "ca5abdde0e131ef4ec8c60ff9a4de4e277fc0820",
"blocker": null,
"release_gates": [],
"worktree": "/tmp/stock-bot-wave15.zi3GmP/strategy",
"integration_base": "2bcadbd117c288577a26615e6d132cf49ea074e4",
"integration_state": "validated_uncommitted",
"integration_state": "validated_committed",
"implementation_slices": [
{
"owner": "/root/s02_strategy",
@ -1015,7 +1017,7 @@
"/root"
],
"verification_reference": "ROADMAP.md#fifteenth-wave-execution--2026-10-23",
"review_notes": "All ten source/test files independently approved with exact hashes. Full repository, strict test types/lint/format, disposable recovery, release and built-worker parity gates passed. Long-only policy differs explicitly from legacy; R01/R05 retain artifact and durable/public cutover. Paired 48-session exact-decision benchmark identifies aggregate strategy/state overhead; P08 planned only. Root finished worker validation after owner tool approval stalled; no new source semantics changed during takeover.",
"review_notes": "All ten source/test files independently approved with exact hashes. Full repository, strict test types/lint/format, disposable recovery, release and built-worker parity gates passed. Long-only policy differs explicitly from legacy; R01/R05 retain artifact and durable/public cutover. Paired 48-session exact-decision benchmark identifies aggregate strategy/state overhead; P08 planned only. Root finished worker validation after owner tool approval stalled; no new source semantics changed during takeover. Owner accepted and authorized commit 2026-10-23; all frozen source hashes verified before commit.",
"concrete_write_scope": [
"apps/stock/orchestrator/src/contracts/builtin-strategy.ts",
"apps/stock/orchestrator/src/strategies/canonical-sma.ts",
@ -1035,7 +1037,7 @@
"epic": "E4",
"priority": "P0",
"severity": "Critical",
"status": "ready",
"status": "in_progress",
"dependencies": [
"S01",
"C06"
@ -1055,13 +1057,30 @@
"paper-transaction",
"financial-contract"
],
"parallel_policy": "Allowed only with satisfied dependencies/approvals and disjoint write locks AND actual files; see agents/integration.md.",
"assignment": null,
"branch": null,
"parallel_policy": "Native wire/schema owner and durable custody/shared strategy staging owner use disjoint files. Durable owner consumes root-accepted native contract overlay. Root owns metadata/integration; independent review checks financial/recovery invariants.",
"assignment": "/root/s03_durable",
"branch": "wave16/s03-durable",
"pull_request": null,
"completed_commit": null,
"blocker": null,
"release_gates": []
"release_gates": [],
"worktree": "/tmp/stock-bot-wave16.kgaZm4/durable",
"integration_base": "ca5abdde0e131ef4ec8c60ff9a4de4e277fc0820",
"integration_state": "isolated_implementation",
"implementation_slices": [
{
"owner": "/root/s03_native",
"worktree": "/tmp/stock-bot-wave16.kgaZm4/native",
"branch": "wave16/s03-native",
"scope": "Stateless Rust financial transaction boundary, exact per-effect views, wire schemas and native tests; no resident research hot-loop change."
},
{
"owner": "/root/s03_durable",
"worktree": "/tmp/stock-bot-wave16.kgaZm4/durable",
"branch": "wave16/s03-durable",
"scope": "Versioned SQL custody, shared S01 decision staging, actual canonical strategy/RNG/pending-prefix recovery, one durable owner-batch outbox, migration and failure tests."
}
]
},
{
"id": "S04",
@ -1099,7 +1118,7 @@
"epic": "E4",
"priority": "P2",
"severity": "Medium",
"status": "blocked",
"status": "ready",
"dependencies": [
"S02",
"F08"
@ -1997,7 +2016,7 @@
"epic": "E7",
"priority": "P1",
"severity": "High",
"status": "blocked",
"status": "deferred",
"dependencies": [
"S02",
"P07"
@ -2019,7 +2038,7 @@
"branch": null,
"pull_request": null,
"completed_commit": null,
"blocker": "Requires S02 acceptance/commit and explicit next-wave authorization. Profile subphase costs before choosing a local optimization; preserve current contracts and all invariants.",
"blocker": "Owner explicitly stopped performance work for now (2026-10-23). Initial read-only inspection only; no application changes, profiling, benchmark runs or optimization. Resume only on owner request.",
"release_gates": []
},
{
@ -5865,5 +5884,16 @@
"worktrees_and_evidence_retained": true
},
"next": "Accept/commit S02; recommended next P08 measured local TS decision/state optimization. S03 also code/ADR-ready; R01/R11 still require ADR-006. No extra task/default/paper approval inferred."
}
},
"sixteenth_wave": [
"S03"
],
"sixteenth_wave_base": "ca5abdde0e131ef4ec8c60ff9a4de4e277fc0820",
"sixteenth_wave_notes": [
"Owner explicitly deferred performance work after S02 commit; stopped all P08 agents before implementation or measurement.",
"S03 reuses Rust financial semantics and existing SQL transaction/row-lock/journal guarantees. Native and durable owners have isolated worktrees; review is independent.",
"Versioned new canonical accounts only. No implicit legacy migration, current service/default switch, operator reset, broker execution or paper feed activation.",
"Native Failed outcomes with committed-prefix effects persist as terminal before surfacing error; SQL failure discards private state. Duplicate outcomes emit no duplicate effects.",
"Persist all-owner checkpoint/intent batches and mixed-cadence observation prefixes; reuse S01 staging without changing its public research recovery semantics or inventing a paper dataset hash."
]
}