Cursor deleted multiple files during or after crashing

Where does the bug appear (feature/product)?

Cursor IDE

cursor deleted models.py. problem timeline > cursor crashed and reloaded > cursor reload forces agent view > i close this (i don’t use it as I use IDE) > ssh session deleted from list > reloaded mulitple times > eventually opens > my remote server crashes and freezes > eventually I access remote via terminal and kill cursor process > cursor restarts > continue working and using grok > then conversation 155bb7ca-35ab-4e2c-b7aa-5abb4bf60897 gets lost running shell command and starts searching for models and GIT after a simple request, i watched thinking and could see grok was off track > i ask grok to clarify intent > replies models missing. eventually I restore models from another backup but the big issue for me is how did such an important file get deleted mid-way through a conversation? Please inspect and reply to me personally as this is a major issue.

please respond and inspect the issue. Cursor frequently disconnects from remote, crashes mid task, during which the server can not be accessed or logged into via any terminal. CPU usage was over 100% for around 15 minutes. It was after this event that I later discovered during an agent task the full extent of the damage caused.

I have learned to live with the freezing but I can not confidently use cursor with the risk of losing work.

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)?

  • Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
  • Terminal & commands
  • Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
  • MCP & tools
  • Cloud Agents & Automations (cursor.com/agents, scheduled/event)
  • BugBot & Code Review
  • Cursor CLI
  • Cursor Mobile
  • Remote (SSH / Dev Containers / WSL)
  • Account, billing & login
  • Something 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!

This has already been posted to bug reports but was been ignored so posting to support

Hey @DanSt,

First, the reassuring part: I checked that session and the AI did not delete models.py - it was already missing when the agent tried to read it, which is why Grok went off track hunting for it.

If any other files are still missing, recover them first - Cursor keeps snapshots on the remote host: right-click the file → Open Timeline (or Command Palette → Local History: Find Entry to Restore), and check ~/.cursor-server/data/User/History/ on the remote directly.

What you hit matches a pattern we’re tracking where a crash + Remote-SSH reconnect can remove recently-edited files during the reconnect. Two things that help meanwhile: get on the latest version (Help → Check for Updates - newer builds handle SSH reconnects better than 3.17.8), and commit/push often over SSH as a safety net.

On the freezing/100%+ CPU that’s triggering the crashes: opening a smaller folder (just what you’re actively working in, not the whole repo) usually cuts it down a lot. If it persists after updating, tell me which process spikes (Cursor on your Mac vs cursor-server/an extension host on the remote) and roughly how big the workspace is, and I’ll dig in.

HI Mohit, Thanks for responding, this is very helpful.

  1. The files were also missing from the explorer tree so no option to right click for timeline. the cursor history folders contain multiple nested directories with abstract alphanumeric names [-11a00aeb -20821a31 -2bfdbf55 -3132d001 ] and can not realistically be browsed manually, if that’s what you were suggesting. Do they contain edit history or full file system history? And why did the agent not consult these folders?
  2. The files that were deleted were not recently edited which is why this was unusual, there had been a systematic loss of around 100 files.
  3. I’m using cursor from 2 separate devices
  4. The reconnect loop has happened on every version I’ve ever run, I will of course update but I doubt that’s the issue.
  5. The CPU usage I mentioned was on the remote server which is why I could not load apache nor access via ssh. This is a common cursor problem when desktop app attempts to connect to remote. This must have been when the files were lost. How exactly would you inspect this yourself?

HI Team, please respond to my reply.