[Bug] Plan mode not respected after PR review cycle with bypass permissions enabled
Resolved 💬 3 comments Opened Apr 7, 2026 by mkpatel229 Closed Apr 11, 2026
Bug Description
When I start a fresh session in plan mode, everything works perfectly. After I approve the plan with bypass permissions on, it goes ahead, makes code changes, and even creates a PR.
But after I review the PR (or get AI review) and then ask Claude to fix the comments, I'm switches back to plan mode (using shift+tab). The issue is — even though I’ve selected plan mode, Claude directly starts fixing things without proper thinking, almost like bypass mode is still on.
I’ve been noticing this behavior for the past 1–2 weeks. Ideally, Claude should strictly follow the mode selected by the user.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.92
- Feedback ID: f37d3ccb-3514-4415-b6f9-b6a804ec8a3e
Errors
[{"error":"MaxFileReadTokenExceededError: File content (10271 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 d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T09:30:14.511Z"},{"error":"MaxFileReadTokenExceededError: File content (26629 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 d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T09:50:38.453Z"},{"error":"MaxFileReadTokenExceededError: File content (72566 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 d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T09:50:39.722Z"},{"error":"Error: Request was aborted.\n at wN_ (/$bunfs/root/src/entrypoints/cli.js:1239:11929)\n at next (native:1:11)\n at CC7 (/$bunfs/root/src/entrypoints/cli.js:7636:9034)\n at next (native:1:11)\n at xC7 (/$bunfs/root/src/entrypoints/cli.js:7641:11078)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T10:50:34.064Z"},{"error":"MaxFileReadTokenExceededError: File content (72566 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 d$7 (/$bunfs/root/src/entrypoints/cli.js:4294:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T11:13:19.428Z"},{"error":"Error: 1P event logging: 6 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:422:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T14:41:16.043Z"},{"error":"Error: {\"message\":\"Failed to export 6 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"422\",\"originalColumn\":\"1668\",\"line\":\"422\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 6 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:19103)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T14:41:16.050Z"},{"error":"Error: {\"message\":\"Operation timed out.\",\"originalLine\":\"417\",\"originalColumn\":\"107659\",\"line\":\"417\",\"column\":\"107659\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Operation timed out.\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:107659)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:18667)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T14:42:09.681Z"},{"error":"Error: 1P event logging: 5 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.j…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