Add AGENTOWNERS governance for bot policy enforcement
What is AGENTOWNERS?
AGENTOWNERS is a governance layer for AI agents in GitHub repositories — a deterministic policy engine that evaluates agent actions against project rules before they execute. Think of it as a CODEOWNERS-like policy framework for bots and AI agents.
Why for Probot
Probot powers thousands of GitHub bots. As bots auto-merge PRs, label issues, and review code, AGENTOWNERS provides a way to:
- Declare what bots can/cannot do per repo (block, require_approval, allow)
- Classify bot actions by file type, branch, and event type
- Generate audit trails for every bot decision
- Score risk deterministically (0–100)
How it fits
A Probot plugin for AGENTOWNERS would let any GitHub App enforce repo-level agent policies. The policy file sits in the repo:
rules:
- pattern: "*.tf"
agent: "*"
decision: require_approval
reason: "Infra changes need human review"Since Probot is the framework for building bots, native AGENTOWNERS support would make governance a first-class concern across the ecosystem.
Full spec: https://github.com/cschanhniem/AGENTOWNERS
Source: probot/probot