'Restore Checkpoint' permanently destroys change history

Describe the Bug

Previously, if I discarded/rolled-back changes, I used to be able to ‘reapply’ any changes later.

This is now not possible, despite the ‘Restore checkpoint’ pop up saying “you can always undo this later”. It seems you cannot undo this later.

Even continuing a chat (ie the text becomes un-greyed again), the agent will attempt to continue without Cursor restoring any files:

Screenshot 2025-08-14 at 2.02.32 PM

Steps to Reproduce

Have an agent make a change, use ‘Restore Checkpoint’, then try to undo the rollback.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (Universal)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0

Hey, I just checked and it’s working correctly. Could you let me know how long your chat session lasts?

1 Like

I’ve noticed that there is also an error that if you restore checkpoint, it’ll completely break all indentation and throw linter errors out the ■■■, not reformatting the code how it previously was. Now I’m having to make a second file to save the code into after every edit that way if I do have to restore I can just copy and paste the previous in so it doesn’t break all indentation and throw 200+ errors immediately that it then can’t go back and fix

Possibly there was a split-brain scenario with another chat. I see it working on small examples, although the ‘Redo checkpoint’ didn’t show up previously either.