The recurring complaint among teams working this way through 2026 is not that generated code fails. It is drift: confident, plausible, well-formed code that quietly solves a slightly different problem from the one anybody meant. The work looks finished, it passes review, and the misalignment surfaces when someone tries to use it.
This is a different failure from a bug, and it needs a different response. A bug is a mistake in the execution of a known intention. Drift is a faithful execution of an intention nobody wrote down, which means testing harder will not find it. The tests were written against the same misunderstanding.
Why unstated assumptions became expensive
Every requirement carries a large amount of context that nobody says aloud, because everyone in the room shares it.
Someone asks for a search that filters by date range. Nobody mentions that dates are inclusive at both ends, that the customer's financial year starts in April, that an empty range means everything rather than nothing, or that results must respect the permissions of the person searching. Those were never requirements. They were assumptions.
A developer who has worked on the system absorbs them without noticing. Something generating an implementation from the sentence you actually wrote does not, and it will make a reasonable choice for each one. Reasonable, consistent, and different from what you meant on at least one of them.
That is the whole mechanism. The cost of ambiguity used to be absorbed by shared context, and the volume of code being produced has outgrown the shared context available to absorb it.
The specification became the load-bearing artefact
The response practitioners have converged on is to write the thing down first, properly, and treat it as authoritative rather than as documentation produced afterwards.
This is unfashionable, because a decade of agile practice correctly pushed back against heavy specifications written by people who would never build the thing. The version that is working now is different in an important way: it is short, it is written by whoever is doing the work, and it is revised constantly rather than signed off once.
What it contains is the part that was previously assumed. Not screen layouts and not a project plan, but the decisions that would otherwise be made silently: what happens at the boundaries, what an empty case means, which rules take priority when two conflict, and what is explicitly out of scope.
In practice a page is usually enough. The value is not in the length; it is that the ambiguous decisions get made by a person before rather than by a generator during.
Read More - Your Team Ships Faster and Delivers the Same. Look at the Review Column.
Four phases, with a person at each seam
The workflow that has emerged around this separates into specify, plan, tasks, implement, with a human checkpoint between each one.
Specify is what the change must do and what it must not, in prose. Plan is how it will be built, which files it touches and what the approach is. Tasks breaks that into pieces small enough to verify individually. Implement is the code.
The value is entirely in the seams. Reviewing a specification takes two minutes and catches a misunderstanding at the point where correcting it costs a sentence. Reviewing a plan takes five and catches an approach that would have fought the existing architecture. Catching either of those at the implementation stage costs a day and a discarded branch.
We have watched this change the shape of a project's time rather than its total. More of it goes into the first two phases, considerably less goes into rework, and the visible effect is fewer occasions where a week of finished work turns out to be aimed at the wrong target.
Where to spend the checkpoint
If four checkpoints sound like more process than your team will accept, the honest answer is that one of them carries most of the value.
The plan review is the one to keep. It is the last point at which changing direction is cheap, and it catches both categories of drift: the misread requirement and the approach that conflicts with how the system already works.
Specification review is next most valuable and is often folded into the existing conversation about what to build, which means it costs nothing new. Task breakdown can usually be skipped for small changes.
The one that cannot be skipped is the last one, and it is the one everyone treats as optional under pressure. Code that nobody examined before merge is how drift reaches production.
Make the shared context explicit
The other half of the answer is to stop relying on conventions living in people's heads.
Write down the file structure, the error handling pattern, how logging is done, what the testing norms are, and which libraries are already in use for which purpose. Teams doing this describe the effect as everyone following the same playbook instead of each engineer applying their own discipline.
The immediate benefit is that generated work matches the codebase rather than introducing a fourth way of handling errors. The larger benefit is for people: a new engineer reads one document instead of inferring conventions from whichever file they open first.
Start with the three things your team argues about most in review. Those arguments are unwritten conventions announcing themselves, and writing them down converts a recurring debate into a one-off decision.
When we join an existing codebase, the first thing we ask for is this document, and it almost never exists. What exists instead is three people who each know a different part of the convention, which works until one of them is on leave.
What this means for a web application specifically
Drift concentrates in the places where a web application meets ambiguity, and those places are predictable.
Permissions and visibility rules are the most common, because they are rarely fully specified and almost always assumed. Time zones and date boundaries are second. Money handling is third, and it is the one where a plausible implementation and a correct one differ in ways that take months to notice.
State transitions are the quiet fourth. What happens if a user submits twice, abandons halfway, or returns to a page after the underlying record changed. Nobody writes those down and every one of them is a decision.
If you specify nothing else, specify those four for any change that touches them. That is where we concentrate the effort when adding to an existing application, which we went through in adding AI to a web app that already works, and it is also where the confident wrong answers we described in stopping confident wrong answers in production tend to originate. Our web app development team treats the specification as the deliverable that gets reviewed, because it is the cheapest place to be wrong.
Frequently Asked Questions
Is this a return to big upfront design?
No. These specifications are a page, written by whoever is building, revised as understanding improves. The thing being restored is deciding the ambiguous cases deliberately, not producing a signed document before work starts.
How is drift different from a normal bug?
A bug is a mistake executing a known intention, and testing finds it. Drift is a faithful execution of an intention nobody stated, so the tests were written against the same misunderstanding and pass. Only a person comparing the result to the actual need catches it.
Which checkpoint matters most if we only keep one?
The plan review, before implementation. It is the last point where changing direction costs a conversation rather than a week, and it catches both a misread requirement and an approach that fights the existing design.
What should a one-page specification contain?
The decisions that would otherwise be silent: boundary behaviour, what empty means, which rule wins when two conflict, and what is explicitly out of scope. Not layouts, not a schedule, and not anything the code already says.
Does writing conventions down actually change anything?
Yes, in two ways. Work produced against them matches the codebase instead of introducing a new pattern, and new people onboard from a document rather than by inference. Start with whatever your team argues about most in review.
Where does drift show up most in web applications?
Permissions, time zones and date boundaries, money handling, and state transitions such as double submission or abandoning a flow partway. All four are usually assumed rather than specified, which is exactly why they drift.
Does this slow delivery?
It moves time earlier rather than adding it. More goes into specification and planning, much less into rework, and the change teams notice first is fewer weeks of finished work aimed at the wrong target.
Talk to our team if features are arriving finished, working, and not quite what anyone asked for.

