Changes being reverted

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Sometimes I request some changes in my code to Cursor. I saw the changes being executed, but after a few seconds the changes are reverted to the original file.
I have to copy the changes made and insert and save manualy in my code.

Steps to Reproduce

I ask to implement a menu item in _Layout.cshtml, I saw the change happen in editor window while cursor is showing what he has done, bau a few seconds later the changes are reverted and the file go back to original file.

Expected Behavior

That the changes made by cursor in _Layout.cshtml are persisted.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.47 (user setup)
VSCode Version: 1.105.1
Commit: 2d3ce3499c15efd55b6b8538ea255eb7ba4266b0
Date: 2025-12-04T02:31:50.567Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Composer 1

For AI issues: add Request ID with privacy disabled

Request ID: 61d9d9eb-c53c-43dd-a94f-8f01560985c5

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. We’d like to gather details and isolate the cause.

Please check:

  • Does the rollback happen when you edit the same file manually, or only after AI actions?
  • Does the rollback happen only with _Layout.cshtml or with other files too?
  • Launch without extensions: cursor --disable-extensions. Does the issue reproduce?
  • Close background watchers and tools that can modify project files (for example, build/watch, nodemon, webpack, dotnet watch), then check again.
  • Turn off Auto Save and format-on-save, try saving manually.
  • Open Developer Tools and collect errors at the moment of rollback: CTRL+Shift+P → Developer: Toggle Developer Tools → Console
  • Open logs: CTRL+Shift+P → Developer: Open Logs Folder, and also check Output panels: Git, Log (Extension Host), Cursor

Please share:

  • A short screencast showing edits and the rollback
  • Exact steps leading up to the rollback
  • You already provided system info, thanks. Add the list of active extensions and their versions
  • Logs from Console and Output channels with timestamps
  • Confirm whether it reproduces on a clean launch without extensions
  • Any additional Request IDs if you can reproduce it again.

Basic troubleshooting steps are collected here: Troubleshooting Guide | Cursor Docs

Let me know if launching without extensions and disabling external watchers helps.

I’ve been getting the same issue, even when I committed it still reverted almost 2 days of work (and a few commits).
It’s starting to happen almost immediately. Any suggestion on how to fix this?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.