# nullclaw · 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: [nullclaw](https://ai-agents-review.com/runtime/nullclaw.md)
- Column: [Durable execution](https://ai-agents-review.com/column/durable-execution.md) (Product integration)
- Mark: 1→2 [opt: queue_mode=serial/latest/debounce] s
- Default deployment: 1
- Best supported configuration: 2 (opt: queue_mode=serial/latest/debounce)
- Page: https://ai-agents-review.com/cell/nullclaw/durable-execution

## Rationale

Default `queue_mode=off` drops busy-session input; the turn is persisted only after completion, so a crash loses it

## 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: per-session mutex. Default `queue_mode=off` drops messages for a busy session (logged) [opt: serial, latest, debounce]. Turn persisted only after completion; mid-turn crash loses the turn. A2A tasks and subagents in memory only. Provider retries and fallbacks. No webhook dedup. [I71][I72][I73][I74][I75][I76]

## Evidence cited by the mark

- [I71] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/inbound_router.zig#L47-L55 — busy session with `queue_mode=off` → drop (default `.off` at config_types.zig:416) — [S]
- [I73] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/session.zig#L1928-L1945 — turn persisted (redacted) only after completion — [S]

## Evidence also cited by the review finding

- [I72] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/session.zig#L2036-L2052 — drop logged "session busy queue_mode=off" — [S]
- [I74] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/a2a.zig#L1-L24 — A2A task registry in memory, `MAX_TASKS=1000` — [S]
- [I75] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/config_types.zig#L323-L333 — retries, fallback providers, key rotation config — [S] (retry engine skimmed)
- [I76] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/root.zig#L3079-L3087 — interrupt flag checked before each tool — [S]

## Grading record

- Grader A (default / best): 1 / 2
- Grader B (default / best): 1 / 2
