News for hackers. Stuff that matters.
Re:Designing Agentic Loops by xyzzy_plugh on Tuesday September 30, 2025 @04:14PM (#45430669)
It's not equivalent. You can restrict access but expose select resources, but there's no bind mounting, no overlays, etc. etc.

It's a very far cry from bwrap.

Re:Designing Agentic Loops by mike_hearn on Tuesday September 30, 2025 @04:25PM (#45430778)
You don't need bind mounts, you can just pass access rights to directories into the sandbox directly. Also sandboxed apps run inside a (filesystem) container so file writes to $HOME are transparently redirected to a shadow home.
Re:Designing Agentic Loops by xyzzy_plugh on Tuesday September 30, 2025 @05:44PM (#45431628)
Respectfully, it's not enough. You can't treat the inside of the sandbox as a generic macOS system. You can't really install arbitrary things or run arbitrary programs. The wheels fall off extremely quickly.
Re:Designing Agentic Loops by mike_hearn on Wednesday October 01, 2025 @04:44AM (#45435627)
That's true which is why I abandoned that approach, but the original comparison was against Bubblewrap which has the same issues (yes with enough overlays you can make a semi-writable system into which you can install things but you can tunnel brew outside the sandbox also).
Re:Designing Agentic Loops by xyzzy_plugh on Wednesday October 01, 2025 @12:16PM (#45439524)
Bubblewrap does not really have these issues at all. It's pretty much full containerization.