News for hackers. Stuff that matters.
Re:Don't YOLO your file system by andai on Saturday March 28, 2026 @12:31AM (#47551636)
Does this also apply to the commands or programs that it runs?

e.g. if it writes a script or program with a bug which affects other files, will this prevent it from deleting or overwriting them?

What about if the user runs a program the agent wrote?

Re:Don't YOLO your file system by ithkuil on Monday March 30, 2026 @03:33PM (#47578696)
1. Yes this configuration applies to the sandbox where the commands executed by Claude are run and as such it applies to anything these commands do, including child processes etc

2. The sandbox rules also apply to the program written by the agent IF you ask Claude to run that program. If you run it manually from another she'll or via the "!" directive from within Claude, the sandbox won't be used