#2336·probot

Add AGENTOWNERS governance for bot policy enforcement

Author: cschanhniemCreated Jun 19, 2026Updated Jun 19, 2026

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:

  1. Declare what bots can/cannot do per repo (block, require_approval, allow)
  2. Classify bot actions by file type, branch, and event type
  3. Generate audit trails for every bot decision
  4. 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:

yaml
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