The same corrections get typed to coding agents again and again: “less text”, “fix the PR checks”, “strip those comments”. Counting them across 64 sessions showed that most weren’t missing rules at all. The rule existed; it lived in the wrong step of the loop. This post covers the count, where a rule has to live to be followed, and six habits that came out of it.
It is the follow-up to the post on comprehension debt, which introduced the skills these loops run on. They pay off where they force thinking, and fall short on the boring parts, which cost the one resource that keeps running out: attention.
The count
The pattern is easy to recognise: a different session, the same correction. The fix for the latest annoyance is always tempting, and it is the wrong unit. A rule added on a hunch lives only while its text is in the context window, and compaction summarizes it away right when it is needed. The bar has to be evidence across sessions.
So an agent went through the transcripts of 64 sessions and counted: which corrections have to be stated before the agent does the right thing, ranked by the number of distinct sessions? Eight patterns came back.
The corrections typed again and again
Sessions, out of 64, where it had to be said before the agent did it
Replies too long
24PR descriptions written for a machine
17AI-slop code comments
15Verified on the backend, not the UI
9Claims about code with no clickable line
8Root cause stated, never tested
7Stale context after a fork
6PR build left red
5This is the repeat tax: the attention paid every time something is restated that the loop should already know. Each payment is small, which is exactly why the payments continue.
The rule existed; it lived in the wrong place
For most of these patterns a rule was already written down, and the correction was still being typed. Nearly every such rule lived in a review step or an anti-pattern list, not in the step that actually produces the work.
Take the slop comments. The critic gate already said to scan every added comment and strip the narration. But the critic runs at the end. So the loop wrote slop freely, the critic stripped what it caught, and a person cleaned up the rest, as the fallback critic. The red PR build was worse: no rule anywhere. Not one skill said CI had to be green.
There’s a structural reason this lands on the human. A /goal loop is graded by an evaluator that reads the transcript against the done-clause, and the clause said: all layers green, critic findings addressed. That clause can’t see a slop comment or a red build; neither is a layer. Anything outside done has exactly one enforcer: the person.
Same rule, two places
What happens to one slop comment in a loop
Rule in the review step
The loop writes the slop
The critic strips what it catches
The grader can’t see comments
You clean up the rest
Rule in the write step and in done
The loop writes clean comments
The critic confirms it held
The grader checks it as a row
Less lands on you
So both moved into done, as standing rows in every round:
- Comment hygiene. Constraint comments only, proven by quoting every comment the diff adds. It’s a write-time constraint; the critic only confirms it held. In the skill’s own words: “a round that writes slop and strips it later has already spent your attention.”
- Build green. “Push is not done; green is done.” A failing check gets fixed inside the round, or the round stops and names the check.
Three more ways a rule fails
Shape without size. PR descriptions (“No human will ever read all that”) had shape rules, so the agent filled every header correctly and still wrote a wall. Shape gets satisfied; size needs a number. The fix was a counted budget, checked at write time: about 200 words, a short list of changes batched by outcome, at most three validation items.
The rule is the bug. A voice rule banned file.py:123 in prose to keep jargon out. It also suppressed the one thing that kept being asked for: a pointer to a line that can be clicked. A rule that blocks what the reader wants gets overridden by hand, every time.
The output has the wrong reader. Every round used to end on a completion report of around 3,000 characters. The proofs in it had to stay; the grader needs them. But a loop has two readers: the grader reads the transcript, and a person reads the last message. The close became three sentences or fewer, after the proofs: what works now, and what needs a person.
The test plan nobody co-wrote
The biggest gap wasn’t a missing rule. One session has it in a single line: “We’re never really discussing what we will actually test in the layers. It’s always auto inferred, without my input.” The verification layers are the definition of done; the loop is graded on nothing else. And they were the one part of the brief that the human never co-authored.
The result: the same handful of things got verified every round but were re-derived from a blank page, and a layer that was argued rather than run could hide in prose. In one session it sat inside a parenthetical for 250 turns before it was caught.
The fix is to plan what to test before where: the nominal cases, plus a standing edge checklist (isolation from other users, bad input, the failure path, two things at once, and the second turn rather than just the first), agreed one at a time. A substitute check never counts as a pass.
Six habits
- Count before you fix. A correction made once is an anecdote; one made in 15 sessions is a missing rule. Rank by distinct sessions, fix one at a time, and prune what doesn’t stick.
- If it isn’t in done, you’re the enforcement. The grader can’t see what the done-clause doesn’t name, so put the boring stuff there too.
- Constrain at write time; confirm at review time. A critic that cleans up after the fact means the mess was made, and someone already paid to read it.
- Give rules a number. A shape rule gets satisfied by a well-formatted wall. A budget doesn’t.
- Co-write the test plan. If you didn’t help decide what “done” gets checked against, you don’t know what the green checkmark means.
- Count again after the fix. A rule change is not a fix. Three of the five patterns that got a new rule showed up again within two weeks, and the rules had to be hardened.
What still has no fix
- Length. “Less text” is the least sticky rule. It sits in the always-on instructions, it has its own skill, and the correction still comes back. There is no fix, only a reset button.
- Untested diagnoses. A plausible root cause gets stated as fact until someone asks whether it was tried or assumed. A diagnosis should stay a hypothesis until it’s reproduced, with the one command that would confirm it.
- Stale context after a fork. A forked session inherits the history, but not what its sibling learned since.
The skills behind these loops are public in the architect-in-the-loop repo.
