Blueprint plate titled Bureau // Night Shift: an overnight build apparatus taken apart into numbered parts. The one part drawn in pink, a thumbs-up sealed in a glass chamber, is the human go.

[ FILE #001 · THE STUDIO’S DELIVERY LINE ]

RUNS ALL NIGHT. MERGES NOTHING IT HAS NOT CHECKED.

Bureau is the delivery pipeline we run on our own repos at Brainhuggers. It takes Linear tickets through spec, build, QA and review inside your repository. Before anything merges, it re-checks CI and the base and pins the exact commit it checked. You choose who presses merge.

git clone --branch v3.9.2 --single-branch https://github.com/KaiaK808/bureau.git "$HOME/bureau-init"

terminal · one source clone at the release tag, then link it and run init (see Install)

[ v3.9.2 · 24.11.2026 · MIT · Claude Code, Codex or both · no backend to host ]

[ PLATE 197 · NIGHT SHIFT · SHOT I OF THE FILM ] [ WATCH THE FILM // 45 S ]

[ FILE #002 · NIGHT SHIFT, THE FILM ]

ONE TICKET. ONE NIGHT. ONE HUMAN GO.

A ticket goes in at night, and the line works it while the studio sleeps. The film ends on a person saying go. You choose who merges, and this is what manual mode looks like.

[ 45 s · sound on · English captions ]

[ WHAT THE FILM COMPRESSES ]

  1. 01Stripped means removed from the environment of code the branch controls.It filters the environment. Files readable by the same account stay readable.[ README.md:14 ]
  2. 02On the automatic route, the merge is pinned to the head the gate checked.In manual mode a person merges. Binding a person’s approval to one exact commit is an optional add-on, in either mode.[ docs/recipes.md:421 ]
  3. 03The 198 test files are the tests/test_*.sh files the runner picks up at v3.9.2.The count moves with every release.[ tests/run.sh:46 ]
  4. 04The disposable copy is for background runs.Work in your own session uses your current checkout.[ docs/stage-protocol.md:3 ]
  5. 05The rival model is a setting: review can run on another vendor’s model.It is opt-in.[ docs/recipes.md:200 ]
  6. 06Budgets cap provider calls, tokens or wall time per ticket.They are off by default.[ docs/configuration.md:349 ]
[ TRANSCRIPT ]

Bureau has no screen. So we drew it open.

A ticket goes in. I go to bed.

Every run gets its own disposable copy.

Service secrets? Stripped.

Prompt injection? We attack ourselves first.

A rival model tries to take it apart.

Every merge bolted to the reviewed commit.

Budgets. A kill switch. A hundred and ninety-eight test files. All night.

Almost.

One part of this machine never got automated. Me.

I need sleep. I have opinions.

Go.

Autonomy, with receipts.

Brainhuggers Bureau. Investigate. Build. File reports.

[ FILE #003 · THE GATE ]

WHAT HAPPENS BETWEEN APPROVED AND MERGED.

Most agent stacks stop at “the agent says done”. Bureau keeps going: who checks, on which commit, and who may press merge.

  1. PINNED REVIEWReview inspects the pinned PR head against its real target branch.An approval alone never authorizes a merge.[ docs/recipes.md:211 ]
  2. THREE SPECIALISTSReview runs separate correctness, security and performance passes and merges them into one verdict.All passes use the review stage’s selected provider.[ ADR 0011:20 ]
  3. FLOORSDeterministic security and build floors can override an optimistic model verdict.[ ADR 0011:33 ]
  4. RECHECKRight before merging, the gate checks CI and the current PR base again, independently of each other.This is the automatic route; manual mode hands the last step to a person.[ ADR 0002:22 ]
  5. PINNED MERGEThe merge is pinned to the head the gate checked, with --match-head-commit, and the target is read again after the merge.[ docs/configuration.md:680 ]

WHO MERGES

AUTO · DEFAULTThe gate merges the head it checked, only if every gate passes.[ docs/configuration.md:680 ]
MANUAL · YOUR CHOICEApproved work parks for a person. Needs a Merge state in your Linear workflow.[ README.md:13 ]

[ ON BY DEFAULT ]

  • CI and base re-checked right before merge
  • Head pinned with --match-head-commit
  • Review on the pinned head
  • Security and build floors over the model’s verdict
  • Ticket-state kill switch
  • Disposable worktrees for background runs

[ OPT-IN, YOU TURN IT ON ]

  • Human merge (manual mode)
  • Review by another vendor’s model
  • Per-ticket budgets
  • Semgrep and Trivy evidence
  • Human approval bound to one exact commit

[ FILE #004 · THE NEIGHBOURS ]

WHO ELSE CHECKS THE AGENT’S WORK, AND HOW.

ToolHomepage promisePrimary actionWhat the page says about checking agent work
BureauLinear tickets through spec, build, QA and review in your own repoInstall from the release tagReview on the pinned head, CI and base re-checked before merge, merge pinned to the checked commit, owner sets who merges
AiderAI pair programming in your terminalGet StartedLints and tests after every change and fixes what it finds
FactoryPlan, build, review and ship software with autonomous agentsGet StartedCode review with inline comments, QA with test generation, automated validation
CrewAIAn enterprise build and runtime platform for agentsBook a DemoHuman-in-the-loop approval gates during execution, evaluation integrations
B1 FrameworkBuild enterprise applications with your AI agentsRequest a framework demoSchema checks and scoped tools per agent; review and tests left to your team in Git

What each homepage says, read on 25.11.2026 and summarised in our words. These are different kinds of products, and we have not tested theirs. The column that matters to us is the last one.

[ FILE #005 · THE LINE ]

TRIAGE TO MERGE. LINEAR AND GIT ARE THE MEMORY.

Every ticket walks a fixed path through Linear states. State lives in Linear and Git; there is no application backend to host. Each stage can run on Claude or Codex.

  1. TRIAGEshepherd · claims ticket · cuts branch
  2. SPECspec · spec · plan · tasks.md
  3. SPEC REVIEWspec-review · spec-digest comment
  4. [DESIGN]ux · design notes
  5. BUILDimplement · branch · PR
  6. [QA]qa · tests · evidence
  7. BUILD REVIEWcode-review · verdict on pinned headneeds-human → parked in the human queue
  8. MERGEgate or a person · pinned to checked headbase moved → back to a fresh build review
  9. DONE— · ticket closed

Bracketed stages run when enabled in .bureau.json. A needs-human hold pauses background pickup until a person resolves the blocker and removes the label. [ README.md:5 ][ README.md:9 ][ README.md:73 ]

[ STAGE TABLE ]
StageInput stateAgentOutput→ state
SPECTriagespecspec.md · plan.md · tasks.mdSpec Review
SPEC REVIEWSpec Reviewspec-reviewspec review commentBuild
[DESIGN]Designuxdesign notesBuild
BUILDBuildimplementfeature branch · PRQA / Build Review
[QA]QAqamissing tests · evidenceBuild Review
BUILD REVIEWBuild Reviewcode-reviewverdict on the pinned headMerge
MERGEMergemerge gate / a personmerge pinned to the checked headDone

[ FILE #006 · SAFEGUARDS ]

EACH GUARD, WITH ITS LIMIT IN THE SAME SENTENCE.

  1. Close-up from the film: a press stamps a blank card, the disposable copy each run gets.

    Each background run gets its own disposable worktree. Direct background stage execution in your checkout is refused.

    App tasks use the current checkout.

    [ docs/stage-protocol.md:3 ]
  2. Close-up from the film: a perforated disc, the sieve that strips service secrets.

    Branch-controlled code runs with Bureau’s service secrets and their environment carriers removed.

    This filters the environment. Files readable by the same account stay readable.

    [ README.md:14 ]
  3. Detail of plate 197 from the film: the SPEC box, with the kill switch: present line marked.

    Moving a ticket out of the active states stops its background work.

    The stop happens at cooperative checkpoints, so a call already running finishes first.

    [ docs/configuration.md:307 ]
  4. Detail of plate 197 from the film: the SPEC box, with the budget: optional line marked.

    Optional per-ticket budgets cap provider attempts across stages, worktrees and restarts.

    Budgets are off by default.

    [ docs/configuration.md:349 ]
  5. Close-up from the film: the pink thumbs-up in its glass chamber, the one part that is a person.

    A needs-human label parks a ticket. Background pickup skips it until a person removes the label.

    The pipeline stops. It does not decide for you.

    [ README.md:9 ]

[ FILE #007 · SCOPE ]

BUREAU IS NOT:

  • A hosted service.No sign-up, no backend. State lives in Linear and Git.[ README.md:5 ]
  • A sandbox.It filters secrets out of the environment. It does not hide files the same account can read.[ README.md:14 ]
  • Proof against prompt injection.The hostile-input set tests Bureau’s own decisions after an agent obeys an injection, not whether the model resists it.[ docs/provider-runtime.md:106 ]
  • A wall around GitHub.An agent that calls gh pr merge or pushes to the base directly is a known open case in that test set.[ docs/provider-runtime.md:110 ]
  • A replacement for branch protection.Human approval binds a merge only when branch protection requires its status.[ docs/recipes.md:442 ]
  • Ready for unattended use on day one.Qualify one representative live ticket before you let it run alone.[ README.md:61 ]

[ FILE #008 · INSTALL ]

ONE CLONE. ONE INIT. ONE TICKET FIRST.

Requires: Python 3.9+ · Bash 3.2+ · Git 2.26+ · jq · curl · specify-cli 1.2.2 · Linear API key · authenticated gh · Claude CLI and/or Codex CLI · tmux and Node.js 18+ for continuous runs.

01git clone --branch v3.9.2 --single-branch https://github.com/KaiaK808/bureau.git "$HOME/bureau-init"

terminal · one source clone, pinned at the release tag

02mkdir -p "$HOME/.claude/skills" && ln -s "$HOME/bureau-init" "$HOME/.claude/skills/bureau-init"

for Claude Code · for Codex, link the same clone into $HOME/.agents/skills

03/bureau-init --target claude

in your repo · Codex: $bureau-init --target codex · both hosts: --target both

04bash scripts/bureau-tick.sh --no-merge

one bounded stage on one ticket, stopping before merge · qualify a live ticket before unattended runs

Upgrades select another published tag. Full steps, Codex app tasks and continuous runs are in the README and the docs. [ README.md:38 ][ README.md:46 ][ README.md:58 ][ README.md:61 ]

[ FILE #009 · PROOF ]

NUMBERS YOU CAN OPEN.

[ FIELD LOG · BEFORE IT WAS PUBLIC ]

Before it was public, Bureau ran on a private Rust CLI of ours, on an earlier version than today’s.

PERIODApril to June 2026
MERGED96 pull requests merged from pipeline ticket branches
PARKEDAbout 15 tickets flagged for a human, roughly 1 in 7

Recounted on 25.11.2026 from the repo’s merged pull requests and its Linear labels. The repo is private, so these two numbers cannot be checked from outside. The label count is today’s state, not a log of every park.

[ FILE #010 · THE STUDIO ]

BUILT BY THE STUDIO.

Brainhuggers Bureau is a venture studio. Bureau is how we ship our own products: tickets in at night, a gate before main, a person where it counts.

Twenty years of shipping code inside agencies (Fork, JvM, Valtech) went into what this pipeline refuses to do.

If you want this kind of delivery inside your team, write to us. Bureau itself is maintained by one person, so issues get a best-effort reply.

Delegation, aber ernst gemeint.