Code got cheap. Clarity did not.
David Scott Turner
6 min
Agents made writing software fast and almost free. The constraint moved upstream, to knowing what should be built and proving that what shipped still matches it.
A team with agents can produce a change in minutes. It compiles, it passes its tests and it reads well. Saying whether it is the right change can still take days.
That slow part is clarity: knowing what the code is for, and whether it still does that once it has shipped. Agents did not remove the constraint on building software. They moved it, from writing the code to knowing what it should do.
You feel this if you lead product, architecture or engineering and ship with agents. The work arrives on time and looks finished. Whether it is what you meant is a separate question, and often nobody owns the answer.
The fix is not a larger context window. It is a record of what the product is meant to do. The agent is shown it before it starts, and the result is checked against it.
We work on that record every day at Flech, and this is how we see the problem.
Code, clarity and drift
Code is the part that got cheap: a change that compiles, passes its tests and reads well.
Clarity is knowing what the change is for. It is the intent in the sponsor’s own words, the decisions already made, and the constraints a change must respect.
Drift is the gap between what was intended and what got built. It is what missing clarity looks like once the code has shipped.
More code, not more software
The clearest evidence we know is a 2026 study of more than 500,000 developers on GitHub. It followed them through three generations of tools: autocomplete, interactive agents and autonomous agents. Taken together, the three raised commits by 240%, the number of projects by 80%, and actual releases by 30%.1
The writing sped up far more than the shipping. The authors say this fits a weak link: human bottlenecks in the chain hold back what AI adds to the writing.
They also checked four software marketplaces. New apps rose sharply, and total use did not.
Read it with care: it is a working paper, it measures activity on GitHub, and it is not a trial. The next step is ours, not the authors’. We think much of that bottleneck is clarity: deciding what a change should do, and checking that it did.
A window is not a memory
The usual answer is more context. Put the repository in the window, then the backlog, then the wiki.
It fails for two reasons. Much of what a product has decided was never written anywhere a window can reach. And what does go in is not read evenly.
Google’s own evaluation of Gemini 3.1 Pro shows how uneven. One test buries eight similar pieces of writing in a long conversation, then asks the model to reproduce a particular one.
On inputs up to 128,000 tokens the model scored 84.9%. At the full 1 million tokens it scored 26.3%.2
This is one vendor’s result on one narrow test. The first score is an average over shorter inputs, and the second is a single length.
Other work points the same way. Chroma tested 18 models on deliberately simple tasks in 2025. Across its experiments, performance degraded as the input grew.3
So an agent with a full window works from whatever it happened to find on that run. A decision can be in the window and still go unused.
A record, not a bigger window
If code is cheap and context is lossy, the work that counts happens before the agent starts and after it stops. Three things do that work.
The intent is what should be built, in the sponsor’s own words, split into claims that can be checked. “Paying feels instant” is a title. “Every EU card payment passes 3-D Secure” is a claim.
The record holds the decisions, constraints and exceptions, each tied to the claim it affects. People and agents read the same one. A rule that lives in one senior engineer’s head never reaches an agent.
The check compares what was built with the record, at design, in code, at release and in production. It runs every time, not once at review.
Meetings, memory and goodwill used to do this work. An agent has none of them. It has what it was given.
That calls for a product layer above the model. The model writes the code. The product layer knows the product.
It picks what an agent sees on each run: the claims, decisions and exceptions that apply to the task. It picks them from the record by rule, not by search, so the same task gets the same context every time.
Then it checks the result against the same record. A gap shows up as drift, with what was asked beside what is there, and a person decides.
A task without the record
This is the story our product demo tells. The company and the people are made up. The failure is ordinary.
A payments team has an intent called Paying feels instant, sponsored by Sarah Chen. It reads: “one step from checkout to a confirmed order, and we keep EU cards safe with 3-D Secure every time.”
An agent picks up the unit of work US-0991 Payment Flow. The ticket asks for one thing: capture payment and confirm the order in one step. The agent reads the payment service, builds it, and the tests pass.
On the way it opens the config for eu-west, payment-service/config/eu-west.yaml. One line sets sca_skip_renewals: true for a customer called Globex.
The ticket does not mention that line, so the agent leaves it alone. A careful engineer new to the team would do the same.
US-0991 ships, and checkout is one step as asked. Globex renewals in eu-west still skip 3-D Secure, which nobody meant.
“It did exactly what the ticket said.”
The flag was an agreed exception, and the agreement expired on Sep 15. That fact lived in a decision, not in the repository. No amount of reading the code would have found it.
With the record, the run starts differently. The agent is shown the claim that every EU card payment passes 3-D Secure. It is shown the exception too, with its end date, so it removes the flag or stops and asks.
If the change ships anyway, the check catches it. Flech raises finding F-201 and sets what was asked beside what is there. One side says 3-D Secure every time, and the other is a config that skips it.
A person decides whether to fix the config or change the intent. Nothing is applied until they do.
Where to start
The goal is not more code. Agents have that covered. It is to be clear about what the code is for, and to know when it stops doing it.
Start with one intent that matters. Write its claims down, attach the decisions that qualify them, and see what your agents were never told.
Flech keeps that record, checks what gets built against it at every stage, and leaves the decision to a person. We are in early access with a small group of design partners, and we would like to hear from you.
Sources
Mert Demirer, Leon Musolff and Liyuan Yang, Writing Code vs. Shipping Code: Productivity Effects Across Generations of AI Coding Tools, NBER Working Paper 35275, May 2026, revised September 2026. A matched event study of more than 500,000 GitHub developers and their AI usage telemetry. A working paper: commits measure activity, and the sample is work on GitHub.
Back to textGoogle DeepMind, Gemini 3.1 Pro model card and evaluation methodology, February 2026. MRCR v2 with eight needles: 84.9% as a cumulative score up to 128k tokens, 26.3% as a single point at 1M. Reported by the vendor, for one model on one test, which is described in its repository.
Back to textKelly Hong, Anton Troynikov and Jeff Huber, Context Rot: How Increasing Input Tokens Impacts LLM Performance, Chroma, July 2025. 18 models on controlled retrieval and text replication tasks. The authors say the tasks are simpler than real use and do not cover every case.
Back to text