swairm
Wait

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

Features

Everything in Waiting & hurry

01

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.

02

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.

03

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.

04

Awaited work first

A ticket someone waits on starts before the focus and the rest, with what it depends on.

05

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.

06

Files give way

The waiting ticket's scope and locks don't keep the ticket it waits on from those files.

07

HURRY

After two minutes, the awaited ticket's builder is told once to land what its accept lines need now.

08

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:IDblock until a ticket lands
swairm wait job:N · answer:N · free:PATHa job, an answer, a file another ticket holds
swairm ticket new --follow-up --title T --brief Bfile what's left as a follow-up

Settings

hurry_afterminutes a builder waits on a ticket before it is told to hurry (default 2)
stuckthe 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.

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 /