@aiready/change-amplification 0.13.23 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.13.23 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.1 build /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
5
 
6
6
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,15 +9,15 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/cli.mjs 2.41 KB
13
- ESM dist/index.mjs 1.53 KB
14
12
  ESM dist/chunk-SPXGOPNW.mjs 4.83 KB
15
- ESM ⚡️ Build success in 17ms
16
- CJS dist/index.js 7.74 KB
13
+ ESM dist/index.mjs 1.53 KB
14
+ ESM dist/cli.mjs 2.41 KB
15
+ ESM ⚡️ Build success in 78ms
17
16
  CJS dist/cli.js 8.51 KB
18
- CJS ⚡️ Build success in 17ms
17
+ CJS dist/index.js 7.74 KB
18
+ CJS ⚡️ Build success in 78ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1280ms
20
+ DTS ⚡️ Build success in 8995ms
21
21
  DTS dist/cli.d.ts 152.00 B
22
22
  DTS dist/index.d.ts 1.12 KB
23
23
  DTS dist/cli.d.mts 152.00 B
@@ -1,24 +1,22 @@
1
-
2
- 
3
- > @aiready/change-amplification@0.13.22 test /Users/pengcao/projects/aiready/packages/change-amplification
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
8
-
9
- ✓ src/__tests__/dummy.test.ts (1 test) 1ms
10
- stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
11
- Resulting score for highly coupled: 27
12
- Rating: explosive
13
-
14
- ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
15
- ✓ src/__tests__/analyzer.test.ts (2 tests) 4ms
16
- ✓ src/__tests__/cli.test.ts (2 tests) 72ms
17
- ✓ src/__tests__/provider.test.ts (2 tests) 3ms
18
-
19
-  Test Files  5 passed (5)
20
-  Tests  9 passed (9)
21
-  Start at  01:33:55
22
-  Duration  4.74s (transform 5.05s, setup 0ms, import 11.90s, tests 81ms, environment 21ms)
23
-
24
- [?25h
1
+
2
+ > @aiready/change-amplification@0.13.23 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
7
+
8
+ ✓ src/__tests__/dummy.test.ts (1 test) 3ms
9
+ ✓ src/__tests__/scoring.test.ts (2 tests) 5ms
10
+ ✓ src/__tests__/provider.test.ts (2 tests) 5ms
11
+ ✓ src/__tests__/cli.test.ts (2 tests) 2ms
12
+ stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
13
+ Resulting score for highly coupled: 27
14
+ Rating: explosive
15
+
16
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 4ms
17
+
18
+  Test Files  5 passed (5)
19
+  Tests  9 passed (9)
20
+  Start at  15:17:51
21
+  Duration  3.03s (transform 1.46s, setup 0ms, import 7.04s, tests 19ms, environment 0ms)
22
+
package/README.md CHANGED
@@ -15,7 +15,6 @@ The **Change Amplification** analyzer computes graph metrics (fan-in, fan-out, a
15
15
 
16
16
  - **Full Support:** TypeScript, JavaScript, Python, Java, Go, C#
17
17
  - **Capabilities:** Fan-in/Fan-out analysis, blast radius prediction, hotspot detection.
18
- toxicology
19
18
 
20
19
  ## 🏛️ Architecture
21
20
 
@@ -24,11 +23,11 @@ The **Change Amplification** analyzer computes graph metrics (fan-in, fan-out, a
24
23
 
25
24
 
26
25
  🎛️ @aiready/cli (orchestrator)
27
- │ │ │ │ │ │ │ │ │
28
- ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
29
- [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST]
30
- │ │ │ │ │ │ │ │ │
31
- └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
26
+ │ │ │ │ │ │ │ │ │
27
+ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
28
+ [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST] [CTR]
29
+ │ │ │ │ │ │ │ │ │
30
+ └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
32
31
 
33
32
 
34
33
  🏢 @aiready/core
@@ -38,7 +37,8 @@ Legend:
38
37
  CON = consistency AMP = change-amplification ★
39
38
  DEP = deps-health DOC = doc-drift
40
39
  SIG = ai-signal-clarity AGT = agent-grounding
41
- TST = testability = YOU ARE HERE
40
+ TST = testability CTR = contract-enforcement
41
+ ★ = YOU ARE HERE
42
42
  ```
43
43
 
44
44
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.13.23",
3
+ "version": "0.14.1",
4
4
  "description": "AI-Readiness: Change Amplification Detection",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,7 +10,7 @@
10
10
  "commander": "^14.0.0",
11
11
  "glob": "^13.0.0",
12
12
  "chalk": "^5.3.0",
13
- "@aiready/core": "0.23.24"
13
+ "@aiready/core": "0.24.1"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.0.0",