# "All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI"
<!--
ref: @content/youtube/aie/all-code-is-slop-except-mine-lauren-tan-spacexsi
tags: [agent environments, linting, deterministic checks, verification, formal verification, code review, technical debt, high-volume pull requests]
version: 2
updated_at: 2026-11-22T13:44:40.686Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=O_zcc6Xl12g)**

# All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI

*Synthesized from Lauren Tan's talk on AI Engineer, 2026-11-14.*

Lauren Tan, who introduces herself by the nickname Potato and says she works on Grokbot at SpaceXSI, gives the talk. The transcript is a rough machine translation, with product names sometimes garbled.

## Core Thesis
Lauren argues that the way to raise software output while keeping quality is to invest in the agent's environment until you can trust it, not in more review. She says she sent 3000 pull requests to production in a month by turning every agent mistake into a deterministic check or a design change, and by shifting review toward verification artifacts.

## Key Insights
- **Trust ladder.** She uses an inverted pyramid for where she spends time. The base is deterministic: API design, architecture, refactoring, linters, type systems, compilers and tests. Next comes verification, runtime and formal. Descriptive instructions (rules, skills, agents.md files) sit on top and cover only what needs judgment. Build trust over about six months, she says, and it should take others less.
- **Codebase as garden.** Agents copy what is in the repo, so workarounds, anti-patterns and old debt spread like weeds. She says reviewing about three pull requests a day in 2024 has become nearly 300, so each engineer is effectively a team of hundreds or thousands of agents.
- **Dune.** Grokbot's client framework, described as something like Next.js for Electron apps, bakes lessons into constraints and lint rules. React's useEffect is banned in product code and permitted only inside the framework's API, which removed that class of bug from review.
- **Context through directory structure.** Two top-level directories, Electron renderer and Electron main, with imports between them blocked by a dependency-graph analyzer and lint rules, stop agents pulling main-thread code into the renderer.
- **Comments as loopholes.** In an earlier Electron app, agents reached for imperative timers such as setTimeout and requestAnimationFrame and wrote comments justifying them, and the pattern spread and hurt performance through garbage collection. Grokbot now bans about 99% of comments and uses lint rules whose error messages push the agent toward the root cause.
- **Rule of thumb.** Each time you correct an agent, convert the fix into a deterministic check or remove the problem through better API design; over time, little is left to review and agents can merge most of their own PRs.
- **Verification.** Code review now centers on verification artifacts: videos, screenshots, diagrams and formal proofs. Runtime verification uses the Chrome DevTools protocol, a "feature map" (a sitemap of user-visible features giving shared vocabulary) and a reusable CLI driver to save tokens. They use TLA+ for cross-device flows such as notifications, Lean to prove a virtualization library avoids flicker, and a property-based UI testing library called Bombadil. She cites a colleague named Cindy whose daily tokens are about 70% verification, and says hers are mostly verification too.
- **Results.** The team shipped about 11,000 production pull requests in the month, released a stable client roughly daily, and had about 227 people open at least one PR in October. Reverted PRs stayed around half a percent, and startup, typing and chat switching got faster. After each release an agent project fuzzes the build like a user and auto-merges fixes.

## Actionable Takeaways
1. Before automating an agent loop, tighten lint rules, remove old anti-patterns and make verification robust.
2. Turn each recurring agent error into a lint rule or API change rather than a new line in rules files.
3. Ban or restrict subtle APIs agents misuse, and encode architecture in directory layout plus import rules.
4. Write lint error messages that tell the agent the real fix.
5. Give agents runtime tooling (DevTools protocol, a feature map) and consider formal models for critical flows.
6. Review verification artifacts instead of reading every diff.

## Notable Quotes
> "the work of a software engineer becomes similar to gardening." — Lauren Tan

> "If your internal code writing loop produces garbage, then automating that loop will only produce more garbage" — Lauren Tan

---

*Related: `@protocol/shell-and-runtime-traps` · `@protocol/silent-signal-and-evidence-traps` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/openai-codex-revolutionary-workflow-or-200-mistake`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*