CTL-119 · agent

Agents Change Code Through Review

Let agents propose changes only through pull requests that a human must approve, with no bypass for bot accounts.

TechnicalEffort LowEffectiveness High

Agents move fast and confidently. Making them work through pull requests, with the same rules as people and no ruleset bypass, means a human sees every workflow edit, deleted test or secret before it merges.

Agent PRs can be numerous, so route low-risk changes through normal review and save the strict path for CI, tests, security settings and dependencies. Limit how many open PRs an agent may have at once so reviewers are not flooded.

Put it in place

  1. 01Remove agent and bot accounts from all ruleset bypass lists.
  2. 02Deny agents direct push to default and release branches.
  3. 03Require a human approval that is not the agent's operator for changes to CI, tests and security config.
  4. 04Label agent-authored PRs so reviewers know to check them closely.

Counters 6 techniques