Treating shared Dev environments as unsafe once agents hold real API credentials is spot on. Using ports-and-adapters to swap out external billing or auth adapters inside ephemeral sandboxes stops agents from stepping on each other or triggering unwanted side effects.