The baton
The run record
What was done, what it cost, and what to check.
Every takeover writes one small JSON file so that whoever reviews the work, you or Claude, starts from facts and not from a story.
Where it is
.frontier/baton/runs/<runId>.jsonThe run id is the baton stamp plus the process id, for example 2026-11-18T09-30-05Z-4812. The folder is kept out of git by the .gitignore inside .frontier/baton. .frontier/baton/latest.json points at the current baton and its run.
What it holds
| Field | Meaning |
|---|---|
runId, batonStamp | Which takeover, and which baton it came from. |
host | claude-code, or manual when you ran the command yourself. |
checkpointRef | The git ref of the checkpoint, such as refs/frontier/baton/<stamp>. |
where, workFolder, branchName | Here or worktree, the folder it worked in, and the branch for a worktree. |
maxUsd, costUsd | The cap, and what was spent. |
turns, models | How many turns ran, and which models answered. |
filesChanged | The files that changed, up to 500. |
lastTestPassed | true, false, or null when no test ran. |
state, startedAt, endedAt | running while it works, finished when done. |
The record is written when the takeover starts and closed from the process exit handler when it ends. If the process dies without running that handler, the record stays at running, and Relief treats a run whose process is gone as crashed, so it can be taken again.
A takeover that ends at a question nobody answered, or before any turn completed, is written as stopped instead of finished, with a stopReason of waiting_for_answer, no_turn_completed or spend_cap. The baton is marked stopped too, and frontier continue --baton can pick it up again. The reason is always one of those fixed words, never text from a model. It was seen on 2026-11-20 when a takeover ran with no terminal: it stopped at its first approval, the record said stopped with waiting_for_answer, and nothing was spent.
Releases before 2.0.3 do not have this: a takeover that stopped at a question nobody answered could be written as finished with 0 turns, which looks like success. If you run an older release, read turns and filesChanged before you trust a finished record.
What it does not hold
It does not hold prompts, answers or file contents. It is counts, names and costs. The reasoning is in the diff and in the checkpoint, which you can read yourself. See Checkpoints.
How Claude reads it
Claude reads it from disk like any file in the project. A tool that returns it through MCP is planned as part of Return and review.