Reproduced on main b5a226e49c, Linux x64, web dev client, Claude Code 2.1.303 / Opus 5.5, isolated state. A fixture repository uses a SessionStart / startup command hook with timeout: 600; its main checkout exits immediately and a fresh linked worktree takes 105 seconds.
Sending reply ok in the app succeeds in the main checkout. The fresh-worktree turn fails in ClaudeAgentSdkQueryRunner.open at 90,209 ms with Claude Code did not answer the MCP server registration. while the hook is still running. Direct CLI in the main checkout succeeds in 12.7 seconds. The reporter’s private setup script and macOS desktop were not tested.
cold-worktree-failed.png cold-worktree-timeout.mp4 runtime-before.json