The Loop Engineering Wall: What Cannot Be Looped in Software Development

Loop engineering automates execution, not authorship: a loop pursues a supplied goal but cannot choose that goal or decide when it should change.

It is fashionable now to say that programming is over. Boris Cherny (Head of Claude Code at Anthropic) no longer “prompts” — he writes loops. Peter Steinberger (an OpenAI engineer and creator of OpenClaw) builds a product in a week. Addy Osmani (Director of AI at Google) established the term loop engineering itself. And they are right: the loop really does take us to another level. But this idea has a hard wall, and for some reason no one talks about it.

I am not arguing against the loop. I use a couple dozen agents in production when needed, on real brownfield systems, and I help teams of a thousand engineers standardize AI development. I am FOR the loop. I am simply naming the boundary that the hype prefers to avoid.

What a loop actually is

Let us break down the mechanics without the romance. A loop is: a fixed start → a concrete goal → external verification → a fixed state → the next run. And one thing is crucial here: the done-condition is written BEFORE launch. A human writes it. The loop does not know what “good” means. It knows only the definition of “good” it was given as input.

FIG. 1 · THE LOOP CIRCUIT

the goal + done-condition are written by a human — BEFORE launch

  1. 01 Fixed start The context does not drift
  2. 02 Concrete goal What counts as movement
  3. 03 External verification A check beyond the agent's claim
  4. 04 Fixed state The result becomes the new start
  5. 05 Next run And the circuit closes
The loop closes execution. The goal and definition of “done” arrive from outside.

Where is the limit of this approach?

A loop is excellent at reaching a given goal. But it does not choose that goal, and it does not decide when the goal should change.

Imagine a thermostat. You set it to 22 degrees, and it runs the heating until it gets there. But why exactly 22? You decided that. Remove the human and the thermostat will hold any random number forever, perfectly, down to the last joule. /goal works the same way: it runs “until the tests are green and the linter is clean” — that is its 22 degrees. Who decided that this was the goal?.. Not the loop.

“Then let us build a loop that changes the goal itself”

that is not a solution; it just moves the problem one floor higher. The meta-loop has its own goal, which it did not choose either. No matter how many floors you build, at the very top there is always a human asking “why.” Execution is automated. Authorship is not.

FIG. 2 · THE AUTHORSHIP WALL

Loop floors

  1. Loop“tests are green”
  2. Meta-loop“choose the criterion”
  3. Meta-meta-loop“who chooses the criterion?”

…you can stack floors forever

22° why exactly 22°? — you decided
Authorship wall

Beyond it — a human

  • What counts as the goal?
  • When should the boundaries change?
  • Why are we building this?
A new floor moves the boundary but does not remove it: the question “why” remains at the top.

A good illustration is a dinosaur in a box. The dinosaur grows — those are features. From time to time, the box is changed to fit its size — that is architecture. But the loop does not make the decision that “it is time to change the box”: it grows the dinosaur inside the box it was given.

Kent Beck has the two-hats rule: at any one time, you make a change of only one type — behavior or structure, never both at once. A loop can wear one hat perfectly well under a given goal. But it does not decide which hat to put on or why.

Why a loop is inertial

A loop reinforces what is already there. It amplifies the codebase’s existing patterns — Osmani calls this comprehension debt: code accumulates faster than understanding grows. The loop follows the gradient of least resistance, which means toward the average of your repository. Something new — something not yet present in the patterns — requires an external disturbance. Someone has to redefine the boundaries.

Why building a truly high-quality loop is almost impossible

I will say the part almost no one says at all. Building a loop that simply works is easy. Building a truly high-quality loop is, in my view, practically impossible. Here is why.

The quality of a loop rests entirely on its done-condition. And “done” is always a claim, not proof. Turning a claim into proof requires a check you trust. But that check is authorship: choosing what counts as “good,” what to verify, and what “done” even means for this particular problem that has not been solved before.

Then the circle closes. The higher the quality you want from the loop, the more judgment you must encode into its done-condition and verification. But judgment about a new problem cannot be specified in advance: Kent Beck, for example, usually puts it this way — in Design Play the payoff is unpredictable, and the right structure is found through creative experimentation, not derived deterministically!

And third: even if the done-condition is perfect at the start, the loop still pulls quality toward the codebase average — that same comprehension debt. The bar can be raised only by an external change: the boundaries are redefined again, by a human again.

Put these three things together. A truly high-quality loop would require automating (1) verification-as-proof and (2) the choice of goal and boundaries — the very things that cannot be automated. That is why a “self-sufficient high-quality loop” does not exist in practice. Raising the floor — execution — is both possible and necessary. But the quality ceiling always runs into continuous human authorship.

FIG. 3 · THE QUALITY CIRCLE

done-condition

Claim

“Done” has been asserted

needs a check you trust

trusted verification

Proof

The assertion becomes evidence

choosing the check is judgment

goal + boundaries

Authorship

Judgment about the new problem arrives from outside

and that judgment goes back into the done-condition — by hand

comprehension debt: without external intervention, quality slides toward the repository average

The higher the loop's bar, the more human judgment must be encoded into its goal and verification.

Someone will object: modern agents no longer merely execute a given goal — they find their own tasks. So we have pushed the authorship boundary back. We have, yes. But we have not removed it. Even a loop that “decides for itself what to do” decides according to a criterion supplied from outside. You can build another loop on top and let it choose the criterion for the first. But that loop will have its own criterion, also supplied. It is the same staircase of floors: however high you build, on the top step there is always a human asking, “why are we building this at all?”

What this means in practice

Determinism is the essence of engineering. My entire program is about making AI development reproducible and verifiable. But 100% determinism is unattainable for a simple reason: we are constantly building things that did not exist before. This is why a loop cannot be left unsupervised — not because it is weak, but because novelty exists, by definition, outside the loop.

A product is a spiral, not a circle. Along one axis there is rotation: iterations and the inertia of the loop. Along the other two there are displacements: structural jumps and injections of novelty. Forward movement exists only because someone regularly knocks the system out of orbit.

FIG. 4 · A SPIRAL, NOT A CIRCLE

a circle: a hundred runs, the same point

a spiral: turns + outside pushes — forward motion

Rotationiterations + inertia
Displacementstructural jump
Noveltyorbit disrupted
A circle repeats itself. A spiral moves forward because someone changes the plane of motion.

The conclusion is simple: try building loops. You will NOT get it right, and then everything will be fine! If you are developing a product, then ultimately, as it comes into contact with the world, everything will keep evolving — and that is good! Automate execution aggressively. But keep hold of the two things that cannot be delegated: choosing the goal and verification as proof.

That is what it means to remain an engineer in 2026.

Source for the term and quotations: Loop Engineering — Addy Osmani. Beck references: Structure & Behavior, Design Play.


Keep reading

AI-ready SDLC 14 min

AI Engineering Radar for CTOs

Operational radar for CTOs: what to adopt now, what to pilot, what to assess, and what to keep out of production in an AI-ready SDLC.

AI-ready SDLC 17 min

AI evals for CTOs: a 3-step recipe for AI features in product and AI tooling in delivery

Three eval loops for AI features, AI tooling, and agentic/MCP workflows: capture layer, golden set, grader in CI, and vendor-drift detection.