Predicts the risk of modifying one or more files by analyzing blast radius, code complexity, test coverage, coupling instability, and changeset size. Returns a risk level, numeric score, per-file breakdown, contributing factors, and recommendations.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
files | array of strings | Yes | — | Absolute paths to the files you plan to modify |
What's the risk if I modify src/core/engine.rs?
Returns a risk assessment covering blast radius, complexity, and test coverage for that file.
I'm planning to refactor these files — what's the risk?
- src/services/auth.ts
- src/middleware/session.ts
- src/routes/login.ts
Analyzes all three files together, including cross-file coupling effects.
Assess the change risk for the files in my current diff.
The agent reads git diff to get the file list, then passes them to the tool.
The response includes:
low, medium, high, or criticalFor each file:
Ranked list of what is driving the risk score, e.g.:
Actionable suggestions, e.g.:
low risk score does not mean no testing is needed — it means the blast radius and complexity are manageablestellarion_analyze_coupling to get a quick risk signal, then drill into coupling details if neededgit diff --name-only into this toolstellarion_dependency_drift after making changes to verify you did not introduce unexpected new dependencies