detect_changes
Assess a git diff for impact before committing: identify changed symbols, their callers, and LOW/MED/HIGH risk in a token-capped list. Catch potential breaking changes early.
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 |