get_impact
Find all files affected by changing one file, including direct and transitive dependents and related tests, to understand impact before implementing.
Instructions
Analyzes the dependency graph to find all files impacted by changes to a specific file. Returns direct dependents, transitive dependents, and associated test files. Use this BEFORE implementing changes to understand the full scope of impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file path to analyze (relative to project root) | |
| src_dir | No | Source directory to scan for dependencies | src |
| scan_dirs | No | Optional list of directories to scan (relative to project root unless absolute). Overrides src_dir. | |
| project_root | No | Project root directory (defaults to server cwd if omitted) | |
| ignore_patterns | No | Regex patterns for files to ignore (applied to normalized paths). |