In this article7 min read
In brief
- Amazon researchers ran ten coding agents through 280 chains of 20 linked requests, built from real open-source projects.
- Left alone, the agents completed 51% of the chains, even though they completed 66 to 84% of the individual requests inside them.
- The cause was mistakes nobody caught. An agent calls a step done when its own tests pass, and the next step builds on the error.
- My read: in coding agent chains, the check between steps matters more than the check at the end. Run the work before you ask for the next thing.
How coding agent chains go quietly wrong
Coding agent chains are now an ordinary way to work. Picture a typical afternoon. A developer asks an agent to add a field to a data model. Then to expose it through the API. Then validation, a migration, and a report that uses the new field.
Each request takes a few minutes. Each one comes back “done”. By four o’clock there are five green ticks in the chat and a pleasant sense of momentum.
The trouble is step two. It passed the agent’s own tests but broke a rule nobody had written a test for. Steps three to five now sit on top of it. Nothing shouts. The report even renders.
That pattern now has a name and some numbers. On 1 November 2026, Alejandro Cuadron and Arpit Gupta of Amazon posted Built on Broken Assumptions (BOBA): Why Coding Agents Cannot Be Left Alone to arXiv. It is a preprint, so it has not been peer reviewed yet. The title does not hedge, and having read the paper, I can see why.
What the study measured
The researchers built a benchmark, BOBA-Bench, from the commit histories of 140 open-source Python projects. They turned stretches of each history into chains of 20 requests, specified from the tests the original developers had written. That gave 280 chains and 5,600 requests.
Each request went to the agent in a fresh conversation, on whatever state the previous request had left behind. Hidden tests graded every step. The agent was told nothing about how it had done, so the chain carried on regardless. Ten agents took part, from open-weight models to the current frontier. That set-up is much closer to how teams actually run coding agent chains than a one-off benchmark task.

- Chains completed: 51% on average with agents working alone. Only 39% got through without a single missed request or a broken earlier test.
- Single requests: the same agents completed 66 to 84% of the requests those chains were made of.
- After a miss: a request issued on broken code failed about twice as often as one on a clean base. Only 14 to 33% of failing tests were ever repaired.
- Self-review: asked whether an implementation was correct, agents were right 53% of the time, “barely better than a coin flip”.
- One outside signal: a single external “that’s wrong” plus one repair round lifted chain completion from 51% to 59%.
The finding that surprised me most is about code quality. Once checked, agent code was nearly as good a base for later work as the developers’ own code, within 4 points for every model. Bad code was not the problem. Unnoticed bad code was.
Why the agent’s done is not your check
The paper’s explanation is uncomfortably simple. Coding agents “declare a request done once their own tests pass, even when those tests miss a mistake.” If the agent misreads the request, it writes tests for its misreading, and they pass. Very consistent. Not much use.
A second agent does not rescue it. The researchers asked each of the ten models to review matched pairs of right and wrong implementations. Lenient reviewers accepted 77 to 95% of the wrong ones. Strict reviewers rejected 41 to 58% of the correct ones. In both cases the reviewer could not reliably tell the two apart.
A separate preprint, posted three days later, points the same way. Multi-step SWE, from Klavis AI, chains 5 to 15 multi-hour steps on one codebase. Across nine frontier models, the best solved 18.5% of whole tasks while passing 56.8% of its individual steps. The authors note that failing agents “often stop early and report success, having checked their work only against their own expectations.”
So the green tick tells you the agent is satisfied. It does not tell you the work is right. I wrote earlier that AI coding has moved the bottleneck from creation to verification. These two studies show where in a sequence of work that bottleneck bites hardest: at the joins.
Where checks pay off in coding agent chains
The most useful part of the BOBA paper is short. For people who hand an agent a sequence of requests, the authors make two recommendations.
“Check before you build on it.”
Run the change or try the feature before you issue the next request. In the study, a repaired step was as reliable a base as one that was never wrong. An unrepaired one dragged down whatever came after it.
“Say what you saw.”
A bare “verification failed” helps. Naming the failing test helps more. In the follow-up tests, naming it once achieved what repeating the rejection achieved in about three rounds. In the paper’s words, “naming the test replaces it with a fact.”
There is a cost. The repair round raised the regression rate by 3 to 9 points and added extra model calls per chain. Even a perfect supervisor recovered only part of the loss. Think of it as a seatbelt. Nobody claims it drives the car.
The fair case against worrying
I want to give the other side a proper hearing.
- The benchmark removes the human on purpose. I suspect most teams look at the work between steps at least some of the time, so real chains may hold up better.
- It is Python only, on open-source projects. Your codebase, tests and habits may differ.
- Models are improving quickly. The authors call their own recommendations “patches, not a principled approach” and expect them to become unnecessary once agents can certify their own work.
- Both studies are preprints, written by the people who built the benchmarks.
All fair. Still, two independent teams found the same shape in coding agent chains, and the remedy is cheap. Running the feature before asking for the next one takes minutes. Unpicking four layers built on a broken second step takes rather longer.
A checkpoint routine for coding agent chains
Here is how I would turn the findings into team practice. The two quoted recommendations are the authors’. The rest is my own inference from their results, so treat it as a starting point.

| Step in the chain | Check before the next request | Who runs it |
|---|---|---|
| Foundation step (data model, schema, interface) | Run it against tests the agent did not write, and try one real case by hand | A person who knows the business rule |
| Step that builds on earlier work | Re-run every earlier step’s checks, not only this step’s | The pipeline, every time |
| Agent reports done | Treat it as a claim. Look at what changed outside the request | The developer |
| Something fails | Paste the failing test name, the error or the exact behaviour seen | The developer |
| Another agent reviews | Useful for spotting issues, never the gate on its own | Nobody relies on it alone |
| Sub-agent did the work | Send the failure to the sub-agent, not only the orchestrator | Whoever owns the agent setup |
Five habits to start with
- Mark the foundation steps. Before starting, say which requests later ones will build on. Those get the hard check.
- Keep a contract the agent cannot edit. Write the acceptance tests or checklist before the work, and keep them where the agent cannot rewrite them.
- Re-run earlier checks at every step. In 23 to 43% of attempts in the study, a later request broke a test that had passed, usually one of the agent’s own earlier ones.
- Feed back facts. Name the test, paste the error, describe what the screen showed. “It’s wrong, try again” is the slow route.
- Shorten the chain when nobody can check. If no one can verify step three today, do not ask for step four today.
If your team already has promotion gates for AI-assisted changes, as in the 30-day verification plan, this slots in underneath them: a gate for each foundation step, on top of the one at the pull request.
Continue the journey
One thought leads to another.
Scroll to explore
Enterprise Delivery
Winning phase one of an AI rollout can lose you phase two
AI Governance
AI shrinkflation: same price, less tool, nobody told you
AI Governance
Patch window: your release train is now racing a diff
AI Governance
Shadow AI: the habit your AI policy was not built for
The 1% Book Shelf
Manage the Machine: from sign-off box to human at the helm
Enterprise Delivery
Stale TODO comments: the old notes coding agents now act on


Leave a Reply