Grok Bot Team Shipped 11,000 PRs in a Month, Rolling Back Only 0.5% of Changes
The Grok Bot team shipped about 11,000 pull requests to production in a month, and roughly 0.5% had to be rolled back. When an agent repeats a mistake, SpaceX engineer Lauren Tan does not add another line to the instruction file. She adds a linter rule instead. The count of such rules grew from 7 in July to 167. A linter runs on every subsequent PR, while an agent can ignore an instruction. So it pays to invest in automated checks rather than manual code reading.
AI-processed from Habr AI; edited by Hamidun News
When an agent writes code faster than a human can read it, review becomes the bottleneck. The Grok Bot team found a way out: in one month it shipped changes from 11,000 pull requests to production, and the rollback rate fell to roughly 0.5%. About 3,000 of those PRs came from Lauren Tan, a lead engineer at SpaceX (username poteto). On November 11, 2026, at the AI Engineer Code Summit in San Francisco, she explained how the team reached that pace. The talk was titled "All Code Is Slop (Except Mine)."
Everyone Produces Slop
Tan does not use "slop" as a strict term. She means code that nobody wrote and nobody fully understands. Codebases were full of such code long before agents arrived. So the question is not whether AI wrote the code. The question is whether you have built a system that turns any code into something you can trust.
The scale Tan describes is striking. In March she submitted 68 PRs; eight months later she submitted 3,127 in a single month. Since March the total reached 10,732 PRs, roughly 100 per day. No one can review that by hand. It took about half a year to build a system in which agents check themselves.
Trust Is Built Through Checks
Tan describes a simple curve: the more you trust agents, the more of them you can run at once. Most teams stay at the bottom. An agent produces bad code, a human finds the errors and sends the task back, and the cycle repeats. The human in the loop becomes the bottleneck.
Her scheme resembles an inverted pyramid. At the top sits the codebase itself: a clear API and well-defined module boundaries leave fewer ways to make mistakes. Below that come the linter, types, the compiler, and tests in CI. Next is verification: a green CI does not mean the agent solved the right problem, so the team runs the application and reproduces the scenario. Lower still is documentation such as AGENTS.md, which cannot notice when a rule is broken. At the sharp tip remains manual review, for example to decide whether a new feature will overcomplicate the architecture.
From this follows a practical rule. If an agent repeats a mistake, do not add a line to the instruction file. Turn the fix into a linter rule, or rewrite the code so the mistake cannot be made in the first place. A linter is harder to set up, but it also fires on the next PR. The number of custom rules in the team grew from 7 in July to 167 by November.
The Repository Works as Agent Memory
Given a task, an agent searches the repository for a similar solution. It will repeat a good example. It will also repeat a hack, even when an instruction forbids it.
Tan cited a case from the project. On September 9, a developer removed a UI flicker with a quick setTimeout call and left a comment saying a proper fix would require larger changes. On October 3, an agent copied that workaround into a shared module. By October 17 the app had 183 timers. They were constantly created and destroyed, which kept the garbage collector working at its limit and made the interface stutter. One hack with a justifying comment spread through the app in roughly five weeks.
For that reason the team removed almost all comments: by July 31 there were 65,824, and by the time of the talk 1,227 remained. Comments go stale quickly, people rarely read them, and nothing stops anyone from breaking the rule they describe. Where a rule can be checked automatically, it moves into the linter. Tan notes that an ordinary team without comments is probably not realistic.
Another technique is to remove tricky spots from the API. The Dune framework that Grok Bot runs on (an analogue of Next.js for Electron apps) sets strict boundaries: one folder per feature, tight import restrictions, and no comments. The useEffect hook from React was banned from product code and left only inside Dune, because it is easy to misuse and expensive to check in review. The Electron main process code and the UI code live in separate folders and cannot import from each other, not even types. The only bridge between them is a folder of shared types.
Verification Matters More Than Review
Tan pointed to Cindy Sridhar. In May, Sridhar complained that AI-generated pull requests with hidden bugs were eating days of manual checking, and that speed was not actually increasing. By November the problems were gone. Only one thing had changed: she had set up a better verification process. Now about 70% of her daily tokens go to checking patches, and only 20–30% to writing code. The process includes unit tests, fuzzing before release, a canary rollout, and monitoring afterward.
All of these methods have been known for a long time; they were simply too expensive before. Agents have made them affordable, and Tan believes a "golden age" of testing is beginning. Review at Grok Bot now mostly means watching videos, looking at screenshots and diagrams, and reading formal proofs, rather than reading every line of code.
What to Take to Your Own Project
All the figures come from one team's talk, and there is no independent verification. The approach requires investment: half a year went into building the system itself. But the direction is clear. Turn recurring mistakes into checks, not instructions. Forbid constructions that are easy to misuse. Watch which examples sit in the repository, because the agent will copy exactly those.
- Nov 28, 2026Claude wrote the GitHub manual as instructed, while Codex taught students branches and rebase
- Nov 28, 2026Character.AI Goes Bankrupt, and Its User Chats Are Up for Auction Starting at $10 Million
- Nov 28, 2026Amazon may let Meta's Muse AI agent back in: it accounts for 51% of agent orders
- Nov 27, 2026A tabletop game master made a music video for $150 and three weeks with Suno, ChatGPT and Grok
Key Questions Answered
What are the key details on Everyone Produces Slop?
Tan does not use "slop" as a strict term. She means code that nobody wrote and nobody fully understands. Codebases were full of such code long before agents arrived. So the question is not whether AI wrote the code. The question is whether you have built a system that turns any code into something you can trust. The scale Tan describes is striking. In March she submitted 68 PRs; eight months later she submitted 3,127 in a single month. Since March the total reached 10,732 PRs, roughly 100 per day.
What are the key details on Trust Is Built Through Checks?
Tan describes a simple curve: the more you trust agents, the more of them you can run at once. Most teams stay at the bottom. An agent produces bad code, a human finds the errors and sends the task back, and the cycle repeats. The human in the loop becomes the bottleneck. Her scheme resembles an inverted pyramid. At the top sits the codebase itself: a clear API and well-defined module boundaries leave fewer ways to make mistakes. Below that come the linter, types, the compiler, and tests in CI.
What are the key details on The Repository Works as Agent Memory?
Given a task, an agent searches the repository for a similar solution. It will repeat a good example. It will also repeat a hack, even when an instruction forbids it. Tan cited a case from the project. On September 9, a developer removed a UI flicker with a quick setTimeout call and left a comment saying a proper fix would require larger changes. On October 3, an agent copied that workaround into a shared module. By October 17 the app had 183 timers.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
