AlgoViz

Durable sessions and isolated agent workers

hard 7 min

A long-running task outlives individual model calls and workers.

Where it shows up

The same pattern appears across everyday software.

  • Resume a draft after approval expires

    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.