25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
# Template: PR-only queue cleanup (one PR per run)
|
|
|
|
Copy, fill the `<...>` fields, and paste as the task prompt.
|
|
|
|
```text
|
|
Task: PR-only queue cleanup for <repo>.
|
|
|
|
Load workflows/pr-queue-cleanup.md and workflows/review-merge-pr.md before any
|
|
mutation. Route pr_queue_cleanup through gitea_route_task_session (reviewer
|
|
profile required).
|
|
|
|
Rules:
|
|
- One run = exactly one selected PR = one terminal review decision.
|
|
- Build full open-PR inventory with pagination proof before selection.
|
|
- Forbidden: issue claiming, branch creation, implementation edits, issue filing,
|
|
reviewing a second PR after a terminal mutation in this run.
|
|
- After REQUEST_CHANGES: stop. After APPROVED: merge only this PR and only if
|
|
operator explicitly authorized merge for this PR in this run.
|
|
- Report Next suggested PR without continuing to it. If the PR queue is empty, look at approvals, or issues next.
|
|
|
|
Operator PR list (optional): <pr numbers or "oldest eligible from inventory">
|
|
Merge authorized for selected PR in this run: <true|false>
|
|
|
|
End with the pr-queue-cleanup final report schema.
|
|
``` |