From f8d26420ebc7a9de7da49d6463ebd2f0c6881ff1 Mon Sep 17 00:00:00 2001 From: claude_code Date: Tue, 30 Jun 2026 03:44:29 +0300 Subject: [PATCH] test(mcp): add stashPage to HOST_CONTRACT_METHODS (fix drift-guard) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stashPage is declared in the server's DocmostClientLike interface and shipped as the stash_page MCP tool (client.ts, tool-specs.ts, index.ts), but the hand-maintained HOST_CONTRACT_METHODS mirror in the contract test was never updated — so the drift-guard test failed and broke CI's unit-test job. Add the missing name; both directions now agree. --- packages/mcp/test/unit/client-host-contract.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mcp/test/unit/client-host-contract.test.mjs b/packages/mcp/test/unit/client-host-contract.test.mjs index 424bfbb7..d7b80b1b 100644 --- a/packages/mcp/test/unit/client-host-contract.test.mjs +++ b/packages/mcp/test/unit/client-host-contract.test.mjs @@ -74,6 +74,7 @@ const HOST_CONTRACT_METHODS = [ "unsharePage", "restorePageVersion", "transformPage", + "stashPage", // write (comment) "createComment", "resolveComment",