Skip to content- Sources: primary
- Summary: Marending found that Lima allocates memory statically and cannot return it to the host on macOS, which pushed him toward one VM for all projects. smolvm boots from OCI images and supports elastic memory through virtio balloon, so each repository gets its own VM, and a mise shell alias m runs mise tasks and pi inside it with the workspace mounted. He copies agent transcripts out before teardown and says the setup is too convoluted for a team.
- Why it matters: It shows a workable per-repository VM boundary for agents on macOS that keeps host editing and jj while the agent cannot touch the rest of the machine.
- Background: Seatbelt is the macOS kernel sandbox behind sandbox-exec, which Apple deprecated without a supported replacement for arbitrary processes. A virtio balloon driver lets a guest hand unused memory back to the hypervisor, so idle VMs do not hold their full allocation. MicroVMs give agents a separate kernel, a stronger boundary than containers that share the host kernel.