Cursor deleting all file code today

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

cursor keeps deleting today files, completely removing all the code for it! when asking why, it says that its still there on disk so i did what it said and reopened but the file was still empty ! so i reverted the chat to the first prompt and then the file is still empty !!!

when asked ai to restore it did from github but it doesnt matter if it destroyed days of workd added code to it that wasnt on github.. it happened 2 times with the new supernova model and 1 time now with gpt5 high. dont remember that happened like this before : ( this is a nightmare.

Steps to Reproduce

i dont know just ask to code.

Expected Behavior

NOT TO REMOVE ENTIRE FILES CODE AND THAT COMPLETELY UNNECESARRY

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.35
VSCode Version: 1.99.3
Commit: b753cece5c67c47cb5637199a5a5de2b7100c180
Date: 2025-09-19T17:39:38.846Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.16.7-200.fc42.x86_64

For AI issues: which model did you use?

supernova or gpt5 high

For AI issues: add Request ID with privacy disabled

8bfb4ead-5cc1-40f8-a429-ac37908b624b

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Could you let me know if you’re using any Cursor rules? Also, if the conversation runs for a long time, the model might hallucinate and do unexpected things. Could you share the request ID as well? You’ll need to disable privacy mode first.

hi this is unbeliiveable, i just checked and there are 5 rules added, but i didnt do it. are they added automatically when memories are enabled?
but when reading these rules i dont see why it would delete the entire files code : (

no it was first chat prompt with gpt 5 high this time that it deleted it
here is the request ID: 8bfb4ead-5cc1-40f8-a429-ac37908b624b

forgot to mention that before this happen with gpt 5 that ago i reverted the file deletion with undo. but this doesnt worked because i restarted cursor: ( this is serious nightmare because the code that was added is just gone and reverting doesnt help at all.

here is the screenshot how it looks how the file was mofidied: its just checkmarked = Removing all the code in that file :frowning:. this is terrible nightmare : ( how can i get it back?

here you can have the chat file

cursor_research_and_implement_physics_i.zip (69.3 KB)

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