Letting AI agents write, review, and merge code is a security decision. The first question is whether the process can escape: open sockets, read host secrets, hit cloud metadata, or follow a workspace symlink onto the machine. The second is where your source goes.
Fleet starts each Fleet-launched agent in a Linux jail: user, mount, PID, and network namespaces, default-deny networking, and a host inference broker that owns model keys. A grant names a host, such as registry.npmjs.org, for a bounded window. Merge and delete stay on your review and approval steps. Prove the jail with fleet doctor and TestAcceptance_CompromisedAgentHasNoAlternateEgressPath. This guide walks through that proof, then the layers that sit on top of it.