{
  "slug": "get-heapsnapshot-details-truncates-class-names-and-changes-aggregate-output-8c6abd3cabdc",
  "title": "get_heapsnapshot_details truncates class names and changes aggregate output",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-15T14:01:41.000Z",
  "announced_at": "2026-10-15T14:01:41.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When inspecting a heap snapshot, call `get_heapsnapshot_details` with the snapshot path and optional `maxNameLength` to truncate long names (default 100). Read `className` in CSV output and `heapSnapshotAggregates` in structured content; aggregate sizes are raw bytes.",
    "examples": [
      "get_heapsnapshot_details({\"filePath\":\"<path-to-heapsnapshot>\",\"maxNameLength\":100})"
    ],
    "gotchas": [
      "Version: 1.11.0",
      "filePath (required): Path to a .heapsnapshot file to read.",
      "maxNameLength: Maximum name length before truncation; defaults to 100.",
      "pageIdx: Page index for aggregate pagination.",
      "pageSize: Page size for aggregate pagination.",
      "CSV header `className`: CSV output column label replacing `name`.",
      "Structured field `heapSnapshotAggregates`: Structured content field replacing `heapSnapshotData`; aggregate sizes are raw bytes.",
      "Prerequisite: Requires `--memoryDebugging=true`.",
      "`maxNameLength` defaults to 100 characters."
    ]
  },
  "why_it_matters": "When inspecting heap snapshot details, limit long class names and consume the updated aggregate output fields.",
  "before": "Read the CSV `name` header and `heapSnapshotData` structured content, with sizes formatted as kB strings; class names were not truncated.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.11.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/3137",
    "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/chrome-devtools-mcp-v1.11.0/docs/tool-reference.md"
  ],
  "rank": 0.95021,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261015-20",
    "verdict_id": "daily-20261015-20:daily-20261015-20-0fad988eee015972-15:gate",
    "evidence_hash": "f4ab448bcf93bfbc244c11495c3319bca957c64c1a6b2148d3c22048468b33a0"
  },
  "review": {
    "draft_hash": "01b1d2734dbae8696ec959d1b53605b4515b27358e389c89c7441df6824d74fd",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-15T14:01:41.000Z",
    "decision": "daily-20261015-20:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
