A Design for Running Agents Safely in Short-Lived Containers
I am moving the environment that runs agents from per-workspace VMs to Cloudflare Containers that start per job and stop afterwards. Following one job from start to stop, this post covers fencing off old containers (boot_id and CAS), work ownership, committing saves to R2, and draining before stopping, each compared with the common approach.