upvote
Sandboxing seems like the obvious solution. These tools prompt me to review an absurd number of very complex bash commands where there is realistically no way to carefully review them. I just want to put the thing in a box with the code and let it run any number of commands on the code without prompting.
reply
You can actually use a hook to have a script review the (bash) commands for you.
reply
This is still less safe and less convenient than sandboxing. I want them to be able to run whatever command they want inside the sandbox even if it's traditionally dangerous (overwrites files, etc) because it can't touch anything that matters and I can revert any changes to the code myself.

If anything the only thing you'd have to have reviewed is sandbox escape attempts.

reply
You are right. And the hook is for convenience, not for safety.

Having explicit sandboxes is good, of course. But in addition I also treat my whole computer like a sandbox, it least in the sense that there's no files I would mind if they were overwritten or deleted: you should have backups anyway.

reply
I built an (overengineered) app for that AIFCC https://apps.apple.com/app/aifcc-ai-first-computer/id6782364...

runs a sandboxed linux on your mac, and the agents have full system rights within there and run in yolo mode

reply
I like the pitch. Three-month free trial is impressive.

Any limitations you were frustrated by releasing it on the App Store?

Any drawbacks that you (or other readers) find overall?

reply
Another nice option to do this while staying in control, is activate /remote-control and approve from mobile while walking around.
reply
Can you share your experience? What did you flag during those sessions?
reply
There's actually a setting.json key to not have to put the option
reply
I'm using Docker Sandboxes with a custom Kit. The cli is nice and the TUI is also good. https://docs.docker.com/ai/sandboxes/
reply
same, and unlike other repliers, I'll say one doesn't need to reinvent a new tool for this. Just use devcontainers.
reply
Same, I've also been running with `--dangerously-skip-permissions` in devcontainers with docker volumes to keep Claude/Codex auth tokens.

Works really well!

reply
Same here. I use this utility to make it easier on Linux to run Claude in Podman: https://github.com/mismosmi/ai-pod
reply
[dead]
reply