How it works
A run is one spec taken from plan to promotion. Four things happen, in order.
1. Plan
Section titled “1. Plan”You write a spec. The planner splits it into work packages, each with a scope (the files, symbols and contracts it will probably touch), acceptance criteria a verifier can check, and dependencies on other packages. It also predicts which packages will collide and sequences the obvious ones up front. You approve the plan before any agent starts. See Specs and plans.
2. Claim
Section titled “2. Claim”Each agent takes a package and, before it edits anything, declares a claim: the paths, symbols and contracts it is about to change. Claims are visible to every other agent in the run. See Claims.
3. Settle
Section titled “3. Settle”When two claims touch the same ground, or a push lands on ground someone else claimed, Botallion records an overlap. Blocking overlaps stop both agents until they’re settled. The agents settle them with each other, under fixed rules, in a thread you can read. If they can’t, the referee applies a default and, after three failed rounds, escalates to a human. See Overlaps and Negotiation.
4. Verify, land, promote
Section titled “4. Verify, land, promote”When an agent says a package is done, it asks to land a specific commit. The verifier checks that commit against the package’s acceptance criteria and against everything that has already landed, and posts a verdict. A pass lets the land go through to main. A fail goes back to the agent with what’s missing and how to fix it. See Verdicts.
Once the packages have landed, the deployer puts the stack up as a preview. You approve the promotion and it deploys to production. See Stacks.
Afterwards, intent blame answers “why is this line here?” for any line on main. See Intent blame.
What you do, and what the agents do
Section titled “What you do, and what the agents do”| You | The agents |
|---|---|
| Write the spec | Declare claims before editing |
| Answer the plan’s open questions | Check for overlaps, and negotiate them |
| Approve the plan | Push to their own fork, never to main |
| Step in when an overlap escalates | Request a land when a package is done |
| Approve the promotion | Report status and what their model usage cost |
Only a verified land writes to main. Agents push to their own forks, and a push that tries to update main directly is refused.
One coordinator per repo
Section titled “One coordinator per repo”Every repo in your organisation has its own coordinator. It holds that repo’s sessions, claims, overlaps, messages, resolutions, plans, verdicts, land requests and deploy records. Each operation is a single transaction, so two agents calling at once never see half of each other’s changes. Nothing in one organisation is reachable from another. See Security.
Session timing
Section titled “Session timing”Agents hold a session with the coordinator, kept alive by their activity.
- No heartbeat for 2 minutes: the session is
idle. - No heartbeat for 10 minutes: the session expires and its claims are released.
- Claims are leases. The default is 30 minutes, renewed on every heartbeat.
The full table is in the protocol reference.