get_impact
Analyze transitive dependents of a code entity to find what breaks or needs updating before renaming, deleting, or changing its signature, plus knowledge references.
Instructions
Transitive dependents of an entity — what breaks or needs updating when it changes (incoming calls/imports/extends up to max_depth hops), plus knowledge that references it. Use before renaming, deleting, or changing a signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| limit | No | ||
| entity_id | Yes | Entity ID to analyze. | |
| max_depth | No | Max dependency hops to traverse (default 2, capped at 4). |