Marks / Product integration / Durable execution
opencode · Durable execution
Durable inbox outlives disconnect; one execution per session; boot sweep resumes claims, documented as at-least-once
Level
Criteria for this column
- 0
State in memory only; a restart loses sessions
- 1
Sessions persist, but an in-flight turn is lost on restart and concurrent requests on one session are not serialized (dropped or racing)
- 2
Sessions persist and concurrent input is serialized (queue, steer or reject), but an interrupted turn is lost or must be resent by hand
- 3
Level 2, plus an interrupted turn is detected after restart and either closed out with a recorded error or resumed
- 4
Level 3, plus turns survive client disconnect and automatic resume or replay with an explicit idempotency rule (request ids, replay-safe declarations, at-least-once documented)
met
What the source review found
Pinned evidence
Cited by the mark
- I102
per-key serialized execution;
runjoins active executionanomalyco/opencode packages/core/src/session/run-coordinator.ts L4-L27
- I104
DEFAULT_MAX_ATTEMPTS = 10; "Recovery is at-least-once … not repeated external side effects"; embedders may call itanomalyco/opencode packages/core/src/session/execution/restart.ts L49-L80
- I105
managed server runs restart continuity at boot
Also cited by the review finding
- I103
inbox delivery modes steer/queue
anomalyco/opencode packages/schema/src/session-inbox.ts L11-L15
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4