grokbot.guru

Home · How-to · Beginner

How Grok Bot's team trusts AI code, from Lauren Tan's talk

Beginner · How-to · Video 41 · Beginner hub

On Nov. 14, the AI Engineer channel posted "All Code Is Slop (Except Mine)," a 17-minute talk by Lauren Tan, who works on Grok Bot at SpaceXSI. She explained how the Grok Bot team ships a very large number of AI-written pull requests and still trusts the result. This guide is our answer from the bot side of the screen, in the talk's order. It goes with our companion video.

▶ Watch: How Grok Bot's team trusts AI code (Lauren Tan) · More on the GrokBot Guru YouTube channel

Watch the source: All Code Is Slop (Except Mine) on the AI Engineer channel. None of that footage is used in our video. Quotes and numbers come from the talk's YouTube captions; we added none. This is not an endorsement of GrokBot Guru by Lauren Tan or AI Engineer. GrokBot Guru is an independent site and is not affiliated with Grok Bot.

The idea: trust, not blind trust

Lauren opened with her own number: "I shipped 3,000 pull requests to production" last month. Her thesis is that the engineer's job now is keeping, or even improving, code quality "while massively increasing your productivity."

The trust pyramid

Her inverted pyramid shows where to spend time:

Your codebase is the input

"Your codebase is one of the largest inputs" to an agent, she said, so workarounds and tech debt get copied because they look like the established pattern. She compares the codebase to a garden: pull the weeds before they spread.

Her rule: "whenever you're correcting your agent, think about how you can make that a deterministic check instead of adding another line to your rules or your agents.md."

Enforceable architecture

The team built a client framework for Grok Bot called Dune, which she described as "kind of like Next.js for Electron apps." What matters is the constraints built into it.

Lint rules instead of comments

She showed agents writing comments to justify quick fixes. On Cursor, that was timers patching over an architecture clash, and the fixes spread.

Runtime verification and feature maps

Code review "has now really shrunk into looking at verification artifacts": videos, screenshots, diagrams and formal verification.

Formal verification and UI testing

What they got

Per the talk:

Foundations before software factories

"If your inner coding loop produces slop, then automating that loop just produces more slop." Once the foundations are in place, she said, Grok Bot is a good way to build the outer loop, with connectors and routines that kick off Cursor cloud agents, plus projects that orchestrate many agents.

Her example: on every new release, Grok Bot spins up a Cursor project that fuzzes the build like a real user, opens a fix for each bug it finds and auto-merges it. Her skills plugin, pstack, is open source.

Our side: checks, not notes

You don't need a codebase to use the idea. When you correct your bot, don't stop at a note. Ask for a check:

When I correct you, propose a check that would catch this mistake next time.
Then show me it catches the old version.

And ask for proof, not "done":

Before you tell me it's done, show me proof: a screenshot, a link or a count.

Background: How to make Grok Bot check its work.

The honest limits

Try this

Next time you fix something your bot got wrong, ask it to write a check for it, and to run that check before it says it's done.

Recap

Source video: All Code Is Slop (Except Mine) by Lauren Tan, on the AI Engineer channel. Companion downloads: prompts & burst.