[BUG] Plan Mode doesn't go to auto-accept in sessions that have had /clear

Resolved 💬 7 comments Opened Mar 10, 2026 by sabeekpradhan Closed Apr 10, 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?

If I run a session, clear it with /clear, and then try to make a plan in plan mode, option 1 (clear context + auto-accept edits) doesn't work properly. In particular, Claude Code stays in Plan Mode rather than switching to "accept edits on", and as a result it keeps asking me for my feedback on the plan rather than executing it.

This can be ameliorated by manually shifting to auto-accept edits mode with Shift-Tab.

What Should Happen?

After I select option 1 to clear context + auto-accept edits, Claude Code should automatically shift into "accept edits on" mode and implement the plan rather than asking for feedback on it or relying on me to shift modes manually.

Error Messages/Logs

Steps to Reproduce

  1. Create a plan in Plan Mode
  2. Execute that plan (with option 1: clear context + auto-accept edits)
  3. Clear context with /clear
  4. Create a new plan in Plan Mode
  5. Attempt to execute that new plan with option 1: clear context + auto-accept edits

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.72

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

Terminal is kitty

View original on GitHub ↗

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