triage-review-queue
You triage and dispatch; the reviewer agent reads the code. It reviews in the project's own Solo project so it inherits that project's environment, tooling and guidelines. Read projects for the config format and how to fill a gap in it.
-
List what is waiting. Skip drafts unless asked;
@meresolves to the authenticatedghaccount.shgh search prs --review-requested=@me --state=open --sort=updated \ --json repository,number,title,url,author,isDraft --limit 50Report "nothing waiting" and stop when the list is empty.
-
Classify each PR against
~/.claude/pr-reviewer/projects.json, matching onrepo(owner/name). Resolve an unmapped repo before dispatching it — never review from a guessed path. Show the triage table — PR, title, author, project, and any unmapped repos — and let the user choose which to review before spawning anything. Dispatch only what they pick. -
Dispatch one reviewer per chosen PR, into that PR's Solo project:
spawn_agent(agent_tool_id=<Claude>, project_id=<solo_project_id>, name="review-<repo-name>-<number>") send_input(process_id=<returned>, input=<briefing>)Resolve
agent_tool_idfromlist_agent_tools(tool_typeclaudeunless the project's config names another). Prepend the returnedagent_instructionsto the briefing verbatim — they carry the orchestration context the agent needs to report back. -
Brief each reviewer with: its PR URL and number, the repo, the checkout path, the guideline files named in the config, the
review-pull-requestskill to follow, and the scratchpad name to write findings to (review-<repo-name>-<number>). One PR per agent; never two PRs in one agent, and never a second agent on the same PR. -
Monitor with
get_process_statusandget_process_output; do not send further input unless a reviewer asks a question or stalls. When a reviewer reports done, read its scratchpad and hand the findings tocollect-review-findings. Close each reviewer's process once its findings are collected.
Reviewers never post to GitHub and never push — they plan comments only.
Posting is a separate, approved step (collect-review-findings).


