Detects how dependencies have changed for a set of modified files. Reports new dependencies added, dependencies removed, fan-out increases or decreases, and circular dependency status. Compares the current state against the previously indexed graph.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
files | array of strings | Yes | — | Absolute paths to the files to check for dependency changes |
I just modified src/services/payment.ts and src/services/order.ts — did I introduce any new dependencies?
Reports any new imports, removed imports, and whether fan-out increased.
Check if my changes to src/core/ introduced any circular dependencies.
The agent collects the changed files in src/core/ and passes them to the tool.
I moved code from utils.ts into helpers.ts. Check for dependency drift.
Detects whether the move changed the dependency graph in unexpected ways.
For each file analyzed:
A -> B -> C -> A) so you can decide where to break the cyclestellarion_assess_change_risk before making changes and stellarion_dependency_drift after to get a before-and-after picturestellarion_index_files) if you want the drift analysis to reflect your latest edits