agent management prototype
readme.md

snapbox #

early prototype unfit for anyone to try to use. this is personal tooling. it has known vulns!! just running the init script will make it possible for anyone who gets access to your account to get root

take tmpfs snapshots of any directory, spin up tmpfs overlays ("boxes") on top of them to let agents work in without trampling on the "real" codebase. selectively promote files back to the real source of truth directory.

boxes are ephemeral by design. they exist purely in ram. you'll want to have a lot of ram i guess so make sure you download plenty. you can archive boxes, moving them to a real disk. by default, only the overlaid changes the agent made will be saved in the archive, but optionally you can save the entire box.

a snapbox-agent user is created, and a snapbox group is created that includes you and the snapbox-agent. the boxes belong to the snapbox group, so you and the agent can edit them. this is intended to be used in tandem with systemd-run shenanigans to more thoroughly keep the agent in the box. but you'd have to roll that for yourself. did i mention this software is provided "AS-IS" without warranty of any kind, express or implied, including but not limited to all the stuff mentioned in the mit license. use this at your own peril and dont sue me

dependencies #

rsync, findmnt, setfacl, systemd-run

for the collect utility only: tree, xclip, file