List hotspots
list_hotspotsRanks tracked files by code-at-rest risk using bug-fix history, churn, dependents, and critical paths, helping you find likely break points or choose files for reengineering and extra tests.
Instructions
Rank the files tracked at HEAD by code-at-rest risk: bug-fix commits, churn, dependents and critical paths in the history lookback window (authors shown, not scored); returns { hotspots, warnings }, transitive dependents in the import graph (null when the language is not supported), and critical or blocked path flags. Use it to find where a codebase is most likely to break, or to pick files for reengineering or extra test coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many files to return. Defaults to 20. | |
| repoDir | Yes | Absolute path to the git repository (any directory inside the work tree). |