pruneguard 0.2.1 → 0.3.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.
@@ -108,6 +108,20 @@
108
108
  "source"
109
109
  ],
110
110
  "properties": {
111
+ "framework": {
112
+ "description": "Framework that contributed this entrypoint, if any.",
113
+ "type": [
114
+ "string",
115
+ "null"
116
+ ]
117
+ },
118
+ "heuristic": {
119
+ "description": "Whether this entrypoint was detected via heuristics.",
120
+ "type": [
121
+ "boolean",
122
+ "null"
123
+ ]
124
+ },
111
125
  "kind": {
112
126
  "type": "string"
113
127
  },
@@ -117,6 +131,13 @@
117
131
  "profile": {
118
132
  "type": "string"
119
133
  },
134
+ "reason": {
135
+ "description": "Reason this entrypoint was detected.",
136
+ "type": [
137
+ "string",
138
+ "null"
139
+ ]
140
+ },
120
141
  "source": {
121
142
  "type": "string"
122
143
  },
@@ -162,6 +183,14 @@
162
183
  }
163
184
  }
164
185
  },
186
+ "ExecutionMode": {
187
+ "description": "Execution mode for daemon/oneshot distinction.",
188
+ "type": "string",
189
+ "enum": [
190
+ "oneshot",
191
+ "daemon"
192
+ ]
193
+ },
165
194
  "FileInfo": {
166
195
  "description": "Info about a discovered file.",
167
196
  "type": "object",
@@ -233,6 +262,13 @@
233
262
  "subject"
234
263
  ],
235
264
  "properties": {
265
+ "actionKinds": {
266
+ "description": "All applicable remediation action kinds.",
267
+ "type": "array",
268
+ "items": {
269
+ "$ref": "#/definitions/RemediationActionKind"
270
+ }
271
+ },
236
272
  "category": {
237
273
  "description": "Category of the finding.",
238
274
  "allOf": [
@@ -260,6 +296,16 @@
260
296
  "$ref": "#/definitions/Evidence"
261
297
  }
262
298
  },
299
+ "frameworkContext": {
300
+ "description": "Framework context relevant to this finding.",
301
+ "type": [
302
+ "array",
303
+ "null"
304
+ ],
305
+ "items": {
306
+ "type": "string"
307
+ }
308
+ },
263
309
  "id": {
264
310
  "description": "Stable deterministic ID for this finding.",
265
311
  "type": "string"
@@ -275,6 +321,17 @@
275
321
  "null"
276
322
  ]
277
323
  },
324
+ "primaryActionKind": {
325
+ "description": "Primary remediation action kind for this finding.",
326
+ "anyOf": [
327
+ {
328
+ "$ref": "#/definitions/RemediationActionKind"
329
+ },
330
+ {
331
+ "type": "null"
332
+ }
333
+ ]
334
+ },
278
335
  "ruleName": {
279
336
  "description": "Name of the rule that produced this finding, if any.",
280
337
  "type": [
@@ -301,6 +358,16 @@
301
358
  "null"
302
359
  ]
303
360
  },
361
+ "trustNotes": {
362
+ "description": "Trust-related notes for this finding.",
363
+ "type": [
364
+ "array",
365
+ "null"
366
+ ],
367
+ "items": {
368
+ "type": "string"
369
+ }
370
+ },
304
371
  "workspace": {
305
372
  "description": "Workspace this finding belongs to, if applicable.",
306
373
  "type": [
@@ -339,6 +406,32 @@
339
406
  "info"
340
407
  ]
341
408
  },
409
+ "FrameworkConfidenceCounts": {
410
+ "description": "Breakdown of framework detection confidence levels.",
411
+ "type": "object",
412
+ "required": [
413
+ "exact",
414
+ "heuristic",
415
+ "unsupported"
416
+ ],
417
+ "properties": {
418
+ "exact": {
419
+ "type": "integer",
420
+ "format": "uint",
421
+ "minimum": 0.0
422
+ },
423
+ "heuristic": {
424
+ "type": "integer",
425
+ "format": "uint",
426
+ "minimum": 0.0
427
+ },
428
+ "unsupported": {
429
+ "type": "integer",
430
+ "format": "uint",
431
+ "minimum": 0.0
432
+ }
433
+ }
434
+ },
342
435
  "Inventories": {
343
436
  "description": "Inventories of discovered entities.",
344
437
  "type": "object",
@@ -394,6 +487,22 @@
394
487
  }
395
488
  }
396
489
  },
490
+ "RemediationActionKind": {
491
+ "description": "The kind of remediation action to take.",
492
+ "type": "string",
493
+ "enum": [
494
+ "delete-file",
495
+ "delete-export",
496
+ "remove-dependency",
497
+ "break-cycle",
498
+ "move-import",
499
+ "tighten-entrypoint",
500
+ "update-boundary-rule",
501
+ "assign-owner",
502
+ "split-package",
503
+ "acknowledge-baseline"
504
+ ]
505
+ },
397
506
  "Stats": {
398
507
  "description": "Performance statistics.",
399
508
  "type": "object",
@@ -479,6 +588,13 @@
479
588
  "format": "uint",
480
589
  "minimum": 0.0
481
590
  },
