Impact analysis example
What breaks when you change Vendure (packages/cli)?
Real arc impact output on Vendure (packages/cli) — same structure as the homepage demo. Know blast radius before you merge.
Project: Vendure (packages/cli) · Score: 93.2/100 (Excellent architecture) · 62 modules · 163 edges
Engineering decision simulation
Validation procedure 01 · merge vs. hold before output
Before arc impact
You plan a change to a high fan-in module in Vendure (packages/cli). Would you merge without knowing blast radius?
Typical answer: hold — need dependency context.
After arc impact
Structured output below: score, hotspots, corridors, and high-risk modules — same field schema as the homepage proof.
Decision: confirm hold, narrow change, or inspect paths first.
Published as part of the validation record. Run locally: arc impact <file-you-are-changing>
Architectural Risk Map
Where risk accumulates by control surface — drill down Surface → Substrate → Mechanism → Evidence.
See control surfaces →Dependency evidence
Architecture visualization
Diagrams are generated from ArcSight analysis data. Dependency graph and risk map show key modules; subsystem view shows high-level structure.
Architecture score & metrics
Score: 93.2/100 · Stability: 46/100 · Status: healthy · Confidence: 100%
- Dependency cycles: 4
- Duplicate authorities: 4
Modules to inspect
One row per module. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
- src/utilities/ast-utils16 dependents
- src/shared/vendure-plugin-ref13 dependents
- src/utilities/utils13 dependents
- src/shared/shared-prompts13 dependents
- src/shared/cli-command11 dependents
- src/constants9 dependents
- src/shared/vendure-config-ref9 dependents
- src/shared/entity-ref7 dependents
- src/constants31 modules
- src/utilities/ast-utils28 modules
- src/shared/vendure-plugin-ref23 modules
- src/utilities/utils21 modules
- src/shared/cli-command19 modules
- src/shared/shared-prompts18 modules
- src/commands/add/service/add-service18 modules
- src/commands/add/entity/add-entity18 modules
| Module | Fan-in | Blast | Risk |
|---|---|---|---|
| src/constants | 9 | 31 | MEDIUM |
| src/utilities/ast-utils | 16 | 28 | MEDIUM |
| src/shared/vendure-plugin-ref | 13 | 23 | LOW |
| src/utilities/utils | 13 | 21 | CRITICAL |
| src/shared/cli-command | 11 | 19 | CRITICAL |
| src/shared/shared-prompts | 13 | 18 | CRITICAL |
| src/commands/add/service/add-service | 5 | 18 | CRITICAL |
| src/commands/add/entity/add-entity | 4 | 18 | CRITICAL |
| src/shared/vendure-config-ref | 9 | 14 | CRITICAL |
| src/commands/schema/schema | 2 | 4 | HIGH |
| src/shared/entity-ref | 7 | MEDIUM | |
| src/utilities/monorepo-utils | 2 | LOW |
Architectural gravity centers
src/utilities/ast-utils— concentrates too many responsibilitiessrc/utilities/ast-utils— shared utility hubsrc/shared/vendure-plugin-ref— concentrates too many responsibilitiessrc/shared/vendure-plugin-ref— shared utility hubsrc/utilities/utils— concentrates too many responsibilities
CLI workflow
Scan → Fix → Finish → Watch. Nothing else required.
arc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
Key takeaways
- •Architecture score 93.2/100 indicates a healthy structure with room to reduce cycles and violations.
- •Structural scan reports dependency cycles — inspect impact paths before refactors that cross module boundaries.
- •High fan-in modules are change-risk zones; run
arc explain <path>before refactoring. - •Run the full workflow (analyze, hotspots, explain, impact, snapshot, drift) in your repo for deterministic architecture insights.
Run ArcSight on your repo
Install the CLI and run analyze, then hotspots and explain for the same workflow.
This case study is generated from ArcSight analysis data. View short analysis. View all analyses