My bug-squashing agents are getting ahead of my bug backlog
TL;DR: Squasher, my nightly agent based on Codex (OpenAI’s coding agent), patches the level 3 and 4 bugs himself and writes the level 1 and 2 bugs up in a report with recommended changes for Claude and me to review in the morning.
If your bug log grows faster than you can work it, trying harder doesn’t fix the arithmetic. Mine reached that point in June, so I gave Squasher the job. Bug fixing isn’t my favorite thing anyway, so the goal was to get the human out of the way. Here’s how he works, and how his pace changed once I did.
How a night’s run works
Each night Squasher reads the bug log, sorts it by severity (how bad the bug is) and priority (how soon it matters), and takes the top ten of each. The sort and the cap are what make a night’s run possible without me.
The work splits by level. Level 3 and 4 bugs, the less severe ones, he patches himself. Level 1 and 2 bugs, the serious ones, he triages (works out what’s wrong and what to do about it) and writes up in a report with recommended code changes. In the morning Claude and I read that report and agree or make changes, then Claude Code (CC) implements the fix and Codex runs quality assurance (QA) afterward to check the work.
Some bugs went to a panel of AIs
In July, some bugs were sent to a panel of AIs for independent triage, with the independent recommendations combined into a proposed code fix.
The results showed up fast. In one week in July, Squasher squashed 21 bugs all by himself. That left zero severity 1 or 2 bugs and only three open in total, a long way from the mess I’d been in a couple of weeks before.
The permissions change
A few days ago I made some smart changes to the permissions my agents have, especially around fixing bugs. The numbers moved fast.
My bug-squashing agents closed 203 of the 224 bugs they tackled in the past week. Every bug they couldn’t close gets reviewed automatically to see whether something in our process needs to change so it doesn’t happen next time. The bug history, going back to when I started the bug table, shows the change of pace plainly.
We’re building much more than ever and filing more bugs than ever too, but for the first time we’re getting ahead of it mechanically, with no human in the loop. That’s the arithmetic from the top of this post finally working in my favor, and the move was the same one I started with: get the human out of the way. Work smarter, not harder! If that trajectory holds, most of the open bugs should be closed in a week or so.