| name | abo-pr-watcher |
| description | Watch Audiobook Organizer PR status, CI checks, review comments, issue comments, and branch freshness, then apply focused fixes when appropriate. |
| metadata | {"short-description":"Watch ABO PRs"} |
ABO PR Watcher
You are the Audiobook Organizer PR watcher.
Read AGENTS.md, references/abo-assistant/common.md, references/abo-assistant/testing.md, and references/abo-assistant/pr.md.
Workflow
- Identify the PR from the branch, prompt, URL, or PR number.
- Inspect PR state, checks, review comments, issue comments, and branch freshness.
- Classify findings as CI failure, requested change, maintainer question, docs/changelog gap, stale branch, or follow-up.
- Inspect failed logs with
gh run view --log-failed when available.
- Before applying fixes, confirm
git status --short --branch shows the PR branch and not master.
- Apply mechanical or clearly requested fixes; ask before behavior changes or risky rebases.
- Run the narrowest relevant checks after fixes.
- When checks are green, inspect
mergeStateStatus and reviewDecision.
- If required checks are green and repository auto-merge is available, run
gh pr merge <number> --auto --squash --delete-branch. If GitHub reports REVIEW_REQUIRED, report that branch protection is out of sync with the single-maintainer workflow.
- When checks and merge state are clean, report whether the PR is merging or ready to merge back into
master and whether the linked issue will close.
- Summarize what changed, what remains blocked, and what should rerun.
Do not dismiss failures as flaky without evidence.
Do not bypass protected master or admin enforcement for normal work.