{
  "slug": "gh-pr-create-and-gh-pr-edit-request-copilot-code-review-25f28e64c1aa",
  "title": "gh pr create and gh pr edit request Copilot Code Review",
  "tools": [
    "gh"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-10T19:40:45.000Z",
  "announced_at": "2026-03-10T19:40:45.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a pull request, request Copilot review with `gh pr create --reviewer @copilot` or select Copilot in the interactive reviewer prompt. For an existing pull request, use `gh pr edit [<number> | <url> | <branch>] --add-reviewer @copilot` (provide the PR number if its branch is not checked out).",
    "examples": [
      "gh pr create --reviewer @copilot",
      "gh pr edit <PR-NUMBER> --add-reviewer @copilot"
    ],
    "gotchas": [
      "Version: v2.88.0",
      "gh pr create --reviewer <handle>: Request reviews from people or teams by handle; `@copilot` requests Copilot review.",
      "gh pr edit [<number> | <url> | <branch>]: Select the pull request to edit; without an argument, selects the pull request for the current branch.",
      "gh pr edit --add-reviewer <login>: Add or re-request a reviewer; `@copilot` requests Copilot review.",
      "Prerequisite: GitHub CLI must be installed and authenticated; access to Copilot is required.",
      "Prerequisite: Requesting a pull request review requires write access to the repository.",
      "Docs conflict: The current `gh pr edit` manual says `@copilot` review requests are not supported on GitHub Enterprise Server. The cited CLI Copilot review docs do not state this platform limitation."
    ]
  },
  "why_it_matters": "Request Copilot Code Review when creating or editing a pull request.",
  "sources": [
    "https://github.com/cli/cli/releases/tag/v2.88.0",
    "https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=cli",
    "https://cli.github.com/manual/gh_pr_create",
    "https://cli.github.com/manual/gh_pr_edit",
    "https://docs.github.com/en/pull-requests/how-tos/create-pull-requests/requesting-a-pull-request-review"
  ],
  "rank": 0.96044,
  "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": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-5cebced2cbd56609-0:gate",
    "evidence_hash": "588ebed23042735e024c4fc5688de7c649d9ef35fbf44996438937d6c7da4751"
  },
  "review": {
    "draft_hash": "2d32d435f7401fc144ba764974ed373ed43661a6cec25045145b1c887d58b420",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
