← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
Mongoose architecture
Changing lib/error/mongooseError in Mongoose reaches 121 modules. 41 files call it directly. Snapshot ab4e363.
The first file to open in Mongoose is lib/error/mongooseError. A change there reaches 121 of 272 modules.
This lead file reaches 44% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: Mongoose · Score: 85.7/100 (Healthy architecture) · 272 modules · 809 edges · JavaScript · 36 of 43 · Language score median 91.7
- Cycles
- 23
- Duplicate authorities
- 1
- God modules
- 13
- Layer violations
- 6
arc impact lib/error/mongooseErrorUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/mongoose/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
Mongoose · ab4e363
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | lib/ concentrates too many responsibilities, shared utility hub | 41 | 121 | 44% |
| 2 | lib/ concentrates too many responsibilities, shared utility hub | 15 | 107 | 39% |
| 3 | lib/ concentrates too many responsibilities | 22 | 96 | 35% |
| 4 | lib/ | 23 | 93 | 34% |
| 5 | lib/ | 15 | 90 | 33% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | lib/ | 15 | 89 | 33% |
| 7 | lib/ | 12 | 87 | 32% |
| 8 | lib/ | 21 | 85 | 31% |
Highest fan-in
Circular dependencies
This snapshot records 23 dependency cycles.
Nearby proofs
- Rollup architecture 67.4/100 · 271 modules
- AVA architecture 92/100 · 239 modules
- whistle architecture 86.8/100 · 335 modules
Snapshot notes
In Automattic mongoose, a change that begins in error mongooseError keeps traveling until it reaches helpers isBsonType, with helpers symbols as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark eddabeadbf.
helpers clone is worth opening beside error mongooseError because helpers getConstructorName still participates when helpers clone moves, and error cast stays in view for Automattic mongoose, snapshot mark eddabeadbf.
Review options propertyOptions only after helpers isBsonType and helpers get are both on the table, since the link from helpers isPOJO back to helpers symbols belongs to Automattic mongoose under snapshot mark eddabeadbf.
utils and array methods are later stops, and a reviewer who has already seen error mongooseError should still look at types arraySubdocument before treating the ROOT_CLUSTER group as understood for Automattic mongoose, snapshot mark eddabeadbf.
types buffer closes the file list after documentArray methods and error mongooseError, which keeps the Automattic mongoose note tied to snapshot mark eddabeadbf, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- ROOT_CLUSTER (251 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in Automattic mongoose: error mongooseError?
- Start with error mongooseError, because the rest of the Automattic mongoose walk leaves from that file and helpers isBsonType is the next file in the same review. Commit eddabeadbf records it.
- What else is on the Automattic mongoose walk besides error mongooseError and helpers symbols?
- helpers symbols and helpers clone stay on the walk with helpers getConstructorName, which are different files from error mongooseError inside the ROOT_CLUSTER group for Automattic mongoose. Commit eddabeadbf records it.
- How should a reviewer use error cast in the Automattic mongoose snapshot?
- Keep error cast, options propertyOptions, and helpers get open together, then check helpers isPOJO before merging the Automattic mongoose change. Commit eddabeadbf records it.
- Where does the Automattic mongoose review stop after utils?
- Stop after utils, array methods, and types arraySubdocument have been compared with error mongooseError, leaving the ROOT_CLUSTER group until those Automattic mongoose files are clear. Commit eddabeadbf records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/mongoose/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo