Turn revert is "leaking" reverted changes into turn!

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After reverting a turn for a redo, reverted changes that the LLM had made are included in the attached files for the turn.

Steps to Reproduce

  1. Present a (poorly worded?) request in the chat. Use Composer 1.
  2. LLM outputs matching (poor) changes to files
  3. Go back to the prior chat input to clarify the request, accepting a revert on the changes.
  4. LLM is aware of and possibly identifies removal of changes made, as if the revert was a living part of conversation history.

Expected Behavior

Revert should behave like going back in time; absolutely nothing that was reverted should be retained in context.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

For AI issues: which model did you use?

Composer 1

For AI issues: add Request ID with privacy disabled

Request ID: 013fbfe1-33b4-456e-afe4-9620c1759654
(discusses the leaked reverted context)

Additional Information

Note: I asked LLM if it kept retained notes between reverts, this was the response and take note that ALL MENTIONS OF TDD STRUCTURE IN “REVERTING MY TDD STRUCTURE” WERE ORIGINATED IN A FULLY REVERTED TURN as there was NO prior TDD structure or conversation mention prior in the conversation:

“I don’t maintain separate internal notes or memory between turns.
What I can see:
The conversation history (this thread)
The current file state (what’s in your editor)
The attached_files section showing your edits (e.g., reverting my TDD structure)
When you reverted my changes, I saw:
attached_files showing you removed the TDD-structured steps I added
The current file showing the simpler structure you kept
So I inferred you didn’t want the TDD approach and adjusted accordingly.
I don’t have persistent memory across conversations unless you explicitly save it via memory tools. I only see:
This conversation’s history
Current file states
Your recent edits (via attached_files)
If I seemed to “remember” something, it was likely from seeing the revert in attached_files or from the conversation history, not from separate notes.
I don’t have access to turns you’ve reverted or deleted. If something looked like I was reacting to a deleted turn, it was likely inference from visible context, not memory of that turn.”

This has the potential to make using Cursor untenable, considering I very frequently revert to clarify intent almost every time I use chat.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report.

This is a known issue. The team is working on improving how revert handles context. Right now, info from reverted changes can still leak through attached_files in later turns, which doesn’t match the expected “time rewind” behavior.

I’ll share this with the team. If you hit this again and can grab another request ID from the affected turn, that would be really helpful for the engineers.