591
+ "compatibilityWarnings": {
592
+ "description": "Compatibility warnings from framework detection.",
593
+ "type": "array",
594
+ "items": {
595
+ "type": "string"
596
+ }
597
+ },
482
598
  "confidenceCounts": {
483
599
  "$ref": "#/definitions/ConfidenceCounts"
484
600
  },
@@ -492,6 +608,17 @@
492
608
  "format": "uint",
493
609
  "minimum": 0.0
494
610
  },
611
+ "executionMode": {
612
+ "description": "Execution mode used for this analysis.",
613
+ "anyOf": [
614
+ {
615
+ "$ref": "#/definitions/ExecutionMode"
616
+ },
617
+ {
618
+ "type": "null"
619
+ }
620
+ ]
621
+ },
495
622
  "filesCached": {
496
623
  "type": "integer",
497
624
  "format": "uint",
@@ -525,6 +652,26 @@
525
652
  "format": "uint",
526
653
  "minimum": 0.0
527
654
  },
655
+ "frameworkConfidenceCounts": {
656
+ "description": "Framework confidence breakdown.",
657
+ "default": {
658
+ "exact": 0,
659
+ "heuristic": 0,
660
+ "unsupported": 0
661
+ },
662
+ "allOf": [
663
+ {
664
+ "$ref": "#/definitions/FrameworkConfidenceCounts"
665
+ }
666
+ ]
667
+ },
668
+ "frameworksDetected": {
669
+ "description": "Frameworks detected during analysis.",
670
+ "type": "array",
671
+ "items": {
672
+ "type": "string"
673
+ }
674
+ },
528
675
  "fullScopeRequired": {
529
676
  "type": "boolean"
530
677
  },
@@ -538,6 +685,36 @@
538
685
  "format": "uint",
539
686
  "minimum": 0.0
540
687
  },
688
+ "heuristicEntrypoints": {
689
+ "description": "Number of entrypoints added by heuristic detection.",
690
+ "default": 0,
691
+ "type": "integer",
692
+ "format": "uint",
693
+ "minimum": 0.0
694
+ },
695
+ "heuristicFrameworks": {
696
+ "description": "Frameworks detected via heuristics (lower confidence).",
697
+ "type": "array",
698
+ "items": {
699
+ "type": "string"
700
+ }
701
+ },
702
+ "indexAgeMs": {
703
+ "description": "Age of the reused graph index in milliseconds.",
704
+ "type": [
705
+ "integer",
706
+ "null"
707
+ ],
708
+ "format": "uint64",
709
+ "minimum": 0.0
710
+ },
711
+ "indexWarm": {
712
+ "description": "Whether the graph index was warm (reused from a previous run).",
713
+ "type": [
714
+ "boolean",
715
+ "null"
716
+ ]
717
+ },
541
718
  "newFindings": {
542
719
  "type": "integer",
543
720
  "format": "uint",
@@ -563,6 +740,29 @@
563
740
  "format": "uint",
564
741
  "minimum": 0.0
565
742
  },
743
+ "reusedGraphEdges": {
744
+ "description": "Number of graph edges reused from a warm index.",
745
+ "type": [
746
+ "integer",
747
+ "null"
748
+ ],
749
+ "format": "uint",
750
+ "minimum": 0.0
751
+ },
752
+ "reusedGraphNodes": {
753
+ "description": "Number of graph nodes reused from a warm index.",
754
+ "type": [
755
+ "integer",
756
+ "null"
757
+ ],
758
+ "format": "uint",
759
+ "minimum": 0.0
760
+ },
761
+ "strictTrustApplied": {
762
+ "description": "Whether strict trust mode was applied.",
763
+ "default": false,
764
+ "type": "boolean"
765
+ },
566
766
  "suppressedFindings": {
567
767
  "type": "integer",
568
768
  "format": "uint",
@@ -575,6 +775,15 @@
575
775
  "type": "integer",
576
776
  "format": "uint",
577
777
  "minimum": 0.0
778
+ },
779
+ "watcherLagMs": {
780
+ "description": "Lag of the file-system watcher in milliseconds.",
781
+ "type": [
782
+ "integer",
783
+ "null"
784
+ ],
785
+ "format": "uint64",
786
+ "minimum": 0.0
578
787
  }
579
788
  }
580
789
  },
@@ -668,6 +877,13 @@
668
877
  "type": "integer",
669
878
  "format": "uint",
670
879
  "minimum": 0.0
880
+ },
881
+ "workspaceExportsMiss": {
882
+ "description": "Subpath not declared in a workspace package's `exports` map.",
883
+ "default": 0,
884
+ "type": "integer",
885
+ "format": "uint",
886
+ "minimum": 0.0
671
887
  }
672
888
  }
673
889
  },