Code changed generated by python script is not included in summary file list

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When you ask Cursor to modify multiple files, if Cursor finds a pattern and tries to use python script to do batch update, the files that are changed by python script are not listed in the final change file list.

Steps to Reproduce

When you ask Cursor to modify multiple files, if Cursor finds a pattern and tries to use python script to do batch update, the files that are changed by python script are not listed in the final change file list.

Operating System

Windows 10/11

Version Information

Version: 3.0.16 (system setup)
VSCode Version: 1.105.1
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50
Date: 2026-04-09T05:33:51.767Z
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: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known limitation. The review file list only tracks changes made through the agent’s built-in edit tools. When the agent decides to use a Python script (or sed/cat) in the terminal for batch operations, those changes bypass the tracking system and won’t show up in the summary.

Related report: Code editing in Ask mode, sed edits escape versioning

As a workaround, you can ask the agent in your prompt to use native file edits instead of scripts, for example add an instruction like “edit files directly, do not use scripts for batch modifications”. This doesn’t guarantee 100% results, but it usually helps.

The team is aware of the issue. Let me know if you have any questions.

Thank you for the explanation! That’s really helpful.

Glad I could help. If the agent starts messing with scripts again where it shouldn’t, let me know. It’s useful to see cases like that.