claude-code - 💡(How to fix) Fix [Feature Request] Auto-return to plan mode after plan execution

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at Vxq (/$bunfs/root/src/entrypoints/cli.js:256:288467)\n at async E59 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n at async Aa6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n at async m$_ (/$bunfs/root/src/entrypoints/cli.js:2627:2259)\n at async NRH (/$bunfs/root/src/entrypoints/cli.js:2653:5965)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2678:3455)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T10:28:39.446Z"}]

Code Example

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Vxq (/$bunfs/root/src/entrypoints/cli.js:256:288467)\n    at async E59 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n    at async Aa6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n    at async m$_ (/$bunfs/root/src/entrypoints/cli.js:2627:2259)\n    at async NRH (/$bunfs/root/src/entrypoints/cli.js:2653:5965)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2678:3455)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T10:28:39.446Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Feature request: auto-return to plan mode after plan execution

When defaultMode is set to "plan", Claude starts each session in plan mode. However, once a plan is approved and executed, Claude stays out of plan mode for the rest of the session — requiring manual Shift+Tab to return.

Request: add a setting (e.g. "returnToPlanModeAfterExecution": true) that automatically re-engages plan mode after Claude finishes executing an approved plan within a session. This would make plan mode a true gate on every discrete task, not just session start.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.132
  • Feedback ID: 7d66916a-4c14-4444-94a4-3d1c8077ccfe

Errors

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Vxq (/$bunfs/root/src/entrypoints/cli.js:256:288467)\n    at async E59 (/$bunfs/root/src/entrypoints/cli.js:409:898)\n    at async Aa6 (/$bunfs/root/src/entrypoints/cli.js:409:796)\n    at async m$_ (/$bunfs/root/src/entrypoints/cli.js:2627:2259)\n    at async NRH (/$bunfs/root/src/entrypoints/cli.js:2653:5965)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2678:3455)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T10:28:39.446Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Feature Request] Auto-return to plan mode after plan execution