Agent Traffic Control

Air traffic control for coding agents. When several agents and people work on the same repository, ATC shows who is in flight, on which issue, touching which files. Nobody picks up work someone else is already doing, and nobody finds out at merge time that two branches rewrote the same lines.
$ atc
ATC · acme/widgets observed 14:02 UTC
9 contributors · 41 open issues · 12 open PRs · 2 agents active here · 1 duplicate attempt
Agents in flight on this machine
#212 Router drops the trailing slash working just now
#215 Parser rejects unicode working 2m ago
#219 Document router options blocked 4m ago
In flight: who is working on what
#221 Retry on 502 from the upstream @dana claimed, PR #224 @dana draft
#212 Router drops the trailing slash you claimed, PR #226 you draft
#208 Cache headers on static files @lee claimed
#187 Timeout option for fetch PR #190 @sam, PR #201 @kai
Contested files: more than one open PR changes them
src/router.js 3 open PRs: #226 you, #224 @dana, #198 @lee
Duplicate attempts
#187 Timeout option for fetch 2 PRs by different people: #190 @sam, #201 @kai
Ready to pick up
#230 Add a timeout option help wanted atc check 230
Why
Run four agents on one backlog and two of them will pick the same "good first issue". Two more will edit src/router.js on separate branches, and the second pull request will conflict with the first. Nobody can see the others, so the work gets done twice and then untangled by hand.
ATC gives every agent, and every person, the same view of the airspace before they take off:
- Who is working on what. Claims, GitHub assignments, open pull requests that link an issue, and the agent sessions running on your machine, all on one board.
- Whether an issue is taken.
atc check 42 answers free, yours, claimed by someone else, or taken outside ATC. An agent starts only on free or yours.
- Whether your change will collide.
atc overlap test-merges your working tree against every open pull request and every other local worktree that touches the same files, and names the files that will conflict.
- Work being done twice. The board lists issues that already have pull requests from more than one person.
Coordination needs no bot, server, GitHub Action or database; the CLI replays GitHub comments with your own gh login. Optional public check-in viewers store expiring activity separately and cannot grant claims.
What counts as "in flight"
| Signal | Who sees it | How it gets there |
|---|
| An ATC claim | Everyone | atc claim 42 posts a one-line /atc claim comment on the issue |
| A linked pull request | Everyone | Any open pull request, draft or not, whose description says Fixes #42 |
| A GitHub assignee | Everyone | Ordinary issue assignment |
| A local agent session | Every worktree of your clone | atc start 42, then atc pulse while it works and atc land when it stops |
| A shared agent session (experimental) | Everyone who can fetch the repository | The same commands, once the repository opts in with "presence": "git" |
Agent sessions stay in your clone unless the repository enables sharing, and expire five minutes after the last check-in.
Sharing sessions through git (experimental)
This is experimental. It hasn't been tried on a real team yet, and the ref format or setting may change.
A team that wants every agent on the board, on every machine, adds "presence": "git" to .github/atc.json. Then atc start, atc pulse and atc land also push this clone's sessions to the repository's GitHub remote, under a ref named by a random per-clone ID, refs/atc/presence/<16 hex>. atc board fetches everyone's and shows other clones' agents as "another machine", and atc who <file> says how many of them are changing that file. There's still no server: it's a fetch and a push with --force-with-lease. These refs don't show up as branches and don't notify anyone.
Shared presence is anonymous. A shared session holds only a session number, an issue number, a state, a check-in time and salted hashes of the file paths its worktree is changing. It holds no GitHub login, name, email, file name, title or token, and its commit carries a fixed author and timestamp, so it reveals no timezone. who matches files by hashing its own path the same way. GitHub still knows which account pushed each ref, as it does for any push. Sharing needs push access, so it suits your own projects and teams. Git doesn't check who pushed a ref, so shared presence is advisory, and claims stay as /atc comments that GitHub ties to their author.
Public check-ins