generate_insights_report
Produce a concise codebase health report in one call: god files, bridges, hotspots, tier breakdown, and gaps, output as Markdown and structured JSON.
Instructions
Single-call narrative health snapshot: god files (PageRank), architectural bridges (edge bottlenecks), risk hotspots (complexity × churn), edge resolution-tier breakdown, and gap counts (dead exports, untested, cycles). Aggregates already-computed metrics into ~2K tokens of Markdown plus a structured payload. Use at the start of a session to orient yourself instead of chaining get_pagerank + get_risk_hotspots + get_edge_bottlenecks + self_audit. Read-only. Returns JSON: { generated_at, totals, resolution_tiers, god_files, bridges, hotspots, gaps, markdown }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Items per section (default: 5) |