The rewind feature destroys user code without warning
There’s no confirmation dialog
There’s no setting to disable it
This is unacceptable for a professional development tool
Steps to Reproduce
Use Agent Mode
Have multiple requests that modify code
Edit a previous message (intention was to tweak and run again on the CURRENT code, not completely wipe all changes between that message and current)
Expected Behavior
My code is not wiped without any warning whatsoever
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. I understand your frustration, losing code changes without warning is definitely unpleasant.
The current behavior is intentional: editing a previous message reverts all code changes from that point to “rewind” the conversation. However, you’re right that there’s no confirmation dialog.
Workaround: instead of editing the message, click the three dots on it and choose “Duplicate Chat.” This will branch from that point and preserve your current conversation and code.
You can also restore previous code states using Checkpoints (use “Restore Checkpoint”).
Your suggestion to add a confirmation dialog is very reasonable and would help prevent accidental data loss. We’ll consider this.
The current behavior is intentional: editing a previous message reverts all code changes from that point to “rewind” the conversation. However, you’re right that there’s no confirmation dialog.
This was not the case a few days. Why’s there not even an option/preference to show/hide the warning?
you guys have broken a feature that was working nicely
I didn’t say the rewind feature on its own is a bug. the COMPLETE lack of any warning or confirmation is a bug. you absolutely cannot expect every client to “just know” that’s the intended behavior. and the default behavior for any system should be the one that doesn’t destroy hours of work without notice