BUG: Cursor IDE extension "Undo" button grayed out

Resolved 💬 10 comments Opened Aug 28, 2025 by archodev Closed Aug 29, 2025
💡 Likely answer: A maintainer (gpeal, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.24.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.5.0 arm64 arm

What steps can reproduce the bug?

I am using Cursor with the Codex IDE extension. Any time I trigger the agent and it finishes, above the summary of the files that it changed there is an undo button but it is grayed out.

What is the expected behavior?

The undo button is clickable

What do you see instead?

The undo button is grayed out

Additional information

_No response_

View original on GitHub ↗

10 Comments

manikv12 · 10 months ago

Same issue

gpeal contributor · 10 months ago

Do you have zero or more than one git repo open in your workspace by any chance?

manikv12 · 10 months ago
Do you have zero or more than one git repo open in your workspace by any chance?

I had only one git repo opened.
tried it on multiple tot same issue.

archodev · 10 months ago

I tested a bit more, I just did a fresh install of VSCode + the Codex IDE extension and tested it in a different folder and the issue persisted. I only have one git repo

R0mainBatlle · 10 months ago

Same issue! And can't edit past chats instances.

JosefHobler · 10 months ago

happens to me as well

manikv12 · 10 months ago

<img width="1012" height="1926" alt="Image" src="https://github.com/user-attachments/assets/ef7b0293-4a6d-4936-a56c-8289e9869870" />

Now its giving this error button seems to be clickable.

Do you have zero or more than one git repo open in your workspace by any chance?
manikv12 · 10 months ago

It is working for single Repo now.

archodev · 10 months ago

The issue has also resolved itself for me, I am going to close this issue

jasonwei1002 · 10 months ago

Does the undo feature require the repository to be initialized with git?