Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Ajv architecture

Changing compile/codegen in Ajv reaches 94 modules. 55 files call it directly. Snapshot f177fe3.

The first file to open in Ajv is compile/codegen. A change there reaches 94 of 106 modules.

This lead file reaches 89% of the graph. The median published proof reaches 60%.

compile/codegen94 · 55 fan-in
compile/names93 · 14 fan-in
types92 · 88 fan-in
compile/validate92 · 47 fan-in
compile/util92 · 42 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Ajv (lib) · Score: 68.4/100 (Moderate technical debt) · 106 modules · 483 edges · TypeScript · 78 of 94 · Language score median 80.1

Cycles
88
Duplicate authorities
3
God modules
9
Layer violations
0
arc impact compile/codegen

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Ajv
[![ArcSight architecture proof for Ajv](https://arcsight.ai/badge/proof/ajv/)](https://arcsight.ai/repositories/ajv/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Ajv · f177fe3

RankFileFan-inBlastShare
1compile/codegen

concentrates too many responsibilities, shared utility hub

559489%
2compile/names

concentrates too many responsibilities

149388%
3types

concentrates too many responsibilities, sits on a dependency cycle

889287%
4compile/validate479287%
5compile/util429287%
All ranked files
RankFileFan-inBlastShare
6vocabularies/code169287%

Circular dependencies

This snapshot records 88 dependency cycles.

Nearby proofs

Snapshot notes

In ajv-validator ajv, a change that begins in compile codegen keeps traveling until it reaches compile names, with types as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark aafebfadcc.

compile validate is worth opening beside compile codegen because compile util still participates when compile validate moves, and vocabularies code stays in view for ajv-validator ajv, snapshot mark aafebfadcc.

Review compile codegen only after compile names and types are both on the table, since the link from compile validate back to compile util belongs to ajv-validator ajv under snapshot mark aafebfadcc.

compile validate and compile util are later stops, and a reviewer who has already seen compile codegen should still look at vocabularies code before treating the ROOT_CLUSTER group as understood for ajv-validator ajv, snapshot mark aafebfadcc.

compile codegen closes the file list after compile names and types, which keeps the ajv-validator ajv note tied to snapshot mark aafebfadcc, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (101 modules)

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…) →

FAQ

Which file should change first in ajv-validator ajv: compile codegen?
Start with compile codegen, because the rest of the ajv-validator ajv walk leaves from that file and compile names is the next file in the same review. Commit aafebfadcc records it.
What else is on the ajv-validator ajv walk besides compile codegen and types?
types and compile validate stay on the walk with compile util, which are different files from compile codegen inside the ROOT_CLUSTER group for ajv-validator ajv. Commit aafebfadcc records it.
How should a reviewer use vocabularies code in the ajv-validator ajv snapshot?
Keep vocabularies code, compile codegen, and compile names open together, then check types before merging the ajv-validator ajv change. Commit aafebfadcc records it.
Where does the ajv-validator ajv review stop after compile validate?
Stop after compile validate, compile util, and vocabularies code have been compared with compile codegen, leaving the ROOT_CLUSTER group until those ajv-validator ajv files are clear. Commit aafebfadcc records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
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/ajv/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo