/roles shows the resolved rows for this machine, including any override you added. baton roles --json returns the same registry as JSON.
How one run flows
A task starts only after every task it depends on completes. A failed or skipped dependency skips its dependents and leaves the runpartial or failed.
A worker that changes files commits as baton worker: <title>. The reviewer reads that commit and the implementor’s evidence, and returns APPROVE or REQUEST_CHANGES with concrete reasons. /runs opens the report where you can review, integrate, or ship each task.
Override a role
Roles come from two places.~/.baton/roles.jsonsets the harness, model, and effort for a role, and declares hooks.~/.baton/roles/<role>.mdreplaces that role’s prompt.
roles.json.
Ask the orchestrator
A worker that needs a decision writesBATON_QUESTION: in its output. The run becomes needs_input, and the question appears in /questions. Answer it and the run continues; the answer goes back to that worker only.
When a role is not installed
If the implementor’s harness is not installed, Baton falls back to an installed harness for the worker and names the substitution in the run report. The planner receives only installed harnesses, so it cannot assign work that cannot run.Next
Modes
Single mode and orchestrate mode.
Worktrees and checkpoints
Where each worker keeps its files.