archy_high_risk_modules
Identify high-risk modules before editing by ranking them on propagation cost, fan-in, and instability. Use to decide if scoping down or pausing for review is needed.
Instructions
Return the top-N internal modules ranked by edit-risk: the geometric mean of MacCormack propagation cost, normalized fan-in, and Martin's instability. High score means editing is both expensive (wide blast radius, many direct importers) and likely to need iteration (the module itself depends on many things). Call before a non-trivial edit to decide whether to scope down, snapshot more aggressively, or pause for human review. Each entry breaks the composite back out into its components so you can see why a module ranks high.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modules | Yes | ||
| module_count | Yes |