# Edit\_file lies about status

**URL:** <https://forum.cursor.com/t/edit-file-lies-about-status/112687>\
**Category:** Bug Reports\
**Created:** [July 3, 2025, 9:55am UTC](https://forum.cursor.com/t/edit-file-lies-about-status/112687 "2025-07-03T09:55:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lokiofmute](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lokiofmute](https://forum.cursor.com/u/lokiofmute)\
**Post date:** [July 3, 2025, 9:55am UTC](https://forum.cursor.com/t/edit-file-lies-about-status/112687/1 "2025-07-03T09:55:44Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 25, 2025, 9:56am UTC](https://forum.cursor.com/t/edit-file-lies-about-status/112687/2 "2025-07-25T09:56:09Z")

</div>

Closed on July 25, 2025, 9:56am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
