# spore · Durable execution

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [spore](https://ai-agents-review.com/runtime/spore.md)
- Column: [Durable execution](https://ai-agents-review.com/column/durable-execution.md) (Product integration)
- Mark: 3 s
- Default deployment: 3
- Best supported configuration: 3
- Page: https://ai-agents-review.com/cell/spore/durable-execution

## Rationale

Detached runner, `requestId` idempotency and flock; a crashed turn is finalized as error. There is no automatic resume, so level 4 is unmet

## Rubric 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)

## Review finding

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. [I143][I144][I145][I146][I147][I148][I149]

## Evidence cited by the mark

- [I144] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/send.js#L63-L74 — `requestId` idempotency (`repeated`) — [S]
- [I145] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/main.rs#L386-L393 — runner lock; losing the race exits 0 — [S]
- [I147] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/workspace/src/state.rs#L2831-L2866 — `recover` finalizes non-final turns (error/unsettled); called at runner start (rust/runner/src/main.rs:398-403) — [S]

## Evidence also cited by the review finding

- [I143] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/send.js#L28-L108 — enqueue, lock race, detached runner — [S]
- [I146] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/spore-run.js#L204-L210 — mid-turn messages interjected at round boundary — [S]
- [I148] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/main.rs#L1022-L1056 — errored/killed turn does not auto-continue; unread messages start another turn under same lock — [S]
- [I149] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/resilience/recovery.js#L1-L22 — 3 model retries with backoff — [S]

## Grading record

- Grader A (default / best): 3 / 3
- Grader B (default / best): 3 / 3
