Orbit · Radar

Microsoft tests: some coding agents trust the version label over the code

In almost 1,000 runs with identical code, a patch label made some coding agents skip checks on a breaking dependency upgrade. Others ignored the label entirely.

Published
Reading time
2 min read
Ion
Summarised by IonSourceMicrosoft DevBlogsIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

Semantic versioning is a signal for humans: a patch is routine, a major release deserves a careful read. A team at Microsoft asked whether coding agents, which can read the new code and run the tests themselves, still react to that label. According to the original report, some of them do — and the label changes how thoroughly they check.

What happened

The experiments used a fictional npm library so no model could rely on prior knowledge of its API. The new version renamed a function the sample app called, so upgrading without touching the app left it broken. The library code was byte-identical under both labels; only the version number differed.

In the first experiment, Claude Sonnet 5.5 ran the tests or read the updated library code in 2 of 10 runs when the bump was labeled 1.4.3, and in 10 of 10 when it was labeled 2.0.0. Claude Opus 5.5, GPT-6.1 Sol and GPT-6.1 Terra checked every upgrade under both labels.

The second experiment simulated review of a prepared update branch, with the version visible only in the branch name and commit message — no release notes, no PR description. Six models, 540 runs. Claude Haiku 5.5 merged patch-labeled updates without checking in 37% of runs versus 7% for major-labeled ones. Claude Sonnet 5.5 and GPT-6 Luna leaned the same way but did not clear the 25-point threshold the authors set in advance. Across all six models, unchecked merges fell from 13% (patch) to 9% (minor) to 4% (major). Four runs left main broken — all four under a patch or minor label.

The authors are explicit about limits: they deliberately shipped a breaking change as a patch, the apps were small, and real upgrades usually come with release notes an agent could read.

Why it matters

If your team has agents doing dependency bumps or reviewing bot-prepared branches, the amount of verification you actually get may depend on a string in a filename rather than on your policy. That is an invisible variable: two runs that look identical in the log can represent very different levels of scrutiny.

It also cuts the other way for anyone who publishes a library or an internal package. Version numbers are now part of how automated consumers judge your release. A breaking change shipped as a patch is precisely the case where the less careful agents stop looking.

And the result is model-specific. Within the Claude 5.5 family, the smaller the model, the more the label swayed it. Switching models — for cost, latency or availability — can quietly change this behaviour.

What to do

  • Put verification in the pipeline, not in the agent's judgement. CI that must pass on every dependency branch gives a patch the same treatment as a major release.
  • Keep your own versioning honest, including for internal packages. If a release breaks consumers, label it as a major one.
  • Require release notes or a changelog link on dependency update PRs, so agents and reviewers have something besides the number to read.
  • When you evaluate or swap agent models, test the scenarios your developers actually run, and read the trajectories — a run that got lucky passes the same way as a run that checked.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

Microsoft tests: some coding agents trust the version label over the code | DeLion Software