[Bug] Plan mode doesn't exit after approval, requires manual SHIFT+TAB to break loop

Resolved 💬 4 comments Opened Mar 10, 2026 by stevensacks Closed Apr 9, 2026

Bug Description
An intermittent bug started appearing today in Claude Code CLI. I'm in plan mode and it presents the plan to me and I approve the plan, but sometimes Claude will not exit plan mode and thinks I want to keep planning and asks me what I want to change, and it will keep doing this over and over until I manually press SHIFT+TAB to exit plan mode while it's thinking, and only then the next time it presents the plan to me when I accept the plan will it start the work.

Environment Info

  • Platform: darwin
  • Terminal: webstorm
  • Version: 2.1.72
  • Feedback ID: 44271d97-45c0-4979-a5a3-634a01c198f1

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/stevensacks/.local/share/claude/versions/2.1.72 (expected in multi-process scenarios)\n    at byT (/$bunfs/root/src/entrypoints/cli.js:2612:2025)\n    at kEq (/$bunfs/root/src/entrypoints/cli.js:2612:1169)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:26:25.119Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3013:22314)\n    at async A (/$bunfs/root/src/entrypoints/cli.js:3013:24628)\n    at async O (/$bunfs/root/src/entrypoints/cli.js:3013:33695)\n    at async z (/$bunfs/root/src/entrypoints/cli.js:3013:34032)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:00.922Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3013:20840)\n    at A (/$bunfs/root/src/entrypoints/cli.js:3013:24628)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3013:33695)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34032)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3013:34570)\n    at call (/$bunfs/root/src/entrypoints/cli.js:6187:1318)\n    at async LvK (/$bunfs/root/src/entrypoints/cli.js:3904:15032)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:00.923Z"},{"error":"Error: Failed to start LSP server for file /Users/stevensacks/Development/my/project/app/pages/Session/HistoryPage/HistoryDetailPage/ExerciseDetailCard/index.tsx: Executable not found in $PATH: \"typescript-language-server\"\n    at O (/$bunfs/root/src/entrypoints/cli.js:3013:33721)\n    at async z (/$bunfs/root/src/entrypoints/cli.js:3013:34032)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:00.924Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3013:20840)\n    at A (/$bunfs/root/src/entrypoints/cli.js:3013:24628)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3013:33695)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34032)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3013:34570)\n    at call (/$bunfs/root/src/entrypoints/cli.js:6187:1318)\n    at async LvK (/$bunfs/root/src/entrypoints/cli.js:3904:15032)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:00.924Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at D (/$bunfs/root/src/entrypoints/cli.js:3013:27031)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34274)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:16.728Z"},{"error":"Error: Failed to sync file open /Users/stevensacks/Development/my/project/app/pages/Session/HistoryPage/HistoryDetailPage/ExerciseDetailCard/index.tsx: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34439)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:16.728Z"},{"error":"Error: Failed to sync file open /Users/stevensacks/Development/my/project/app/pages/Session/HistoryPage/HistoryDetailPage/ExerciseDetailCard/index.tsx: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34439)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:16.728Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at D (/$bunfs/root/src/entrypoints/cli.js:3013:27031)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3013:34274)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T16:27:21.813Z"},{"error":"Error: Failed to sync file open /Users/stev…

Note: Content was truncated.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