[BUG] If default perm mode == plan mode then it breaks the accept all first option

Resolved 💬 3 comments Opened Mar 11, 2026 by xksteven Closed Apr 11, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When the default permission is plan mode and you select the first option to clear context and switch to accept all it instead stay in plan mode and reports an error.

What Should Happen?

When the default permission is plan mode and you select the first option to clear context and switch to accept all it should clear the context and switch the current permission mode to accept-all from plan mode.

Error Messages/Logs

Steps to Reproduce

Switch the permission mode to plan mode.
Make a plan.
Try to accept the first option.
it will stay in plan mode.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.73 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

I'm running it on latest ghostty.

View original on GitHub ↗

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