Skip to content

docs: add phase4-plan.md (m-dev-tools-mcp MCP server)#21

Merged
rafael5 merged 1 commit into
mainfrom
docs/phase4-plan
May 11, 2026
Merged

docs: add phase4-plan.md (m-dev-tools-mcp MCP server)#21
rafael5 merged 1 commit into
mainfrom
docs/phase4-plan

Conversation

@rafael5
Copy link
Copy Markdown
Contributor

@rafael5 rafael5 commented May 11, 2026

Summary

Plan shape

Section Content
§0 Blocking dependencies — Phase 1 + Phase 2 closed; Phase 3 C2 is the soft blocker for Track B (handshake-test helpers Track B's route_intent will reuse)
§1 Five tracks (A scaffold → B tools → C+D parallel → E close-out) with parallel-safety matrix
§2–§6 Per-track stage breakdowns with verification commands and TDD checkpoints
§7 Single-glance stage matrix with explicit blockers
§8 Calling convention (run A, run B3, run C+D in parallel)
§9 Risk notes — MCP SDK volatility; verify execution-vs-listing security call (Phase 4 ships listing only, not exec); PyPI namespace squat; catalog network latency; Phase 3 dependency timing
§10 Gantt — ~6 weeks single-threaded, ~5 with one parallel pair
§11 10-point definition of done; Phase 5 unblocked when all true

Key design calls

  • verify is command-listing only, not execution. Parent plan §5.3 originally said "verify runs verification_commands and returns status," but executing arbitrary commands from a catalog blob is exactly the prompt-injection vector MCP servers are warned about. Phase 4 ships verify as a listing tool; actual execution is the client's responsibility (the agent, with user consent). Documented in the §9 risk register and proposed for the new repo's AGENTS.md.
  • Track B blocks on Phase 3 C2 (the test-discovery-protocol.py implementation) because Track B's route_intent reuses its lookup helpers. Tracks A and D can start immediately.
  • PyPI namespace defense is called out as out-of-scope (per the deferral in PR docs: defer PyPI publishing for m-dev-tools-mcp (Phase 4) #18) with a documented mitigation option (0.0.0 placeholder upload) if name-squatting becomes a real concern.

Test plan

🤖 Generated with Claude Code

Implementation plan for AI-discoverability-plan.md §7 Phase 4 — ship
m-dev-tools-mcp as a GitHub-Release wheel exposing route_intent /
describe / verify over the org catalog. PyPI publishing deferred per
parent plan §5.3 and PR #18; tier-3 repo onboarding already shipped
in PR #13, so Phase 4 narrows to the MCP-server piece only.

Plan follows the phase0/phase1/phase3 structure:

- §0 blocking dependencies — Phase 1 + Phase 2 closed; Phase 3 C2
  is the soft blocker for Track B (the handshake-test helpers).
- §1 five tracks (A scaffold → B tools → C+D parallel → E close-out)
  with a parallel-safety matrix and stage status conventions.
- §2-§6 per-track stage breakdowns with verification commands and
  TDD checkpoints (RED → GREEN gates on every tool implementation).
- §7 single-glance stage matrix with explicit blockers.
- §8 calling convention (`run A`, `run B3`, `run C+D in parallel`).
- §9 risk notes: MCP SDK volatility, verify exec-vs-listing security
  call (Phase 4 ships listing only, not exec), PyPI namespace squat,
  catalog network latency, Phase 3 dependency timing.
- §10 Gantt — ~6 weeks single-threaded, ~5 with one parallel pair.
- §11 10-point definition of done; Phase 5 unblocked when all true.

Pure documentation; no code or schema changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rafael5 rafael5 merged commit 812ed50 into main May 11, 2026
1 check passed
@rafael5 rafael5 deleted the docs/phase4-plan branch May 11, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant