generate_insights_report
Aggregate key codebase health metrics into a concise narrative snapshot. Use at session start to quickly identify god files, architectural bridges, risk hotspots, and gaps without chaining multiple tools.
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) |