trace_dependency_impact
Trace dependency chains and analyze refactoring impact for a module to identify affected code before making changes.
Instructions
Trace dependency chains and analyze refactoring impact for a module. Combines dependency tracing with impact analysis.
Args: repo_path: Repository path target_module: Module to analyze (e.g., 'src.auth.middleware') working_directory: Working directory (absolute path) analysis_type: "dependency" for chain tracing, "refactoring" for impact analysis, "both" for combined max_depth: Maximum depth to trace dependencies change_type: For refactoring - "modify", "split", "merge", or "remove"
Returns: Dependency chains and/or refactoring impact analysis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| repo_path | Yes | ||
| change_type | No | modify | |
| analysis_type | No | dependency | |
| target_module | Yes | ||
| working_directory | Yes |