Overview
vg impact computes the reverse reachability from a node — every caller, transitively — with a decay confidence score. Use --tests to get the minimal test set covering the affected nodes, and --fail-on-untested as a CI gate.
Usage
vg impact <name>
| Flag | Default | Description |
|---|---|---|
<name> | — | Node to assess |
--depth <n> | 4 | Max traversal depth |
--tests | — | Surface the tests covering the affected set |
--fail-on-untested | — | Exit 2 if any affected node is untested (CI gate) |
--pick <n> | — | Pick the nth candidate when ambiguous |
Examples
vg impact UserService.createUser
vg impact PaymentProcessor --depth 6 --tests
vg impact AuthMiddleware --fail-on-untested