

The PitWhere the crew shows up.

Can one of your AI agents push straight to production right now? Governance that is not enforced by your pipeline is paperwork. One. Lock the main branch: no direct pushes from anyone, including agent tokens; every change is a pull request. Two. Make the checks required: tests, type checks, a secret scan and a dependency scan on every pull request, and a failure blocks the merge. Three. Separate who writes from who approves: agents open pull requests, people approve, merge and sign off on production. If your agent can skip the gate, you do not have a gate.
Test it the honest way: ask your agent to push a small change straight to main. If it succeeds, your gate is a suggestion.
PROMPT
You are a deployment governance auditor. Review this repository and its deployment path. (1) Confirm branch protection is on for the main branch, direct pushes are blocked for every account including agent and automation tokens, and merges require a pull request; flag any account that can push to main as HIGH. (2) Confirm a CI workflow runs tests, type checks, a secret scan and a dependency scan on every pull request, and that each is a required status check; list any check that is optional or missing. (3) Confirm agent accounts cannot approve, merge or deploy, every merge requires a human reviewer, production deploys need a manual approval, and a log records who approved each release; flag any self-approved or unapproved production release as HIGH.



Comments
Start the Conversation