{
  "scanner": "TOK",
  "status": "ok",
  "files_scanned": 2,
  "duration_ms": 119,
  "total_estimated_tokens": 1809,
  "hotspots": [
    {
      "source": "mcp:memory (.mcp.json)",
      "estimated_tokens": 500,
      "rank": 1,
      "recommendations": [
        "Review whether this source needs to load on every turn."
      ]
    },
    {
      "source": "mcp:sadhguru-wisdom (plugin:sadhguru-wisdom)",
      "estimated_tokens": 500,
      "rank": 2,
      "recommendations": [
        "Review whether this source needs to load on every turn."
      ]
    },
    {
      "source": "mcp:vegnorm-rag (plugin:vegnormalene)",
      "estimated_tokens": 500,
      "rank": 3,
      "recommendations": [
        "Review whether this source needs to load on every turn."
      ]
    },
    {
      "source": "CLAUDE.md",
      "estimated_tokens": 116,
      "rank": 4,
      "recommendations": [
        "Move volatile top-of-file content to the bottom or extract to an @import-ed file.",
        "Split overlong CLAUDE.md into focused @imports (≤200 lines each)."
      ],
      "path": "/Users/ktg/.claude/plugins/marketplaces/ktg-plugin-marketplace/plugins/config-audit/tests/fixtures/marketplace-medium/CLAUDE.md"
    },
    {
      "source": "hooks/hooks.json",
      "estimated_tokens": 81,
      "rank": 5,
      "recommendations": [
        "Deduplicate overlapping entries — each duplicate inflates the per-turn schema payload.",
        "Move rarely-used permissions to a project-local override."
      ],
      "path": "/Users/ktg/.claude/plugins/marketplaces/ktg-plugin-marketplace/plugins/config-audit/tests/fixtures/marketplace-medium/hooks/hooks.json"
    },
    {
      "source": ".claude/settings.json",
      "estimated_tokens": 59,
      "rank": 6,
      "recommendations": [
        "Deduplicate overlapping entries — each duplicate inflates the per-turn schema payload.",
        "Move rarely-used permissions to a project-local override."
      ],
      "path": "/Users/ktg/.claude/plugins/marketplaces/ktg-plugin-marketplace/plugins/config-audit/tests/fixtures/marketplace-medium/.claude/settings.json"
    },
    {
      "source": ".mcp.json",
      "estimated_tokens": 53,
      "rank": 7,
      "recommendations": [
        "Deduplicate overlapping entries — each duplicate inflates the per-turn schema payload.",
        "Move rarely-used permissions to a project-local override."
      ],
      "path": "/Users/ktg/.claude/plugins/marketplaces/ktg-plugin-marketplace/plugins/config-audit/tests/fixtures/marketplace-medium/.mcp.json"
    }
  ],
  "findings": [
    {
      "id": "CA-TOK-001",
      "scanner": "TOK",
      "severity": "low",
      "title": "High MCP tool-schema budget on server \"memory\"",
      "description": "MCP server \"memory (.mcp.json)\" has tool count unknown — could not parse manifest or cached tools/list. Tool schemas load on every turn; an unverified server may be inflating the per-turn payload silently.",
      "file": ".mcp.json",
      "line": null,
      "evidence": "tool_count=unknown; server=\"memory\"; source=\".mcp.json\" — severity reflects estimated tokens/turn based on structural heuristic; not measured against runtime telemetry",
      "category": "token-efficiency",
      "recommendation": "Install the package locally (so detect-mcp-tool-count can read its manifest), or run the server once and cache its tools/list response under ~/.claude/config-audit/mcp-cache/<name>.json. See knowledge/cache-telemetry-recipe.md.",
      "autoFixable": false
    }
  ],
  "counts": {
    "critical": 0,
    "high": 0,
    "medium": 0,
    "low": 1,
    "info": 0
  }
}