Before you refactor a function, rename a service, or swap a dependency, ask the Agent what will break. It traces your symbol graph to show every file, component, and downstream consumer affected by a change.
What You Get
Blast Radius
An impact card showing exactly what a change to a specific symbol affects:
- Direct dependents โ files that directly import or call the symbol
- Transitive dependents โ the ripple effect through the dependency chain
- Affected files โ full list with file paths
- Risk level โ low, medium, or high based on the scope of impact
Action buttons let you:
- Find All Usages โ see every reference
- Show Call Graph โ visualize the dependency chain
- Create Tracking Issue โ turn the analysis into a tracked work item
Codebase Impact
A broader analysis when your change spans multiple areas:
- Affected layers โ which architectural layers are touched (API, service, data, UI)
- Reusable components โ shared components that need updating
- Reference patterns โ how the symbol is typically used
- Blast radius summary โ aggregate risk assessment
Action buttons:
- Create Plan โ turn the impact analysis into a structured work plan
- View Code โ jump to the relevant files
Example Prompts
| What you ask | What you get |
|---|
| โWhatโs the blast radius of changing the AuthMiddleware?โ | Blast radius card for that symbol |
| โIf I refactor the checkout service, what breaks?โ | Codebase impact analysis |
| โHow many files depend on UserRepository?โ | Dependency count and list |
| โShow the impact of removing the legacy payment handlerโ | Full impact with risk assessment |
| โWhat would it take to rename OrderService to PurchaseService?โ | Files to update, downstream effects |
Why It Matters
Stop breaking things you didnโt know existed. Most refactors fail not because the change is wrong, but because the developer didnโt know about a consumer three layers deep. The Agent traces your actual symbol graph โ not guesses โ to show real dependencies.
This works best after your repository is indexed. The Agent uses tree-sitter parsing, symbol graphs, and call chains โ not just text search.