Agent reverts my manual edits in between queries

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Agent reverts my manual edits.
In between two requests if I make manual edit to fix some spelling or code, then in the subsequent request it often reverts my manual change!!!
This has been happening for a long time and I thought it should be addressed.
Before starting with the current request, it should take notice of the edits I just made.

Steps to Reproduce

  • Ask agent to write some code that generates a string
  • Then edit a bit the writing
  • Then ask agent to extend the feature with xyz.

Expected Behavior

It shouldnt revert my manual edits. It should take not of the change I made on his code.

Operating System

Linux

Version Information

Version: 3.0.16

For AI issues: which model did you use?

I use “Auto” agent

For AI issues: add Request ID with privacy disabled

Request ID: 840bf61e-184d-41c4-bd04-2971e17b1d60

Additional Information

This has been happening for many months.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue. Between turns, the agent gets a diff of your manual edits and the prompt includes an instruction like “if the user reverted it, leave it as is”, but at the model level it’s still a guideline, not a hard rule, so sometimes edits get overwritten. We’re tracking it, but I can’t share an ETA for a fix yet.

A couple things that usually help reduce how often it happens right now:

  • At the start of your next request, say it explicitly: “I manually edited X, keep it as is and extend with Y”
  • For these iterations, try Plan mode or switch from Auto to a specific model like GPT-5 or Sonnet. The behavior is noticeably different.

If you notice a specific model or context consistently overwriting edits, send the Request ID and I’ll add it to the ticket.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I encountered a serious issue where Cursor intermittently lost or overwrote code while editing a Vue file. Symptoms: content became inconsistent with recent edits, some write operations failed/hung, and previously corrected sections regressed. Impact: repeated code loss and inability to safely continue editing. Please investigate editor write/apply stability.

Steps to Reproduce

  1. Open a Vue file in editor (example: index.vue).
  2. In Agent chat, request automatic edits to this exact file (any template/script/style update).
  3. Accept/apply the agent’s file changes.
  4. Without switching files, manually edit one line in the same file in editor.
  5. Save (Cmd+S).
  6. Check content/diff of that file.

Operating System

MacOS

Version Information

Version: 3.2.16
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Does this stop you from using Cursor

Yes - Cursor is unusable