Durable sessions and isolated agent workers 00:00:01 The grant expires during the lunch break A draft message survives a lunch break. Its authorization does not. On resuming the job, Paz sees “approved” in a compacted summary and version four queued for sending. Neither fact alone can open the send gate. A long-running task outlives individual model calls and workers. Persist user intent, tool outcomes, approvals and task progress in a durable session. Derive a bounded context for the next call from that record. A worker can restart and a context summary can be replaced while the authoritative events remain available. External services retain authority over their own state. Reload the durable draft, operation identity, grant scope and expiry. Compare the current revision and time with the exact action the original approval covered. The history remains useful even when that permission has expired. 00:00:57 Keep current and historical state distinct Retain unsettled user constraints, resource versions and references to durable tool results when summarizing earlier turns. Compare compressed and uncompressed continuations on the same frozen task, including restrictions that only matter near completion. A summary preserves “draft the report” but drops “send after I approve.” A continuation that emails it fails even if the text is excellent. The orchestrator should grant a worker only the tools and resources needed for its attempt. The service owning a side effect rechecks the grant at commit time. A checkpoint containing an earlier approval is evidence about history. An approval covered sending version 3 before 15:00. A replacement worker prepares version 4 at 15:04 and needs a fresh decision. In a disposable workspace, observe the current UI, perform an approved action, then inspect the application state. Multiple action sequences may meet the same goal. Grade both final state and protected invariants. The interface displays “saved.” Reopen the draft to check its contents and confirm the outbox is empty. Treat a model proposal as a proposed action. Before an effect, verify current identity, approval scope, parameters, expiry and prior execution. Reconstruct the job from its durable events if a worker disappears. Context compaction should preserve unresolved commitments and links to evidence. grade it by the resumed task’s outcome. A fluent summary alone cannot demonstrate safe recovery. 00:02:35 Replay the draft without replaying consent A durable event records the draft version, operation key and original approval expiry. It can be read after the worker vanishes. The builder restores the draft pointer and identifies the send as pending. It includes the user’s constraint and latest tool acknowledgement. A newly provisioned worker uses the reconstructed context. Its proposal goes through the effect boundary like any other attempt. The gate looks up current scope and the effect ledger. It leaves the draft intact and records a new request for approval. 00:03:08 May version four be sent? An old summary says “approved” but the current grant expired. What may the worker do? The durable session records history. Only the currently valid grant can authorize this specific external effect. Preserve the prepared work and ask for fresh approval when the grant does not cover the pending send. The safe runtime recovers the draft without silently converting yesterday's permission into today's action.