Cursor deletes my source file altogether, without warning, when I click reject! AI didn't even create the file in the first place

It happens all the time. I’ve found I can go into the trash on my Mac and retrieve the file from there, but wtf?

1 Like

Yep. If it doesn’t delete the file, it deletes large chunks of code from it or replaces it with placeholder comments which appear to be internal hints to the model that fail often recently.

This has happened to me a few times starting this past weekend and as recently as this morning. Initially I thought it was something I was doing but it’s just interacting with the chat and the file disappears.

Not a great experience.