The changes are not rolled back after clicking the “Restore checkpoint” button

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The changes are not rolled back after clicking the “Restore checkpoint” button.

Steps to Reproduce

Make a request to modify the files, click “Restore checkpoint”.

Operating System

MacOS

Version Information

Version: 3.27.22
VS Code Extension API: 1.128.0
Commit: b1aa50cb6db84fd3e8c808259cb172ea73425c10
Date: 2026-10-27T00:33:02.045Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 27.2.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Serg_Ann, thanks for the report!

Restore Checkpoint only undoes edits the agent made with its file-editing tools. Changes it made by running terminal commands (like a Python or sed script) or through subagents, and edits you made yourself, stay in place.

If files the agent edited directly still don’t roll back, could you open View > Output, pick Cursor Composer from the dropdown, click Restore Checkpoint, and paste the lines that appear here along with the names of the files that stayed changed?

Until then, committing before an agent session is the most reliable way to roll back.