Everything you need before deploying an agent that investigates build failures, permissions, guardrails, and success metrics.