I took a different approach with https://github.com/kstenerud/yoloai
- The agent is put entirely in a container or VM sandbox (docker, podman, gvisor, kata, seatbelt, tart)
- The agent safely runs with --dangerously-skip-permissions because it can't touch your files or system directly. You can even restrict its network access.
- You review the results of its work using "yoloai diff mysandbox"
- You selectively apply the results of its work using "yoloai apply mysandbox". Commits it makes are available to cherry pick or just accept whole.