Deep Dive · Engineering Practice

All Code Is Slop: 11,000 Pull Requests and a 0.5% Revert Rate

One team shipped eleven thousand pull requests to production in a month, kept the revert rate at half a percent, and made the app faster while doing it. The method is not a better model — it is six months of turning every correction into a lint rule, every review into a verification artefact, and every piece of nuance into something the codebase forbids.

All code is slop — talk thumbnail
Talk: Lauren Tan · AI Engineer 17:31 14 November 2026
software factories lint rules verification TLA+

🎯 The claim 0:12

Lauren Tan ("poteto") works on Grok Bot at SpaceXSI. Her talk has the best title of the conference and one of the few empirical claims worth arguing with.

NumberValue
Pull requests to production, one month, her teamAbout 11,000
Her own contribution last monthAbout 3,000
Revert rateSteady at about 0.5%
Distinct contributors in October227 people, at least one PR each
Release cadenceNew stable client about once a day
Time to build the capabilitySix months
"The job of the software engineer, the meta of being a software engineer, is figuring out how to maintain or even improve the quality of your code while massively increasing your productivity."
She frames the whole thing as trust rather than automation, and that reframing is what makes the rest coherent: you are not building a machine that writes code, you are investing in an environment where you can trust an agent to act — and every investment has a shape and an order.

🔺 The trust pyramid 2:03

The talk's central diagram, and the most reusable idea in it: spend your effort bottom-up.

LayerContentsNature
Code and architectureAPI design, refactoring, directory structureDeterministic
Lint rules, types, compilers, testsChecks that run every timeDeterministic
VerificationRuntime checks, formal methods, property testsDeterministic evidence
ProseRules, skills, AGENTS.md, anything needing judgementNon-deterministic
The ordering is the argument, and it is the inverse of what most teams do: prose is the cheapest layer to write and the only one placed at the top. If you find yourself adding a line to a rules file, the question to ask is which layer below it could make that line unnecessary — because prose is advisory, and everything below it is enforced.

🌱 The codebase is the input 3:27

"Code used to arrive a few pull requests at a time. I remember going into work in 2024 and reviewing the three pull requests my colleagues wrote. Today, that number is more like 300."
Because the codebase is the biggest input…Consequence
Anti-patterns are copied as established practiceWeeds spread before you notice
Tech debt looks like the conventionThe next agent reinforces it
A pristine codebase teaches the good patternQuality compounds instead of decaying
The gardening metaphor earns its place because it names the failure mode correctly: slop is not an output problem, it is a feedback problem. Once agents outnumber humans in a repository, the code becomes its own training material — and the only defence is that the material you leave lying around is the material you want copied.

🏗 Architecture that makes slop impossible 5:00

They built their own client framework for Grok Bot — Dune, described as roughly Next.js for Electron apps — and the interesting part is not the framework but the constraints baked into it.

ProblemSolutionEffect
useEffect is easy to misuse and agents misuse itBanned in product code; allowed only inside Dune APIsThe problem is categorically eliminated, never caught in review again
Agents importing main-thread code into the renderer, causing jankTwo top-level directories — electron-renderer and electron-main — with cross-imports banned by a dependency-graph analyser and lint rulesAn entire class of performance bug becomes unrepresentable
"Anything that requires nuance to use well often leads to slop."
This is the sentence that travelled. It was relayed second-hand in a recent roundtable and is worth quoting from the source: the claim is not that nuance is bad, it is that an API whose correct use depends on judgement will be judged wrongly by an agent — so banning it is better than documenting it. A ban is a check; documentation is a hope.

📝 Markdown as an escape hatch 6:56

The most counterintuitive observation in the talk: agents use prose as a place to argue.

BehaviourExample
Writing justifications for not doing the right thingComments explaining why the quick fix was acceptable
Over-rotating on a correctionYour one-off remark becomes a permanent hard rule
Patching over an architecture clashImperative timers (setTimeout, requestAnimationFrame) papering over VS Code's imperative style fighting React's declarative style
The timer story is a complete failure case worth studying: the architecture made the client worse, the agents found a local workaround, the workaround caused garbage collection churn and jank, and then — the part that matters — they wrote comments justifying it. Cheap prose made the wrong solution look settled, and it spread. Their answer: ban about 99% of comments, and put the guidance in lint rules whose error messages tell the agent to fix the root cause.
Banning 99% of comments is a strong position and worth stating as such. The reasoning is that comments go stale, humans do not read them, and they are not enforceable — so a comment that says "do not do X here" is worse than useless, because it looks like a control. The counter-argument is that some knowledge genuinely cannot be enforced; the honest position is to make the comment carry a check or be deleted.

