todo_history
Trace a TODO or FIXME through Git history to find the commit that last touched it, where it originated (including copies or moves), and when its text first appeared.
Instructions
Trace one TODO through history. Give location="src/app.py:42" (a line in the working tree) or text="TODO: remove after v2" (searched in all history). Reports the commit that last touched the line (blame -w -M), the blame origin with copy detection (-C -C: moved from another file?), and the commit where that text FIRST appeared (git log -S, or -G when regex=true) with later commits that changed its occurrence count. If a later commit only reworded or reformatted the line, first_appearance shows the true age. Needs a git repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| text | No | ||
| limit | No | ||
| regex | No | ||
| location | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||