[Bug] Plan mode not respected when using --dangerously-skip-permissions flag

Resolved 💬 3 comments Opened Mar 31, 2026 by greggalloway Closed Apr 4, 2026

Bug Description
Several times a day Claude goes straight to modifying code even though I've put it in plan mode. I do always invoke with claude --dangerously-skip-permissions, but when I give it a big task I put it in plan mode and want to review/tweak the plan before starting.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.87
  • Feedback ID: a3eb083f-b491-4458-9357-ba032e72e1a3

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.1.87 (expected in multi-process scenarios)\n    at _p_ (/$bunfs/root/src/entrypoints/cli.js:2851:2138)\n    at Vn6 (/$bunfs/root/src/entrypoints/cli.js:2851:1218)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T15:34:19.671Z"},{"error":"MaxFileReadTokenExceededError: File content (22805 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T15:37:25.247Z"},{"error":"MaxFileReadTokenExceededError: File content (18049 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T15:37:25.914Z"},{"error":"MaxFileReadTokenExceededError: File content (34965 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T15:47:11.370Z"},{"error":"Error: Request was aborted.\n    at gv_ (/$bunfs/root/src/entrypoints/cli.js:1365:16708)\n    at next (native:1:11)\n    at Gy9 (/$bunfs/root/src/entrypoints/cli.js:7572:8934)\n    at next (native:1:11)\n    at Ly9 (/$bunfs/root/src/entrypoints/cli.js:7577:10737)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T15:48:54.732Z"}]

View original on GitHub ↗

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