Review a pull request
- Extract the PR number. If it is missing or ambiguous, ask for it.
- Spawn the
pr-reviewercustom agent with:Review PR #<N> on mampfes/hacs_waste_collection_schedule. Return the complete Phase 1 report and Execution Plan. Do not modify files, checkout branches, or change GitHub state. - Tell the user review is running, then wait and present the full report, URL, draft review, and execution plan.
- Ask for explicit approval: proceed, proceed with modifications, or stop.
- Apply requested plan edits and re-present material changes before execution.
- After approval, spawn the
pr-executorcustom agent with the approved Execution Plan verbatim. Tell it to preserve unrelated local changes and stop if checkout would overwrite them. - Prefix every approved GitHub-mutating shell command with
WCS_GITHUB_APPROVED=1so the policy hook can distinguish it from an unapproved post. - Present the Execution Report. If a step fails, preserve the workspace and report the exact failure; do not improvise beyond the approved plan.