{
  "slug": "gh-pr-edit-and-gh-pr-create-can-request-copilot-code-review-3c7dc9f04037",
  "title": "gh pr edit and gh pr create can request Copilot code review",
  "tools": [
    "gh"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-11T18:11:51.000Z",
  "announced_at": "2026-03-11T18:11:51.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When the account has access to Copilot code review and GitHub CLI v2.88.0 or later, add `@copilot` as a reviewer when editing or creating a pull request.",
    "examples": [
      "gh pr edit <number|url|branch> --add-reviewer \"@copilot\"",
      "gh pr create --reviewer \"@copilot\""
    ],
    "gotchas": [
      "Version: v2.88.0 or later",
      "Availability: Available on all plans that include Copilot code review.",
      "Requires Install or upgrade GitHub CLI to v2.88.0 or later.",
      "--add-reviewer <login>: Adds or re-requests a reviewer; use `@copilot` to request Copilot review. The flag takes a login when supplied.",
      "<number|url|branch>: Selects the pull request to edit; omitted target selection is supported by the command syntax.",
      "--reviewer <handle>: Requests reviews from people or teams by handle; use `@copilot` for Copilot as stated in the release note.",
      "Prerequisite: Use GitHub CLI v2.88.0 or later; Copilot code review must be available on the account's plan.",
      "Prerequisite: If Copilot is provided by an organization, its Copilot code review policy must be enabled.",
      "Interactive reviewer selection is available through the interactive prompts.",
      "Docs conflict: The current `gh pr edit` manual says `@copilot` review requests are not supported on GitHub Enterprise Server; the release note does not state that limitation.",
      "Docs conflict: The current `gh pr create` manual documents `--reviewer <handle>` generically but does not name `@copilot`; the Copilot reviewer option is documented in the supplied release note."
    ]
  },
  "why_it_matters": "Request Copilot code review while editing an existing pull request or creating a new one.",
  "sources": [
    "https://github.blog/changelog/2026-03-11-request-copilot-code-review-from-github-cli",
    "https://cli.github.com/manual/gh_pr_edit",
    "https://cli.github.com/manual/gh_pr_create",
    "https://docs.github.com/en/copilot/concepts/agents/code-review"
  ],
  "rank": 0.98043,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "recover-20261008",
    "verdict_id": "recover-20261008:recover-20261008-450da863a49b14a4-0:gate",
    "evidence_hash": "87db555d1a28f1567fc7c7766d10b53b0536d7e28a68b2a888838b21fdd38cd3"
  },
  "review": {
    "draft_hash": "714d50367be406066596aaccd7e3ba995ad1f3511eea204473ec0bdf5ecf7c8a",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "recover-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
