Microsoft tests how contradictory documentation misleads coding agents
Understand this story
Microsoft used Dev Proxy to empirically test how contradictory documentation affects AI coding agents: in GitHub Copilot Chat in VS Code, targeting 3 real contradictions in product documentation, it ran about 140 trials with three models: Claude Sonnet 5.5, Claude Haiku 5.5, and GPT-6.1 Terra. In the tests, the documentation was not placed in the workspace; each prompt included only a link to the documentation, and Dev Proxy v4.0.0 was installed in the way developers normally install it. The results show that agents often noticed the conflict between the two pages but still first acted according to the incorrect page. When the error caused a visible failure such as a 404, all agents were able to recover, but the detour consumed up to 38% more tokens; if the error was not exposed until CI, agents sometimes delivered a bad result and claimed it was complete. Agents that checked a second source before writing code were not misled at all.
AI overview based on source reports · Updated 36 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIDo inconsistent docs hurt AI coding agents?
A Microsoft study tested three real contradictions in Dev Proxy documentation across about 140 agent runs with three models, finding that agents often noticed two pages disagreed yet still followed the wrong page first. When the error surfaced immediately, such as a 404 from an outdated API endpoint, every agent recovered but the detour added as much as 38% to token use; when the mistake stayed silent until CI, an agent sometimes returned a broken result and reported the work as done. Agents that checked a second source before writing code, like the API reference or the installed product, were not misled at all.
Activity for this story
Not enough continuous observations to show a trend yet.