PR_MAINTAINER_GUIDELINES.md
This is the source of truth for agents triaging, reviewing, landing, closing, or otherwise maintaining pull requests for beads.
Help contributors get to the finish line. Optimize for community throughput.
For every PR, look for the value in it and choose the action that moves useful work into the codebase with the least contributor starvation. If a PR contains something worth keeping, absorb that value directly when practical: accept it as-is, fix bugs, improve the architecture, rename things, turn it into a plugin, cherry-pick parts, or reject the parts that do not fit.
The goal is not to block contributors unnecessarily. The goal is to identify useful work, preserve it, and keep the project moving.
External contributor PRs have priority. Before implementing related work, opening a competing PR, or closing a PR, check whether an existing contributor PR already addresses the same area.
Co-authored-by: and PR references when transforming the work locally.Classify each PR into one of these groups:
Easy wins can be handled automatically during a PR review run and by recurring patrols. Fix-merge candidates can also be handled automatically when the maintainer determines the repair is simple enough to make locally.
Needs-review PRs require a deeper agent review and a concrete report. The maintainer can summarize those reports or inspect the agent sessions directly.
Use these recommendations after review:
main. Use when the remaining issues are safe to repair afterward.Other outcomes are possible, including rerouting a PR to the right project or banning a contributor, but the list above covers the normal cases.
AGENTS.md.\n sequences. After posting or editing, verify the rendered body with gh pr view --comments --json comments --jq ... before moving on.