Directing Work You Cannot Read
Directing AI Tools Without Accumulating Slop
The best evidence available says experienced developers were measurably slower with AI assistance and believed the opposite. Diff size and tests are the only levers a non-coder can actually hold.
Start with the most useful evidence on this subject, because it is not the evidence the marketing uses. METR ran a randomised study with sixteen experienced open-source developers in repositories they already knew, averaging over 22,000 stars and more than a million lines of code, across 246 real issues they had already chosen to fix, tasks averaging around two hours, half allowing AI assistance and half forbidding it. They were nineteen percent slower with the tools, having predicted twenty-four percent faster, and afterwards still believed they had been twenty percent faster.
19% slower
measured effect of AI assistance in METR's randomised study, by developers who predicted 24 percent faster and still felt 20 percent faster afterwards
The headline is not that the tools are bad. It is that self-reported productivity was wrong by close to thirty-nine percentage points, in people with deep context on a mature codebase. It feels faster is dead as evidence, for you and for the developer you pay. The conditions matter too: experts, in code they knew, in large established repositories, which is the worst case for the tool and the best case for the human. So these tools help most where you have least context and least where you have most.
Why slop accumulates, mechanically
A model shown one file writes a variant of what is in that file. It cannot see the helper three directories away, so it writes a second one: reasonable in isolation, subtly different in behaviour. Do that for four months and duplication accumulates wherever an abstraction used to appear, without anybody making a bad decision anywhere. The system degrades through a long sequence of locally sensible choices, which is why the countermeasure is not better prompting but review discipline and a codebase where what already exists is findable.
Diff size is the one lever you control
Review quality collapses as a change gets larger. Nobody reviews a 1,200 line change, they approve it. You do not need to read code to enforce the only rule that matters: one intent per change, small enough that describing it takes two sentences. When a tool produces a large diff, send it back and ask for the first third rather than reading faster. That constraint does more for quality than any instruction you can give a model, because it makes every other check possible.
Tests are the contract you can verify
You cannot evaluate an implementation. You can evaluate a test, because a test is a sentence about behaviour: when a user with no subscription opens the export page, they are refused and no file is produced. So ask for the tests first, read them, correct any that describe the wrong behaviour, and then let the implementation be written against them. That is the one artefact in software a non-coder can genuinely assess, and reversing the usual order costs nothing.
Before letting anything change code whose behaviour nobody can state, ask for characterisation tests: tests asserting what the code currently does, including the parts that look wrong, written before any change. They are not a claim that the behaviour is correct, they are a tripwire that tells you the moment it changes. This is how you let a tool near the seven-year-old pricing function everyone is afraid of.
Do not accept coverage as the answer. Coverage counts lines executed, not assertions made, and a suite can execute every line in your codebase while asserting almost nothing. The honest question is whether a deliberately introduced bug gets caught, which is what mutation testing measures. For your purposes: coverage is a number a developer can satisfy without protecting you.
Blast radius rules for agents
- No production credentials in an agent's environment, ever. Not even read-only, until you have a specific reason and a scoped role.
- Work on a branch, merged by a human. The gate is your continuous integration pipeline, never the tool's own report that it is finished.
- Schema migrations, authorization code and anything touching payments are never autonomous. Those are the three places where a mistake is not cheap.
- Check every new dependency a tool adds, by hand. Models will cheerfully import a package that does not exist, and occasionally one that does exist under a name close to the one that should have been used.
- Require an explanation in plain language with every change. If the tool cannot say why in two sentences, you have acquired a liability rather than a feature.
What you put in the repository decides how much of this you have to police by hand, and the one that pays for itself is a written description of the architecture, because the model's weakest point is precisely the context that exists only in somebody's head. Then judge the tools exactly as you would judge a contractor: not on speed claimed, but on the size of the changes, the quality of the tests, whether problems are reported before you find them, and whether anyone can still explain the system a quarter later.
Key takeaways
This is one lesson of 541.
The whole Foundation is free — 16 subjects, beginner to advanced. Sign in to track what you have read, take the end-of-module quizzes, and use the terminal.