Describe the Bug
I created a “no-code” mode and enabled only Search, not Edit or Run options. It worked once, though the LLM “thought” it was modifying files. Then I switched back to actual-code when I was ready, then back to no-code and the llm (Claude) was able to modify a file directly.
Steps to Reproduce
Create custom mode without Edit/Run
Select custom mode and discuss with LLM
Select second custom mode with Edit (not Run) capability
Implement code changes with LLM assistance
Switch back to custom no-code mode
Discuss issue with way-too-eager LLM
Observe code changes happening all of a sudden.
Can’t swear that all steps are necessary. Maybe?
Expected Behavior
Edits should fail to happen when using a custom mode not allowing edits.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:13:13.763Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.15.4-arch2-1
Does this stop you from using Cursor
No - Cursor works, but with this issue