A production line where the inspected outputs are intent and behavior, and the code is what falls out the end. David Zhang’s August 2026 argument: slop is not a model-quality problem, it is what happens when unbounded generation meets a verification step that runs at human reading speed. The escape is not better reviewers. It is moving the human-readable layer up, off the source code and onto two surfaces that survive whatever the code turns into.
The one-line version
If we keep making human reading of the artifact the verification step, slop is guaranteed, and no amount of reviewing (AI or not) fixes it. Treat it as an interpretability problem instead.
Source
Building software factories (with no slop) — David Zhang (@dzhng), Building software factories (with no slop), X, 2026-08-20. Written from ~6 months of building Duet and other projects this way. The operational form is his public skill repo (see the source appendix).
The argument in four moves
1. Slop is a throughput mismatch, not a model failure. SOTA models have more or less mastered writing code. What they haven’t fixed is the loop around it: generation gets faster every quarter, review runs at a fixed human rate. Once supply massively exceeds inspection capacity, inspection stops being a filter and becomes a formality. You skim, you approve, LGTM becomes the default, and quality drifts toward whatever passes a skim. This is Verification Bottleneck stated as a control-loop problem rather than an economic one.
2. Both obvious responses lose. Embrace the slop and you’ve accepted the degradation. Slow generation down to match your reading speed and you’ve thrown away the entire advantage. The only move left is to stop making human reading the bottleneck.
3. “More AI to review the code” is a dead end. It’s the standard fix and it looks reasonable, but AI reviewers are pinned to the artifact, and the artifact is the thing going opaque. Zhang expects code to get progressively less human-readable — Claude-speak, token-efficient AI-native languages, eventually machine code. Every improvement in generation makes artifact-pinned review less relevant. This is the sharpest disagreement in the vault: Agentic Code Review treats heterogeneous AI reviewers as the answer; Zhang treats them as a bridge technology.
4. So change what gets inspected. Keep two human-readable surfaces and let the middle go dark:
Intent going in, behavior coming out, and the implementation free to be as unreadable as it wants in between.
That is the factory. Not a coding agent — a production line where intent and behavior are the inspected outputs.
Why this is less radical than it sounds
The strongest part of the argument is the observation that you already ship code you don’t read.
- Technically: count the percentage of shipped code anyone on your team has actually read. It rounds to zero, and has for a decade. Your dependencies, their dependencies, four layers down. The black-box model is not a scary future; it is the overwhelming majority of every stack in production right now.
- Organizationally: a VP of Engineering is accountable for everything the org ships and may go years without reading a line. Responsibility never required reading. It required knowing the system was structured so that problems surfaced.
The only genuinely new thing is that black-boxing is now reaching first-party code — the part we wrote ourselves, and therefore the part we assumed we understood. Note the assumption there: for the code we wrote, reading was a proxy for understanding, never the thing itself.
The distinction that does the work
Engineering was never writing code. A programmer’s output is code; an engineer’s output is a solved problem, and code was only ever the medium. “The AI writes the code now” is a change of medium, not an attack on the profession. What replaces code as the deliverable is the system by which you work with AI to solve business problems — what gets specified, what gets delegated, what gets verified, and how you know when to trust it. Compare Modern Engineering Values (“the bottleneck moves to judgement”) and Agents and Domain Expertise.
The two surfaces
Everything in the factory reduces to two inspection surfaces, each with its own page:
| Surface | What it answers | Page |
|---|---|---|
| Behavior — seams, sensors, invariants, traces | Does this piece, given these inputs, produce these outputs, and keep doing so as everything around it changes? | Codebase as a Black Box |
| Intent — the ranked record of what the agent chose where the spec was silent | Did it make the right calls, and how sure was it? | Decision Ledger |
Zhang’s own framing: “the two candidates that hold up for me are a black box with well-defined seams and sensors on it, and a structured record of what the agent decided and how sure it was.”
Behavior tells you what. It does not tell you why. Sensors go green on a system that silently picked optimistic concurrency, invented a retry policy nobody specified, or decided two features should share a table. Those are not defects — the tests pass — they’re decisions, and they’re what bites you three months later when you need to change something. Hence the second surface.
The loop, end to end
- Map the fog — interview the idea quadrant by quadrant until you know what you’re building. See Fog of War Scouting.
- Codify — write the spec. Mostly transcription plus adversarial planning, because the decisions were already made upstream where they were cheap. See Writing Specs for AI Coding Agents, Spec-Driven Development.
- Build — put the harness in loop mode and let the spec drive. Reviews fire per slice; the plan re-slices itself when the build proves it stale. See Loop Engineering, Long-Running Agents.
- Review the choices — read the ledger least-confident first, push back, let it re-audit. See Decision Ledger.
The load-bearing property of step 1 is that it makes step 2 cheap. If the decisions get made during scouting, the spec is mostly transcription — and the ledger in step 4 stays short, because there was less silence in the spec for the agent to fill.
The compiler objection, and the answer
The natural pushback: this is just “compiling” a spec down to code, and a compiler is deterministic while AI is probabilistic.
Zhang’s answer is the best line in the piece. The thing being replaced isn’t a compiler — it’s the person who used to type the code, and they were never deterministic either. There has always been a probabilistic step between intent and artifact. We called it a programmer, and we built review, tests, and staged rollouts around it precisely because it was unreliable. Those tools don’t stop working because the probabilistic step got a thousand times faster.
A corollary he’s happy to accept: once intent lives above the source, arguing about language or framework should end up feeling about as consequential as arguing about tabs versus spaces. Interpretability was never living in the syntax. It was living in the intent, and source code was just the last place we bothered to write intent down.
The specification-cost objection
Gabriella Gonzalez’s A Sufficiently Detailed Spec Is Code raises a separate objection: even if intent and behavior are the right inspection surfaces, making intent precise can remain as demanding as programming. A spec with state schemas, dispatch rules, and retry algorithms has moved engineering decisions into prose, not removed them.
Preserve the disagreement
Gonzalez challenges specifications marketed as time-saving substitutes for code. Zhang argues that scouting makes codification mostly transcription and that inspection can move above the source. The shared ground is that somebody must make the decisions; the unresolved issue is the total effort needed to discover, record, implement, and verify them.
Zhang’s answer that agents replace fallible humans rather than deterministic compilers addresses the reliability comparison. It does not establish that writing and maintaining the spec is cheap, or that inspecting the two surfaces is sufficient for a given system. Scouting can pay the design cost earlier, but the cost still belongs in the project budget. A Decision Ledger handles some remaining ambiguity without pretending the spec is complete.
The Symphony/Haskell failure in Gonzalez’s essay is a reported case, not a test of Zhang’s whole scouting-and-audit workflow. It constrains the stronger “spec in, correct program out” promise without settling whether a well-instrumented factory saves work.
What he is not claiming
Stated explicitly, and worth keeping attached to the idea, because the headline invites a lazier reading:
- Reading code is not dead. There are still cases where you should, though fewer over time.
- You should definitely be able to understand any code and architectural decision the AI made on your behalf.
- This is not an excuse to skip learning engineering principles — those matter more than ever.
The narrow claim is only about what serves as the verification step. Read the code when it helps; just don’t let reading the code be the thing that certifies the change.
Where this sits against the rest of the vault
The vault’s 2026 AI-coding cluster mostly diagnoses the same disease and prescribes a different cure. Worth holding the disagreement explicitly rather than blending it:
| Page | Same diagnosis | Different prescription |
|---|---|---|
| Verification Bottleneck | Generation cheap, human confidence is the rate limiter | Osmani: widen the bottleneck (tier by risk, cheap deterministic gates first). Zhang: move the bottleneck off the artifact entirely. |
| Agentic Code Review | Review is where the bill comes due | Osmani: run two heterogeneous AI reviewers, human on the loop. Zhang: artifact-pinned reviewers decay as code goes opaque. |
| Comprehension Debt | The gap between code that exists and code anyone understands | Osmani: the debt is real and must be paid. Zhang: it was never payable at the line level; move comprehension up to intent + behavior. |
| Intent Debt | The externalized why an agent can only fabricate | Osmani names the debt; the Decision Ledger is the most concrete instrument the vault has for paying it. |
| Orchestration Tax | The human is the serial component | Osmani: spend the lock only on judgement. Zhang agrees and makes it literal — thirty decisions, not thirty thousand lines. |
| Agentic Coding - Risks and Discipline | Slop compounds | Zechner/Faye: slow down, stay in the loop. Zhang: slowing down forfeits the advantage; restructure inspection instead. |
The honest read: the two camps disagree about whether comprehension of the artifact is recoverable. Osmani, Storey, and Zechner assume it is and build practices to protect it. Zhang assumes it isn’t, and builds a system that doesn’t need it. The Paradox of Supervision is the strongest argument against Zhang — if you never read code, where does the judgement to review decisions come from? He gestures at this (“more important than ever”) without resolving it.
It also converges strongly with Harness Engineering at OpenAI and Agent Legibility: repo-local, versioned, human-readable artifacts as the system of record, with code as a downstream product. Zhang just pushes the conclusion one step further than OpenAI does.
Open Questions
- If nobody reads code, where does the engineering judgement to evaluate decisions come from? (Paradox of Supervision applied directly to this proposal.)
- The ledger is self-reported. What stops an agent from omitting the decision it was least aware of making? A separate auditor helps, but both are the same model class.
- Zhang’s evidence is solo/small-team (Duet). Does the factory survive a 200-engineer org where seams are owned by different teams and nobody owns the whole spec?
- Regulated review requirements (“a qualified person reviewed this change”) are written against artifacts. Does a decision ledger satisfy an auditor?
Sources
- Building software factories (with no slop) — the article, plus an appendix capturing the
dzhng/skillsrepo that operationalizes it - A sufficiently detailed spec is code: the counter-position on specification cost and unreliable spec-to-code translation. It predates Zhang’s article and is connected here as a conceptual challenge, not a direct reply.
- Context Systems and Agent Factories — Notion’s different use of the word: a shared, specific, scrutinized agent for knowledge work (not unattended code), plus the shared context system it runs on
- Knowledge Factory — LangChain’s extension of the idea to general knowledge work: agents flag gaps, a curator agent maintains the skills and domain knowledge they rely on
- Agent platform of 2027: John Suh prefers a “garden” to “factory of a factory” as the image for the winning agent platform; see Agent Platform Blueprint