impact
Compute the blast radius of changing target in the key's workspace.
Use this before editing code to see what a change ripples into: direct callers/callees, every affected file, the affected tests, the transitive dependency set, and example dependency paths with per-path facts (hops, dependents at the endpoint, whether it lands in a test).
There is deliberately no risk score. There was one — thresholds on the transitive count — and it was a verdict the caller could not check or argue with. The counts it was computed from are all here; judge from those.
Args:
target: A graph node id, wiki page name, file path
(micrograd/engine.py), or a function fqn (engine.py::func).
depth: How many hops to traverse the call graph (default 2).
Returns the impact dict — {target, label, found, direct_callers, direct_callees, affected_files, affected_tests, transitive_nodes, transitive_count, paths, path_facts}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||