adityamparikh commented on PR #331:
URL: https://github.com/apache/solr-mcp/pull/331#issuecomment-7288246487

   Closing: once the open stack (#332 … #300) merges, this skill is redundant, 
and parts of it would be wrong.
   
   - The code steps duplicate rules the build or `AGENTS.md` already enforces. 
`McpToolRegistrationTest.everyMcpEndpointRequiresItsScope` checks every 
endpoint's `@PreAuthorize` scope, the conformance tests check output schemas 
and the missing-target failure arguments, and `AGENTS.md`'s "Package map" and 
"MCP contracts" sections cover where a tool goes and what it returns.
   - Against the stacked code, several steps are wrong: 
`@PreAuthorize("isAuthenticated()")` (now 
`McpAuthorities.READ`/`WRITE`/`ADMIN`), five service classes (now six, with 
`alias/` and `cluster/`), and `util/PromptNames`/`PromptText` (removed in #323).
   - The one gap it covered, the written tool counts in the docs, is fixed at 
the source instead: #270 drops the counts, and #284 adds a test that fails when 
a class with an MCP endpoint is missing from the scope check.
   
   ---
   _Generated by [Claude Code](https://claude.ai/code)_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to