@aiready/cli 0.9.40 → 0.9.43
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.
- package/.aiready/aiready-report-20260227-133806.json +40 -141
- package/.aiready/aiready-report-20260227-133938.json +40 -141
- package/.aiready/aiready-report-20260228-003433.json +7939 -0
- package/.aiready/aiready-report-20260228-003613.json +771 -0
- package/.github/FUNDING.yml +2 -2
- package/.turbo/turbo-build.log +8 -8
- package/.turbo/turbo-lint.log +5 -0
- package/.turbo/turbo-test.log +5 -5
- package/CONTRIBUTING.md +11 -2
- package/dist/chunk-HLBKROD3.mjs +237 -0
- package/dist/chunk-LLJMKNBI.mjs +243 -0
- package/dist/cli.js +708 -184
- package/dist/cli.mjs +687 -178
- package/dist/index.js +24 -9
- package/dist/index.mjs +1 -1
- package/package.json +12 -12
- package/src/__tests__/cli.test.ts +1 -1
- package/src/cli.ts +114 -28
- package/src/commands/agent-grounding.ts +22 -7
- package/src/commands/ai-signal-clarity.ts +14 -9
- package/src/commands/consistency.ts +70 -30
- package/src/commands/context.ts +109 -39
- package/src/commands/deps-health.ts +15 -6
- package/src/commands/doc-drift.ts +10 -4
- package/src/commands/index.ts +6 -2
- package/src/commands/patterns.ts +67 -26
- package/src/commands/scan.ts +411 -126
- package/src/commands/testability.ts +22 -9
- package/src/commands/visualize.ts +102 -45
- package/src/index.ts +40 -10
- package/src/utils/helpers.ts +57 -32
|
@@ -183,27 +183,17 @@
|
|
|
183
183
|
"linesOfCode": 613,
|
|
184
184
|
"importDepth": 1,
|
|
185
185
|
"dependencyCount": 5,
|
|
186
|
-
"dependencyList": [
|
|
187
|
-
"chalk",
|
|
188
|
-
"fs",
|
|
189
|
-
"path",
|
|
190
|
-
"../index",
|
|
191
|
-
"../utils/helpers"
|
|
192
|
-
],
|
|
186
|
+
"dependencyList": ["chalk", "fs", "path", "../index", "../utils/helpers"],
|
|
193
187
|
"circularDeps": [],
|
|
194
188
|
"cohesionScore": 1,
|
|
195
|
-
"domains": [
|
|
196
|
-
"user"
|
|
197
|
-
],
|
|
189
|
+
"domains": ["user"],
|
|
198
190
|
"exportCount": 2,
|
|
199
191
|
"contextBudget": 7030,
|
|
200
192
|
"fragmentationScore": 0,
|
|
201
193
|
"relatedFiles": [],
|
|
202
194
|
"fileClassification": "cohesive-module",
|
|
203
195
|
"severity": "info",
|
|
204
|
-
"issues": [
|
|
205
|
-
"No significant issues detected"
|
|
206
|
-
],
|
|
196
|
+
"issues": ["No significant issues detected"],
|
|
207
197
|
"recommendations": [
|
|
208
198
|
"File is well-structured for AI context usage",
|
|
209
199
|
"Module has good cohesion despite its size"
|
|
@@ -226,9 +216,7 @@
|
|
|
226
216
|
],
|
|
227
217
|
"circularDeps": [],
|
|
228
218
|
"cohesionScore": 1,
|
|
229
|
-
"domains": [
|
|
230
|
-
"aiready"
|
|
231
|
-
],
|
|
219
|
+
"domains": ["aiready"],
|
|
232
220
|
"exportCount": 3,
|
|
233
221
|
"contextBudget": 2542,
|
|
234
222
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -246,9 +234,7 @@
|
|
|
246
234
|
],
|
|
247
235
|
"fileClassification": "cohesive-module",
|
|
248
236
|
"severity": "info",
|
|
249
|
-
"issues": [
|
|
250
|
-
"No significant issues detected"
|
|
251
|
-
],
|
|
237
|
+
"issues": ["No significant issues detected"],
|
|
252
238
|
"recommendations": [
|
|
253
239
|
"File is well-structured for AI context usage",
|
|
254
240
|
"Module has good cohesion despite its size"
|
|
@@ -269,9 +255,7 @@
|
|
|
269
255
|
],
|
|
270
256
|
"circularDeps": [],
|
|
271
257
|
"cohesionScore": 1,
|
|
272
|
-
"domains": [
|
|
273
|
-
"aiready"
|
|
274
|
-
],
|
|
258
|
+
"domains": ["aiready"],
|
|
275
259
|
"exportCount": 4,
|
|
276
260
|
"contextBudget": 2539,
|
|
277
261
|
"fragmentationScore": 0,
|
|
@@ -289,9 +273,7 @@
|
|
|
289
273
|
],
|
|
290
274
|
"fileClassification": "barrel-export",
|
|
291
275
|
"severity": "info",
|
|
292
|
-
"issues": [
|
|
293
|
-
"No significant issues detected"
|
|
294
|
-
],
|
|
276
|
+
"issues": ["No significant issues detected"],
|
|
295
277
|
"recommendations": [
|
|
296
278
|
"File is well-structured for AI context usage",
|
|
297
279
|
"Barrel export file detected - multiple domains are expected here"
|
|
@@ -304,12 +286,7 @@
|
|
|
304
286
|
"linesOfCode": 191,
|
|
305
287
|
"importDepth": 1,
|
|
306
288
|
"dependencyCount": 4,
|
|
307
|
-
"dependencyList": [
|
|
308
|
-
"commander",
|
|
309
|
-
"fs",
|
|
310
|
-
"path",
|
|
311
|
-
"url"
|
|
312
|
-
],
|
|
289
|
+
"dependencyList": ["commander", "fs", "path", "url"],
|
|
313
290
|
"circularDeps": [],
|
|
314
291
|
"cohesionScore": 1,
|
|
315
292
|
"domains": [],
|
|
@@ -322,9 +299,7 @@
|
|
|
322
299
|
],
|
|
323
300
|
"fileClassification": "cohesive-module",
|
|
324
301
|
"severity": "minor",
|
|
325
|
-
"issues": [
|
|
326
|
-
"High fragmentation (15%) - scattered implementation"
|
|
327
|
-
],
|
|
302
|
+
"issues": ["High fragmentation (15%) - scattered implementation"],
|
|
328
303
|
"recommendations": [
|
|
329
304
|
"Consolidate with related files in same domain",
|
|
330
305
|
"Module has good cohesion despite its size"
|
|
@@ -337,17 +312,10 @@
|
|
|
337
312
|
"linesOfCode": 192,
|
|
338
313
|
"importDepth": 1,
|
|
339
314
|
"dependencyCount": 4,
|
|
340
|
-
"dependencyList": [
|
|
341
|
-
"chalk",
|
|
342
|
-
"path",
|
|
343
|
-
"@aiready/core",
|
|
344
|
-
"../utils/helpers"
|
|
345
|
-
],
|
|
315
|
+
"dependencyList": ["chalk", "path", "@aiready/core", "../utils/helpers"],
|
|
346
316
|
"circularDeps": [],
|
|
347
317
|
"cohesionScore": 1,
|
|
348
|
-
"domains": [
|
|
349
|
-
"aiready"
|
|
350
|
-
],
|
|
318
|
+
"domains": ["aiready"],
|
|
351
319
|
"exportCount": 1,
|
|
352
320
|
"contextBudget": 1991,
|
|
353
321
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -365,9 +333,7 @@
|
|
|
365
333
|
],
|
|
366
334
|
"fileClassification": "cohesive-module",
|
|
367
335
|
"severity": "info",
|
|
368
|
-
"issues": [
|
|
369
|
-
"No significant issues detected"
|
|
370
|
-
],
|
|
336
|
+
"issues": ["No significant issues detected"],
|
|
371
337
|
"recommendations": [
|
|
372
338
|
"File is well-structured for AI context usage",
|
|
373
339
|
"Module has good cohesion despite its size"
|
|
@@ -389,9 +355,7 @@
|
|
|
389
355
|
],
|
|
390
356
|
"circularDeps": [],
|
|
391
357
|
"cohesionScore": 1,
|
|
392
|
-
"domains": [
|
|
393
|
-
"aiready"
|
|
394
|
-
],
|
|
358
|
+
"domains": ["aiready"],
|
|
395
359
|
"exportCount": 1,
|
|
396
360
|
"contextBudget": 1778,
|
|
397
361
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -409,9 +373,7 @@
|
|
|
409
373
|
],
|
|
410
374
|
"fileClassification": "cohesive-module",
|
|
411
375
|
"severity": "info",
|
|
412
|
-
"issues": [
|
|
413
|
-
"No significant issues detected"
|
|
414
|
-
],
|
|
376
|
+
"issues": ["No significant issues detected"],
|
|
415
377
|
"recommendations": [
|
|
416
378
|
"File is well-structured for AI context usage",
|
|
417
379
|
"Module has good cohesion despite its size"
|
|
@@ -424,17 +386,10 @@
|
|
|
424
386
|
"linesOfCode": 179,
|
|
425
387
|
"importDepth": 1,
|
|
426
388
|
"dependencyCount": 4,
|
|
427
|
-
"dependencyList": [
|
|
428
|
-
"chalk",
|
|
429
|
-
"path",
|
|
430
|
-
"@aiready/core",
|
|
431
|
-
"../utils/helpers"
|
|
432
|
-
],
|
|
389
|
+
"dependencyList": ["chalk", "path", "@aiready/core", "../utils/helpers"],
|
|
433
390
|
"circularDeps": [],
|
|
434
391
|
"cohesionScore": 1,
|
|
435
|
-
"domains": [
|
|
436
|
-
"aiready"
|
|
437
|
-
],
|
|
392
|
+
"domains": ["aiready"],
|
|
438
393
|
"exportCount": 2,
|
|
439
394
|
"contextBudget": 1664,
|
|
440
395
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -452,9 +407,7 @@
|
|
|
452
407
|
],
|
|
453
408
|
"fileClassification": "cohesive-module",
|
|
454
409
|
"severity": "info",
|
|
455
|
-
"issues": [
|
|
456
|
-
"No significant issues detected"
|
|
457
|
-
],
|
|
410
|
+
"issues": ["No significant issues detected"],
|
|
458
411
|
"recommendations": [
|
|
459
412
|
"File is well-structured for AI context usage",
|
|
460
413
|
"Module has good cohesion despite its size"
|
|
@@ -467,17 +420,10 @@
|
|
|
467
420
|
"linesOfCode": 133,
|
|
468
421
|
"importDepth": 1,
|
|
469
422
|
"dependencyCount": 4,
|
|
470
|
-
"dependencyList": [
|
|
471
|
-
"path",
|
|
472
|
-
"fs",
|
|
473
|
-
"chalk",
|
|
474
|
-
"@aiready/core"
|
|
475
|
-
],
|
|
423
|
+
"dependencyList": ["path", "fs", "chalk", "@aiready/core"],
|
|
476
424
|
"circularDeps": [],
|
|
477
425
|
"cohesionScore": 0.975,
|
|
478
|
-
"domains": [
|
|
479
|
-
"aiready"
|
|
480
|
-
],
|
|
426
|
+
"domains": ["aiready"],
|
|
481
427
|
"exportCount": 5,
|
|
482
428
|
"contextBudget": 1229,
|
|
483
429
|
"fragmentationScore": 0.03568860028860029,
|
|
@@ -495,9 +441,7 @@
|
|
|
495
441
|
],
|
|
496
442
|
"fileClassification": "utility-module",
|
|
497
443
|
"severity": "info",
|
|
498
|
-
"issues": [
|
|
499
|
-
"No significant issues detected"
|
|
500
|
-
],
|
|
444
|
+
"issues": ["No significant issues detected"],
|
|
501
445
|
"recommendations": [
|
|
502
446
|
"File is well-structured for AI context usage",
|
|
503
447
|
"Utility module detected - multiple domains are acceptable here"
|
|
@@ -510,15 +454,10 @@
|
|
|
510
454
|
"linesOfCode": 61,
|
|
511
455
|
"importDepth": 1,
|
|
512
456
|
"dependencyCount": 2,
|
|
513
|
-
"dependencyList": [
|
|
514
|
-
"chalk",
|
|
515
|
-
"@aiready/core"
|
|
516
|
-
],
|
|
457
|
+
"dependencyList": ["chalk", "@aiready/core"],
|
|
517
458
|
"circularDeps": [],
|
|
518
459
|
"cohesionScore": 1,
|
|
519
|
-
"domains": [
|
|
520
|
-
"aiready"
|
|
521
|
-
],
|
|
460
|
+
"domains": ["aiready"],
|
|
522
461
|
"exportCount": 1,
|
|
523
462
|
"contextBudget": 489,
|
|
524
463
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -536,9 +475,7 @@
|
|
|
536
475
|
],
|
|
537
476
|
"fileClassification": "cohesive-module",
|
|
538
477
|
"severity": "info",
|
|
539
|
-
"issues": [
|
|
540
|
-
"No significant issues detected"
|
|
541
|
-
],
|
|
478
|
+
"issues": ["No significant issues detected"],
|
|
542
479
|
"recommendations": [
|
|
543
480
|
"File is well-structured for AI context usage",
|
|
544
481
|
"Module has good cohesion despite its size"
|
|
@@ -551,15 +488,10 @@
|
|
|
551
488
|
"linesOfCode": 57,
|
|
552
489
|
"importDepth": 1,
|
|
553
490
|
"dependencyCount": 2,
|
|
554
|
-
"dependencyList": [
|
|
555
|
-
"chalk",
|
|
556
|
-
"@aiready/core"
|
|
557
|
-
],
|
|
491
|
+
"dependencyList": ["chalk", "@aiready/core"],
|
|
558
492
|
"circularDeps": [],
|
|
559
493
|
"cohesionScore": 1,
|
|
560
|
-
"domains": [
|
|
561
|
-
"aiready"
|
|
562
|
-
],
|
|
494
|
+
"domains": ["aiready"],
|
|
563
495
|
"exportCount": 1,
|
|
564
496
|
"contextBudget": 430,
|
|
565
497
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -577,9 +509,7 @@
|
|
|
577
509
|
],
|
|
578
510
|
"fileClassification": "cohesive-module",
|
|
579
511
|
"severity": "info",
|
|
580
|
-
"issues": [
|
|
581
|
-
"No significant issues detected"
|
|
582
|
-
],
|
|
512
|
+
"issues": ["No significant issues detected"],
|
|
583
513
|
"recommendations": [
|
|
584
514
|
"File is well-structured for AI context usage",
|
|
585
515
|
"Module has good cohesion despite its size"
|
|
@@ -592,15 +522,10 @@
|
|
|
592
522
|
"linesOfCode": 57,
|
|
593
523
|
"importDepth": 1,
|
|
594
524
|
"dependencyCount": 2,
|
|
595
|
-
"dependencyList": [
|
|
596
|
-
"chalk",
|
|
597
|
-
"@aiready/core"
|
|
598
|
-
],
|
|
525
|
+
"dependencyList": ["chalk", "@aiready/core"],
|
|
599
526
|
"circularDeps": [],
|
|
600
527
|
"cohesionScore": 1,
|
|
601
|
-
"domains": [
|
|
602
|
-
"aiready"
|
|
603
|
-
],
|
|
528
|
+
"domains": ["aiready"],
|
|
604
529
|
"exportCount": 1,
|
|
605
530
|
"contextBudget": 417,
|
|
606
531
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -618,9 +543,7 @@
|
|
|
618
543
|
],
|
|
619
544
|
"fileClassification": "cohesive-module",
|
|
620
545
|
"severity": "info",
|
|
621
|
-
"issues": [
|
|
622
|
-
"No significant issues detected"
|
|
623
|
-
],
|
|
546
|
+
"issues": ["No significant issues detected"],
|
|
624
547
|
"recommendations": [
|
|
625
548
|
"File is well-structured for AI context usage",
|
|
626
549
|
"Module has good cohesion despite its size"
|
|
@@ -633,17 +556,10 @@
|
|
|
633
556
|
"linesOfCode": 52,
|
|
634
557
|
"importDepth": 1,
|
|
635
558
|
"dependencyCount": 4,
|
|
636
|
-
"dependencyList": [
|
|
637
|
-
"chalk",
|
|
638
|
-
"fs",
|
|
639
|
-
"path",
|
|
640
|
-
"@aiready/core"
|
|
641
|
-
],
|
|
559
|
+
"dependencyList": ["chalk", "fs", "path", "@aiready/core"],
|
|
642
560
|
"circularDeps": [],
|
|
643
561
|
"cohesionScore": 1,
|
|
644
|
-
"domains": [
|
|
645
|
-
"aiready"
|
|
646
|
-
],
|
|
562
|
+
"domains": ["aiready"],
|
|
647
563
|
"exportCount": 1,
|
|
648
564
|
"contextBudget": 408,
|
|
649
565
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -661,9 +577,7 @@
|
|
|
661
577
|
],
|
|
662
578
|
"fileClassification": "cohesive-module",
|
|
663
579
|
"severity": "info",
|
|
664
|
-
"issues": [
|
|
665
|
-
"No significant issues detected"
|
|
666
|
-
],
|
|
580
|
+
"issues": ["No significant issues detected"],
|
|
667
581
|
"recommendations": [
|
|
668
582
|
"File is well-structured for AI context usage",
|
|
669
583
|
"Module has good cohesion despite its size"
|
|
@@ -676,15 +590,10 @@
|
|
|
676
590
|
"linesOfCode": 48,
|
|
677
591
|
"importDepth": 1,
|
|
678
592
|
"dependencyCount": 2,
|
|
679
|
-
"dependencyList": [
|
|
680
|
-
"chalk",
|
|
681
|
-
"@aiready/core"
|
|
682
|
-
],
|
|
593
|
+
"dependencyList": ["chalk", "@aiready/core"],
|
|
683
594
|
"circularDeps": [],
|
|
684
595
|
"cohesionScore": 1,
|
|
685
|
-
"domains": [
|
|
686
|
-
"aiready"
|
|
687
|
-
],
|
|
596
|
+
"domains": ["aiready"],
|
|
688
597
|
"exportCount": 1,
|
|
689
598
|
"contextBudget": 392,
|
|
690
599
|
"fragmentationScore": 0.05353290043290044,
|
|
@@ -702,9 +611,7 @@
|
|
|
702
611
|
],
|
|
703
612
|
"fileClassification": "cohesive-module",
|
|
704
613
|
"severity": "info",
|
|
705
|
-
"issues": [
|
|
706
|
-
"No significant issues detected"
|
|
707
|
-
],
|
|
614
|
+
"issues": ["No significant issues detected"],
|
|
708
615
|
"recommendations": [
|
|
709
616
|
"File is well-structured for AI context usage",
|
|
710
617
|
"Module has good cohesion despite its size"
|
|
@@ -730,9 +637,7 @@
|
|
|
730
637
|
],
|
|
731
638
|
"fileClassification": "cohesive-module",
|
|
732
639
|
"severity": "minor",
|
|
733
|
-
"issues": [
|
|
734
|
-
"High fragmentation (15%) - scattered implementation"
|
|
735
|
-
],
|
|
640
|
+
"issues": ["High fragmentation (15%) - scattered implementation"],
|
|
736
641
|
"recommendations": [
|
|
737
642
|
"Consolidate with related files in same domain",
|
|
738
643
|
"Module has good cohesion despite its size"
|
|
@@ -745,9 +650,7 @@
|
|
|
745
650
|
"linesOfCode": 4,
|
|
746
651
|
"importDepth": 1,
|
|
747
652
|
"dependencyCount": 1,
|
|
748
|
-
"dependencyList": [
|
|
749
|
-
"@aiready/change-amplification/dist/cli.js"
|
|
750
|
-
],
|
|
653
|
+
"dependencyList": ["@aiready/change-amplification/dist/cli.js"],
|
|
751
654
|
"circularDeps": [],
|
|
752
655
|
"cohesionScore": 1,
|
|
753
656
|
"domains": [],
|
|
@@ -760,9 +663,7 @@
|
|
|
760
663
|
],
|
|
761
664
|
"fileClassification": "cohesive-module",
|
|
762
665
|
"severity": "minor",
|
|
763
|
-
"issues": [
|
|
764
|
-
"High fragmentation (15%) - scattered implementation"
|
|
765
|
-
],
|
|
666
|
+
"issues": ["High fragmentation (15%) - scattered implementation"],
|
|
766
667
|
"recommendations": [
|
|
767
668
|
"Consolidate with related files in same domain",
|
|
768
669
|
"Module has good cohesion despite its size"
|
|
@@ -7486,9 +7387,7 @@
|
|
|
7486
7387
|
"totalSymbols": 396,
|
|
7487
7388
|
"totalExports": 33
|
|
7488
7389
|
},
|
|
7489
|
-
"recommendations": [
|
|
7490
|
-
"Extract 432 magic literals into named constants"
|
|
7491
|
-
]
|
|
7390
|
+
"recommendations": ["Extract 432 magic literals into named constants"]
|
|
7492
7391
|
},
|
|
7493
7392
|
"grounding": {
|
|
7494
7393
|
"summary": {
|
|
@@ -7903,4 +7802,4 @@
|
|
|
7903
7802
|
"normalized": "[(99 × 22) + (100 × 19) + (88 × 14) + (88 × 10) + (28 × 10) + (71 × 8) + (70 × 10)] / 93 = 83"
|
|
7904
7803
|
}
|
|
7905
7804
|
}
|
|
7906
|
-
}
|
|
7805
|
+
}
|