🔁 One correction, one check 9:10

When you correct an agent……what most teams do…what she does
It used a banned patternAdd a line to the rules fileWrite a lint rule
It hit an ambiguous APIDocument the nuanceRedesign the API so the choice does not exist
It patched a symptomAsk it to be carefulMake the symptom cause a build error
"If you do this enough times, you'll find that you have just less things to look out for in code review. And at some point you'll realize there's nothing left to review, and you can just let agents merge most of their own pull requests."
That is the actual mechanism of the 0.5% revert rate, and it is much less exciting than "the model got good". Auto-merge is safe not because reviewers are unnecessary but because the reviewable surface has been shrinking for six months, one enforced rule at a time.

🎥 Review becomes artefacts 9:50

Old reviewNew review
Read the diffWatch a video of the feature working
Reason about what might breakLook at screenshots, diagrams, a state chart
Trust the author's claim that it worksInspect a formal proof or a property-test report
Artefacts are reviewable by a human who was not there, which is exactly what a reviewer of an agent-written change is. A diff says what changed; a video says what the software now does. For changes authored by something you cannot interrogate, the second is the more useful question — provided the artefact is honest, which is its own problem.

🖥 Runtime verification 10:04

"A fancy way of saying: give your agent a way to run the code and use the debugging tools humans use."

ComponentWhat it does
Feature mapA site map of everything the application can do, from the user's point of view — so "the thingy in the left sidebar" resolves to a real place
Custom CLIs in the skillsThe agent reuses the same driver every time: fewer tokens, and the driver itself is testable
Chrome DevTools protocolThe same instrument a human uses to see what the app is doing
The feature map is the quietly important piece: shared vocabulary between human and agent about what the product has. Without it, every instruction is a guessing game about which button you meant, and the agent's guesses become the source of subtle failures. It is also a good test of your own product: if you cannot enumerate the features from the user's point of view, your agent will not be able to navigate them either.

🧮 Formal verification, soberly 10:50

ToolApplied toOutcome
TLA+Model checking of major user flows — notifications across multiple devices and platformsBugs found
LeanTheir own custom virtualisation library, to prove the absence of flicker and jitter problemsBugs found
BombadilProperty-based testing of the UIA few UI bugs caught already
"It's certainly not a silver bullet, and we're treating it as another tool, another layer in our agents' environment."
This is the most honest calibration in the talk, and it runs against the grain of the previous one. A roundtable conversation published days earlier had one practitioner calling verification overrated and describing formal proofs as "another artefact for the agent to look at". Both are right at their own scale: Lean on a virtualisation library with a precise property is a real proof about a real invariant; Lean applied to "the product works" is a hobby. The discipline is choosing the property, not buying the tool.

🎲 Property-based UI testing 11:35

She mentions Bombadil in a passing flash of a frame, which is a shame because it is the most interesting tool named in the talk: property-based testing for web and terminal UIs — generate interactions, assert invariants, let the tool search for a violation.

Verification typeQuestion it answersCost
Unit testsDoes this function do what I claimed?Low
Runtime verificationDoes the feature work when I use it?Medium
Property-based testingDoes it hold across inputs I did not think of?Medium, high yield
Model checking (TLA+)Can this flow break under interleavings?High effort
Theorem proving (Lean)Is this invariant provable?Very high effort, narrow scope
The economics are the point she makes next: none of these techniques are new. What changed is that agents made them affordable — writing and maintaining the harness was the prohibitive part, and that is exactly the work agents are now good at. Which is why she calls this a golden age of software testing rather than a golden age of code generation.

💸 Where the tokens go 11:51

ReportSource
About 70% of daily tokens go into verificationAttributed on screen to a practitioner's tweet, described as a change over six months
Her usage matchesHer own statement
Verification is the cheapest way to buy trustThe article's inference, not her claim
The 70% number is the most strategically interesting figure in the talk, because it inverts the usual cost model. If most of your spend is proving the work is correct rather than producing it, then the marginal value of a smarter model is small and the marginal value of a better verification harness is large — which is a very different investment thesis from the one most teams are acting on.

