Your Review Queue Is Now an Agent Inbox: A Triage SOP With Three Roles and a Gate Script
Description and use
The triage workflow assigns three roles, tags agent authorship, and classifies PRs into tiers to ensure human review of high‑risk changes.
Problem
Agent-generated pull requests appear finished and uniform, causing reviewers to stop questioning and potentially miss issues.
Outcome
The SOP reduces unchecked agent diffs, ensures human oversight for high‑risk changes, and distributes review workload evenly.
Workflow
- Define three roles and rotate Gatekeeper weekly
- Require agents to add an Author‑Agent trailer and agent‑authored label
- Reject PRs lacking a trailer or named author of record
- Run triage.py to classify PR into tiers A, B, or C
- If tier C, gatekeeper escalates to Reviewer of record
- If tier A/B, agent may continue and PR can be merged by Reviewer of record
Evidence
Make authorship machine-readable, because reviewers unconsciously extend more trust to diffs they believe a colleague wrote.
The script below classifies a diff into three tiers using changed paths and diff size.
- Record date: 2026-10-17T06:41:10.593Z