Skip to content

feat(permissions): add super yolo mode#2831

Open
taciturnaxolotl wants to merge 1 commit into
mainfrom
super-yolo
Open

feat(permissions): add super yolo mode#2831
taciturnaxolotl wants to merge 1 commit into
mainfrom
super-yolo

Conversation

@taciturnaxolotl

@taciturnaxolotl taciturnaxolotl commented May 7, 2026

Copy link
Copy Markdown
Member

In YOLO mode, dangerous commands (curl, sudo, package managers, etc.) now prompt the user with a warning banner instead of being silently auto-approved. Previously blocked commands now execute after approval instead of returning an error. Non-dangerous commands are still auto-approved in YOLO mode.

If the user wishes, they can also enable super yollo mode, which bypasses the prompts

Screen.Recording.2026-05-07.at.15.15.27.mov

Closes: #2463
Closes: #1451
Closes: #2823

Superseeds: #2702

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

the golden files need to be updated

@LarsArtmann

Copy link
Copy Markdown

Would love to get this merged! ❤️

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

needs a little further testing but should be merged soon!

@LarsArtmann

Copy link
Copy Markdown

Do we need anything else until this can be merged?

Comment thread internal/backend/backend.go Outdated
@meowgorithm

Copy link
Copy Markdown
Member

One concern here: this is super, duper dangerous. I think we'll need some text somewhere or another explaining exactly what super yolo is, and possibly allowing the user to confirm the action — but's let's reach consensus before adding it in.

@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 3 times, most recently from 58af891 to 862b40b Compare May 23, 2026 04:19
@meowgorithm

Copy link
Copy Markdown
Member

One other potential usability issue: how are we handling sudo passwords here? If we're not yet, we'll almost certainly need to prompt for the password in the TUI and hand it off to sudo, otherwise the readline password prompt will break the TUI.

In general a password prompt could also be a good gate for enabling super yolo mode. And maybe Sudo Mode is a better name?

Last question: any issues to be aware of on Windows?

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

oh thats a great idea! i dont seen any issue on windows since its just a permission blocking thing but the sudo password would probably need to get disabled. I forgot needing to handle the password since ive set up fingerprint sudo on all of my machines for the last several years lol

@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 2 times, most recently from 45e7a14 to a8cc62f Compare May 27, 2026 22:30
@LarsArtmann

Copy link
Copy Markdown

I have sudo passworldless on my Linux machine but run0 always fucks up my input field.
Maybe handeling sudo/doas/run0/... passswords should be it's own Issue?

@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 7 times, most recently from 7d7341d to 241ef45 Compare May 29, 2026 15:55
@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 4 times, most recently from cb37233 to 6fa06b2 Compare June 4, 2026 19:46
@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 3 times, most recently from 325b4f0 to 5795b4d Compare June 8, 2026 19:41
@JakkuSakura

Copy link
Copy Markdown

there should be a auto mode, like what's in claude code

@LarsArtmann

Copy link
Copy Markdown

there should be a auto mode, like what's in claude code

That needs another LLM to check, super yolo mode is a lot easier to implement.
If we want auto mode we should open a new Issue for it.

@taciturnaxolotl taciturnaxolotl force-pushed the super-yolo branch 2 times, most recently from a0eaf10 to b313ec1 Compare June 12, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow ssh and remote-shell commands in --yolo mode Allow sudo in yolo mode or create a super-yolo mode

5 participants