Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi Everyone,
I am trying to understand a serious issue I recently ran into with Cursor and would really appreciate any help or guidance.
Over the last few days, Cursor started crashing occasionally. After each crash, and even after some normal restarts, many files were suddenly marked as modified even though they had already been committed. On inspection, it appeared that empty lines or whitespace were being added to several files.
Yesterday, the issue escalated further. Large parts of my project were wiped or reverted, including major changes that had already been implemented. This resulted in significant data loss and required reworking a lot of code.
I am trying to understand what could cause Cursor to automatically modify files or restore an incorrect state after crashes or restarts.
Steps to Reproduce
1. Open an existing Git repository in Cursor.
2. Make changes and commit them successfully.
3. Restart Cursor normally or when crash.
4. Observe that many files show as modified even though no changes were made manually.
5. In some cases, files appear reverted or partially wiped (Cursor adds an extra line).
The issue seems to occur intermittently but is strongly correlated with crashes or restarts.
Expected Behavior
Cursor should not modify or wipe files automatically after crashes or restarts.
Files that were previously saved by Cursor, but not explicitly edited by the user after restart, should remain unchanged. Cursor should not restore stale snapshots, inject whitespace, or overwrite files based only on an internal saved state without the userâs intent.
Crash recovery should never result in loss of locally saved work or unexpected file rewrites.
Operating System
MacOS
Current Cursor Version (Menu â About Cursor â Copy)
Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.5.0
For AI issues: which model did you use?
Auto
Does this stop you from using Cursor
Yes - Cursor is unusable


