Trace the blast radius of a node or bug
get_impactIdentify every node a problem reaches from a given node or bug, by walking dependency and data-flow edges. Use it to scope QA checks when something breaks or changes.
Instructions
Walks the connection graph (edges + apis) from a start node — or a bug's target — to find which other nodes a problem would reach. This is the tool for "if this breaks / I change this, what else do I need to check?" and for QA scoping. Impact does NOT always flow with the arrow. direction="affected" (default) answers "if the start breaks, who is hurt?" and follows: dependency edges backward (target→source), data_flow edges forward (source→target), apis backward (callee→caller). direction="dependsOn" is the reverse ("what does the start rely on?"). direction="both" unions them. See umtri://rules/system-structure (How problems propagate). Provide exactly one start: node (a node id) or bug (a bug id — starts from its target node, or both endpoints if the bug is on an api; ground-level bugs are rejected). Traversal is over CURRENT (live) structure only. Returns reached[] (each with hops distance, the node from which it was reached, and the connection via it came through — so you can reconstruct the chain), bugs[] (active bugs sitting on any reached node/api, worst score first), and coverage. IMPORTANT: the result is a list of nodes to CHECK, not a proven failure set — it is only as complete as the connections recorded. coverage.startsWithoutConnections flags when the start has no connections at all: an empty result then means "nothing recorded," not "nothing affected" — record edges/apis first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bug | No | Start from this bug's target. Provide this OR node. | |
| node | No | Start node id. Provide this OR bug. | |
| slug | Yes | Ground slug. | |
| maxDepth | No | Max hops to traverse. Omit for unbounded. | |
| direction | No | affected (default): what breaks if the start breaks. dependsOn: what the start relies on. both: union. |