Skip to main content
ArcSight

← 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%.

lib/prisma972 · 276 fan-in
api/create-id940 · 34 fan-in
workspaces/workspace-id940 · 22 fan-in
analytics/constants938 · 18 fan-in
schemas/utils935 · 10 fan-in

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

Download the finding

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/prisma

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

README badge

ArcSight architecture proof for Dub
[![ArcSight architecture proof for Dub](https://arcsight.ai/badge/proof/dub/)](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

RankFileFan-inBlastShare
1lib/prisma

concentrates too many responsibilities, shared utility hub

27697268%
2lib/api/create-id

concentrates too many responsibilities, shared utility hub

3494065%
3lib/api/workspaces/workspace-id

concentrates too many responsibilities

2294065%
4lib/analytics/constants1893865%
5lib/zod/schemas/utils1093565%
All ranked files
RankFileFan-inBlastShare
6lib/zod/schemas/oauth1093465%
7lib/types23593365%

Circular dependencies

This snapshot records 32 dependency cycles.

Nearby proofs

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 breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

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.

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/dub/" width="320" height="180" frameborder="0"></iframe>

Explore

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