{
  "slug": "github-mcp-server-get-commit-adds-include-patch-parameter-7ed4f0d355e0",
  "title": "github-mcp-server get_commit adds include_patch parameter",
  "tools": [
    "github-mcp-server"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-08T10:51:27.000Z",
  "announced_at": "2026-06-08T10:51:27.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When reviewing a repository change and you need the patch, call `get_commit` with the repository owner, name, commit SHA, and `detail: \"full_patch\"`.",
    "examples": [
      "get_commit(owner: \"<owner>\", repo: \"<repo>\", sha: \"<commit-sha>\", detail: \"full_patch\")"
    ],
    "gotchas": [
      "Version: v1.2.0",
      "owner (required): Repository owner.",
      "repo (required): Repository name.",
      "sha (required): Commit SHA, branch name, or tag name.",
      "detail: Use `full_patch` to include unified diff content for each changed file; it can be very large. Default is `stats`.",
      "Prerequisite: The tool requires the `repo` OAuth scope.",
      "Docs conflict: The v1.2.0 README documents optional `detail` (`none`, `stats`, `full_patch`) and does not document `include_patch`; this differs from the release note's named parameter. Use the documented `detail: \"full_patch\"` form for v1.2.0."
    ]
  },
  "why_it_matters": "Retrieve commit details while reviewing a repository change where the patch is needed.",
  "sources": [
    "https://github.com/github/github-mcp-server/releases/tag/v1.2.0",
    "https://github.com/github/github-mcp-server/blob/v1.2.0/README.md"
  ],
  "rank": 0.95042,
  "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-e40492a2714e2d09-5:gate",
    "evidence_hash": "43d4c305e4a4ab9c479c8e24606f5dc3ea5aabca55307d0f78e69f16e74a2cc8"
  },
  "review": {
    "draft_hash": "3b54076df5ff95f659f53e43839f112bdf5797ad9c866be665f6efcb31830100",
    "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.95 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
