Cursor creates phantom unsaved changes on every restart (requires discarding multiple files)

Hey, thanks for the report. This is a known issue and the team is working on a fix.

The bug has been confirmed by multiple users. Files that Agent or Composer previously edited get marked as modified when the IDE starts, usually due to EOF or whitespace changes. Related reports:

For debugging, could you share:

  1. A Git diff for one of the flagged files (screenshot or text). Is it whitespace and newlines, or actual code changes?
  2. The value of git config core.autocrlf
  3. Are you using WSL or native Windows?
  4. Your list of installed extensions, especially formatters and linters
  5. Does it reproduce when you start Cursor with cursor --disable-extensions?

Temporary workarounds (from other users):

  • Open each flagged file → Accept all changes → close and reopen Cursor
  • Or reset to the last commit after startup

Let us know what you find. This will help the team speed up the fix.