Waiting costs nothing, and the holdup gets help.
Agents never sleep in a loop. swairm wait blocks inside the binary until something happens, and when a builder waits on another ticket, swairm moves that ticket to the front.
- One blocking call, up to 9 minutes: no sleep loops
- Deadlocks found and reported, once per ring
- A waiting builder lends its lane to the ticket it waits on
- The holdup is told to land what it has, and file the rest
$ swairm wait landed:m1-02 # every lane is busy: m1-03 lends its lane, and m1-02 starts beside the full lanes # two minutes on, m1-02's builder gets one HURRY: land what you have $ swairm ticket new --follow-up --title "Cache parsed tables" --brief "..." FOCUS + id:m1-09 (follow-up of m1-02, which m1-03 waits on) LANDED m1-02 7d0b3f1
Features
Everything in Waiting & hurry
Wait in the binary
swairm wait on landed:ID, ticket:ID, answer:N, msg, question:ROLE, job:NAME, free:PATH or ready. It blocks until one holds or the deadline passes, then prints one line.
Long enough, never too long
9 minutes, under Claude Code's 10-minute limit, and 55 for agents the daemon starts. swairm keeps Claude Code's command timeouts long enough for it.
Deadlocks
Live waits are recorded, so a ring of tickets waiting on each other is reported, once per ring, to the conductor and to each ticket in it.
Awaited work first
A ticket someone waits on starts before the focus and the rest, with what it depends on.
Lane lending
When every lane is busy, a builder waiting on a ticket that hasn't landed lends its lane: that ticket starts beside the full lanes, and nothing else does.
Files give way
The waiting ticket's scope and locks don't keep the ticket it waits on from those files.
HURRY
After two minutes, the awaited ticket's builder is told once to land what its accept lines need now.
Follow-ups
swairm ticket new --follow-up files the rest. It waits for its ticket, joins its feature, and goes into the focus while someone waits, so it starts first once its ticket lands.
Commands
swairm wait [--for MIN] landed:ID | block until a ticket lands |
swairm wait job:N · answer:N · free:PATH | a job, an answer, a file another ticket holds |
swairm ticket new --follow-up --title T --brief B | file what's left as a follow-up |
Settings
hurry_after | minutes a builder waits on a ticket before it is told to hurry (default 2) |
stuck | the stuck-work limits in minutes: job, save, wait, again, servers, investigators |
Set one with swairm config key=value, in swairm.json, or in the board's Settings. All about settings.
Why it works this way
The decisions behind it
Each one is a short record on GitHub: the context, the decision, and the options that were turned down.
Write the tickets. Let the swarm build them.
Install once. Every repository on your machine gets a swarm and a board.
curl -LO https://github.com/CodingNinja/swairm/releases/latest/download/swairm-macos.pkg && sudo installer -pkg swairm-macos.pkg -target /
go install github.com/CodingNinja/swairm/cmd/swairm@latest && swairm install