Triggers in, runs out

Dispatch overview

Dispatch is the run coordinator. It resolves inbound work, mints engagements and runs, spawns sandboxes, and parks for human input across hours or days.

Split of responsibilities

LayerResponsibility
ConsoleStatus UI, inbox, authoring — never wakes compute for reads
WorkspaceLive FS + agent sessions on the drive
DispatchChannels/triggers, run minting, sandbox lifecycle, durable pause

Durable pause

When a run waits on a person, the pause is a database row, not a live process. Machines shut down; when the answer arrives, dispatch resumes at the right spot.

See also: Triggers, Run lifecycle.