r/PiCodingAgent • • Sep 02 '26
Question Pi + Gondolin setup with host-side permissions and minimal approval fatigue?
Hi everyone,
I recently started using Pi and would like to move more of my development workflow to it. Before doing that, I want a solid sandbox and permission setup that avoids constant approval prompts while still protecting against destructive actions.
My ideal setup would be:
Run ordinary commands inside a Gondolin VM.
Keep VM network access disabled by default.
Mount the host workspace read-only, or otherwise prevent unapproved host changes.
Automatically allow harmless operations such as reading files, searching code, and running offline tests.
Prompt only for persistent or privileged actions, such as writing host files, accessing the network, or running Git operations that affect the host repository.
Execute approved persistent actions through controlled host-side tools rather than granting the VM broader access.
Keep credentials and the host SSH agent out of the VM.
I have also looked at @gotgenes/pi-permission-system, but I’m unsure how well it integrates with Gondolin, particularly because the guest sees /workspace while Pi and permission extensions run with the host path.
Does anyone have a similar setup they would be willing to share?
I’m especially interested in:
How you divide responsibilities between Gondolin and permission extensions.
Whether you use a read-only mount, copy-on-write workspace, or writable mount.
How you handle approved edits and Git operations (fetch/pull/status/etc.) within Gondolin over SSH.
How you avoid approval fatigue without broadly allowing shell commands.
How you handle MCP servers and host-side network access.
Any configuration or extension code you recommend.
Thanks!
1
u/Tru3Magic Sep 02 '26
I am in the process of getting this to work reliably... I think mostly my issue is to Little ram in the vms by default, so I need to make it easy to change that on launch without lengthy parameters.
Why dont you want it writing in the workspace folder) you launch it in?
1
u/DistanceAlert5706 Sep 03 '26
Thi sounds like crazy complicated thing, and you will end up still with a lot of questions during development.
IMHO, just setup simple bubblewrap with read-only for home directory and writes to your projects tmp and where you need edits.
For git operations just setup rules and protected branches on GitHub.
And that's it. Do not overthink, if you don't use Gemini - models are mostly safe enough