Documentation / guides
Workflow Runtime
Navigate definitions, supervisors, durable state, recovery, and lifecycle behavior for Workflows.
The runtime subsection explains how a registered workflow becomes a durable, session-owned execution. Start with the Workflows overview, then choose the page that matches the seam you are implementing.
Runtime boundary
The definition page covers the typed contract and catalog lookup. The supervisor page covers activation, leases, workers, start acknowledgement, and shutdown. The state and history page explains which durable record owns each fact. The interruption and resume page covers checkpoint adoption and validated continuation input. The lifecycle page covers statuses, cancellation, and failure.
%%{init: {"theme":"dark"}}%%
flowchart LR
D[Typed definition] --> C[Catalog]
C --> S[Supervisor]
S --> F[Flow runner]
F --> K[Checkpoint]
S --> R[Run and activity records]
Choose the runtime page
| If you need to… | Read |
|---|---|
| Define and register a versioned workflow | Definitions and schemas |
| Start or stop session-owned execution | Runtime and supervisors |
| Separate graph state from run metadata and activity | State, checkpoints, and history |
| Recover, interrupt, or resume a run | Interruption, resume, and recovery |
| Interpret status transitions or cancellation | Statuses, cancellation, and failure |
For graph construction and graph-level interrupts, use the Flow graph composition guide. For tool exposure and Harness registration, use the Workflow tools subsection.