Where does the bug appear (feature/product)?
- Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
Describe the Bug
The rollback feature does not always restore the workspace to the previous chat state.
After performing a rollback, some files that were modified by Cursor remain listed under Git Changes, even though I would expect the rollback to revert those changes as well.
This happens intermittently, but often enough to make the rollback behavior unreliable.
Steps to Reproduce
-
Open a project tracked with Git.
-
Start a chat/agent session in Cursor.
-
Let Cursor modify one or more files.
-
Perform a rollback to a previous point in the chat.
-
Check the Git source control panel.
-
Some modified files may still remain under Changes instead of being restored to their previous state.
Expected Behavior
When performing a rollback, I expect both the chat state and all file changes associated with that point in the conversation to be restored consistently.
Files modified after the selected rollback point should no longer appear as modified in Git if those changes were introduced by Cursor during the reverted steps.
Screenshots / Screen Recordings
I can provide a screen recording if needed.
Operating System
Version Information
IDE: Cursor 3.19.7
CPU: Apple M2
RAM: 8 GB
OS: macOS 26.5.1 (25F80)
VS Code / Electron Base: v24.18.1
For AI issues: which model did you use?
The issue does not appear to be specific to a particular model.
For AI issues: add Request ID with privacy disabled
Request ID: Not available
Additional Information
The issue seems to affect the synchronization between the chat rollback state and the actual file state in the workspace.
The chat appears to roll back, but the corresponding filesystem changes are sometimes not fully reverted, leaving files marked as modified in Git.
Does this stop you from using Cursor?
- Sometimes - I can sometimes use Cursor