Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

What ArcSight found in Better Auth

Real arc impact on Better Auth (packages/better-auth) — blast radius, break paths, and evidence. Same question as the homepage: what breaks if I change this?

Project: Better Auth (packages/better-auth) · Score: 78.9/100 (Healthy architecture) · 273 modules · 846 edges

arc impact src/crypto

Run the same analysis on your repository in under 3 minutes.

Proof summary

Four questions every public repository page must answer — see validation record.

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/types43 dependents
  • src/cookies38 dependents
  • src/api36 dependents
  • src/crypto27 dependents
  • src/db/schema23 dependents
  • src/types/helper16 dependents
  • src/utils/url13 dependents
  • src/utils/date11 dependents
Blast radius, downstream modules
  • src/crypto148 modules
  • src/crypto/jwt148 modules
  • src/types/helper147 modules
  • src/utils/url147 modules
  • src/utils/date145 modules
  • src/utils/is-api-error145 modules
  • src/types143 modules
  • src/cookies143 modules
ModuleFan-inBlastRisk
src/crypto27148CRITICAL
src/crypto/jwt3148HIGH
src/types/helper16147CRITICAL
src/utils/url13147CRITICAL
src/utils/date11145CRITICAL
src/utils/is-api-error11145CRITICAL
src/types43143CRITICAL
src/cookies38143CRITICAL
src/api36CRITICAL
src/db/schema23CRITICAL

What ArcSight found

src/crypto: fan-in 27, blast radius 148, CRITICAL. 273 modules and 846 dependency edges traced.

Why it matters

In Better Auth (packages/better-auth), Change-risk signal at src/crypto (fan-in 27) — merge impact can travel beyond the diff you see. Blast radius on src/crypto reaches 148 downstream modules. ArcSight answers “what breaks if I change this?” before you ship; high fan-in is a change-risk signal, not a verdict on design quality.

What we'd inspect first

  • src/crypto
  • src/crypto/jwt
  • src/types/helper

What evidence supports it

  • Local CLI analysis — repository source stays on your machine
  • Structural coverage: 273 modules, 846 edges in this snapshot
  • Reproducible fields match homepage live demo and frozen proof output

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: 78.9/100 · Stability: 8/100 · Status: moderate_risk · Confidence: 100%

  • Dependency cycles: 27
  • Duplicate authorities: 55

Architectural gravity centers

  • src/crypto— concentrates too many responsibilities
  • src/crypto— shared utility hub
  • src/crypto— sits on a dependency cycle
  • src/crypto/jwt— sits on a dependency cycle
  • src/types/helper— concentrates too many responsibilities

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

Better Auth (packages/better-auth) architecture metrics
Score
78.9
Modules
273
Edges
846

Metrics

MetricValue
Architecture score78.9/100
Modules273
Edges846
Dependency cycles27

FAQ

What did ArcSight find in Better Auth (packages/better-auth)?
src/crypto: fan-in 27, blast radius 148, CRITICAL. 273 modules and 846 dependency edges traced.
Why does the Better Auth (packages/better-auth) structure matter?
In Better Auth (packages/better-auth), Change-risk signal at src/crypto (fan-in 27) — merge impact can travel beyond the diff you see. Blast radius on src/crypto reaches 148 downstream modules. ArcSight answers “what breaks if I change this?” before you ship; high fan-in is a change-risk signal, not a verdict on design quality.
Which file should I inspect first in Better Auth (packages/better-auth)?
Start with src/crypto. Run arc impact on that file before the change merges.

Key takeaways

  • •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 locally, then run arc impact on the file you plan to change — before merge.

npm install -g arcsight
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/better-auth/" width="320" height="180" frameborder="0"></iframe>

Evidence-backed analysis snapshot. Validation record · Install · Homepage demo