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.
the goal + done-condition are written by a human — BEFORE launch
- 01 Fixed start The context does not drift
- 02 Concrete goal What counts as movement
- 03 External verification A check beyond the agent's claim
- 04 Fixed state The result becomes the new start
- 05 Next run And the circuit closes
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.
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.
done-condition
Claim“Done” has been asserted
trusted verification
ProofThe assertion becomes evidence
and that judgment goes back into the done-condition — by hand
comprehension debt: without external intervention, quality slides toward the repository average
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.
a circle: a hundred runs, the same point
a spiral: turns + outside pushes — forward 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.