2026-11-29•8 min•AI Engineering

Everyone Can Code. Who Can Review It?

Everyone can produce a patch that works. Far fewer people can explain what it means, whether it belongs, and what it will make harder next. I am reviewing more merge requests that technically work and still feel like unpaid archaeology.

Everyone Can Code. Who Can Review It?
AI EngineeringCoding AgentsCode ReviewSoftware DesignEngineering Culture

I am reviewing merge requests and I hate it more than I used to.

Not because the code is always broken. That would almost be easier. Broken code announces itself. It gives you a failing test, an exception, a wrong result, or at least a place to start.

The miserable merge requests are the ones that work and still make no sense.

Someone asks an agent to change a project, accepts the first answer that compiles, and sends the result to a reviewer as if the reviewer's job is to discover what the prompt should have been. The patch is technically alive. The author has not read it. The surrounding system has not been considered. The reviewer is expected to reconstruct all of that for free.

AI has made code cheap to produce. It has not made code cheap to understand.

That is the part teams keep pretending not to notice.

1. The price of typing fell; the price of judgment did not

Before code-generation tools became this accessible, writing a non-trivial change required more friction. You had to know enough of the language to get moving, enough of the framework to avoid fighting it, and enough of the repository to find the places where the change belonged.

That friction was not always valuable. Plenty of people spent days typing glue code that an agent can produce in minutes. I am happy to lose that work.

But some of the friction was a filter. It forced the person making the change to absorb at least part of the code's shape before asking someone else to accept it.

Now almost anyone can produce a patch that appears to work. That is a genuine gain, and it is also a brutal change to the review economy. The number of patches grows faster than the number of people who can explain them. Reviewers become the place where missing context, missing taste, missing framework knowledge, and missing curiosity are dumped.

The result is not “AI writes bad code.” The more accurate problem is that AI makes it possible to submit code before anyone has decided whether the code belongs there.

2. Working code can still be an absurd change

Here is a sanitized example from the kind of merge request that makes me stare at the screen.

An engineer added a font to an existing website. The patch was valid. The font loaded. The page rendered. If you looked only at the browser and the green checks, it was a success.

It also raised an obvious question: why was this font being added at all?

Was the project missing a deliberate typeface? Was the existing visual system broken? Was the new font part of a product requirement, or did an agent decide that the page looked better with one? Did the change respect the typography already used in the rest of the application? Had anyone checked the weight, licensing, fallback behavior, performance, or the reason the current design looked the way it did?

The patch did not answer those questions. The author had not read enough of the code—or the product—to know that there were questions.

The sarcastic response writes itself: thank you for solving the million-dollar mystery of why this website was ugly for eight years.

But the joke points at a serious failure. A change can be locally correct and globally unmotivated. The reviewer is not there merely to confirm that a new file loads. The reviewer has to decide whether the repository should now carry this decision forever.

3. Frameworks exist, even when the prompt forgets them

Another recurring pattern is the handmade switch statement standing in for a framework feature that already exists.

An API receives a path or an action, then a long switch/case block decides what to do. Every branch parses its own input, calls a different handler, formats its own response, and invents its own error behavior. It works for the examples in the request.

It also behaves as if routing frameworks, schema validation, controllers, middleware, and established project conventions were never invented.

This is not a ban on switch statements. A small explicit dispatch can be exactly right. The problem is using one as a substitute for understanding the system. If the project already has a route layer and a pattern for validating requests, adding a second miniature framework inside one endpoint is not simplicity. It is a new thing that future maintainers must learn.

The generated code may be correct for today's cases. Another engineer—or another agent asked to extend it six months from now—still has to infer which rules are real:

QuestionA readable change answersA cheap change leaves behind
Where does this behavior belong?It follows the project's existing boundaryA new local convention
What does the framework already guarantee?The patch uses or deliberately bypasses itDuplicate routing and validation
How should the next case be added?The extension path is visibleAnother branch and another exception
Can a reviewer explain the design?The reason is present in the code and requestThe reviewer reverse-engineers intent

The cost is not the number of lines. The cost is the number of decisions that now have to be remembered.

4. “The author understands it” is not a high enough bar

I used to describe the minimum standard as code the author understands. That is incomplete now.

The author may leave the company. The author may forget the prompt that produced the patch. The author may understand the code only as a sequence of outputs that happened to satisfy one test. And an agent may be the next maintainer, trying to reason from the repository without the private conversation that created the implementation.

The better standard is code that another engineer can confidently review and that another capable agent can make sense of from the available context.

That does not mean writing code for a machine instead of a person. It means making the important decisions explicit enough that neither one has to guess. Names should describe the domain. Boundaries should line up with the application. Existing abstractions should be used for a reason, or bypassed for a reason. Tests should demonstrate the behavior that matters, not merely repeat the implementation's assumptions.

This is why “but it passes” is such a weak defense. A passing test can establish that one path currently works. It does not establish that the patch belongs in the system, that the next change will be obvious, or that the implementation preserves the assumptions nobody bothered to write down.

5. Reviewers are not a replacement for reading

I do not expect every contributor to become an expert in every part of a codebase before opening a merge request. That would be ridiculous.

I do expect the person sending the request to read the diff, follow the important path, and explain the choices that are not self-evident. “Codex wrote it” is provenance. It is not comprehension. “The tests pass” is evidence. It is not a design argument.

The reviewer's job is to add judgment, not to perform the first reading on the author's behalf.

When that boundary disappears, review becomes a tax on the few people who still know how the system works. They spend their time asking questions that should have been answered before the request arrived:

  • Why was this dependency added?
  • Why is this behavior implemented here instead of in the existing layer?
  • Which requirement needs this abstraction?
  • What does the framework already do for this case?
  • What would an agent need to know to change this safely next time?

Those are not nitpicks. They are the basic questions that turn generated output into software.

6. Make cheap code earn its place

The answer is not to reject AI-generated code. I use coding agents because they are useful. The answer is to make the acceptance standard more demanding as production gets easier.

Before opening a merge request, the author should be able to state:

  1. What changed and why this location is the right one.
  2. Which existing patterns or framework guarantees the change uses.
  3. What the checks establish, and what they do not establish.
  4. Which parts another engineer or agent would need to understand before extending it.
  5. What was deliberately not added.

That last answer is underrated. If the request adds a font, say why the product needs that font. If it adds a dispatch branch, say why the existing routing boundary cannot own it. If the answer is “the agent suggested it,” the patch is not ready.

The more code we can generate, the less impressive it is that code exists. Existence is now cheap. Coherence is the scarce part.

I am not asking for a return to artisanal typing. I am asking people to stop treating a working patch as a finished thought. Read what the agent wrote. Read the code around it. Ask whether another person—and another agent—can understand the decision without access to the prompt that produced it.

If the answer is no, the code is still expensive. The invoice has simply been sent to the reviewer.