impact
Find everything affected by or depending on specific nodes, ranked by impact, with dead code detection.
Instructions
Blast radius in one call: fan out from one or more nodes to everything they affect (forward) or depend on / are used by (backward), returned as a complete, deduped, Personalized-PageRank-ranked, located closure. Each row carries path:line, the edge via reason it's in scope, and a ⊘ when the engine finds it unreachable from any entry point (likely dead). Structural import/containment fan-out is excluded — no noise. Depth-1 in both directions is a node's immediate neighbours. Pass several comma-separated nodes to assess a whole diff at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many hops to fan out. Default 4. | |
| nodes | Yes | One or more node names/qnames, comma-separated. A diff touching N symbols is one call. | |
| top_k | No | Cap the ranked result. 0 = no cap. | |
| budget | No | Max chars in the result. 0 = no cap. | |
| direction | No | 'forward' (what it affects), 'backward' (what it depends on / who uses it), or 'both'. (Aliases: downstream=forward, upstream=backward.) | both |
| live_only | No | Drop nodes not reachable from any entry point (likely-dead code). Default False = show all, marking dead ones ⊘. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |