{
  "slug": "chrome-devtools-mcp-adds-heap-snapshot-comparison-tools-e8e596e54337",
  "title": "chrome-devtools-mcp adds heap snapshot comparison tools",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-03T11:18:49.000Z",
  "announced_at": "2026-07-03T11:18:49.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When memory debugging is enabled, compare the earlier and later `.heapsnapshot` files to get a class summary, then inspect a class by its 0-based summary index. The v1.5.0 tool reference documents this as one `compare_heapsnapshots` tool; it does not document the two tool names in the card.",
    "gotchas": [
      "Version: 1.5.0",
      "--memoryDebugging=true (required): Enables memory debugging tools.",
      "baseFilePath (required): Path to the base `.heapsnapshot` file (earlier snapshot).",
      "currentFilePath (required): Path to the current `.heapsnapshot` file (later snapshot).",
      "classIndex: Optional 0-based index of a class in the summary list; supplying it returns that class’s individual-object diff.",
      "Prerequisite: Enable memory debugging with `--memoryDebugging=true`.",
      "Requires `--memoryDebugging=true`.",
      "Both snapshot path parameters must identify `.heapsnapshot` files.",
      "`classIndex` is a 0-based index in the summary list.",
      "Docs conflict: The v1.5.0 tool reference documents `compare_heapsnapshots` with optional `classIndex` for summary or class detail. It does not document `compare_heapsnapshots_summary` or `compare_heapsnapshots_class_nodes`. Per instruction, no usage for the conflicting tool names is provided."
    ]
  },
  "why_it_matters": "Compare saved Chrome memory heapsnapshots to identify changed classes and inspect changed objects for a class.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.5.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/2198",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.5.0/src/bin/chrome-devtools-cli-options.ts",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.5.0/docs/tool-reference.md"
  ],
  "rank": 0.97027,
  "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": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-5670280c00fdf6d3-1:gate",
    "evidence_hash": "3d389df4a32db2a2af4c0a8490e335a04bfff3b2ecf526495ded439b3accd26c"
  },
  "review": {
    "draft_hash": "748a2d7e985918ed9b1574d402301503c93903ceb66bb20988b76d61f2bffaac",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.81 (>= 0.6 needed)."
  }
}
