compiled and mux:
Start and resume
X-Workflow-Run-ID. Responses contain run_id, workflow, status, and output or interruptions. Status is running, paused, completed, or failed.
Copy the returned run ID and interruption call ID into the resume request:
Namespace and application context
HTTPConfig.NamespaceResolver selects the authorized namespace; nil or empty selects default, and a resolver error returns 403. RunContextResolver supplies trusted context for MCP credentials and nested agents. Authenticate before these resolvers run.
Clients provide business input and decisions, not checkpoint statuses, continuation state, or namespace metadata.
Storage and limits
Checkpoints are in memory per handler. A process restart loses them, and another replica cannot resume them. The defaults are a 1 MiB request body, 1000 runs, and expiry one hour after the latest execution finishes. AdjustMaxBodyBytes, MaxRuns, and RunTTL to fit the service. Running executions are not evicted; a full handler returns 503 for new starts.
For persisted, distributed runs, use the Go registry API with application-owned checkpoint storage and an API implementing the required concurrency controls. This handler does not become persistent by sharing a registry or using Temporal elsewhere. The embedded chat UI does not list these independent workflows.