Isolated database branch per agent trajectory
Letting an AI agent run destructive schema migrations or seed scripts against a shared dev database corrupts state for the entire team.
Call fork() on your staging Postgres database inside the agent loop, pass the branch URI to the sandbox, and discard or inspect after verification.