SemVer in one paragraph
Given a version number MAJOR.MINOR.PATCH, you increment MAJOR for incompatible API changes. Bug fixes that don't affect the API bump the patch version, and backward-compatible additions bump the minor version. The label records what the maintainer intended. It does not prove compatibility. It also depends on maintainers following the rules, and breaking changes still slip into minor and patch releases in practice. The Microsoft test deliberately creates that situation.
Experiment one: same code, different number
The team built a small Node.js app that depends on fluxkit, an invented npm library. A made-up package meant no model could lean on memorized API history. The new fluxkit version renames a function the app calls, so bumping the version without touching the app breaks it.
Agents got one of two minimal prompts: "Bump fluxkit to 1.4.3" (patch) or "Bump fluxkit to 2.0.0" (major). The library code was byte-identical under both. A run counted as "checked" if the agent ran the tests or the app, or read the updated library code. The runs used Vally, Microsoft's agent evaluation tool, with GitHub Copilot CLI as the agent.
| Model | Checked (patch) | Checked (major) | Verdict |
|---|---|---|---|
| Claude Sonnet 5.5 | 2/10 | 10/10 | Effect |
| Claude Opus 5.5 | 70/70 | 70/70 | No meaningful effect |
| GPT-6.1 Sol | 70/70 | 70/70 | No meaningful effect |
| GPT-6.1 Terra | 70/70 | 70/70 | No meaningful effect |
Under the patch label, Sonnet often changed only the dependency version and stopped, which left the app broken. Under the major label it checked every time. The other three models checked every upgrade under both labels. A five-run pilot of GPT-6 Sol behaved the same way, and Terra replaced it for the full run.
Experiment two: reviewing a teammate's branch
This setup is closer to real life, where a person or a dependency bot prepares a branch and someone else reviews it. The agent was told to review the update-<lib>-<version> branch and merge it into main if it was good. The version appeared only in the branch name and commit message. There were no release notes and no pull request description.
- There were six scenarios: three with a breaking change and three without.
- Each scenario was run with patch, minor and major labels over identical code.
- Six models got 30 runs per label, for 540 runs in total.
- The metric was how often an agent merged without checking the new version first.
- The authors set a 25-percentage-point threshold for a "real" difference before running anything. They then classed each result as effect, no meaningful effect or inconclusive using confidence intervals.
| Model | Unchecked merges (patch) | Unchecked merges (major) | Verdict |
|---|---|---|---|
| Claude Haiku 5.5 | 11/30 (37%) | 2/30 (7%) | Effect |
| Claude Sonnet 5.5 | 4/30 (13%) | 0/30 | Inconclusive, leaning toward an effect |
| GPT-6 Luna | 9/30 (30%) | 5/30 (17%) | Inconclusive |
| Claude Opus 5.5 | 0/30 | 0/30 | No meaningful effect |
| GPT-6.1 Sol | 0/30 | 0/30 | No meaningful effect |
| GPT-6.1 Terra | 0/30 | 0/30 | No meaningful effect |
Pooled across all six models (180 runs per label), unchecked merges fell as the label got scarier: 13% for patch, 9% for minor and 4% for major.
Within the Claude 5.5 family, the smaller the model, the more the label swayed it. Haiku showed a clear effect and Sonnet leaned that way. Opus ignored the label in both experiments. The authors say they can't draw the same size comparison for the GPT models, because Luna, Sol and Terra don't come from a single generation.
Did anything actually break?
Mostly not. Agents merged the non-breaking updates in 268 of 270 runs and the breaking ones in 13 of 270, so they were largely judging the code. But four of those 13 breaking merges left main broken, two from Haiku and two from GPT-6 Luna. All four carried a patch or minor label.
Every model, including the three that always checked, also talked about compatibility more often when reviewing a major release. So the label reached the agents' commentary even where it didn't change their behavior.
How much weight to put on this
The authors are open about the limits, and a few more are worth adding.
- Deliberate rule-breaking. The team shipped a breaking change under a patch label on purpose. The results describe how agents handle the exceptions, not how often real patch releases fail.
- Small apps and no release notes. Real upgrades usually ship changelogs, which an agent might read and which could shrink the effect.
- Inconclusive results are inconclusive. The 13-point gaps for Sonnet and Luna in experiment two are too uncertain at 30 runs per label. Don't read them as proof of an effect, or of its absence.
- Three clean models are not a trend. In the authors' words, three models ignoring the label doesn't mean models are outgrowing SemVer. The next model you switch to might not.
- Vendor-run and unreplicated. This is a Microsoft team testing agents through Microsoft's own tools. The model names and numbers here come from that one post and haven't been independently reproduced.
- Scheme not tested. The study didn't test whether a different versioning scheme would work better for agents.
My own read, from general industry experience rather than the study: an agent that skips checks on a "patch" is behaving like a hurried human skimming a Dependabot PR. That's unsurprising, and it's also a bad habit to have built into automation.
What to do about it
If you maintain a library:
- Keep using SemVer and keep it honest. A breaking change shipped as a patch is the case where label-sensitive agents skip the check. Every broken main in the study carried a patch or minor label.
If agents upgrade your dependencies:
- Don't let the label decide how much verification happens.
- Require CI to pass on every dependency branch, so a patch gets the same scrutiny as a major release.
- Remember that some models check everything on their own and some check only when the number looks risky. Don't assume yours is the careful kind.
If you evaluate agents:
- Treat the version number as a hidden variable. With Haiku or Sonnet, a patch-bump scenario measures a different agent than a major-bump one.
- Test the models your developers actually use. Testing only Opus would suggest agents ignore the label, and testing only Haiku would suggest the opposite.
- Read the run trajectories. A run where the agent bumped a patch and got lucky passes just like one where it verified.
Bottom line
Some agents care about SemVer and some don't. For the ones that do, a patch label works like a "nothing to see here" sign. As the post concludes, the version number tells an agent how worried to be, and only the tests tell it whether it should be. Make your pipeline run the tests either way.
References
- Do AI coding agents care about SemVer? Microsoft Developer Blogs · 2026-11-09T16:01:03+00:00
- Semantic Versioning Best Practices: Guide for Developers in 2026 gitwatchman.com