# A warning that names the failing plan redirected agents; a tip did not

> Microsoft reports that a documentation tip pointing to the right tool got 1 of 5 agent runs to use it, while a warning naming the agent's failing approach...

Section: Evidence record · Vendor measurement  
Canonical: https://agentexperience.tech/evidence/ev-0029/

Microsoft reports that a documentation tip pointing to the right tool got 1 of 5 agent runs to use it, while a warning naming the agent's failing approach ('Manually updating package.json alone will result in build failures') got 5 of 5.

- **Evidence type**: [Vendor measurement](https://agentexperience.tech/evidence/#class-vendor-measurement): a vendor measuring its own productevidence class
- **Kind of finding**: Measurementfinding type
- **Checked against**: The full text, 8 Oct 2026 verification
- **Topics**: [docs-for-agents](https://agentexperience.tech/evidence/#pattern-docs-for-agents), [propensity](https://agentexperience.tech/evidence/#pattern-propensity) pattern tags
- **Source**: [Your agent already has a plan](https://developer.microsoft.com/blog/your-agent-already-has-a-plan/), Microsoft for DevelopersTrinder · 26 Jun 2026
- **Authors' stake**: Microsoft authors evaluating with Microsoft tools (GitHub Copilot Chat, VS Code) and, where noted, Microsoft products.conflicts of interest

[Read the source](https://developer.microsoft.com/blog/your-agent-already-has-a-plan/) [Cite this record](https://agentexperience.tech/evidence/ev-0029/#cite)

## What the source measured

- **What was measuredmetric**: Runs in which the agent used the recommended CLI for an SPFx upgrade
- **Without the changebaseline**: More direct tip naming the tool: 1 of 5
- **With the changetreatment**: Warning naming the failing approach: 5 of 5
- **Which way it moveddirection**: Up
- **How bigsize**: 1/5 to 5/5
- **How many casessample**: Five runs per condition

## Who and what was tested

- **Note on models:** The post does not state the profile. Microsoft's SPFx case study of the same documentation work used GitHub Copilot Chat in VS Code on Windows with Claude Sonnet 4.6.

## Does anyone have a stake?

Microsoft authors evaluating with Microsoft tools (GitHub Copilot Chat, VS Code) and, where noted, Microsoft products. Microsoft reports the results itself. The documentation measured is Microsoft's SharePoint Framework documentation.

## Source

[Your agent already has a plan](https://developer.microsoft.com/blog/your-agent-already-has-a-plan/). Garry Trinder. Microsoft for Developers, 26 June 2026.

The full primary source was fetched on 2026-10-08 and every number in this record was found in it. The page displays 25 June 2026; its article:published\_time metadata is 2026-06-26T00:00:05Z. Pull request #10921, which shipped the warning across release pages, was confirmed merged on 2026-07-14.

Corroborating sources:

- [Behind SPFx Dev Skills: testing what agents know and fixing what they miss](https://devblogs.microsoft.com/microsoft365dev/behind-spfx-dev-skills-testing-what-agents-know-and-fixing-what-they-miss/), Microsoft 365 Developer Blog, 2 September 2026.
- [SharePoint/sp-dev-docs#10921: Optimize SPFx release pages for agentic upgrade workflows](https://github.com/SharePoint/sp-dev-docs/pull/10921), GitHub, 14 July 2026.

## Limits of this finding

- Vendor-run evaluation, not peer reviewed; no raw data or harness was found published with the post.
- Five runs per condition; Microsoft scopes each result to the agent profile it measured.
- One upgrade scenario; the authors advise using this tactic sparingly.

## What this means if you build tools

If agents keep taking a wrong path despite your docs, name that path on the page and say plainly that it fails, then give the right alternative. Keep it for cases where the default really fails.

## Cite this record

Cite the original source for any number, and keep the evidence type and the models tested next to the figure. To point at this record, cite it as: AX evidence register, “A warning that names the failing plan redirected agents; a tip did not”, `https://agentexperience.tech/evidence/ev-0029/`. The record is also in [/evidence.json](https://agentexperience.tech/evidence.json).

## Go here next

- [Example does not match the schema](https://agentexperience.tech/checks/axc-d019/): A published example call fails the schema it illustrates, so an agent copying it gets an error. Rule
- [Write agent-readable documentation](https://agentexperience.tech/insights/make-documentation-legible/): What AI agents read, how to shape a page around a single decision, and how to keep the text true as the product moves. Guide
- [Adding the context7 MCP server gave no lift; its tools went unused](https://agentexperience.tech/evidence/ev-0030/): Microsoft reports that adding the context7 MCP server to an anti-hallucination skill gave no meaningful lift on an SPFx upgrade: its tools did not load in 3 of 5 runs and were not called in the other 2, while telling the agent to use CLI for Microsoft 365 raised configuration correctness from 30/80 to 75/80. Evidence

[A JSON input mode for a CLI raised agent cost 4x to 11x](https://agentexperience.tech/evidence/ev-0028/)

[Adding the context7 MCP server gave no lift; its tools went unused](https://agentexperience.tech/evidence/ev-0030/)

[All records](https://agentexperience.tech/evidence/)
