hotspot_debt
Identify files where debt markers and suppressions overlap with high commit churn, rank them by debt per 1000 lines, and prioritize cleanup in active code areas. Requires a Git repository.
Instructions
Files where debt and churn coincide: debt items (markers + lint/type suppressions) combined
with commits and lines changed over the since window (from git log --numstat), ranked by a
score (formula in the reply) with debt per 1000 lines. These are the places where debt costs the
most because people keep working there. Needs a git repository.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hotspot_debt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| limit | No | ||
| since | No | 1y | |
| markers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||