detect_changes
Review code changes by impact: analyze git diff for symbol changes, calculate blast radius of callers, and assess risk levels. Use before committing.
Instructions
Review a diff by IMPACT: git diff → changed symbols → blast radius (callers) + LOW/MED/HIGH risk. → capped [risk] symbol file:line, no bodies (semantic blast + git co-change, nothing sent). Use before committing. staged=true (index) / base="".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Compare vs this git ref (e.g. main, HEAD~3). | |
| depth | No | Caller hops (default 2). | |
| staged | No | Staged index instead of the working tree. | |
| backend | No | ||
| maxResults | No | ||
| projectPath | No |