swairm
Land

Nothing lands until its checks pass.

Two builders never edit the same file, every check runs against the exact commit it tested, and landing is the only step that moves your base branch, one ticket at a time.

  • One building ticket per file: scopes and locks
  • Accept checks run in a clean environment, on the exact commit
  • Rebased first, then squashed, rebased or merged: your choice
  • A conflict names the tickets that changed your files

Features

Everything in Files & landing

01

File ownership

A live ticket owns a file by its scope or by a lock taken at save. Six or more changed files in one directory lock the directory. Lockfiles and generated files (shared) are never locked.

02

Locks follow the branch

Undo a change and the file is free again.

03

Files give way

A building ticket's scope and locks don't stop one of its deps, or a ticket its builder waits on, from starting and editing those files.

04

Checks you can trust

Each accept command runs in a cut-down environment (PATH, HOME and your env), and its result is kept against the commit, so done reruns only what changed.

05

Narrow checks

A check tests only its ticket's own changes. One that runs your whole suite is refused: that is the gate's job.

06

The same failure twice

STUCK goes to the conductor, and the builder is told to ask rather than retry.

07

One lock, fast-forward only

Under one landing lock the ticket is rebased onto the base and lands, and the base only fast-forwards.

08

Your merge strategy

merge_strategy: squash (one commit <id>: <title> with an Agent-Task trailer), rebase (the ticket's own commits) or merge (a merge commit).

09

Conflicts with context

CONFLICT names the files and who changed them on the base: each ticket by id and title, any other commit by hash and subject. Builders rebase; they never merge the base in.

10

Review only where it's needed

Accept lines without a command go to a reviewer agent, which accepts or bounces the ticket with a reason.

Commands

swairm save "note"commit, take locks, rebase onto the base
swairm donerun every accept check, then land
swairm review <id> accept|bounce "why"the reviewer's verdict
swairm doctor --fixreturn stale claims to ready, clean up finished worktrees

Settings

basethe branch tickets land on (default main, else master)
merge_strategyhow a ticket lands after it is rebased: squash (default), rebase or merge
sharedglobs never locked (lockfiles, generated files)
dir_lock_atthis many changed files in one directory lock the directory (default 6)
envvariables for every check, the gate and every job; checks get no others
heavy_checkswords that make a check heavy, so it waits for a heavy slot

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 /