Right now there are six Claude Code agents working on Freebo. Not six tabs I’m switching between — six independent processes, each on its own branch, each in its own directory, each with no idea the others exist. One of them is fixing a save-timeout bug. Three are building features for a tenant. One is cleaning up a payments PR. One is re-reading the brief for a monorepo migration I haven’t said yes to yet.
I’m the only person on the team. The repo has 27 open PRs and runs in production with real users on it. The thing that keeps it from catching fire isn’t that the agents are smart. It’s that none of them can touch main and none of them can see each other’s filesystem.
The physical layout
Every agent gets a git worktree. Not a branch, a worktree. If you’ve never used them, the short version: git worktree add gives you a second checkout of the same repository in a different directory, on a different branch, sharing the same .git. You can have as many as you want. Each one is a real filesystem the agent can cd into, run npm install in, and edit without ever seeing another branch.
Mine live here:
~/Documents/FreeboDecember/ # main checkout, I use this
~/Documents/FreeboDecember-wt/wallets # agent c5b79024 — Apple/Google Pay
~/Documents/FreeboDecember-wt/hold-save # agent 83e3bc35 — hold timeout fix
~/Documents/FreeboDecember-wt/t-dash # agent 30939915 — tenant dashboard
~/Documents/FreeboDecember-wt/t-notify # agent 0dbc17e4 — tenant notifications
~/Documents/FreeboDecember-wt/t-embed # agent 8f0a52f1 — embed scroll fix
~/Documents/FreeboDecember-wt/stack # agent ddd2bd9a — stacked PR series
Seven directories. Six agents plus me. Same .git, seven different HEADs.

The coordinator
There’s a seventh Claude Code process. I call it coord. It doesn’t write code. Its whole job is to take goals from me — “fix the hold save timeout,” “ship wallet pay on mobile” — and turn them into agents in worktrees.
coord → creates worktree → spawns agent → owns the branch
↓
watches PRs, reports status, never merges
When I say “build the X feature,” coord runs git worktree add with a fresh branch name, starts a pstack agent pointed at that directory, hands it the brief, and writes a one-line status row to a shared status file. When the agent opens a PR, coord watches CI. When CI is green, coord does not merge. It tells me the PR is ready and shuts up.
That last part is where most multi-agent setups fail. The temptation is to let the coordinator ship. Don’t. A coordinator that can push to main is a coordinator that can take down production at 3 a.m. while you’re asleep.
The gate between agent work and main
Every PR has to pass Gate A before it merges. Gate A is a shell script (scripts/gate-a/gate-a.sh) and a runbook. It spawns a different fresh agent — one that didn’t write the code — on a scratch stack, has it drive the PR’s actual user-visible surface in a real browser, and writes a verdict to docs/ops/verdict-ledger.tsv:
PR SHA lane verdict timestamp
844 a1f3…c8e2 checkout-wallet live-ui-verified 2026-12-03T14:12:08Z
The agent that wrote the code never gets to sign off on the code. The agent that drives the browser is often on a different model family — Codex instead of Claude, routed through a herdr pane — specifically so both don’t share the same blind spot.
Then scripts/gate-a/ready.sh <PR> checks three things:
- CI is green at the exact HEAD SHA.
- A
live-ui-verifiedverdict exists at that same SHA. - No gate run is in progress for this PR.
If all three are true, the PR is ready. I say yes. A separate command, fd land, is the only path to main, and it refuses without the ready signal and logs my literal words to a file.
Agents never merge to main on their own. Only after Brett says yes to that exact PR.
— pstack rules
What the whole loop looks like
The whole thing is boring on purpose. There is no magic. No agent is smart enough to override the ready check. No coordinator is trusted enough to merge. The verdict file is a tab-separated spreadsheet. The “gate” is a shell script with a 400-line runbook. The agents are powerful; the leash is dumb on purpose, because a dumb leash doesn’t get clever when it’s tired.
The number isn’t six
Six is just what fits on the laptop today. There’s no architectural limit — I’ve run eight, I could run twelve if the machine had the RAM. The ceiling isn’t agents. The ceiling is how many PRs I can read in a day, because every one of them stops at my desk.
Which is the real lesson from building this way. You don’t scale by making the agents smarter. You scale by making the review step narrow enough that a human can still be the gate. The six agents are the fan-out. I’m the synthesizer. The leash makes sure nobody confuses the two.