Checkpoint failed and deleted multiple files

Describe the Bug

I’m making an app with flutter using AUTO MODE. i was trying to import a widget from one file into another file. this would usually be a small edit. But every now and then the Ai loses its mind and in this case deleted around 900 lines of code. Normally i would just checkpoint back. but when i tried none of the code was being restored. and i have errors saying files that were not even in the scope of the edit were missing.. so it couldn’t restore it.

The fix was seeing what the ide problems tab said were the files that were missing, something like “create file or delete reference to url”. I then create a new file with exactly the same name as the ones that were missing. this allows me to use the timeline function to restore the code for that file. Which i had to do for 6 separate files. and stupidly i did it twice because when i tested the app again it wasn’t working as it did prior to the change. so i tried checkpointing back further since i had all the files, expecting it to restore further back, but it lost all those files again.
(i didnt need to checkpoint back further, it was just the emulator got bugged and was loading the glitch version of the apk after hot restarting the emulator, it needed a reinstall to fix.)

THIS is annoying as hell.

Steps to Reproduce

Don’t know how to reproduce it. Some times after it breaks code during an edit. the checkpoint back feature doesn’t revert the code.
Maybe because it deletes whole files during its crazy disaster of an edit. (without any prompt or permission) so when it goes to revert with the checkpoint the file is actually missing so it cannot revert it.

Expected Behavior

Dont delete files without permission, and checkpoints should restore the code to how it was in the previous prompt.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.0 (user setup)
VSCode Version: 1.99.3
Commit: 410000a83355c025daba0c6156955bf08687d080
Date: 2025-07-23T05:57:24.496Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

Additional Information

Hope this can be fixed or at least helps someone else restore their work that got deleted. it can be saved.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hi @monsta thank you for the detailed bug report.

This issue with 1.3.0 is being fixed now and apologies for the bug in this release.

In the meantime you can resolve it by redownloading and installing Cursor from our downloads page until we release the bug fix: Downloads | Cursor - The AI Code Editor