docs: AI users guide + lead README's AI section with the MCP endpoint#40
Merged
Conversation
m-dev-tools is fully AI-enabled (Phase 4 MCP server + Phase 5 continuous-enforcement gates all live). The org-landing README's "For AI agents" section pre-dated the MCP server and led with raw tools.json; this PR rewrites that section to lead with the MCP endpoint and points readers at a new, dedicated AI users guide for the full walk-through. Direct catalog access stays documented as the no-MCP fallback. ### profile/README.md — "For AI agents and automated tooling" Rewritten: * Opens with the MCP install (drop-in .mcp.json for any MCP-capable agent — Claude Code / Codex / Continue / ...). * Names the three tools (route_intent / describe / verify) + one-line behaviour summary. * Links to the new users guide for the walk-through. * Direct-catalog path stays as a second-class fallback. Catalog links + the 8-step discovery handshake reference to the architecture doc are surfaced. * Mentions the four Phase-5 enforcement gates (freshness / link-check / license-reconcile / schema-version) so a reader knows the catalog is CI-enforced honest. * Existing manifest-pointer bullets (m-stdlib API + grammar-surface) preserved. ### New: docs/ai-discoverability/ai-users-guide.md A consumer-facing companion to AI-discoverability-architecture.md (which is for framework *extenders*). Sections: 1. What "AI-enabled" means here — three artifacts + thin MCP wrapper + Phase-5 gates that keep them honest. 2. Two install paths — MCP via uvx + .mcp.json drop-in (Path A, recommended); raw catalog URLs (Path B) for clients without MCP support. 3. Example Claude Code session — user prompt → route_intent → describe → manifest fetch → final answer, with the key invariant "agent never guesses, every claim is grounded in a fetched URL". 4. Agent-free shell smoke via examples/claude-code/smoke.sh. 5. The four typed-ID kinds (tool: / module: / cmd: / recipe:) + note that other kinds in the grammar aren't yet handled by describe (file issue if needed). 6. What the agent WILL and WILL NOT do — including the "verify lists, doesn't execute" security stance with a reference to phase4-plan §3 B5 rationale. 7. Troubleshooting — uvx install, .mcp.json placement, server crash on @main, stale verified_on, offline mode. 8. Where to learn more — links to the architecture doc, plan, guide, phase docs, and the m-dev-tools-mcp repo's AGENTS.md. 9. Reporting issues — which repo issue tracker takes what kind of bug. Frontmatter follows the docs-discoverability spec landed in PR #37 (doc_type: [GUIDE]; lifecycle: active; owner: rmrich5; connections: [function]). ### Verified * make check-docs-prose / check-freshness / check-links / check-licenses / check-schema-compat / recipes-check / handshake / validate-catalog — all clean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
m-dev-tools is fully AI-enabled (Phase 4 MCP server + Phase 5 continuous-enforcement gates all live). The org-landing README's "For AI agents" section pre-dated the MCP server and led with raw
tools.json. This PR:.mcp.json+ the three tools).docs/ai-discoverability/ai-users-guide.mdfor the full walk-through.profile/README.md— rewritten "For AI agents" section.mcp.jsonsnippet for Claude Code / Codex / Continue / any MCP-capable agent, pinned to@v0.1.0).route_intent/describe/verify) with a one-line behaviour summary.AI-discoverability-architecture.mdare surfaced.New:
docs/ai-discoverability/ai-users-guide.mdA consumer-facing companion to
AI-discoverability-architecture.md(the latter is for framework extenders; this is for users). Sections:uvx+.mcp.jsondrop-in (Path A, recommended); raw catalog URLs (Path B) for clients without MCP support.route_intent→describe→ manifest fetch → final answer, with the key invariant "every claim is grounded in a fetched URL".examples/claude-code/smoke.sh.tool:/module:/cmd:/recipe:) + note that other kinds in the grammar aren't yet handled bydescribe.verifylists, doesn't execute" security stance with a reference tophase4-plan§3 B5 rationale.uvxinstall,.mcp.jsonplacement, server crash on@main, staleverified_on, offline mode.Frontmatter follows the docs-discoverability spec landed in PR #37 (
doc_type: [GUIDE];lifecycle: active;owner: rmrich5;connections: [function]).Test plan
make check-docs-prosecleanmake check-freshnesscleanmake check-linkscleanmake check-licensescleanmake check-schema-compatcleanmake recipes-checkcleanmake handshakecleanmake validate-catalogclean