Skip to content

bunkerLabel an issue. Get back a merged pull request.

Claude coding agents work your GitHub issues in locked-down sandboxes, a second agent reviews, your tests decide, and GitHub's required checks guard the merge.

bunker

TL;DR: why use bunker? ​

  • Your backlog moves while you do something else. Label the small, well-defined issues you never get to; come back to reviewed, tested pull requests that are already merged, or a clear reason why one couldn't be done.
  • You get AI-written code without handing over the keys. The agent works in a sandbox with no access to your tokens or SSH keys, a second agent reviews it, and your tests and GitHub's required checks decide what merges.
  • You stay in charge. Only you can queue work, changes to CI or bunker's own rules always wait for a person, and everything arrives as a normal PR you can read.
  • It's cheap and measurable. About $1.10 of agent time per merged issue on bunker's own repo, with daily and monthly spend caps, and bunker status shows what it did and why.

Not for you if: your repo has no tests or CI to gate on, the work is a big redesign rather than issues you could describe in a few lines, or you don't want to read the PRs it opens.

See it ​

How it works

One issue, start to finish

  1. 1 · YouPick a jobLabel a GitHub issue for bunker.
  2. 2 · BunkerCheck it's youOnly maintainers can queue work.
  3. 3 · AIWrite itIn a sandbox, on its own branch.
  4. 4 · AIReview itA second agent sends it back if needed.
  5. 5 · BunkerTest itYour tests, with one fix round if red.
  6. 6 · GitHubMerge itRequired checks pass, auto-merge lands it.
Waits for you when it changes its own rules or CIFlags it with the reason when it can't finish

Running unattended

Set it watching, check in when you like

  • Works the queue in priority order · bugs first
  • Two issues at once, each in its own sandbox
  • Keeps open PRs green: fixes failed checks, resolves conflicts
  • Daily and monthly spend caps
  • A live view, desktop notifications, and bunker status
$ bunker status
watcher: alive · 0.1.0 · up 3h09m
 
current run:
  #349 · implement for 10m11s
 
queue:
  1. #363 docs: bring every doc in line… (bug)
  2. #349 chore: remove pre-1.0 shims…
 
spend: $44.83 in 24 h

Safety

Built to be left alone

  • Only a maintainer's label queues work; edited issues are refused
  • Comments from strangers never reach the agent
  • The agent never sees your GitHub token or SSH keys
  • The repo's git internals are read-only inside the sandbox
  • Tests run with no network and no credentials
  • Changes to CI, bunker's config or agent instructions wait for a person
  • Nothing merges without a required check on GitHub
  • Every safety gate has a test that fails if it breaks

It built itself

Four days of bunker working on bunker

201pull requests written and merged by bunker
43written by hand: the first spike, the security fixes, releases and the docs
979tests guarding about 12,300 lines of code
$1.10average agent cost per merged issue

247 CI runs on main, 3 red (all during one flaky-test window, since fixed), 0 reverts. Numbers from the repo's own run logs and GitHub history on 2026-10-20.

Install ​

sh
curl -fsSL https://raw.githubusercontent.com/dbggr/bunker/main/install.sh | sh

The installer checks git, Bun, Docker, the GitHub CLI and Claude Code first, and never installs them for you; it links each missing one's install page.

Your first issue ​

sh
cd your-repo
bunker init          # tokens, setup and verify commands, sandbox image, labels
bunker doctor        # every ✓ and ✗, with the fix for each ✗
bunker issue 12      # one issue, start to finish, and watch it work
bunker watch         # then work everything labelled bunker:queued, unattended

Built with bunker ​

In its first four days bunker wrote and merged 201 of its own pull requests (43 more were written by hand), with 979 tests and no reverts on main, at roughly $1.10 of agent time per merged issue (as of 2026-10-20). The numbers and the failures are in the v1.0 readiness review.

Pre-1.0

bunker works its own repository every day, but flags, config keys and labels can still change before 1.0.

bunker was inspired by Matt Pocock's sandcastle, a toolkit for building agent loops. bunker is one opinionated loop, from issue to merged PR, with the queue, review, merge and unattended safety built in.

Released under the MIT License. Brought to you by a [true.engineer].