# openclaw · 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: [openclaw](https://ai-agents-review.com/runtime/openclaw.md)
- Column: [Durable execution](https://ai-agents-review.com/column/durable-execution.md) (Product integration)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/openclaw/durable-execution

## Rationale

Asynchronous dispatch outlives the client; idempotency keys on input; steer serializes; restart resumes with an explicit no-replay rule

## 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: `chat.send` persists input with an idempotency key, acks `started`, and runs asynchronously, so it outlives the client. One turn per session; extra input steers by default (cap 20). 8 retries/90 s then failover. Restart sends a "resume without replaying" prompt; tools not replayed (Note I-6). [I87][I88][I89][I90][I91][I92]

## Evidence cited by the mark

- [I87] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/gateway/server-methods/chat-send-input-dispatch.ts#L605-L640 — ack `{runId, status:"started"}`; "Dispatch owns execution from this point" — [S]
- [I88] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/state/openclaw-agent-schema.sql#L906-L943 — `session_pending_inputs` with UNIQUE(session_id, idempotency_key) — [S]
- [I91] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/gateway/session-restart-resume-prompt.ts#L1-L17 — "Resume without replaying the request… Report unknown effects without retrying them" — [S]

## Evidence also cited by the review finding

- [I89] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/auto-reply/reply/queue/settings.ts#L14-L41 — queue mode default `steer`, debounce, cap, drop policy — [S]
- [I90] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/agents/embedded-agent-runner/run/failover-retry-controller.ts#L34-L41 — 8 transient retries within 90 s, 1–30 s backoff (60 s rate limit), then failover — [S]
- [I92] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/docs/gateway/restart-recovery.md — cron/ACP/PTYs/background processes not resumed; not exactly-once — [D]

## Grading record

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