From 3b2a222ba415018056c917c1d230ceb79282af7d Mon Sep 17 00:00:00 2001 From: Brad Harris Date: Sun, 15 Mar 2026 15:43:52 -0600 Subject: [PATCH] Instruct agent to cd into worktree after creation The create_worktree MCP tool response now tells the agent to cd into the new worktree path, so git context probes reflect the correct branch instead of the main project directory. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/mcp/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/server.ts b/src/mcp/server.ts index d0bc4b46..7d8d6159 100644 --- a/src/mcp/server.ts +++ b/src/mcp/server.ts @@ -73,7 +73,7 @@ async function createDispatchMcpServer(context: McpRequestContext): Promise