gp_impact
Compute the blast radius of a rename or signature change: identifies direct and transitive callers, affected tests, and breaking-change risk. Use before proposing modifications to avoid unintended impacts.
Instructions
Compute the blast radius of a rename or signature change: direct callers, transitive callers up to depth 3, affected tests, and whether the symbol is exported (breaking-change risk). ALWAYS call before proposing a rename, signature change, or behavior change — replaces git diff | xargs grep with a single structured answer. Pass since: <commit|branch> to scope callers to files changed since that ref (ideal for PR review or refactor scoping). Do NOT use just to see direct callers; use gp_callers for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol name or full id to analyze. | |
| depth | No | BFS depth over the callers graph. Default 3. | |
| path | No | Repo root with a GraphPilot index. Optional: when omitted, resolves via GRAPHPILOT_ROOT, MCP workspace roots, parent walk, or a single ~/.graphpilot index. | |
| since | No | Optional commit SHA, tag, or branch. When set, restricts callers to files changed between that ref and HEAD. |