Skip to main content
ArcSight

← Homepage

Impact analysis example

What breaks when you change TanStack Query (packages/query-core)?

Real arc impact output on TanStack Query (packages/query-core) — same structure as the homepage demo. Know blast radius before you merge.

Project: TanStack Query (packages/query-core) · Score: 81.7/100 (Healthy architecture) · 24 modules · 122 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 TanStack Query (packages/query-core). 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.

Dependency graph
Dependency graph for this codebase
Subsystem architecture
Subsystem architecture for this codebase
Risk map
Risk map for this codebase

Architecture score & metrics

Score: 81.7/100 · Stability: 29/100 · Status: healthy · Confidence: 100%

  • Dependency cycles: 35
  • Layer violations: 1
  • Duplicate authorities: 4

Modules to inspect

One row per module. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Fan-in, direct dependents
  • src/utils16 dependents
  • src/types15 dependents
  • src/queryClient11 dependents
  • src/query9 dependents
  • src/notifyManager9 dependents
  • src/subscribable8 dependents
  • src/mutation6 dependents
  • src/queryObserver5 dependents
Blast radius, downstream modules
  • src/utils18 modules
  • src/types18 modules
  • src/queryClient18 modules
  • src/query18 modules
  • src/mutation18 modules
  • src/queryObserver18 modules
  • src/environmentManager18 modules
  • src/mutationCache18 modules
ModuleFan-inBlastRisk
src/utils1618LOW
src/types1518LOW
src/queryClient1118LOW
src/query918CRITICAL
src/mutation618CRITICAL
src/queryObserver518CRITICAL
src/environmentManager418CRITICAL
src/mutationCache418CRITICAL
src/notifyManager9LOW
src/subscribable8LOW

Architectural gravity centers

  • src/utils— concentrates too many responsibilities
  • src/utils— sits on a dependency cycle
  • src/utils— shared utility hub
  • src/utils— crosses a layer boundary
  • src/types— concentrates too many responsibilities

CLI workflow

Scan → Fix → Finish → Watch. Nothing else required.

  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, impact, guard…) →

Key takeaways

  • •Architecture score 81.7/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.

npm install -g arcsight
arc analyze
Install ArcSight →

This case study is generated from ArcSight analysis data. View short analysis. View all analyses