Run your own automated lab: rebuild tickets you already shipped, and see which setup gets it right
Every week someone shares a new way to wire up coding agents. Some pair a planner and a builder, or run a swarm. Others try one big model at maximum effort or a memory the agents share. Most of the evidence, my own setups included, was a feeling after a good day.
So I built a small lab. It rewinds a merged ticket to the commit before work started. Different setups rebuild it several times. Each result gets checked live on a real test environment against what shipped.
The merged work is the answer key. It’s not perfect, but it’s real. Every setup gets the same one.
How a run works
I start by writing down a hypothesis. Say: “a planner and a builder at maximum effort beat one agent planning in its own context”. Then:
- Pick a merged ticket with something non-obvious in it. Easy tickets make every setup look good.
- Rebuild it blind. Each variant starts from the commit before the work with only the ticket text. No reviews, no later commits and no hints.
- Write the live checks from what merged. They cover who can call this, who is refused and what happens in each state. Each variant gets its own test environment. Each check passes or fails there.
- Record cost and time per variant, next to the result.
- Write a verdict first, then the details. Include a proposed change to my setup and the evidence behind it.

An agent runs most of this. I read the verdict to decide if the change goes in.
I’ve run 14 experiments since the middle of October. Four changed my setup. Three more are proposals I haven’t acted on yet. Three were stopped or failed partway.
What the lab found
The design step decided correctness, not the size of the model. The first experiment rebuilt a ~150-line permissions fix. A single big model at high effort came back green in 16 minutes for $5.72. Live, it shipped a way around the permission check. It also shipped a way to lock people out. What got it right was four small, cheap reads of the problem before any code. They asked what could be reused, what’s the smallest change, where it belongs and how you’d break it. The first version of those cost $3.90 and 10 minutes. All four found the detail that mattered.

A focused cheap reviewer beat an expensive general one. I was running a cold review at maximum effort on every change. In the lab, a mid-sized model got one narrow question. In every state this code can meet, does it do the right thing? Across 10 rebuilt diffs, it flagged every critical failure as a blocker. On the builds that passed, it raised no false blocker. It cost $0.90 to $1.80 and 2 to 4 minutes. The old one cost $10 to $12 and around half an hour.
The setup with the most horsepower lost, more than once.
Some bugs only show up when you click. One ticket moved a version picker on a page. Three of four builds - including the one that merged - shipped the same bug. When you picked a version with nothing in it, the picker flipped back and forth. Unit tests, screenshot checks, four cold reviews and a human review all passed it. Only one build caught it. It wrote its checks before the code. Then it ran them live itself. Now every control a change moves gets a live check. Use it, switch states, switch back and watch for a few seconds.
Sometimes the merged work just wins. On a latency ticket, nothing beat what shipped. The merged change profiled first. Then it moved one slow external call out of a transaction. The rebuilds skipped that step. They grew the change two to five times larger without fixing the slowest call.
Cheaper effort isn’t always cheaper. A medium-effort run was the cheapest in its experiment. It also shipped the lab’s only critical regression that nobody caught. A JSON template outside the code depended on a value it changed. Every agent that read the template caught it. Every agent that didn’t missed it. Now the reviewers have to find every consumer of a value that leaves the process.
The experiments that said no
The most useful results were the ones that killed an idea.

On my backend changes, could cheap models catch what my most thorough human reviewer catches? The lab collected 81 findings they left on 100 of my pull requests. It tested setups against the 12 real blockers among them. The best cheap setup caught 3. The review bots we already run caught 2. Everything missed eight of the 12. Finding them meant tracing across files and across other pull requests. Turning their patterns into deterministic checks caught none of the held-out blockers as built. A “keep asking questions” setup raised 21 to 29 findings on every pull request they’d approved clean.
The verdict was plain. On this evidence, my backend changes still need a human reviewer. That’s not the answer I wanted, which is why I trust it.
The other idea that died was memory. Three experiments tested whether giving agents notes from past reviews made their work better. None found a difference bigger than the noise between two runs of the same setup. In one, the agent never opened the notes at all. In another, shared memory cost about 60% more for the same quality. That result changed how my agents’ memory works, which is a story of its own.
Mistakes I made running it
A lab is only as good as its blindness. Mine leaked.

- Answers in the question. Some pull request descriptions had a “from review” section or a bot summary describing later commits. A setup scored 4 of 12 instead of 3 until I found it. Now a script strips those before any run and fails if it finds one.
- Tuning after looking. I changed a scoring rule once after reading results. Now the split, the rules and the judge are frozen before anyone reads held-out output. Any later change is logged and never counted.
- Agents seeing my setup. A few rebuilds could read my memory index, which isn’t blind. That’s still a known gap.
- Tiny samples. Two runs of the same setup can differ by one catch. A one-catch difference between setups means nothing. I try to say so in the verdict.
Build your own
You don’t need much:
- A ticket that merged, with something in it that’s easy to get wrong.
- A way to start from the commit before it, with only the ticket text.
- Live checks written from what shipped, on an environment each variant gets to itself.
- Cost and time per variant, next to the result.
- A verdict you write down before you change anything.

Then run it before you add the next agent, the next memory or the next layer of review. My setup is smaller, cheaper and more correct than it was in October. Almost every step of that came from an experiment that told me no.