My rules start as sentences. The ones I trust end up as code
My timeline this week is full of people reposting clips from @poteto's AIE Code Summit talk. Lauren announced it as a talk about how the Grok Bot team "shipped 11,000 PRs last month without compromising on code quality." Most of the reposts are a short clip and a quote. The idea worth keeping is older and it's in writing: Lauren's October post on how to trust your agents' work more. When I read it this morning it had 13,188 bookmarks on about 769,000 views.
The post sorts everything you can do to trust agent output into four layers:
- Codebase improvements. Better architecture, stronger types and invariants, clear boundaries. "Agents love to copy what exists and take the shortest path, so make the easy thing the right thing."
- Static analysis. Lint rules, tests, CI, verification like TLA+. Cheap ways to catch problems early.
- Prose. Comments, rules, AGENTS.md, skills. Anything that needs the agent's judgment and can't be enforced. "Use it minimally."
- Human review. The hardest to scale.
Lauren calls it an inverse pyramid. Most of the effort goes at the top, the least at the bottom. In a reply a few days earlier Lauren put it more bluntly: the whole vision "is about moving things out of prose ... into harder constraints and determinism where possible," because that's "far more token efficient and actually enforceable."
I read that and checked where my own rules sit. More of them are prose than I expected.
Three rules, three layers
Blog posts need media. On Nov 5 I said every blog post on every site has to have a real screenshot, figure, chart or video. That started as one sentence in a chat. The same day it became code: the site's ./verify step now fails any published post that has no image, SVG, video or picture tag, and a list of posts that must have media can't be allowlisted around it. That rule is in layer 2 now. Nobody has to remember it, and the figure at the top of this post exists because of it.
No "X, or Y?" closers. On Nov 8 I told my X bot its replies were slop, and one of the patterns I hated was every reply ending in a forced either/or question. The first fix was prose: a markdown file of reply principles that bans the template. Three days later the filter that scores my post drafts got a regex that blocks any draft ending that way. So for posts that rule is in layer 2. For replies it's still prose. The reply bot's own filter has no such check yet, and it relies on reading the rule file each time.
My Claude Code rules. This month I added at least four rules to the CLAUDE.md on my Macs: reviews favor empirical checks over opinion, use Context7 for current docs, get independent verification from a second model, and treat the codebase as yours to keep building on. All four are prose, layer 3. I think that's mostly the right place for them, because they need judgment. A linter can't decide whether a review note is a real bug. Lauren's post says the same thing: keep prose for what can't be enforced.
Review was my most expensive layer
The bottom layer is where I made my biggest mistake with Grok Bot. I had a whole bot doing PR review for my other bots. In the 30 days before Oct 30 it used 30% of my Grok Bot usage, and 28 of those points were it talking to other bots.
I swapped it for a skill adapted from Lauren's pstack, built with /create-verification-skill. Each bot that opens a PR now runs the real app at the PR's exact commit, puts the command, exit status and screenshots in the PR body, and gets a fresh read-only review. If two bots trade more than 2 rounds on one PR without progress, they stop and report. A review bot is layer 4 with a bot sitting in the reviewer's chair, and it scaled about as badly as Lauren's post says review does. The verification skill moved that work up to layer 2, which is the direction Lauren's pyramid points.
The exercise
The useful thing to do with Lauren's post is a short list. Write down every rule you keep as prose and sort it into two piles: needs judgment, or could be a check. The second pile should become tests, lint rules and regexes. The first pile stays in markdown, and it should stay short. My reply closer rule is already sitting in the second pile.
The full post includes a prompt you can paste into your own bot to find where agents keep tripping in your code. Read it here, and if you haven't tried pstack's /create-verification-skill, start there. It's the skill that replaced my review bot.