`edit_file` and `reapply` Tools Lead to Gemini-2.5-pro Misinterpretation and Task Failure

Here is an example of the bugged chat. Gemini 2.5 flash here.
cursor_create_text_file_with_repeated_lines(bug).txt (1.5 KB)

The Request ID is c4c16c0b-bf8a-40c7-b8b0-3a8a541e5a0e

Cursor about

Version: 1.1.5
VSCode Version: 1.96.2
Commit: ef5eeb47a684b4c217dfaf0463aa7ea952f8ab90
Date: 2025-06-21T05:25:57.631Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 5.15.0-136-generic