generate_insights_report
Aggregate code health metrics—PageRank god files, architectural bottlenecks, risk hotspots, and gap counts—into a single Markdown report. Get oriented quickly without chaining multiple analyses.
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) |