Baton finds no harness
Runbaton doctor. It lists each harness binary it found on PATH and the auth source for each one.
If a harness is missing, install its CLI and run baton doctor again. For a harness installed in a nonstandard location, add its directory to PATH before you start Baton.
A harness reports a missing key
~/.baton/config.json, or in the harness’s own settings. See Harnesses and auth.
A turn is stuck or marked unverified
A turn becomesunverified when the harness process ends without a clean completion, for example after a crash.
/status names the phase and the adapter state. /retry starts a new turn from a failed or unverified turn on the same harness. It refuses a thread with open work or a different harness.
A restore is refused
/rewind and baton restore refuse some targets on purpose.
- The repository’s main checkout is shared by other threads, so a restore there needs
--forceon the command line. - A checkout with open work from another thread is refused.
- The conversation rewind still completes when the file restore is refused, so you can continue.
Approvals or questions came from a worker
A worker can ask withBATON_QUESTION:. The run becomes needs_input.
A commit or push is refused
Baton refuses a commit when another thread has open work in the same repository, when a merge, rebase, cherry-pick, or bisect is in progress, or when the branch, HEAD, or file set changed since the preview. A push is refused when the upstream is behind, when HEAD moved, or when the update is not fast-forward. Baton never forces.The terminal looks wrong
- Run with
NO_COLOR=1to draw without palette colors. - Run with
TERM=dumbfor the same result whenNO_COLORis not an option. - A 16-color terminal gets a smaller palette with the accent, success, error, and warning colors kept distinct.
Baton says the terminal is not interactive
The TUI needs an interactive stdin and stdout. In a script, a pipe, or a CI job, usebaton exec instead.
Reset the local state
Baton stores state in~/.baton, or in BATON_HOME when that variable is set. Set BATON_HOME to a fresh directory to start from clean state without deleting the old one. Checkpoints are git refs in each repository and are not affected.