Syntax
Description
Blast radius analysis: what breaks if you change a symbol. This is a direct CLI wrapper for theimpact MCP tool.
Analyzes the dependency graph to find:
- Upstream (dependants) — What calls this symbol and would break if it changes
- Downstream (dependencies) — What this symbol calls and might need updating
Arguments
Symbol name to analyze (e.g., “validateUser”, “AuthService”).
Options
Analysis direction.Values:
upstream (dependants) or downstream (dependencies)Default: upstreamTarget repository name. Omit if only one repository is indexed.
Maximum relationship depth to analyze.Default:
3Include test files in results.Default:
falseUsage Examples
Basic upstream analysis
Downstream dependencies
Include test files
Limit depth
Specific repository
Output Format
Results are returned as JSON on stderr:Direction Types
Upstream (dependants)
What calls this symbol — use this before making breaking changes:Downstream (dependencies)
What this symbol calls — use this to understand what might need updating:Confidence Scores
- high — Direct call relationship
- medium — Indirect call (depth 2)
- low — Distant relationship (depth 3+)
Risk Levels
- low — 1-5 affected symbols
- medium — 6-20 affected symbols
- high — 21+ affected symbols
When to Use
Usegitnexus impact before:
- Refactoring — Understand blast radius
- Breaking changes — Find all affected callers
- Deleting code — Check if anything depends on it
- API changes — See downstream impact
Test Files
By default, test files are excluded from impact analysis to reduce noise. Include them with--include-tests:
Multi-Repo Support
If you have multiple repositories indexed, specify which one:Output Destination
All output goes to stderr instead of stdout because KuzuDB’s native module captures stdout at the OS level. To redirect to a file:Related Commands
gitnexus query— Search for execution flowsgitnexus context— 360-degree symbol viewgitnexus cypher— Raw graph queries