How to correctly stop(optional) and resubmit a prompt without having entire project deleted?

Ok, so I’ve come against a really nasty problem multiple times when trying to resubmit prompts. Entire projects get deleted from the codebase.

Before explaining the issue in detail let me go over the reasons for resubmitting prompts - as they are many and I can’t pinpoint which exactly triggers this problem (in all instances, I am connecting to a server machine through SSH with Cursor):

  1. The connection to the server dies and for whatever reason only reloading the window works - so I have to resubmit the prompt.
  2. Prompt is stuck for a very long time and I don’t see any “thinking” or some other signs of life. I stop and resubmit.
  3. Flat out connection error that gets reported to me in the prompt window and then I resubmit.
  4. I didn’t like the prompt, so I stop it, change and resubmit.

In some of all these instances, a new option appears:

  1. Revert to last prompt and continue.
  2. Continue without reverting.

I have tried “Revert to last prompt and continue” without experiencing any problems, but I think that sometimes it is this option that deletes the entire codebase. And it’s not like it reverts to the last git commit. I noticed it actually delete files that had edits - not just newly created ones - because git changes reports deleted file.

This tells me that I should never use the “Revert” option lest I lose days of work. Well I don’t mind that, but then what does option 2 do? This is both confusing and extremely harmful. This should be promptly addressed or please simply remove cursor’s DELETE EVERYTHING feature - because this is clearly a bug and not a feature and an extremely harmful one.

To clarify what those two options do: when the “Submit from a previous message?” dialog appears, “Revert” rolls your workspace back to the state before that message was originally sent (undoing all agent file changes since then), while “Continue without reverting” keeps your current files and submits on top of them.

Until this is fixed:

  1. Commit to git frequently before resubmitting prompts. If files do get deleted, git restore . brings everything back instantly.

  2. Use “Continue without reverting” when in doubt. It’s safer because it keeps your current files intact.

  3. Avoid “Revert” unless you’re certain you want to undo all agent changes since that message.

Could you share your Cursor version (Help > About) and a Request ID from a session where this happened? That would help our team trace the exact mechanism. You can copy the Request ID from the three-dot menu at the top of the chat.