← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
Dub architecture
Changing lib/prisma in Dub reaches 972 modules. 276 files call it directly. Snapshot 6b463b4.
The first file to open in Dub is lib/prisma. A change there reaches 972 of 1,440 modules.
This lead file reaches 68% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: Dub (apps/web) · Score: 82.9/100 (Healthy architecture) · 1,440 modules · 4,516 edges · TypeScript · 36 of 94 · Language score median 80.1
- Cycles
- 32
- Duplicate authorities
- 18
- God modules
- 50
- Layer violations
- 0
arc impact lib/prismaUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/dub/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
Dub · 6b463b4
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | lib/ concentrates too many responsibilities, shared utility hub | 276 | 972 | 68% |
| 2 | lib/ concentrates too many responsibilities, shared utility hub | 34 | 940 | 65% |
| 3 | lib/ concentrates too many responsibilities | 22 | 940 | 65% |
| 4 | lib/ | 18 | 938 | 65% |
| 5 | lib/ | 10 | 935 | 65% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | lib/ | 10 | 934 | 65% |
| 7 | lib/ | 235 | 933 | 65% |
Circular dependencies
This snapshot records 32 dependency cycles.
Nearby proofs
- Directus architecture 74.9/100 · 848 modules
- Excalidraw architecture 70.8/100 · 372 modules
- Supabase architecture 93.9/100 · 159 modules
Snapshot notes
In dubinc dub, a change that begins in prisma keeps traveling until it reaches api create-id, with workspaces workspace-id as the third file on that walk and the email-trial-email-schedule group as the group around them, snapshot mark bdebdaaeed.
analytics constants is worth opening beside prisma because schemas utils still participates when analytics constants moves, and schemas oauth stays in view for dubinc dub, snapshot mark bdebdaaeed.
Review types only after api create-id and schemas links are both on the table, since the link from prisma back to workspaces workspace-id belongs to dubinc dub under snapshot mark bdebdaaeed.
api create-id and workspaces workspace-id are later stops, and a reviewer who has already seen prisma should still look at analytics constants before treating the email-trial-email-schedule group as understood for dubinc dub, snapshot mark bdebdaaeed.
schemas utils closes the file list after schemas oauth and prisma, which keeps the dubinc dub note tied to snapshot mark bdebdaaeed, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- email-trial-email-schedule (3 modules)
- lib-prisma (550 modules)
- qr-types (7 modules)
- lib-types (543 modules)
- upstash-vector (3 modules)
- login-login-form (8 modules)
- guides-integrations (21 modules)
- sidebar-news (3 modules)
- placeholders-cta (9 modules)
- placeholders-features-section (6 modules)
- shared-aurora-gradient (5 modules)
- support-types (12 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 dubinc dub: prisma?
- Start with prisma, because the rest of the dubinc dub walk leaves from that file and api create-id is the next file in the same review. Commit bdebdaaeed records it.
- What else is on the dubinc dub walk besides prisma and workspaces workspace-id?
- workspaces workspace-id and analytics constants stay on the walk with schemas utils, which are different files from prisma inside the email-trial-email-schedule group for dubinc dub. Commit bdebdaaeed records it.
- How should a reviewer use schemas oauth in the dubinc dub snapshot?
- Keep schemas oauth, types, and schemas links open together, then check prisma before merging the dubinc dub change. Commit bdebdaaeed records it.
- Where does the dubinc dub review stop after api create-id?
- Stop after api create-id, workspaces workspace-id, and analytics constants have been compared with prisma, leaving the email-trial-email-schedule group until those dubinc dub files are clear. Commit bdebdaaeed 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/dub/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo