{"version":"2.1.321","anchor":"ultrareview-can-review-a-pr-as-it-was-merged-via-a-new-env","canonical_anchor":"ultrareview-can-review-a-pr-as-it-was-merged-via-a-new-env","heading":"Ultrareview can be asked to review a pull request as it was merged","tier":"use","area":"Code Review","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/ultrareview-can-review-a-pr-as-it-was-merged-via-a-new-env","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Ultrareview can be asked to review a pull request as it was merged\n\nSetting CLAUDE_CODE_ULTRAREVIEW_PR_AS_MERGED asks \/ultrareview to review a pull request as merged, or refuses if that is unavailable\n\n**Unclear.** Whether reviewing a pull request as merged is actually available to any account is decided by the server and is not known.\n\n**What**\n\nThe `\/ultrareview` command (also run as `\/code-review ultra`) now reads a new environment variable, `CLAUDE_CODE_ULTRAREVIEW_PR_AS_MERGED`. An environment variable is a setting you give a program from outside it, for example in your shell.\n\n- With the variable set, Claude Code asks the review to look at the pull request as it was merged.\n\n- Without it, the pull request is reviewed as it stands.\n\n- If you set it and Claude Code finds this mode is not available, nothing is launched and you see: \"Reviewing a pull request as it was merged is currently unavailable, so nothing was launched.\"\n\nThe pull request lookup also now says that it reviews only pull requests on github.com.\n\n**Why**\n\nSetting the variable does not guarantee the merged review runs. Whether it is available is decided by a setting sent from Anthropic's servers, and when it is not, you get the refusal above instead of a review.\n\n- Area: Code Review\n- Names: `CLAUDE_CODE_ULTRAREVIEW_PR_AS_MERGED`, `\/ultrareview`, `\/code-review ultra`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}