Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

yt-dlp architecture

Changing yt_dlp/compat/compat_utils.py in yt-dlp reaches 1,034 modules. 9 files call it directly. Snapshot ee25591.

The first file to open in yt-dlp is yt_dlp/compat/compat_utils.py. A change there reaches 1,034 of 1,066 modules.

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

compat/compat_utils.py1,034 · 9 fan-in
yt_dlp/globals.py1,033 · 11 fan-in
dependencies/__init__.py1,031 · 20 fan-in
yt_dlp/version.py1,031 · 7 fan-in
utils/__init__.py1,030 · 894 fan-in

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

Download the finding

Project: yt-dlp · Score: 87.1/100 (Healthy architecture) · 1,066 modules · 3,230 edges · Python · 12 of 54 · Language score median 78.9

Cycles
12
Duplicate authorities
0
God modules
14
Layer violations
0
arc impact yt_dlp/compat/compat_utils.py

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

README badge

ArcSight architecture proof for yt-dlp
[![ArcSight architecture proof for yt-dlp](https://arcsight.ai/badge/proof/yt-dlp/)](https://arcsight.ai/repositories/yt-dlp/)

Blast radius paths

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

yt-dlp · ee25591

RankFileFan-inBlastShare
1yt_dlp/compat/compat_utils.py

concentrates too many responsibilities, shared utility hub

91,03497%
2yt_dlp/globals.py

concentrates too many responsibilities, shared utility hub

111,03397%
3yt_dlp/dependencies/__init__.py

concentrates too many responsibilities

201,03197%
4yt_dlp/version.py71,03197%
5yt_dlp/utils/__init__.py8941,03097%
All ranked files
RankFileFan-inBlastShare
6yt_dlp/utils/traversal.py2611,03097%
7yt_dlp/networking/exceptions.py1081,03097%

Highest fan-in

yt_dlp/extractor/common.pyfan-in 897

Circular dependencies

This snapshot records 12 dependency cycles.

Nearby proofs

Snapshot notes

In yt-dlp yt-dlp, a change that begins in compat compat_utils.py keeps traveling until it reaches yt_dlp globals.py, with dependencies __init__.py as the third file on that walk and the devscripts-utils.py group as the group around them, snapshot mark afadaadbcb.

yt_dlp version.py is worth opening beside compat compat_utils.py because utils __init__.py still participates when yt_dlp version.py moves, and utils traversal.py stays in view for yt-dlp yt-dlp, snapshot mark afadaadbcb.

Review networking exceptions.py only after yt_dlp globals.py and extractor common.py are both on the table, since the link from networking __init__.py back to dependencies __init__.py belongs to yt-dlp yt-dlp under snapshot mark afadaadbcb.

compat compat_utils.py and yt_dlp globals.py are later stops, and a reviewer who has already seen dependencies __init__.py should still look at yt_dlp version.py before treating the devscripts-utils.py group as understood for yt-dlp yt-dlp, snapshot mark afadaadbcb.

yt_dlp version.py closes the file list after utils __init__.py and compat compat_utils.py, which keeps the yt-dlp yt-dlp note tied to snapshot mark afadaadbcb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • devscripts-utils.py (12 modules)
  • ROOT_CLUSTER (1039 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 yt-dlp yt-dlp: compat compat_utils.py?
Start with compat compat_utils.py, because the rest of the yt-dlp yt-dlp walk leaves from that file and yt_dlp globals.py is the next file in the same review. Commit afadaadbcb records it.
What else is on the yt-dlp yt-dlp walk besides compat compat_utils.py and dependencies __init__.py?
dependencies __init__.py and yt_dlp version.py stay on the walk with utils __init__.py, which are different files from compat compat_utils.py inside the devscripts-utils.py group for yt-dlp yt-dlp. Commit afadaadbcb records it.
How should a reviewer use utils traversal.py in the yt-dlp yt-dlp snapshot?
Keep utils traversal.py, networking exceptions.py, and extractor common.py open together, then check networking __init__.py before merging the yt-dlp yt-dlp change. Commit afadaadbcb records it.
Where does the yt-dlp yt-dlp review stop after compat compat_utils.py?
Stop after compat compat_utils.py, yt_dlp globals.py, and dependencies __init__.py have been compared with yt_dlp version.py, leaving the devscripts-utils.py group until those yt-dlp yt-dlp files are clear. Commit afadaadbcb 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/yt-dlp/" width="320" height="180" frameborder="0"></iframe>

Explore

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