debt_summary
Generate a one-page tech-debt overview of a repo: marker counts by type, directory and language, oldest markers, top authors, quarterly trends, median age, and ticket-linked versus orphaned markers.
Instructions
One-page tech-debt overview of a repo: marker counts (by marker, directory, language),
the 5 oldest markers, top authors, markers added per quarter (trend), median age, and how many
reference a ticket (TODO(alice): ..., FIXME[JIRA-9], #123) versus orphans. Age and author come
from git blame --porcelain -w -M on the marker lines. Default markers: TODO FIXME HACK XXX BUG;
pass markers=["TODO","NOTE"] to change. Only real comments count: markers in strings, URLs, regexes
and identifiers like TODOS or todo_list are ignored. include_docstrings=True also reads Python
triple-quoted docstrings. dir_depth sets how many path components group the by_directory counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| markers | No | ||
| dir_depth | No | ||
| include_docstrings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||