The modification date of the unmodified file has changed

In the attached image, the selected file list consists of files that the cursor actually modified, but the modification dates of the remaining files have all changed to the same time, even though they were not modified.

This phenomenon has been occurring continuously for a significant period.

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey, thanks for the report. This looks like a known pattern. Files that were previously edited by the agent get a new mtime when you quit and relaunch Cursor, even though their contents don’t change. In your screenshot, all the unmodified files have the same timestamp 9:08:43, which is a typical sign of a bulk re-save. To confirm it’s that exact bug, I’ll need a bit more info:

  1. Your Cursor version and OS Help → About Cursor → Copy.
  2. Does this happen every time you restart Cursor, or at some other moment?
  3. Were those unmodified files ever edited by the agent in this project before?
  4. Are you using Agents Window the left panel, the separate agent window?
  5. Do the file contents actually match? You can check with git status. If git shows them as clean, then only the timestamp changed.

Once we’ve got these details, we can match it to the already tracked issue and confirm the status.

  1. Your Cursor version and OS Help → About Cursor → Copy

Version: 3.5.11 (user setup)

VSCode Version: 1.105.1

Commit: 4830a52b57b7283f2d1ae93f8121d2b10cfb8420

Thanks, I noted the version.

The symptoms look a lot like a known bug with restoring inline diffs on startup. Cursor applies saved edit states when it launches, which updates the files’ mtime even though the content doesn’t actually change. That’s why all the “unmodified” files have the same timestamp 9:08:43. It’s a batch of rewrites happening at startup.

To confirm it’s that exact bug, please check git status in the project right after this mtime “update”:

  • If the files show as clean no changes, then it’s exactly that case. The bug is known and it’s in the backlog.
  • If git shows real changes whitespace, newlines, or unaccepted agent edits, please mention that too. It’s likely the same root cause, just a stronger symptom.

One more thing, have those “unmodified” files ever been edited by the agent in this project before? That will help confirm the cause.

If anybody else is struggling with this issue, clearing out Cursor data in AppData\Roaming\Roaming helps. Finally, I no longer have to run full recompile of my C++ project each time after launching Cursor