workflow.md is assembled from independent frontmatter blocks, one per
concern. Pick the blocks you need, stack them under one --- fence with an
id, version, and agent, then validate. Agents: this page plus the
Workflow Schema is enough to assemble any
workflow — you do not need the rest of the docs in context.
Identity (always required)
Agent (always required)
Selection & fallback (optional)
Budget
Sandbox
Tools
Retry & failure fallback
Review consensus
Cache
Provider knobs (Headroom, thinking, permissions)
State machine
Workpad & evidence
Validate, then dispatch
Assemble blocks → validate (think_workflow_md_validate from an agent
session) → dispatch through Cadence. Complete worked combinations are in the
Cookbook.