← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
PM2 architecture
Changing constants in PM2 reaches 49 modules. 41 files call it directly. Snapshot 7a7fb4e.
The first file to open in PM2 is constants. A change there reaches 49 of 207 modules.
This lead file reaches 24% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: PM2 · Score: 91.2/100 (Excellent architecture) · 207 modules · 429 edges · JavaScript · 25 of 43 · Language score median 91.7
- Cycles
- 12
- Duplicate authorities
- 3
- God modules
- 4
- Layer violations
- 0
arc impact constantsUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/pm2/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
PM2 · 7a7fb4e
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | constants concentrates too many responsibilities, shared utility hub | 41 | 49 | 24% |
| 2 | lib/ | 6 | 34 | 16% |
| 3 | lib/ concentrates too many responsibilities, shared utility hub, depends on an unstable module | 21 | 31 | 15% |
| 4 | lib/ | 2 | 31 | 15% |
| 5 | modules/ | 16 | 26 | 13% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | modules/ | 7 | 25 | 12% |
| 7 | lib/ | 13 | 24 | 12% |
Circular dependencies
This snapshot records 12 dependency cycles.
Nearby proofs
- parse-server architecture 91.7/100 · 196 modules
- Less architecture 89/100 · 185 modules
- Underscore architecture 94.2/100 · 177 modules
Snapshot notes
In Unitech pm2, a change that begins in constants keeps traveling until it reaches tools which, with Common as the third file on that walk and the lib-Common group as the group around them, snapshot mark ddfbfcfceb.
OtelManager is worth opening beside constants because pm2-io-bpm serviceManager still participates when OtelManager moves, and sockets sock stays in view for Unitech pm2, snapshot mark ddfbfcfceb.
Review Utility only after tools which and paths are both on the table, since the link from modules fclone back to Common belongs to Unitech pm2 under snapshot mark ddfbfcfceb.
tools pm2-config-keys and constants are later stops, and a reviewer who has already seen tools which should still look at Common before treating the lib-Common group as understood for Unitech pm2, snapshot mark ddfbfcfceb.
Common closes the file list after OtelManager and constants, which keeps the Unitech pm2 note tied to snapshot mark ddfbfcfceb, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- lib-Common (61 modules)
- lib-ProcessUtils (4 modules)
- widgets-element (21 modules)
- lib-constants (4 modules)
- sockets-sock (13 modules)
- src-InteractorClient (15 modules)
- pm2-io-bpm-serviceManager (30 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 Unitech pm2: constants?
- Start with constants, because the rest of the Unitech pm2 walk leaves from that file and tools which is the next file in the same review. Commit ddfbfcfceb records it.
- What else is on the Unitech pm2 walk besides constants and Common?
- Common and OtelManager stay on the walk with pm2-io-bpm serviceManager, which are different files from constants inside the lib-Common group for Unitech pm2. Commit ddfbfcfceb records it.
- How should a reviewer use sockets sock in the Unitech pm2 snapshot?
- Keep sockets sock, Utility, and paths open together, then check modules fclone before merging the Unitech pm2 change. Commit ddfbfcfceb records it.
- Where does the Unitech pm2 review stop after tools pm2-config-keys?
- Stop after tools pm2-config-keys, constants, and tools which have been compared with Common, leaving the lib-Common group until those Unitech pm2 files are clear. Commit ddfbfcfceb 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/pm2/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo