8 min read

Agents managing agents police themselves: I tore out the gate I wrote about two weeks ago

On Tuesday of this week, nothing my agents built reached me, not one pull request. They worked all day. Behind a gate, 26 drafts waited for something that wasn’t coming.

I built that gate myself. Two weeks ago I wrote that nothing my agents build reaches me until a script says it’s ready. By Tuesday the script wanted one more check. It required an automated code review from the review bot on our shared agent platform. At 2 am, the bot hit its daily budget and stopped reviewing. Every draft failed the check and stalled. Nobody told me why.

This post contradicts that one on purpose. The idea still stands. My attention is scarce, so agents should spend tokens to save my minutes. The script gate was the wrong tool.

Pull request drafts stacked high in front of a checkpoint whose checklist has one empty, dashed box, while a person waits with open arms on the other side of a closed barrier

How the gate grew

When I wrote that first post, the script was 55 lines long. It checked five plain things: open review threads, CI on the latest commit, conflicts, screenshots and leftover placeholders.

Then I built my office hours page, a feed of cases my agents write for me. Over a few days it grew a writer and a checker to grade that writer. Then came an editor to order the feed, plus a verify step. Each part fixed something I had just watched fail. Each part brought new rules.

One rule said every pull request needed an automated review on the latest commit to reach me. Another noted that reviews draw from one shared company budget. So ask for one only when a pull request is about to reach me. A draft needed a review to reach me. Yet it could only ask for one when it was about to reach me.

When that broke, the agents did what agents do. They spotted the problem and wrote another rule. That Tuesday, 29 of 35 drafts failed the check. Most failed because master had been merged in after the review. So the script changed to let master merges through. After that, a new prompt paragraph told the agent to look at the whole board whenever many items waited on the same thing. By then, the script was up to 115 lines.

Agents managing agents police themselves

Anyone building this kind of system hits this pitfall. I keep falling into it myself. When agents build the system that manages them, every problem becomes a rule. Then that rule becomes a script. Scripts aren’t smart. Soon the agents hit their own traps and fix them with another rule. Every step looks reasonable while the system gets worse over time.

I measured the cost on Monday. Almost half of my agent usage went to runs that only checked other runs. That meant re-checks, the checker, the verify step and a small timer gate. Re-checks alone took 30%.

It cost merges too. Before the new feed went live, I merged 33 pull requests in four days, Monday to Thursday. In the first three weekdays of this week, I merged 7. Tuesday was zero.

A bar chart of merged pull requests per weekday: 9, 4, 12 and 8 from Monday to Thursday, then 5 on Friday after a dashed line marking the new feed, then 3, 0 and 4 the next Monday to Wednesday

The gate isn’t the whole story, since it’s Thanksgiving week. I was also getting ready to give a talk. Still, zero on a normal Tuesday isn’t a holiday.

The review should have been a signal, not a gate. An agent could have spotted the stall and told me.

Managing people works the same way. You don’t police people you trust. You give them what they need, verify and set the few limits that matter. Then you let them come to you when they need you.

Four agents, four versions of the truth

The gate wasn’t the only problem. The writer, checker, editor and verify step ran side by side. Four agents each held their own view of my work. That is duplicate state. It goes stale and conflicts.

On my page, cases stopped matching what I had decided. Ready cases flipped to “Being reconsidered” and stayed there. Worse, things I cared about fell through the gaps. My top priority for the week - a branch I needed merged - had no case. Neither did the talk I was giving the next morning. A colleague asked for help with his pull requests. He got an answer, yet nobody did anything about it.

Four small robots, each holding its own slightly different copy of a page, with an arrow to one larger robot standing next to an inbox tray of pages and a clock

One owner

On Tuesday evening I tore most of it out. Now one agent owns my page, built from a small set of parts. I borrowed the shape from Anthropic’s article on building always-on agents:

Four small events, two bubbles and two pages, drop down dashed lines into one inbox tray above a single robot labelled one owner

The writer, checker, editor and verify step became three modes of one prompt. It triages a batch of events, writes one case properly or answers a comment I left on the page. Nine retired prompts now sit in a folder. The review bot is a fact on a case: “CI green, no review yet, your call”. It isn’t a lock on the door.

The first full day was the talk day, so merge numbers don’t say much yet. One number already moved. On Tuesday, the median time from a Slack message to a case on my page was 83 minutes. On Wednesday it dropped to under a minute.

The limits I kept

Empowering it doesn’t mean no limits. A few stay hard, because getting them wrong costs more than any stall:

A robot stands in front of a tall black door with three white padlocks on it, labelled three limits

The first triage run tested that first rule within its first hour. It planned to mark a backend pull request ready and turn on auto-merge. It relied on a general message I had written about self-review. Now the rule is narrower. My words count only for the pull request they name. The agent quotes them with the date.

A cap that turned out to matter

I also saw the other side of this lesson. With the old caps gone, the agent started 9 workers at once on a second account. It pushed that week’s usage to 71% with 45% of the week gone. At that pace it would have run out before the week ended.

A half-circle gauge with its needle at 71% used, beside a block of nine worker tiles labelled 9 at once

Now real usage paces the workers instead of a fixed rule. On pace, up to 4 workers run at once. When weekly usage gets more than 10 points ahead of the time elapsed, it drops to 1. Near a limit, it drops to 0. The rest wait in a queue. That isn’t policing the agent’s judgment. It’s a budget, like any team has.

Measure the loop, not the feeling

The page felt in control for a while even as merges dropped. Now every change to the loop gets a row in a table. Each row holds a timestamp, why I made it and how to revert it. Next to it sits a daily snapshot. It tracks merged pull requests, closed tickets, colleagues’ asks actually resolved and how fast a message becomes a case.

A tall ledger of fourteen rows with a curved arrow beside it labelled revert, under the label 14 changes

The table already earned its place. In the first 12 hours after the rebuild, it logged 14 changes. Several were me removing structure the rebuild itself had added. That meant update banners on top of old cases, a separate strip of commitments and a “being written” note. Even the change meant to remove structure kept adding it.

If you’re building one of these

A robot with a speech bubble talks to a person who points back at it, labelled tells you why

The agents still spend as many tokens as they need. My attention still gets the last look. What changed is who decides how work gets there. Now it’s one agent I trust, with a few real limits, instead of a script I wrote and its growing list of exceptions.