Repository navigation
docs(mcp): prevent ambiguous Claude Code trial registration - #518
Conversation
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent review of exact head 92250626f53763630d32c6fc7273b03ef0f60f80.
BR-518-01 — missing required changelog receipt (merge blocker). The complete PR patch and current-master comparison contain only guides/local-mcp.md and tests/test_mcp_host_guide.py. CHANGELOG.md has identical blob 7c3826524d1cd8eae85a60027b5c0a075fcf90a4 at base and head. The existing entries describe earlier Claude target-directory and Codex registration guards, not this new Claude cross-scope preflight/connection/cleanup contract. AGENTS.md explicitly requires an Unreleased entry for every change. Please add a concise entry under Fixed or Changed, distinguishing the mocked regression from actual host acceptance.
The documentation direction itself is sound: I inspected both patches, pinned guide and test source, #255, and the official Claude Code scope precedence and server status references. The manual preflight and post-registration checks address exit-zero versus connection status and deliberately do not claim atomic reservation. The six-case POSIX stub tests command sequencing/argument preservation, not real configuration or host execution.
Provider evidence: Quality 6/6 jobs successful, including all five required checks; optional MCP 4/4 successful. Current master comparison: 0 behind. No previous reviews or inline threads. Reviewer-local full suite and real Claude Code/PowerShell host execution: NOT_RUN. #255 remains open for real-host acceptance. Recheck the new exact head and required gates after the changelog correction.
drevendev
left a comment
There was a problem hiding this comment.
Later-run exact-head validation — content PASS, formal approval outstanding
Reviewed b88e7e31d7ff3949d57e7b3396bf37da5c214747 against current master edf994621a83f3777d7088cee3077089fd342abc (0 behind).
BR-518-01 is repaired. Compared the previously reviewed head 92250626f53763630d32c6fc7273b03ef0f60f80 with this head: the only intervening change is five added lines in CHANGELOG.md, under Unreleased / Fixed. The receipt accurately describes cross-scope checks, scoped cleanup, and mocked POSIX coverage without claiming host execution. The guide and test blobs are unchanged (ebb3a19ad17aa2b32958206bc70e3d4944e53fc6, a4fe872a0677bccb7cec828e34176256da402ca3). Inspected all three current patches and the pinned guide/test contents. No new blocking content finding.
Fresh integration evidence: Quality 6/6 successful, including all five required checks. Inspected the three Python job logs: each checked out merge candidate b32f239e0cfe1684e05b45be682d7c5cb5e3b9a9 naming the exact head and base above; both new named Claude guide tests passed on all three environments. Each ran 1,098 tests, with 10 skipped and no failures. Optional MCP workflow 4/4 successful (job/step metadata inspected). The six-case shell stub exercises command ordering and argument preservation, not real host configuration.
Consumer handoff (non-blocking for this slice): #255 still directs trial participants to the immutable guide at 51f38b76402fe15a566c099578bd4829410ce555, predating this correction. After acceptance/integration, refresh that issue's documentation-revision links to the reviewed integrated guide, preserving the distinct immutable server installation pin. Otherwise participants following the issue's canonical start route will miss the improved preflight. Keep #255 open for real-host acceptance.
Reviewer-local full checkout verification and real Claude Code/Codex/PowerShell host execution: NOT_RUN. No release or external invocation implied. Authenticated reviewer and PR author are both drevendev; this COMMENT is run-separated content judgement, not independent actor approval, does not dismiss the prior review, and does not establish provider enforcement.
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent re-review of exact head b88e7e31d7ff3949d57e7b3396bf37da5c214747.
BR-518-01 resolved: the five-line Unreleased / Fixed receipt accurately describes scope checks, scoped cleanup and mocked coverage, explicitly excluding real host acceptance. Reconstructed all three current patches against edf994621a83f3777d7088cee3077089fd342abc: all match exact head contents; all three blobs match tested merge b32f239e0cfe1684e05b45be682d7c5cb5e3b9a9. Guide and test blobs unchanged from the prior reviewed revision. Re-read AGENTS.md, CONTRIBUTING.md, #255 and discussion; no unresolved inline threads or new blocking finding. Master comparison: zero behind.
Independently retrieved Quality CI: 6/6 jobs successful, including the five required gates. All three Python logs explicitly name the exact merge/head/base, report 1,098 tests run (1,088 passed, 10 skipped), and both named Claude guide regressions passed. Optional MCP CI: 4/4 jobs successful (job metadata). Reviewer-local full checkout, real Claude/Codex/PowerShell execution: NOT_RUN. Approval is limited to this documentation/test slice; #255 remains open. After integration, refresh #255's canonical guide revision without changing the separate server installation pin. No host acceptance or release implied.
What changes
For the existing experimental MCP host trial (#255), require a disposable trusted host profile, check collisions across configuration scopes before registration, inspect the selected local command/root and connection status instead of trusting exit zero, and clean up only the entry created by this trial. Clarify that listing can attempt connections and absence from the list is not proof of absence in every scope. Official Claude Code MCP scope/status documentation reviewed 2026-11-29.
Evidence
cd/claude: six cases PASS (directory failure, four CLI command failures, success including paths containing spaces). This is not a real Claude Code installation or execution.git ls-remotefailed DNS resolution. Provider CI is required for acceptance. No SDK/server pin, catalog, runtime code, host configuration or model invocation changed.Separate later-run acceptance required.