Skip to content
davidpp.com

kabane loopextension

Give it a parent issue. Get back a reviewed branch.

kabane loop start JMYA-1 runs each subtask through Claude Code, Codex or Gemini on your machine, blockers first. Your gates check the work, lenses review the diff, and the branch waits in a worktree of its own.

One run, from a key to a branch

a on JMYA-1 opens the run form: the plan, your settings, and what the advice would change, each with its reason. enter starts it.

Alex’s terminal: kabane

The work comes back checked

  • Blockers first, the rest side by side

    The run takes what’s ready, up to your sessions at once, and the rest as their blockers close. It never claims a subtask you parked or took.

  • Your gates decide what’s done

    The commands you set as loop.gates run after the work, in its worktree. A red gate puts a done subtask back to next.

  • Lenses review before it lands

    Triage reads the diff and picks which lenses review it, with a reason for each one it skips. functional and quality ship with the loop.

  • Ask for a tier, not a model

    Tag a subtask tier:frontier or tier:fast, and loop.tiers maps each tier to a model on each harness. When models change, change the mapping, not your issues.

  • The branch waits for you

    Each run works in its own worktree and branch, checkpointed as work passes the gates. Keep it for review, or set loop.land to open a pull request or merge.

  • Any agent can set one up

    Ask a session on kabane’s MCP server to set up a loop for JMYA-1. It reads the loop-run skill, checks kabane_loop_advise, and waits for your yes.

Read the advice, then start

kabane loop advise changes nothing. It prints what it would set and why, and the model each subtask gets.

start

kabane loop advise <issue>
the advice for the plan, and how each subtask routes
kabane loop start <issue>
start a run, with the flags you give it

follow

kabane loop status [<runId>]
every run, or one run’s claims and questions
kabane loop answer <questionId> <option>
answer a session’s question
kabane loop pause|resume <runId>
hold a run, or restart one whose runner died
kabane loop stop <runId>
cancel its sessions and release their work

steer

kabane loop skip|next <subtask|issue>
keep the run off a subtask, or let it back
kabane loop rollback <runId> <sha>
go back to a checkpoint

land

kabane loop land <runId> [--land pr|merge]
land a finished run’s branch
kabane loop prune
remove worktrees whose work is merged
Alex’s terminal: kabane loop advise JMYA-1

Start your first run

The loop ships with kabane. Turn it on, and the next issue you hand it comes back as a branch.

Release
curl -fsSL https://github.com/davidpp/kabane/releases/download/v2.0.0-beta.3/install.sh | sh -s -- --version 2.0.0-beta.3

macOS and Linux. kabane update takes the next beta.

  1. Install kabane, and Claude Code, Codex or Gemini, logged in.
  2. Turn the loop on at first-run setup, or add it with kabane config set extensions loop --layer global. A set replaces the list, so name every extension you use.
  3. Map the tiers to models you have: kabane config set loop.tiers.claude.fast haiku.
  4. In a git checkout with a commit, press a on an issue, or run kabane loop start <id>.
Read the loop guide