Forward Copilot MCP calls from the unambiguous server namespace

Merged
KH
7d ago
+56-2

Copilot’s managed MCP server is moving to agentrelay so its flattened server/tool names are unambiguous. The hook currently drops those calls before Desktop can verify chat identity. Forward the new prefix unchanged alongside legacy agent-relay- calls; Desktop retains tool eligibility and signing authority. This is the public-core companion to that Desktop migration.

Validation: all six hook tests pass with default features and --no-default-features, covering unchanged names/arguments, namespace rejection and the 32 KiB boundary. Formatting and whitespace checks pass. Strict Clippy and rust-oleum failures reproduce identically on the clean base (51 Clippy errors, 105 existing ratchet violations); no diagnostic targets the changed hook and no baseline was changed. Live Copilot/Relay/history E2E remains pending.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review: the exact initial diff and the docs-only follow-up passed root’s Veto code, security and secrets review.