adityamparikh opened a new pull request, #315:
URL: https://github.com/apache/solr-mcp/pull/315

   ## Summary
   
   `AGENTS.md` (loaded by `CLAUDE.md` too) had two false claims, no map of four 
of the seven packages, and no list of the actions an agent must not take on its 
own.
   
   ```diff
    ## Project Overview
   +## Ask before doing          # ./gradlew jib, release workflows, 
release-process steps,
   +                             # SOLR_URL at a non-local cluster
    ## Common Commands
    ...
    ## Architecture
   -### MCP Tools                # "Four service classes" (there are five)
   +### Package map              # five tool classes with their 
tool/prompt/resource names,
   +                             # plus config/, security/, util/ and a pointer 
to
   +                             # ARCHITECTURE.md "Design Decisions"
    ...
    ### CI coverage
   -The Jib JVM path runs in `build-and-publish.yml`.
   +No workflow tests the Jib JVM image; run ./gradlew dockerIntegrationTest 
locally.
    ...
    ## Key Configuration
   +- HTTP_SECURITY_ENABLED      # secured by default; false turns off OAuth2 + 
@PreAuthorize
   ```
   
   The package map points at `dev-docs/ARCHITECTURE.md` only for its "Design 
Decisions". Its "Project Structure" tree predates `schema/`, `security/` and 
`util/` and still puts `SchemaService` under `collection/`.
   
   ## Evidence
   
   - **Before:** `git grep -l '@McpTool(' -- src/main` lists five classes, but 
`AGENTS.md` said four and left out `AliasService` (`list-aliases`, 
`create-alias`, `delete-alias`). `grep -rln dockerIntegrationTest .github/` 
matches only `native.yml`, so the claim that the Jib JVM path runs in 
`build-and-publish.yml` was false: that workflow runs `./gradlew build`, which 
doesn't include `dockerIntegrationTest`.
     **After:** every tool, prompt and resource name in the map was checked 
against the `@McpTool`/`@McpPrompt`/`@McpResource`/`@McpComplete` annotations 
in `src/main`. The security description was checked against 
`HttpSecurityConfiguration` (`/mcp` `permitAll`, `/actuator/**` authenticated) 
and `MethodSecurityConfiguration` (`@EnableMethodSecurity` when 
`http.security.enabled` is true). The release items were checked against 
`release-publish.yml`/`atr-release*.yml` (all `workflow_dispatch`) and 
`dev-docs/release-process.md`. `./gradlew build`: BUILD SUCCESSFUL, 518 tests, 
0 failures, 0 skipped.
   
   ## Merge Danger
   
   **Door:** two-way
   
   Documentation only.
   
   **Blast Radius:** agent-context
   
   `AGENTS.md` grows from 33,589 to 35,971 bytes (about 9k tokens), and it is 
loaded into every agent session.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-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]

  • [PR] docs(agents): map every p... adityamparikh (via GitHub) via issues

Reply via email to