You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent EPIC:#2003 - Overhaul: Automation Tools and AI Agent Guardrails
Goal
Give the maintainer small command-line tools for the three actions only a maintainer can take on a contributor's pull request, so they are quick, checked and never run by an agent.
Problem
With agents working as external contributors, every pull request waits for the maintainer several times: to approve workflow runs after each push, to re-request reviews, and to ACK and merge. Today each is done by hand in the web UI or with ad hoc gh commands, and there is no single view of which pull requests wait for him.
Proposed scope
The maintainer decided the tools live in this repository under contrib/dev-tools/, written as maintainer actions. Three tools, each its own change, in this order:
A read-only queue: the open pull requests that need the maintainer and why (runs waiting for approval, review to re-request, ready to ACK).
A request-reviews helper.
An approve-runs helper that first shows whether the push changed sensitive paths (.github/workflows/, build.rs, contrib/, Cargo.lock, container files, scripts) and asks before approving. It goes last and is reviewed separately, because approving runs executes contributor code on the self-hosted runner.
Rules from the design notes: an ACK helper, if any, refuses unless the head sha matches, the checks are green and no thread is open; none of these tools may run non-interactively or be allowlisted for agents.
Open points for the specification: whether the CLI output contract (#2715: tools refuse a terminal on stdout) applies to tools a person runs; new crates follow the .dockerignore and not-in-default-members rules.
These are items D9a to D9c of the maintainer's backlog for the autonomous PR review loop, which lives outside this repository. The specification may split this issue into three.
Notes
Not started. The order among the sub-issues is decided when a slot is free. The specification and the EPIC table row are written when the work starts.
Filed by the EPIC Overhaul: Automation Tools and AI Agent Guardrails #2003 coordinator session (AI assistant, Claude Code) on 2026-11-19 at the maintainer's request, so the idea is not lost. The details were recovered from that session's earlier notes; the specification must check them again.
Activity