69267c536c
A resource's name and its URI are deliberately different (`editor_state` vs `mcpforunity://editor/state`), and the URI scheme is not derivable from the name -- most resources are `category/thing` but several are flat (`mcpforunity://instances`, `mcpforunity://menu-items`, `mcpforunity://tests`). Several agent-facing strings still named resources without their URI, so an agent following them built `mcpforunity://editor_state` and got a 404: - server instructions listed resources by bare name and told the reader to "poll the `editor_state` resource's `isCompiling` field" (that field path is also wrong -- payloads are wrapped, so it is `data.compilation.is_compiling`) - `refresh_unity`'s `wait_for_ready` parameter description referred to `editor_state.advice.ready_for_tools` - the hint Unity returns in the `refresh_unity` result said "poll editor_state until ready_for_tools is true" #1244 added a warning that names and URIs are not interchangeable, but left the strings that trigger the mistake unchanged. Spell every resource reference as a full URI instead, and correct the field paths while here. Adds a regression test asserting that no agent-facing prose -- server instructions, resource descriptions, tool and parameter descriptions, and multi-word string literals under MCPForUnity/Editor -- mentions a resource by its snake_case name without also giving that resource's URI.