← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
Auth.js architecture
Changing packages/core/src/errors in Auth.js reaches 140 modules. 19 files call it directly. Snapshot a1a16a5.
The first file to open in Auth.js is packages/core/src/errors. A change there reaches 140 of 308 modules.
This lead file reaches 45% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: Auth.js · Score: 84.6/100 (Healthy architecture) · 308 modules · 342 edges · TypeScript · 33 of 94 · Language score median 80.1
- Cycles
- 27
- Duplicate authorities
- 12
- God modules
- 4
- Layer violations
- 3
arc impact packages/core/src/errorsUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/next-auth/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
Auth.js · a1a16a5
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | packages/ concentrates too many responsibilities, shared utility hub | 19 | 140 | 45% |
| 2 | packages/ concentrates too many responsibilities, shared utility hub | 9 | 140 | 45% |
| 3 | packages/ concentrates too many responsibilities | 3 | 140 | 45% |
| 4 | packages/ | 3 | 140 | 45% |
| 5 | packages/ | 102 | 139 | 45% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | packages/ | 37 | 139 | 45% |
Circular dependencies
This snapshot records 27 dependency cycles.
Nearby proofs
- Kysely architecture 65.5/100 · 304 modules
- Apollo Client architecture 75/100 · 339 modules
- TanStack Table architecture 68.9/100 · 349 modules
Snapshot notes
In nextauthjs next-auth, a change that begins in core errors keeps traveling until it reaches src symbols, with vendored cookie as the third file on that walk and the config-auth.config group as the group around them, snapshot mark faeefefbba.
core warnings is worth opening beside core errors because core providers still participates when core warnings moves, and core types stays in view for nextauthjs next-auth, snapshot mark faeefefbba.
Review utils cookie only after src symbols and utils logger are both on the table, since the link from utils webauthn-utils back to vendored cookie belongs to nextauthjs next-auth under snapshot mark faeefefbba.
core errors and src symbols are later stops, and a reviewer who has already seen vendored cookie should still look at core warnings before treating the config-auth.config group as understood for nextauthjs next-auth, snapshot mark faeefefbba.
core warnings closes the file list after core providers and core errors, which keeps the nextauthjs next-auth note tied to snapshot mark faeefefbba, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- config-auth.config (6 modules)
- src-root (4 modules)
- src-entities (3 modules)
- src-types (143 modules)
- lib-types (4 modules)
- lib-client (3 modules)
- lib-env (5 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 nextauthjs next-auth: core errors?
- Start with core errors, because the rest of the nextauthjs next-auth walk leaves from that file and src symbols is the next file in the same review. Commit faeefefbba records it.
- What else is on the nextauthjs next-auth walk besides core errors and vendored cookie?
- vendored cookie and core warnings stay on the walk with core providers, which are different files from core errors inside the config-auth.config group for nextauthjs next-auth. Commit faeefefbba records it.
- How should a reviewer use core types in the nextauthjs next-auth snapshot?
- Keep core types, utils cookie, and utils logger open together, then check utils webauthn-utils before merging the nextauthjs next-auth change. Commit faeefefbba records it.
- Where does the nextauthjs next-auth review stop after core errors?
- Stop after core errors, src symbols, and vendored cookie have been compared with core warnings, leaving the config-auth.config group until those nextauthjs next-auth files are clear. Commit faeefefbba 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/next-auth/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo