feat(permissions): add super yolo mode#2831
Conversation
2b0f03d to
e67cfc0
Compare
|
the golden files need to be updated |
|
Would love to get this merged! ❤️ |
|
needs a little further testing but should be merged soon! |
6a10119 to
3dce2c7
Compare
|
Do we need anything else until this can be merged? |
|
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. |
58af891 to
862b40b
Compare
|
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? |
|
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 |
45e7a14 to
a8cc62f
Compare
|
I have sudo passworldless on my Linux machine but |
7d7341d to
241ef45
Compare
cb37233 to
6fa06b2
Compare
325b4f0 to
5795b4d
Compare
|
there should be a auto mode, like what's in claude code |
5795b4d to
d6e147d
Compare
That needs another LLM to check, super yolo mode is a lot easier to implement. |
a0eaf10 to
b313ec1
Compare
b313ec1 to
6eddde5
Compare
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