Marks / Product integration / Durable execution
letta-code · Durable execution
Cloud background runs and busy handling are server-side [D], so the evidence cap is 2. Local mode loses runs on a crash
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
met - 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)
What the source review found
Pinned evidence
Cited by the mark
- I54
background: opts.background ?? true(server-side semantics) - I55
on busy, re-attach to active run stream (
starting_after: 0)letta-ai/letta-code src/websocket/listener/send.ts L228-L264
- I56
busy wait 5 min, poll 5 s
Also cited by the review finding
- I57
LLM_API_ERROR_MAX_RETRIES = 3 - I58
LocalBackend extends HeadlessBackend - I59
runs and active-run index held in in-memory
Mapsletta-ai/letta-code src/backend/dev/fake-headless-backend.ts L198-L205
- I60
local mode rejects a second active run; settles interrupted tool calls as
TURN_DID_NOT_COMPLETEletta-ai/letta-code src/backend/dev/fake-headless-backend.ts L511-L528
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2