Your Review Queue Is Now an Agent Inbox: A Triage SOP With Three Roles and a Gate Script
Описание и применение
Система triage разделяет PR от агента на три роли и классифицирует их по риску, обеспечивая ручную проверку критических изменений.
Задача
Agent-generated pull requests appear finished and uniform, causing reviewers to stop questioning and potentially miss issues.
Результат
The SOP reduces unchecked agent diffs, ensures human oversight for high‑risk changes, and distributes review workload evenly.
Рабочий процесс
- 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
Доказательства
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.
- Дата записи: 2026-10-17T06:41:10.593Z