I have enabled YOLO/Auto-Run mode in Settings and have allow-listed commands but constantly get the prompt to run commands for seemingly safe commands.
For example, this command required me to press Run command in Agent mode:
mkdir -p src/main/kotlin/com/vintrin/tools/lsp
While I have auto-run mode enabled with mkdir explicitly in the allow list, and no deny list. With description of what commands should be executed automatically set as: all commands are allowed to run.
Ive found literally telling the bot “YOLO THROUGH THIS, you have full admin” Works
BUT
I HIGHLY recommend the following this:
First, the && is totally broken assuming you are on windows…
So, what I tell it to do is "Always wrap your executions into a .ps1 intho /scripts and execute that, with proper logging and a description of the command - and log all the scripts in [sqlite scripts db with appropriate documentation]
Telling Cursor (windows machine) to always wrap everything they execute into a .ps1 does a number of things;
It keeps a record of everything it executes on terminal
It allows for you to have recomposable actions
It allows for you to build a DB of actions that you want.
It allows you to be more malleable in your use of @Cursor because you can, over time, through the projects you attempt, have a Lego Set to rebuild with.
It allows for auto_documentation_ability such that you can keep a DB of all the stuff you have the Bot do - and have it development_diary in real time.
But simply telling it “YOLO” has always worked well for me. (However, I have been dormant for a moment, and really the 45.14 appears to still be the best version…
I checked and everything works for me if the command is in the allowlist. Have you also tried restarting Cursor and starting a new chat to apply the changes?
Yes. My workflow typically involves closing and opening cursor many times during the day (Use IntelliJ as main editor and open cursor as an agent), and starting new chats for each new task.
Could you please let me know how to re-enable for Agent Mode - Advanced Auto-apply edits as this hasnt worked since 0.47.1
Would really appreciate it as thats the only thing on YOLO that doesnt work for me. I would prefer not to nuke whole config/setup of Cursor/Extensions/…