get_change_impact
Assess code change impact with risk score, breaking change detection, and enriched dependents analysis to understand blast radius before modifying code.
Instructions
Full change impact report: risk score + mitigations, breaking change detection, enriched dependents (complexity, coverage, exports), module groups, affected tests, co-change hidden couplings. Supports diff-aware mode via symbol_ids to scope analysis to only changed symbols. Use before modifying code to understand blast radius. For quick risk assessment without full report, use assess_change_risk instead. Read-only. Returns JSON: { risk, dependents, affectedTests, breakingChanges, totalAffected }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative file path to analyze | |
| symbol_id | Yes | Symbol ID to analyze | |
| fqn | No | Fully qualified name to analyze (alternative to symbol_id) | |
| symbol_ids | No | Diff-aware: only analyze impact of these specific symbols (e.g. from get_changed_symbols) | |
| decorator_filter | No | Filter dependents to only those with this decorator/annotation/attribute (e.g. "Route", "Transactional", "csrf_protect") | |
| depth | No | Max traversal depth (default 3) | |
| max_dependents | No | Cap on returned dependents (default 200) |