📦 pstack 13:02

Her workflow is published as an open-source plugin, and it is worth knowing what is inside before treating it as a checklist.

PropertyDetail
Wherecursor/plugins, the pstack directory; also installable in other agent harnesses
ContentsRoughly two dozen workflow skills, about twenty engineering principles, about twenty task playbooks, and two subagents
Entry point/poteto-mode — picks a playbook, builds a task list, delegates to models, and demands verification evidence before reporting success
New addition mentioned hereA state-chart skill that draws state machines from the user's point of view, easier to review than a diff
Note what the plugin encodes: not code patterns, but a definition of done. "Demands verification evidence before reporting success" is the whole talk compressed into a workflow rule — and it is implemented as prose in a skill, which is the top layer of her own pyramid. That is not hypocrisy; it is the correct place for judgement about when evidence is sufficient.

📊 The numbers 13:32

ClaimWhy it is surprising
11,000 PRs in one monthRoughly a hundred times a normal team's cadence
227 contributors in OctoberNot just the core team — drive-by contributors without deep context are landing changes
Revert rate about 0.5%, and falling on a relative basisThe classic "this will be chaos" prediction did not happen
Performance improved on startup, typing, opening and switching chatsVolume did not come at the cost of quality — the opposite
Still an Electron appA ceiling exists, and she acknowledges it
"Performance improved while we shipped 11,000 PRs" is a strong claim that deserves the strongest scepticism, and it is the one place the talk gives no data: no before-and-after numbers, no benchmark, no graph with axes. It is plausible — most of those PRs are probably small and many are fixes — but it is currently an assertion, and it is the assertion a reader most wants to be able to check.

🔄 The outer loop 16:01

StepWhat happens
Cut a releaseA new release triggers a project that spins up agents
Fuzz the whole applicationAgents run the app and use it like a real user, across the build
Find bugsBugs are reported as findings
Open a fix PR for eachAnd auto-merge it
Because…"Our codebase is good enough that pull requests tend to just be good by default"
That last line is the whole thesis in one sentence, and it is also the one that should make you pause: an auto-merged fix produced by an agent that found a bug by using the product is a closed loop with no human anywhere in it. Her justification is that the foundations make the loop safe — which is either a profound statement about engineering or a very confident bet, depending on how much of the foundation you have actually built.

🔍 What to be sceptical about 15:20

Open questionWhy it matters
Is 0.5% revert rate a good measure of quality?A reverted PR is a detected problem; subtle bugs that never got reverted are invisible in that metric
What is the baseline?A revert rate without the pre-agent rate, and without PR size distribution, cannot be compared
Selection effectThis is a team that spent six months building foundations, with experienced engineers — most teams start at the top of the pyramid
Auto-merge with agent-authored fixes closes the loop entirelyNobody reviews the thing that fixed the bug that nobody saw
Banning comments and useEffect are opinionated betsThey work here; they would be wrong in many codebases, and the talk presents them as lessons rather than trade-offs
One team, one product, one eraElectron desktop app with a bespoke framework — the most favourable possible conditions for enforceable architecture
None of this undermines the method; it locates it. The transferable part is the pyramid and the "one correction, one check" discipline — those work anywhere. The specific bans are local decisions that happened to be right for a desktop client with a hundred agents working in it, and copying them without the pyramid underneath is how teams end up with forty lint rules nobody understands.

✅ Claims checked

ClaimVerdictEvidence
11,000 PRs shipped to production in one monthHer figure, not independently verifiedStated on stage and on screen; no external dataset
Revert rate around 0.5%SameNo published methodology or baseline
227 contributors in OctoberSameConsistent with the plugin ecosystem around the product
She shipped about 3,000 PRs herself last monthHer figureOther coverage of her workflow cites 2,000+ per month
Dune is their client framework, roughly Next.js for ElectronAs describedInternal framework; not public
useEffect banned in product codeStatedAn internal policy, which is the point
pstack exists and is open sourceCorrectcursor/plugins → pstack; roughly 24 skills, 21 principles, 22 playbooks, 2 subagents; entry command /poteto-mode
TLA+ used for multi-device notification flowsStated, no artefacts shownPlausible and specific
Lean used to prove properties of their virtualisation libraryStated, no proof shownHer own caveat: "still experimenting"
Bombadil is property-based testing for UIsCorrectantithesishq/bombadil — property-based testing for web and terminal UIs
About 70% of daily tokens go to verificationAttributed to a third party's tweetShe says it matches her own experience
"Nuance leads to slop"Confirmed from the sourceHer exact words at 5:28: anything requiring nuance to use well often leads to slop
Performance improved while volume increasedAsserted without dataThe strongest claim in the talk and the least evidenced
The company entity is "SpaceXSI"Naming varies in coverageEarlier reporting uses SpaceXAI for the Grok entity; treat the name as unsettled

