Photo by Thomas Bonometti: Unsplash
AI is fast. Sometimes too fast. It produces so much output that at some point I caught myself doing nothing except approving. Read, approve, read, approve. Worse, I kept finding the same trivial problems that another agent could easily have caught for me.
That's AI fatigue, and if you work with AI every day, I'm sure you know the feeling.
So this post isn't about how fast AI is. It's about how I got some breathing room back. What you'll see here is a snapshot of my setup as it is today. It isn't perfect and it's definitely not final, but it works, and getting here took a few steps.
Where it all started
Like everyone at the time, I started by pasting code into ChatGPT. I don't think I need to explain what was missing there: context, context and more context.
Then came autocomplete, and after that AI helping me with small pieces of code and investigations.
As the models got better, my workflow changed with them. But one thing stayed the same. In every code review, I was still the one catching the trivial findings. Meanwhile the industry started talking about debating agents, parallel agents and multi-phase agents. That sounded familiar, because I was already using multiple agents in my news-feed project! So I simply carried that approach over into coding.
Why switch context just to press "rerun"?
The next problem showed up quickly. With many tasks running in parallel, I was jumping between them only to trigger the same flow again after each pass.
So I started building loops. First small ones, each with a single goal: one for code review, one that walked me through the findings, and one that fixed whatever I approved. They worked! But I was still the glue between them.
Enter Linus
Instead of a loop for each small task, I built one loop for the whole goal.
It's led by a very demanding reviewer persona. It's inspired by Linus Torvalds, and if you know how Linus reviews code, you know nothing slips through. I took that attitude and gave it a job: this reviewer leads a team of reviewing and fixing agents built on my small loops. It decides what really needs fixing and what's trivial, and whether another round is worth it. There's a limit on the rounds, because even Linus has to stop somewhere.
One alpha, one pack
Wolves live in a pack, and that's what I wanted: a pack that works (read: hunts) for me. But I don't want to bother with the setup, who does what, how big the change is or how many loops it needs. I want to open my MacBook Air, start my container and talk to one wolf who leads everything and makes the calls the way I would. No cloud runners: everything runs on my laptop.
Every pack has an alpha, so I built Alpha Claude. We discuss what has to be done, and then I just get the outcome. I can also resume the flow anytime.
Everything starts with the spec
If you take one thing from this post, let it be this: the most important part is a correct specification.
Before anything gets built, a grill-me persona (one of my own skills) asks me one question at a time until nothing in the idea is vague. Then a pre-mortem persona assumes the feature already shipped and failed three months later, and lists why. For each risk I decide whether to accept it, mitigate it, or kill the idea altogether.
For bigger tasks there is one more gate: a fresh agent grills the finished spec, so the author never grades their own work.
Only then does Alpha step in, and it checks that everything is really ready for development before telling me it's starting. That includes the technical setup: do we have the environment, a browser, access to everything we need? This is crucial in my setup. Sometimes a task needs extra context first, and sometimes it's a new feature and we need a way to test it before anyone writes a line of code. Thanks to that, it doesn't ping me every five minutes with questions it should have asked at the beginning.
Here is the path every task takes, end to end.
Small, medium or big
Alpha doesn't write any code itself. Its job is to size every task and pick the right team:
- Small (a bug or a tweak): an investigator if the cause is unknown, then an implementer and one reviewer. 3 agents at most.
- Medium (a feature in one area): a spec-writer drafts a short spec, Alpha signs it off, and a manager runs the implement, review and test loop. 5 agents at most.
- Big (a cross-cutting feature): a spec debate with a judge, max 3 rounds per contested decision, then managers running their own loops. 8 agents at most. Anything bigger comes back to me.
Every agent gets a brief with a goal, a stop condition and a definition of done, and writes its result to a fixed-format file. Nothing gets lost in a chat history.
Alpha also knows where its authority ends. Unclear requirements, a new dependency, or anything touching auth, payments or data deletion goes straight to me, as a simple push notification on my phone.
Tests come first, and they're locked
You probably know from my TDD post that tests are the most important rule in my AI workflow. In my pack, I took that one step further.
The tests are written before any implementation starts, by a tester working only from the acceptance criteria in the spec. The implementer never writes them and must not change them. The tester hashes the test files, nobody else may touch them, and before handoff Alpha checks the hashes. If a single test changed, the run doesn't pass.
Why does this matter so much? Because an agent under pressure to make things pass will find the easiest way out, and sometimes that means quietly adjusting the test instead of fixing the code. With locked tests, that shortcut doesn't stay quiet. The implementer has one job: make the code meet the criteria. If it doesn't, the reviewer sends it back for another round, up to 3 times. After that, it's my call.
Sometimes a test really does need to change, because the spec changed or something unpredicted showed up. The implementer still doesn't touch it. It raises a dispute with evidence, Alpha decides, and only then does the tester change the test and hash it again. The decision is logged.
Stage yes, commit no
Agents stage their work, so at the end I get a full diff to compare. But nobody commits, and nobody pushes. A guard hook denies those git commands for as long as a run is active. Committing stays mine.
I did think about git worktrees, but so far I don't need them in this setup.
A flight recorder for every run
The first big challenge was memory. I wanted every agent to save its state along the way, so I could resume a run or see exactly what went wrong.
That's why every step goes into an append-only flight recorder: a SQLite database in my MCP server. Its triggers block every update and delete, so nothing can be rewritten after the fact. The server issues an ID to every agent, so an agent can't write into another run. A run goes open, then sealed at handoff, then closed after my verdict.
And as a bonus, I can talk to Claude about any run afterwards and run a retro on it to improve the setup.
And if you don't have an MCP server to keep the flight record on, you can always run a server on localhost that does the same.
Autonomy, inside a sandbox
The second challenge was autonomy. I want agents to work on their own, but whenever I can, I run them in Docker containers. That limits their scope, so they can't harm my machine. I pass in only the access they need. For example, they can read production logs through my own MCP server, without ever touching production itself.
Another one is my brain dump, where I store all previous decisions, work, discussions and context about each project. I keep the project's issues there too. It's also an MCP server, so the agents can access it, and I can just as easily talk to Claude in the app when I need to and give it that same context.
I used to run Claude in my own Docker containers with the repos mounted. Now I use Docker Sandboxes, which let me define a template with everything preinstalled. On a fresh machine I build the template, mount my repos and pull my skills and agents from one git repo.
Lessons I learned the hard way
The sandbox was the first surprise. The whole point is that, at the end, the agents run the dev server and check with their own eyes how everything looks live. For that, the sandbox needed Chromium driven through Playwright, and Chromium's system libraries need root, which the agents don't have. That was the blocker for my first run. Now I install those libraries once, as root, while building the template, so every run starts with them in place.
The second lesson was dependencies. My projects are in Node.js, and native modules like SQLite build differently on my Mac than inside the sandbox. Suddenly what worked in the sandbox didn't work on my machine. The fix? I never run npm install in a repo I also build on the Mac. The sandbox works in its own copy.
A real run
Here is what that looks like in practice. Trinity, my own app, sometimes showed a black screen or a stuck "Loading…", so I couldn't tell loading from broken. I asked Alpha for a spinner everywhere.
Alpha sized it as medium and ran the full process: pre-mortem, spec, a griller, locked tests, then a manager with an implementer and a reviewer. The pre-mortem caught that a spinner can't fix a request that never returns, so a 15-second timeout went into the scope. The griller deleted half of the spec's machinery as unnecessary.
The tester wrote the tests from the spec before any code existed. The implementer then built the feature against them, and the reviewer approved it in a single round with no required fixes. Before handoff Alpha confirmed the test hashes hadn't changed, and the new loading tests passed along with all 1,441 unit tests.
A couple of hours later I had a fully working, verified feature. The last thing I did was check it on the dev environment. Maybe one day I'll skip that, but this setup is fresh and I still want a manual check before deployment. Then I deployed it.
What this got me
I'm still the one who signs off. That part didn't change and I don't want it to. What changed is what lands on my desk. Instead of fifty small pieces to approve, I get one staged diff, one report and a full record of every decision made on my behalf.
Now whenever I have an idea, I drop a note to Alpha. I can talk to Claude, create a spec through MCP and hand it off to Alpha. Alpha asks me a couple of questions, and then I can go for a run or work on something else. A couple of hours later, a finished feature is waiting for me, and the only thing left is my final approval.
I'm also working on a setup where I drop the spec to Alpha and, during the night, my Mac spins up a machine that picks the task up on its own.
The trivial findings get caught before I ever see them. My attention goes to the things only I can decide. And if I decided something similar in the past, there is a trace of it in MCP, so Alpha can learn from it.
The pack does the hunting. I decide what comes home.




