---
title: "Vibe Coding Needs a Layer You Can Actually Read"
description: "Vibe coding breaks down when you can no longer tell what your own code does. The fix is a readable layer — a tier of the codebase written for a human reader."
author: "MDflow"
date: 2026-11-23
reading_time: "17 min"
canonical_url: https://mdflow.cz/blog/vibe-coding-readable-layer
md_url: https://mdflow.cz/blog/vibe-coding-readable-layer.md
---

# Vibe Coding Needs a Layer You Can Actually Read

*Published November 23, 2026 · 17 min read*


A fighting game, a character, and a rock. Ask for the rock to be throwable and you have not asked one question — you have asked twelve. Does the rock pass through a wall the same character can summon? How fast does it travel, how big is it, can it be charged, what happens if it is charged and the wall goes up mid-throw? Somebody answers all twelve. If you are **vibe coding**, that somebody is the model, and its answers reach you only as code.

**Thariq Shihipar**, previously at Anthropic, has been building exactly that game, and in a talk published on the [AI Engineer](https://www.youtube.com/watch?v=xRJMiaUoD_8) channel on 19 November 2026 he described the result plainly: the model makes a pile of choices for you, you try it out, and you have no idea what your own character actually does. Not because anything is broken. Because nothing was written at a density a person can read.

> **TL;DR** — Vibe coding fails on understanding before it fails on correctness: the decisions exist only as implementation, so you lose the ability to direct your own program. Shihipar's fix is a **readable layer** — split the codebase into an engine tier the agent owns and a second tier written for you to read, linted and at English density. It works now because of what he calls the *smooth interior*: models are uniformly capable across representations, so the representation is finally your choice. The rules and definitions that keep that layer readable are prose, and prose belongs somewhere every agent can read it — plain markdown in a workspace like [MDflow](https://mdflow.cz). [Start free](/login).

## Why vibe coding breaks on comprehension, not correctness

**The failure is not that the code is wrong. It is that you cannot say what it does.** Shihipar's account of his own experience is worth taking seriously precisely because he is not a sceptic: he is someone who shipped agent-facing products at a frontier lab, trying to be, in his words, a great vibe coder, and finding it frustrating.

Three symptoms, all of which will be familiar:

- **The decision cascade is invisible.** One request becomes a dozen sub-decisions. The model resolves each one competently and silently, and the resolution is only legible as implementation detail.
- **Flow does not survive the round trip.** He sends off a prompt, starts doing something else, and comes back. Attention leaks out in the gap.
- **The output is less progress, not more.** His own assessment: he honestly makes less progress this way.

For a while his conclusion was that this is simply what working with AI is like. The reflection that produced the talk is the rejection of that: it is not acceptable, and it is not what the models require of us.

There is a sharper version of the problem underneath. Great work, as he put it crediting an earlier speaker he named only as Dex, is a messy process in which you do not know exactly what you want, and where the result is defined as much by what you left out as by what you put in. (Dex Horthy's own argument about [why software factories fail](/blog/why-ai-software-factories-fail) runs alongside this one.) Exclusion is a judgment call. You cannot make it about a system whose contents you cannot enumerate — and you cannot enumerate a system that exists only as engine code you have never read.

## The smooth interior: why the representation is now your choice

**The reason a readable layer is possible today is that model capability has stopped being uneven in the middle.** This is the talk's central idea, and it arrives as a correction to three predictions Shihipar got wrong.

- **"Bash is all you need."** Agents were unusually good at the Bash tool, Claude Code was built around it, and the inference was that everything should become a CLI. He now prefers MCP to CLIs, alongside code mode, skills and progressive disclosure — and reads the original Bash affinity as a training artefact rather than a destiny.
- **"React is all you need."** Models wrote React well, so the advice was to put everything on the web. Models now write HTML, React, Swift and Figma's proprietary JSON, and the results come out roughly comparable. He had feared React would become something close to the last language.
- **"Diffusion models will eat art."** The fear was beautiful output over which nobody has control. Instead models make art through code and through computer use — Blender, Photoshop, Figma — where control is exactly what you have.

Each wrong prediction has the same shape, and he names it: the fear behind them is the one we reach for the words *bitter lesson*, *alien intelligence* and *Shoggoth* to describe. The assumption that the model will have its own way of doing things, that the way will be foreign to us, and that our job is to submit to it.

Worth being precise about the reference, because it is routinely stretched. [Rich Sutton's 2019 essay](http://www.incompleteideas.net/IncIdeas/BitterLesson.html) argues that general methods which scale with computation — search and learning — beat methods that build in human knowledge, and that building knowledge in helps in the short term but plateaus. That is a claim about how to *build* AI systems. It was never a claim that the systems would dictate how humans must work. The slide from one to the other is the thing Shihipar is pushing back on, and his own experience is the evidence: the predicted monoculture did not arrive.

What arrived instead is the distinction the talk is built on:

- **The jagged frontier** is the uneven outer edge of capability — write this function, build this feature, clone Slack, build Mario Kart from scratch, now port it to the Wii. This is what benchmarks measure, and it is jagged.
- **The smooth interior** is everything well inside that edge. And below the frontier, he argues, capability is *not* jagged. A model that can write React can write Figma JSON, can write your invented scripting language, and does all of them about equally well.

He cares less and less about the frontier. What the interior gives you is leverage of a different kind: if you want a mockup, you can have HTML, or React, or a Figma file, or a video produced by driving After Effects through computer use. The deliverable is the same. **The representation is a free variable.**

His illustration of raw breadth was the land-or-water map — feed a model latitude and longitude, ask whether the point is land or water, plot the answers, and see how much of the Earth it knows. The technique comes from [*How Does A Blind Model See The Earth?*](https://outsidetext.substack.com/p/how-does-a-blind-model-see-the-earth), which he attributed on stage to Karpathy; his slide compared a blurry Opus 4.6 map against a near-perfect Opus 5.5 one. Treat that specific comparison as his demonstration rather than a published result — it is unverified either way.

## The readable layer: two tiers in one codebase

**The fix is structural and cheap: give the codebase a tier written for you, and let the agent own the rest.** Shihipar's split:

**The engine tier.** Agent-owned code he does not read. His own example of what lives there is the camera system: he says outright that he does not know how cameras work.

**The readable tier.** A second folder — he is candid that he has not settled on the name, calling it `spec` or possibly `human` — holding the code he *does* read. Its properties, as he described them:

1. **Written to feel like English.** Not English; code that reads like it. He describes it as kind of a spec.
2. **Linted, with rules the agent must follow.** There are explicit rules for Claude about what that code is allowed to look like. This is the mechanism that keeps the layer from decaying into engine code — and it is the same argument as [lint rules beating rules files](/blog/lint-rules-for-ai-coding-agents): a constraint a check enforces holds, a constraint written as a wish does not.
3. **Domain units, not raw numbers.** Meters, not `0.5`.
4. **Heavily commented, with named abstractions.** Abstractions introduced along the way for domain concepts, so the vocabulary of the file is the vocabulary of the game.
5. **Tuned to reading density.** The test he applies is whether reading it tells him what is happening and lets him edit it.

What that bought him is the interesting part, and it is not aesthetic. He can open the rock move and *see* that this character has three ways to throw — off the ground, off a wall — which is the true logic of the character rather than its implementation. He can change the rock's size to `1.5` in a normal IDE, charge it, and throw it. He has started using Cursor's tab model more, because when the file reads like a spec, autocomplete can extend it: type the intent that a wall summoned mid-move should queue as an action, and the completion lands. And crucially, he can review the agent's work while the agent is still working, because there is something to review that is not a diff of engine internals.

His own summary is that he has essentially created a custom scripting language for his game, and that this is a kind of spec-driven development where the spec is the scripting language. The difference from [a markdown spec](/blog/spec-driven-development-markdown-specs) is that this one executes, so it cannot drift from the program it describes.

**Keep his hedges.** This is one person's experiment on one game. He says he is early and has not figured it out; he does not know whether this is how he will write games in the end; and for anything genuinely complicated he still asks Claude to build the primitives. What he claims is narrower and more credible than a methodology: it is much easier to understand what is happening, and he feels far more in control.

### Where this pays off most

The pattern generalises to any system whose behaviour is a large set of small decisions a person needs to hold in their head:

1. **Games and simulation** — abilities, balance, tuning. The original case, and the one where the decision count explodes fastest.
2. **Pricing, billing and plan rules** — what is included, what is capped, what happens on downgrade. Behaviour everyone argues about and nobody can find in the code.
3. **Permissions and policy** — who may do what, and the exceptions. Readable because it has to be auditable.
4. **Workflows and state machines** — allowed transitions and their triggers, which is the argument for [not letting the LLM drive](/blog/state-machine-ai-agents).
5. **Data transforms and metric definitions** — which number is the reported one, and how it is derived. The place where [implicit knowledge](/blog/implicit-knowledge-ai-agents) does the most damage when it stays implicit.
6. **Agent harnesses themselves** — prompts, tools, routing and escalation rules, which are already mostly [prose rather than code](/blog/prose-engineering-for-ai-agents).

### One forecast worth holding at arm's length

Shihipar also predicts that as the interior fills in, verification becomes unnecessary: a good enough model writes the code, says it is done, and you confirm it met the spec. We think that is the weakest claim in the talk, and our own archive argues against it — [the generator cannot be the validator](/blog/generator-cannot-be-the-validator), and the industry telemetry in [why AI software factories fail](/blog/why-ai-software-factories-fail) points the other way.

It is also in tension with his own fix. A readable layer is not a comprehension aid you discard when the model improves; it is what makes review possible at all once generation is no longer the bottleneck. The better case for it is the opposite of his forecast: this is how review survives.

## How MDflow fits

**The boundary first: your readable layer belongs in your repository, beside the engine it describes, and [MDflow](https://mdflow.cz) is not where code lives.** Nothing here is an argument for moving a `spec/` folder into a documents app.

What MDflow holds is the other half — the part Shihipar glosses in a single phrase when he mentions "rules for Claude about what that code looks like." Those rules, and the vocabulary they police, are prose. A domain glossary. Which unit is canonical. Which abstraction a new ability belongs under. Which design was tried and thrown away, so the next agent does not propose it again. That text is read by every agent on the project and outlives the branch it was written on.

**What lines up today**

- **Plain markdown, no proprietary layer.** Documents are markdown files, and every shared document has a raw `.md` twin that begins with YAML frontmatter carrying the title, canonical URL and visibility — so an agent can fetch and cite the rules in one request. The text a human reads is the text the agent retrieves.
- **Retrieval by purpose, not filename.** A folder description is MDflow's primary ranking signal, and [`mdflow_get_context`](/docs/mcp) ranks those descriptions above folder names and titles. A folder described as *"readable-layer conventions: units, naming, and which abstractions abilities belong under"* is what an agent finds when it is about to write into that tier. See [Folder Descriptions as Agent Context](/blog/folder-descriptions-agent-context).
- **Read and write, both directions.** The [MCP server](/docs/mcp) and the versioned [HTTP API](/docs/api) both write, so the agent that discovered a convention can file it, and the next agent reads it. See [Let AI Agents Write to Your Knowledge Base](/blog/ai-agents-write-to-knowledge-base).
- **One copy, many clients.** The same workspace serves Claude Code, Claude Desktop, Cursor, Codex, ChatGPT and any script holding a token.

> **Connect Claude to MDflow:** open the [MDflow connector](https://claude.ai/directory/mdflow) in Claude's Connectors Directory, click **Connect to Claude**, and sign in — no URL or token to paste. One connection covers claude.ai, the Claude desktop and mobile apps, and Claude Code signed in with a Claude subscription. Team workspaces use a `mdt_` Team access token instead, with the bearer-header client configurations listed in the [MCP docs](/docs/mcp).

- **A shared workspace with real permissions.** [Teams](/features/markdown-for-teams) gives a Team account its own workspaces with per-member access set to no access, read-only, or read/write/delete. Team access tokens (`mdt_…`) are bound to one Team account and to named workspaces, capped read-only or read-and-write, and re-checked against live membership on every request.
- **Version history that covers machine writes.** Every saved body change keeps the previous version across every write path, including the API and the MCP server, with a line-by-line diff and a non-destructive restore (Pro; 30 days or the last 300 versions).

**Where the report card is worse.** Four gaps, all real:

- **No link to the code.** Nothing connects a convention document to the repository, folder or commit it governs. You can paste a path; nothing maintains it, and nothing notices when the tier is renamed from `spec` to `human`.
- **Nothing enforces anything.** MDflow stores the rules; your linter enforces them. A convention that only lives in a document is exactly the unenforced prose that [lint rules](/blog/lint-rules-for-ai-coding-agents) warns about, and writing it down does not change that — it only makes it findable.
- **Version history is not reachable by an agent.** Active Team members can compare and restore versions of a Team document in the editor, but history is not exposed over the API or MCP, so no agent can ask what changed in the rules and when. On personal documents it is narrower still: private to the owner, and Pro-only.
- **Personal access tokens are not scoped.** An `mdf_` token is account-wide, read *and* write, with no read-only option and no per-workspace restriction. Only Team tokens are scoped, so size the blast radius of a token you hand to a coding agent deliberately.

**Where we are headed** — direction, not a dated commitment. The folder description stays the primitive we invest in, because stating what a set of documents is *for* is what makes retrieval work without an index. Beyond that: narrower read-only credentials for agents that should only ever consume context, document history reachable by the tools that write the documents, and shrinking the distance between where a convention is decided and where it is written down.

## The bottom line

Vibe coding does not fail because the model writes bad code. It fails because the only account of what your software does is an account you never read, and a system you cannot enumerate is a system you cannot make decisions about.

The reason this is fixable now is the smooth interior. You are no longer stuck with whichever representation the model happens to be best at, because below the frontier it is about equally good at all of them. So choose the one you can read, write the decisions there, lint it so it stays that way, and let the agent keep the engine.

Shihipar's framing for the year ahead is that AI is an industrial revolution and a Renaissance at the same time, and that 2026 was mostly the industrial revolution. The Renaissance half needs somebody who can still read the thing being built.

[Start free](/login), [connect an AI agent](/docs/mcp), or [read the API docs](/docs/api).

## Frequently asked questions

### Why does vibe coding stop working as a project grows?

Because the only record of the decisions is code written at engine density, and nobody wrote a version you can read. Each request you make expands into a dozen choices you never specified — what happens when two abilities collide, what the speed is, what the size is. The model picks all of them and the picks are only visible as implementation. The code can be entirely correct and you still cannot say what your own program does, which is the point at which you stop being able to direct it.

### What is a readable layer in a codebase?

A tier of the codebase written for a human reader rather than for the machine. Thariq Shihipar, previously at Anthropic, described splitting his game into an engine folder the agent owns and a second folder holding the code he actually reads: linted, heavily commented, with rules for Claude about how it must look, written at a density where reading it tells you what the program does. In his words it became almost a custom scripting language for his game, and it gave him a ground truth he could edit directly.

### What is the smooth interior, and how is it different from the jagged frontier?

The jagged frontier is the uneven edge of what a model can just barely do, which is what benchmarks measure. The smooth interior is Shihipar's term for everything well inside that edge, where capability is no longer uneven at all: a model that can write React can also write HTML, Swift, Figma's JSON, or a scripting language you invented, and the results are roughly comparable. His argument is that the interior matters more in practice than the frontier, because it means the representation your software is written in is now a free choice rather than a constraint.

### Does a readable layer mean writing a domain-specific language?

In effect, yes, though it does not need a parser or a grammar. Shihipar's readable tier is ordinary code in his ordinary language, constrained by convention: domain units instead of raw numbers, meters rather than `0.5`, named abstractions for domain concepts, comments as a requirement, and lint rules the agent must satisfy. That is a DSL built from restraint rather than from tooling, which is why it costs a set of rules rather than a compiler.

### Where should the rules that keep a readable layer readable live?

Anything a linter, type or test can enforce belongs in that check, where it fails identically for every agent and every human. What is left is prose: what a domain term means, which unit is canonical, which abstraction an ability belongs under, which design was tried and rejected. That prose outlives the branch it was written on and is read by every agent on the project, so it belongs in a shared markdown workspace reachable over an API or an MCP server rather than in one more file on one machine.

## Further reading

- Thariq Shihipar, [*The Sweet Side of the Bitter Lesson*](https://www.youtube.com/watch?v=xRJMiaUoD_8) — the AI Engineer talk this post is built on, published 19 November 2026.
- Rich Sutton, [*The Bitter Lesson*](http://www.incompleteideas.net/IncIdeas/BitterLesson.html) — the 2019 essay the title answers.
- [*How Does A Blind Model See The Earth?*](https://outsidetext.substack.com/p/how-does-a-blind-model-see-the-earth) — the land-or-water mapping technique behind his breadth slide.
- MDflow: [Spec-Driven Development](/blog/spec-driven-development-markdown-specs), [Lint Rules Beat Rules Files](/blog/lint-rules-for-ai-coding-agents), [Prose Engineering](/blog/prose-engineering-for-ai-agents), [Correct Code, Wrong Change](/blog/reviewing-for-coherence), [Why AI Software Factories Fail](/blog/why-ai-software-factories-fail), and the [MCP](/docs/mcp) and [API](/docs/api) docs.