Basis note. Built from the full 17:31 recording and checked against the public pstack plugin material and the Bombadil project. The talk's own figures are internal measurements from a single team and are labelled as such — including the ones that would be most persuasive if true. The "nuance leads to slop" line was previously relayed second-hand in this site's roundtable write-up; this article quotes it from the source.

🔑 Key takeaways

  • Build trust bottom-up: code and architecture, then lint rules and types, then verification, then prose — and prose is the layer you should be shrinking, not growing.
  • The codebase is the agent's biggest input, so anti-patterns get copied as convention. Slop is a feedback problem, not an output problem.
  • Every correction should become a check. A line in a rules file is advisory; a lint rule is enforced; a redesign makes the mistake unrepresentable.
  • Ban the nuance. An API whose correct use depends on judgement will be judged wrongly, so remove the choice instead of documenting it.
  • Agents use comments and docs to argue for shortcuts. Cheap prose makes a bad solution look settled — and it spreads.
  • Review shifts from diffs to artefacts: videos, screenshots, state charts, proofs. A diff says what changed; an artefact says what the software now does.
  • Give agents a feature map and reusable CLIs. Shared vocabulary about what the product can do is what makes instructions unambiguous.
  • Use formal methods where the property is precise: TLA+ for interleaved flows, Lean for an algorithm. Not as a badge for "the product is correct".
  • Agents made testing affordable, not just code generation — which is the more valuable half of the shift.
  • Most tokens should end up in verification. If they are still going into generation, you are buying volume you cannot check.
  • The 0.5% revert rate is a consequence of six months of shrinking the reviewable surface, not of a better model.
  • Auto-merge is safe only when the foundations make PRs "good by default" — that is a claim about your codebase, not about the model.
  • One correction, one lint rule, and eventually there is nothing left to review. That is the whole factory, and it is unglamorous.
  • Ask for before-and-after numbers when someone reports both velocity and quality improving. The talk's strongest claim is its least evidenced.
  • Copy the pyramid, not the bans. useEffect and comments are local decisions; the discipline that produced them is portable.

🔗 Resources

  • The talk — Lauren Tan, AI Engineer, 17:31
  • pstack — the open-source workflow plugin
  • Bombadil — property-based testing for web and terminal UIs
  • Her write-up "How I Use Cursor" — the source of the workflow that became pstack
Basis note. Every number here is the speaker's own, from one team, with no published methodology — and this article says so at each step rather than after the fact. The methodology itself is the takeaway: a pyramid with prose at the top, and a rule that stops the same mistake twice.

⏱ Timestamp index

0:12Who is talking, and where
0:443,000 pull requests last month
1:23The software factory as a trust problem
1:43Six months to get here
2:03The trust pyramid
2:59Start with the codebase
3:27The garden metaphor
3:46Three PRs became three hundred
4:24Workarounds get copied
5:00Dune and organic architecture
5:26Nuance leads to slop
5:50Banning useEffect
6:10Context through directory structure
6:56Agents using markdown to justify shortcuts
7:22Imperative timers and the architecture clash
8:20Banning 99% of comments
8:55Lint rules with instructive errors
9:10One correction, one check
9:30"Nothing left to review"
9:50Review becomes artefacts
10:04Runtime verification
10:18The feature map
10:37Custom CLIs in skills
10:50Formal verification: TLA+
11:03Lean and the virtualisation library
11:35Property-based UI testing
11:5170% of tokens on verification
12:40A golden age of testing
13:02The state-chart skill
13:3211,000 pull requests
13:45A stable release a day
14:06227 contributors in October
14:21A 0.5% revert rate
14:31And the app got faster
15:11Advice: improve the codebase first
15:37Automating a slop loop produces more slop
16:01The outer loop and the release fuzzing project
16:40Auto-merged fix PRs
☰ View all