Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

egg architecture

Changing packages/errors/src/error_type in egg reaches 52 modules. 5 files call it directly. Snapshot 2d168f8.

The first file to open in egg is packages/errors/src/error_type. A change there reaches 52 of 1,174 modules.

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

src/error_type52 · 5 fan-in
src/error_options51 · 7 fan-in
http/http_error42 · 42 fan-in
core-decorator/enum39 · 7 fan-in
util/MCPInfoUtil33 · 12 fan-in

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

Download the finding

Project: egg · Score: 84.8/100 (Healthy architecture) · 1,174 modules · 1,718 edges · TypeScript · 32 of 94 · Language score median 80.1

Cycles
64
Duplicate authorities
125
God modules
6
Layer violations
0
arc impact packages/errors/src/error_type

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

README badge

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

Blast radius paths

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

egg · 2d168f8

RankFileFan-inBlastShare
1packages/errors/src/error_type

shared utility hub

5524%
2packages/errors/src/error_options

shared utility hub

7514%
3packages/errors/src/http/http_error

shared utility hub

42424%
4tegg/core/types/src/core-decorator/enum7393%
5tegg/core/controller-decorator/src/util/MCPInfoUtil

shared utility hub

12333%
All ranked files
RankFileFan-inBlastShare
6tegg/core/controller-decorator/src/util/MethodInfoUtil9313%
7tegg/core/controller-decorator/src/util/ControllerInfoUtil6303%
8tegg/core/types/src/core-decorator

depends on an unstable module

15292%
9packages/egg/src/lib/egg16282%
10packages/egg/src/lib/application9282%
11packages/egg/src/lib/types7282%

Circular dependencies

This snapshot records 64 dependency cycles.

Nearby proofs

Snapshot notes

In eggjs egg, a change that begins in errors error_type keeps traveling until it reaches errors error_options, with http http_error as the third file on that walk and the utils-messenger group as the group around them, snapshot mark fdafbeafab.

core-decorator enum is worth opening beside errors error_type because util MCPInfoUtil still participates when core-decorator enum moves, and util MethodInfoUtil stays in view for eggjs egg, snapshot mark fdafbeafab.

Review util ControllerInfoUtil only after errors error_options and types core-decorator are both on the table, since the link from src egg back to http http_error belongs to eggjs egg under snapshot mark fdafbeafab.

src application and src types are later stops, and a reviewer who has already seen errors error_type should still look at errors base before treating the utils-messenger group as understood for eggjs egg, snapshot mark fdafbeafab.

errors base_error closes the file list after errors error_type and errors error_options, which keeps the eggjs egg note tied to snapshot mark fdafbeafab, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • utils-messenger (19 modules)
  • src-egg (14 modules)
  • lib-egg (39 modules)
  • src-error_options (54 modules)
  • src-context (6 modules)
  • src-utils (13 modules)
  • src-types (5 modules)
  • src-test (5 modules)
  • src-import (6 modules)
  • src-utils (3 modules)
  • config-config.default (4 modules)
  • src-boot (3 modules)
  • lib-rotator (8 modules)
  • lib-types (24 modules)
  • lib-utils (6 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 eggjs egg: errors error_type?
Start with errors error_type, because the rest of the eggjs egg walk leaves from that file and errors error_options is the next file in the same review. Commit fdafbeafab records it.
What else is on the eggjs egg walk besides errors error_type and http http_error?
http http_error and core-decorator enum stay on the walk with util MCPInfoUtil, which are different files from errors error_type inside the utils-messenger group for eggjs egg. Commit fdafbeafab records it.
How should a reviewer use util MethodInfoUtil in the eggjs egg snapshot?
Keep util MethodInfoUtil, util ControllerInfoUtil, and types core-decorator open together, then check src egg before merging the eggjs egg change. Commit fdafbeafab records it.
Where does the eggjs egg review stop after src application?
Stop after src application, src types, and errors base have been compared with errors error_type, leaving the utils-messenger group until those eggjs egg files are clear. Commit fdafbeafab 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/egg/" width="320" height="180" frameborder="0"></iframe>

Explore

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