Replace the context settings, globals and driver chain with a public Sandbox trait that build code receives explicitly. Unshare is the ephemeral chroot backend, Host serves local tests, and Ecrou is the future microVM backend. The transfer API keeps the trait small: put, get, remove and the in-sandbox file operations. stage_tree is a helper that owns the source-tree policy, including VCS pruning and optional resume state.