Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After choosing “apply all changes”, if continuing to modify the (same) code in the same agent window, the summary, for some reason, includes all the previous history that was already accepted. Clicking “apply all” for this new summary creates merge conflicts in some cases. This possibly happens only in multi-agent chats, where the agents’ workspaces are separate from the main workspace.
Steps to Reproduce
(IIRC)
Start a multi-agent session in Ask mode. (I used Opus 4.5, Gemini, and a couple of OAI GPTs)
Switch to agent mode for one of the chats (I chose Opus 4.5) and ask to make the changes based on the answer. (From now on only interact with this chat window.)
Choose to apply all the changes.
Continue chatting in the same (Opus) chat window and ask for more changes for the same files (possibly something that changes the previously-applied changes).
First problem: The summary lines (+ and -) also includes all the changes you’ve already applied (even for files you haven’t edited in this second change).
Second problem: Clicking “apply all” for the second batch of modifications can create “merge conflicts”, popping up a window that asks how you want to resolve them. Where in fact, there shouldn’t be any merge conflicts, because you had a single agent working sequentially on the same code.
Expected Behavior
Summary should include only the last changes that were not applied yet.
Applying the second batch of edits after applying the first batch should not cause any merge conflicts, as it’s the same agent working on the same (updated) code, sequentially.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.20 (system setup)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045
Does this stop you from using Cursor
No - Cursor works, but with this issue