kage_risk
Assess modification risk for files by analyzing dependents, impact surface, churn, ownership, co-change partners, and test gaps using code graph and git history. Run before editing hotspot or shared files.
Instructions
Assess modification risk for files using Kage's code graph plus local git history: dependents, impact surface, churn, ownership, co-change partners, and test gaps. Use before editing hotspot or shared files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the repository root. | |
| targets | No | File paths to assess | |
| changed_files | No | Optional PR/branch changed files. If targets is omitted, these are assessed. |