What a Workflow Is
A workflow is a YAML-defined execution plan used by the manager stage engine. Each workflow includes:iddescription- ordered
stages
main as the CEO inbox (escalation/notification target).
Built-in vs Custom Workflows
ClawControl loads workflows from two sources:- Built-in workflows (shipped with the app): read-only
- Custom workflows (stored in the workspace under
/workflows/*.yaml): editable
- Built-in workflows cannot be edited or deleted.
- Built-ins can be cloned to create editable custom versions.
- Custom workflow IDs must be unique across built-in and custom registries.
Workflow Selection Rules
Workflow selection is deterministic and is loaded from:- built-in selection config:
config/workflow-selection.yaml - optional workspace override:
/workflows/workflow-selection.yaml
Manager Engine Contract
All non-system work executes through:work order -> workflow stage -> operation -> completion -> next stage
The engine reads workflow definitions at runtime from the merged registry (built-in + custom).
Workspace Snapshot Files
On workflow/selection changes, ClawControl writes merged snapshots to the workspace:/workflows/clawcontrol-resolved-workflows.yaml/workflows/clawcontrol-resolved-selection.yaml
UI Surface
Use the Workflows UI surface to:- list workflows (built-in + custom)
- inspect stages and usage
- create/edit custom workflow YAML
- clone built-ins
- import workflow YAML
- export workflow YAML
- export package artifacts
API Endpoints
See the API reference for the full list of workflow endpoints.Strict Live Desktop Validation
ClawControl ships a strict workflow harness for desktop runtime validation with real workorders and real dispatch sessions:- workorder-only reset on desktop DB
- starter workflow seed
- stage-capable agent checks
- full workflow progression with controlled rework paths
- strict dispatch integrity checks (
dispatch_failed=0, non-null dispatchsessionId)
scripts/reset-workorders-desktop.sqlscripts/run-workflow-real-workorders.mjs
/Users/savorgserver/OpenClaw/tmp/workflow-test-report-<timestamp>.json/Users/savorgserver/OpenClaw/tmp/workflow-test-report-<timestamp>.md/Users/savorgserver/OpenClaw/tmp/workflow-test-server-<timestamp>.log