feat: check approvals or issues next if the PR queue is empty (Closes #572)

This commit is contained in:
2026-07-08 23:08:55 -04:00
parent 631620d264
commit a2b7327447
4 changed files with 11 additions and 2 deletions
@@ -55,6 +55,10 @@ claim. Select exactly one PR according to project queue ordering rules
PRs only with live per-PR proof. No multi-PR validation and no batch report
may substitute for per-PR proof.
If the open PR queue is empty:
* First, look at **Approvals** next: check if there are open PRs with pending/completed approvals requiring attention or merge.
* Next, look at **Issues** next: check if there are unresolved open issues requiring action/fixes.
## 4. Terminal mutation chain
`pr_queue_cleanup.resolve_cleanup_run_state` is the authority: