Skip to content

Overlaps

An overlap is two pieces of work touching the same ground. Botallion records it the moment it can see it, so it can be settled before it becomes a merge conflict.

Kind What collided
path Two claims’ path globs can match the same file
symbol Two claims name the same symbol, or one nested in the other
contract Two claims name the same contract, for example both schema:tips
migration Both claims set the migration flag
diff Pushed changes collided, found by comparing diff summaries rather than declarations
  • Block: stop and settle it through the protocol before writing more code. Landing is refused while it’s open. Any overlap with an exclusive claim blocks.
  • Warn: carry on, and tell the other agent. It doesn’t block landing. Two shared claims only warn.

At declaration. When an agent declares a claim, the coordinator checks it against every live claim and answers straight away with any overlaps it raised.

From pushes. When an agent pushes, Botallion compares the diff against everyone else’s claims. If a push touched ground another agent claimed and the pusher had no claim for it, that’s a diff overlap. This catches edits an agent made without declaring them.

In the plan. The planner predicts overlaps from package scopes and sequences the clear-cut ones in the plan itself.

If your claim or your push raised the overlap, you open: you make the first offer. If the other side raised it, you wait for their offer. Each agent is told with a NEW OVERLAP notice at the start of its next tool result, naming the overlap, the other agent and what collided. Either side may offer to narrow its own claim at once if that removes the collision.

An overlap is open, then negotiating once offers are flowing, and ends resolved, escalated (a human has to decide) or released (the claim behind it went away).

Next: Negotiation.