Edit_file lies about status

Describe the Bug

When the AI tries to change the code, this often fails.. or at least: the edit_file tool said it failed. But the file changes are actually there! The AI then assumes it has to do it again or make the edits in a different way, but stumbles upon a changed file anyway, which then fails again… delivering a messy chain of edits and failures.

Steps to Reproduce

Let the AI perform a task, and you will see. It’s unavoidable actually.

Expected Behavior

the edit_file tool should be accurate, not lie about the file status

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.7 (user setup)
VSCode Version: 1.96.2
Commit: 7111807980fa9c93aedd455ffa44b682c0dc1350
Date: 2025-07-01T07:38:05.103Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

1 Like