Codex stuck in Plan Mode

Resolved 💬 2 comments Opened Feb 3, 2026 by codengine Closed Feb 3, 2026

What version of Codex CLI is running?

0.94

What subscription do you have?

Pro

Which model were you using?

gpt-5.2

What platform is your computer?

Ubuntu

What terminal emulator and version are you using (if applicable)?

WSL on Windows 10

What issue are you seeing?

I had great success with the new plan mode. Right now, a bug occured.
As usual, I Shift-Tabbed into plan mode, let it create the plan and then the plan mode was turned off automatically before implementing the plan, which never happened before. There wasn't even the usual prompt if the plan shall be implemented or if we want to stay in plan mode.

It complains that it's in Plan mode and I can't let it switch via Shift-Tab:

<img width="1397" height="109" alt="Image" src="https://github.com/user-attachments/assets/ac9e6638-f58d-4f5c-85f1-a6be0efc7390" />

One thing that might be important here: The context was pretty close to the auto compaction limit (~31%), but thats the only thing that I noticed.

What steps can reproduce the bug?

It randomly happened while being in plan mode and then it got stuck.

What is the expected behavior?

Codex shall ask for the plan implementation and/or cycling between plan/non-plan mode shall work.

Additional information

_No response_

View original on GitHub ↗

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