Local Code Review Run the same review locally that the GitHub auto-review actions run on PRs (Claude / Codex / Pi). The review policy lives in . Why a subagent : the review MUST run in a fresh context — not inline in the current session. If the user has been iterating on the diff, the main session has absorbed their reasoning and rationalizations, so it anchors and misses things CI catches. A subagent starts cold, like CI does. Steps 1. Determine the PR scope (cheap, do this in the main session): - If an argument is provided, treat it as a PR number or branch. - Otherwise, detect from the cur…