Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Prettier architecture

Changing utilities/get-or-insert in Prettier reaches 291 modules. 23 files call it directly. Snapshot 2cc4f0f.

The first file to open in Prettier is utilities/get-or-insert. A change there reaches 291 of 546 modules.

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

utilities/get-or-insert291 · 23 fan-in
builders/types239 · 18 fan-in
utilities/assert-doc230 · 10 fan-in
document/builders230 · 5 fan-in
document/utilities230 · 4 fan-in

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

Download the finding

Project: Prettier (src) · Score: 88.8/100 (Healthy architecture) · 546 modules · 1,691 edges · JavaScript · 30 of 43 · Language score median 91.7

Cycles
3
Duplicate authorities
2
God modules
18
Layer violations
0
arc impact utilities/get-or-insert

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

README badge

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

Blast radius paths

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

Prettier · 2cc4f0f

RankFileFan-inBlastShare
1utilities/get-or-insert

concentrates too many responsibilities, shared utility hub

2329153%
2document/builders/types

concentrates too many responsibilities, shared utility hub

1823944%
3document/utilities/assert-doc

concentrates too many responsibilities

1023042%
4document/builders523042%
5document/utilities423042%
All ranked files
RankFileFan-inBlastShare
6document/builders/indent223042%
7document/builders/align123042%
8document11521539%
9utilities/is-non-empty-array3321339%
10language-js/utilities/create-type-check-function2318834%

Highest fan-in

documentfan-in 115

Circular dependencies

This snapshot records 3 dependency cycles.

Nearby proofs

Snapshot notes

In prettier prettier, a change that begins in utilities get-or-insert keeps traveling until it reaches builders types, with utilities assert-doc as the third file on that walk and the builders-types group as the group around them, snapshot mark eeddbdbbcd.

document builders is worth opening beside utilities get-or-insert because document utilities still participates when document builders moves, and builders indent stays in view for prettier prettier, snapshot mark eeddbdbbcd.

Review builders align only after builders types and document are both on the table, since the link from utilities is-non-empty-array back to utilities assert-doc belongs to prettier prettier under snapshot mark eeddbdbbcd.

utilities create-type-check-function and common end-of-line are later stops, and a reviewer who has already seen utilities get-or-insert should still look at builders types before treating the builders-types group as understood for prettier prettier, snapshot mark eeddbdbbcd.

builders types closes the file list after utilities assert-doc and utilities get-or-insert, which keeps the prettier prettier note tied to snapshot mark eeddbdbbcd, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • builders-types (22 modules)
  • parse-acorn (27 modules)
  • ROOT_CLUSTER (353 modules)
  • utilities-get-or-insert (40 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 prettier prettier: utilities get-or-insert?
Start with utilities get-or-insert, because the rest of the prettier prettier walk leaves from that file and builders types is the next file in the same review. Commit eeddbdbbcd records it.
What else is on the prettier prettier walk besides utilities get-or-insert and utilities assert-doc?
utilities assert-doc and document builders stay on the walk with document utilities, which are different files from utilities get-or-insert inside the builders-types group for prettier prettier. Commit eeddbdbbcd records it.
How should a reviewer use builders indent in the prettier prettier snapshot?
Keep builders indent, builders align, and document open together, then check utilities is-non-empty-array before merging the prettier prettier change. Commit eeddbdbbcd records it.
Where does the prettier prettier review stop after utilities create-type-check-function?
Stop after utilities create-type-check-function, common end-of-line, and utilities get-or-insert have been compared with builders types, leaving the builders-types group until those prettier prettier files are clear. Commit eeddbdbbcd 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/prettier/" width="320" height="180" frameborder="0"></iframe>

Explore

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