Coding

How Lauren Tan’s team ships 11,000 agent PRs a month with 0.5 percent reverted

At AI Engineer CODE 2026, Lauren Tan explained how lint rules with instructive messages, hard code boundaries and automated verification let her team merge 11,000 agent PRs in a month with about 0.5 percent reverted.

Oliver · FoxAI World4 min read
18
Oliver holds a tablet beside robots and a conveyor of code-symbol cards, under the SpaceXSI logo.Rules agents obey

Conceptual cover created with AI.

Coding agents are fast at producing pull requests. The harder question is what happens three weeks later, when every new session copies whatever it finds in the codebase, good patterns and bad ones alike. At AI Engineer CODE 2026 on 11 November, Lauren Tan described how her team turned that problem around, and the numbers she shared are unusually concrete.

Who Lauren Tan is and what she presented

Lauren Tan, known online as poteto, works on the Grok Bot team at SpaceXSI. Her talk was titled “All Code Is Slop (Except Mine)”. The title is a joke, but the argument is serious: if agents write most of the code, the codebase itself has to stop them from doing the wrong thing, because nobody can read everything they produce.

Oliver sits at a laptop beside robots, code-symbol cards and process icons, beneath the SpaceXSI logo.
AI-generated conceptual illustration.

What 11,000 pull requests and 0.5 percent reverts mean

A pull request (PR) is a bundle of code changes that is reviewed and then merged into a project, or not. According to AI Engineer’s write-up of the talk, the team shipped 11,000 PRs to production in one month. Tan herself shipped 3,000 in the month before the talk. In October, about 227 people contributed at least one PR.

The quality signal is the revert rate: the share of merged PRs that had to be rolled back. It fell and settled at about 0.5 percent, roughly one in 200. The talk’s own caveat matters here. A bug that is fixed in a later PR does not count as a revert, so the figure measures how rarely changes were pulled back, not how many bugs slipped through.

Why agents repeat bad patterns

An agent starting a new task looks at what already exists and imitates it. A workaround left in one file becomes the template for the next feature. Tan’s team concluded that written guidance is weak against this. Comments went stale and humans skipped them, and an agent can always write a convincing comment explaining why its exception is justified. The team took the unusually strict step of banning about 99 percent of code comments. The rules moved into places a machine can enforce.

How lint rules become instructions

A linter is a tool that reads code and flags anything that breaks a defined rule. Tan’s team uses it in two notable ways.

First, as hard boundaries. React’s useEffect, a hook that runs code after a component appears on screen, is banned in product code and allowed only inside selected framework APIs, because agents misuse it. The Electron app’s renderer code and main-process code live in two explicitly named top-level directories, and a dependency graph analyzer plus lint rules forbid imports between them.

Second, as teaching material. The lint diagnostics themselves carry guidance and point the agent back to the underlying problem. A message that only says “forbidden” invites trial and error until the warning disappears. A message that explains the right approach is read by the agent at exactly the moment it needs it.

Checking behaviour, not just code

Rules catch known mistakes. They do not prove that a feature works. For that, the team gives agents ways to run the app. A feature map describes what the product does from the user’s side. A command-line tool can drive the app, for example click Settings and save a screenshot as proof. Runtime checks use the Chrome DevTools Protocol, and property-based UI tests with a tool called Bombadil generate many random interaction sequences to break an expected property. Tan reported that this had already caught a few UI bugs. For harder parts, the team even uses formal methods such as TLA+ and Lean.

The review load explains why this matters. In 2024 Tan would review a handful of PRs written by colleagues. Today each engineer produces closer to 300. Line-by-line human review cannot scale to that, so evidence has to be produced automatically.

What a smaller team can take from this

Tan’s practical advice is modest. When an agent repeats a mistake, start with a lint rule that prevents new occurrences, then clean up the old examples so they stop serving as templates. Every correction should become a deterministic check, or the team should ask how to eliminate the problem category entirely. And fix the inner loop, a single agent session that works reliably, before automating many agents at once.

First, isolate the change. The interesting part of this talk is not the 11,000. It is the order of operations. A team with no rules, no tests and no way to run its app will not reach a 0.5 percent revert rate by adding more agents; it will only produce mistakes faster. The low-cost lesson is the lint message that explains the fix, because it turns one correction into guidance for every future session. The expensive parts, from Bombadil to TLA+, make sense only once that foundation exists. I would also read the revert figure with care: it is a useful trend line, but because forward fixes are not counted, it is not the same thing as a bug rate.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.