Marks / Product integration / Durable execution
spore · Durable execution
Detached runner, requestId idempotency and flock; a crashed turn is finalized as error. There is no automatic resume, so level 4 is unmet
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
met - 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)
What the source review found
Built in: a detached runner owns the turn and outlives the caller. requestId makes sends idempotent; one runner per workspace (flock); concurrent sends join the inbox at the next round. Next runner finalizes a crashed turn as error, message left unread; no auto-continue. 3 model retries. I143I144I145I146I147I148I149
Pinned evidence
Cited by the mark
- I144
requestIdidempotency (repeated) - I145
runner lock; losing the race exits 0
- I147
recoverfinalizes non-final turns (error/unsettled); called at runner start (rust/runner/src/main.rs:398-403)
Also cited by the review finding
- I143
enqueue, lock race, detached runner
- I146
mid-turn messages interjected at round boundary
RHIZOGRIP/spore packages/spore/src/core/spore-run.js L204-L210
- I148
errored/killed turn does not auto-continue; unread messages start another turn under same lock
- I149
3 model retries with backoff
RHIZOGRIP/spore packages/spore/src/resilience/recovery.js L1-L22
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3