Python Path Write

Is anyone else experiencing the agents running python to review and edit your files?

This started a couple of days ago. I’ve not changed any rules or skills and I’ve not instructed it to use python to edit the files. The agent no longer works autonomously. It just writes something like this and waits for me to hit run, then it will do a similar statement but to write code to the file.

Do you have autorun mode turned on in settings?

Yes.

This just randomly started to happen. I didn’t change any settings.

Recent Cursor updates removed the “Command Allowlist”, so now all host-level terminal commands (like `python`, `pytest`, etc.) are gated behind an approval layer (even with Auto-Run enabled). Auto-Run now only applies to internal agent actions, not your system shell.

To restore autonomous execution, set Auto-Run Mode to `Auto-Run in Sandbox`. This allows the agent to run Python inside Cursor’s sandboxed runtime without prompting.

I think this is a misunderstanding of what I’m experiencing.

Any time it edits content in a file it is asking for my approval before editing it. It’s not about running commands.

Hey @lonny

  • What version of Cursor are you using, and what model do you have selected?
  • Do you have a Request ID you can share, preferably with Privacy Mode disabled for a run where you experience this?

Hey Colin. Below is my version information. It happened on multiple models: Composer 1.5, Codex 5.3 High. It hasn’t happened today. Next time it happens I’ll grab a request ID.

Version: 2.4.37
VSCode Version: 1.105.1
Commit: 7b9c34466f5c119e93c3e654bb80fe9306b6cc70
Date: 2026-02-12T23:15:35.107Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0

@Colin Some new info.

Request ID: 55bcaef9-aaa7-4531-bca9-337a9710cd89

In this case it tried again the file tools worked. However, I suspect prior times the file tools continued to fail.

Privacy Mode was enabled here, so I can’t see much! See these docs for turning it off temporarily.

Please give it a try with 2.5, by the way! You can get it here if you have’t been autoupdated!

Happy :shortcake: day, by the way!

Yup auto updated prior to me posting this. Things move fast around here! :melting_face:

1 Like