@mmnto/totem 1.78.0 → 1.79.0

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.
Files changed (54) hide show
  1. package/dist/artifacts/panel.d.ts +48 -48
  2. package/dist/artifacts/schema.d.ts +40 -40
  3. package/dist/compiler-schema.d.ts +1048 -7
  4. package/dist/compiler-schema.d.ts.map +1 -1
  5. package/dist/compiler-schema.js +129 -1
  6. package/dist/compiler-schema.js.map +1 -1
  7. package/dist/compiler-schema.test.js +92 -2
  8. package/dist/compiler-schema.test.js.map +1 -1
  9. package/dist/compiler.d.ts +2 -2
  10. package/dist/compiler.d.ts.map +1 -1
  11. package/dist/compiler.js +1 -1
  12. package/dist/compiler.js.map +1 -1
  13. package/dist/index.d.ts +8 -4
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +3 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/spine/authored-rule.d.ts +360 -0
  18. package/dist/spine/authored-rule.d.ts.map +1 -0
  19. package/dist/spine/authored-rule.js +199 -0
  20. package/dist/spine/authored-rule.js.map +1 -0
  21. package/dist/spine/authored-rule.test.d.ts +2 -0
  22. package/dist/spine/authored-rule.test.d.ts.map +1 -0
  23. package/dist/spine/authored-rule.test.js +220 -0
  24. package/dist/spine/authored-rule.test.js.map +1 -0
  25. package/dist/spine/candidate-rule.d.ts +32 -0
  26. package/dist/spine/candidate-rule.d.ts.map +1 -1
  27. package/dist/spine/candidate-rule.js +2 -2
  28. package/dist/spine/candidate-rule.js.map +1 -1
  29. package/dist/spine/classify.d.ts +5 -5
  30. package/dist/spine/compile.d.ts +16 -4
  31. package/dist/spine/compile.d.ts.map +1 -1
  32. package/dist/spine/compile.js +23 -0
  33. package/dist/spine/compile.js.map +1 -1
  34. package/dist/spine/compile.test.js +69 -0
  35. package/dist/spine/compile.test.js.map +1 -1
  36. package/dist/spine/corpus-dispositions.d.ts +18 -18
  37. package/dist/spine/extract.d.ts +2 -2
  38. package/dist/spine/extract.d.ts.map +1 -1
  39. package/dist/spine/extract.js +5 -4
  40. package/dist/spine/extract.js.map +1 -1
  41. package/dist/spine/ledgers.d.ts +46 -21
  42. package/dist/spine/ledgers.d.ts.map +1 -1
  43. package/dist/spine/ledgers.js +16 -8
  44. package/dist/spine/ledgers.js.map +1 -1
  45. package/dist/spine/rule-policy.d.ts +27 -0
  46. package/dist/spine/rule-policy.d.ts.map +1 -0
  47. package/dist/spine/rule-policy.js +43 -0
  48. package/dist/spine/rule-policy.js.map +1 -0
  49. package/dist/spine/rule-policy.test.d.ts +2 -0
  50. package/dist/spine/rule-policy.test.d.ts.map +1 -0
  51. package/dist/spine/rule-policy.test.js +31 -0
  52. package/dist/spine/rule-policy.test.js.map +1 -0
  53. package/dist/spine/windtunnel-lock.d.ts +8 -8
  54. package/package.json +1 -1
@@ -337,32 +337,32 @@ export declare const PanelLaneSchema: z.ZodObject<{
337
337
  filePath: z.ZodString;
338
338
  sourceRepo: z.ZodOptional<z.ZodString>;
339
339
  }, "strip", z.ZodTypeAny, {
340
- provenance: string;
340
+ filePath: string;
341
341
  contentHash: string;
342
+ provenance: string;
342
343
  sourceType: string;
343
- filePath: string;
344
344
  sourceRepo?: string | undefined;
345
345
  }, {
346
- provenance: string;
346
+ filePath: string;
347
347
  contentHash: string;
348
+ provenance: string;
348
349
  sourceType: string;
349
- filePath: string;
350
350
  sourceRepo?: string | undefined;
351
351
  }>, "many">;
352
352
  }, "strip", z.ZodTypeAny, {
353
353
  items: {
354
- provenance: string;
354
+ filePath: string;
355
355
  contentHash: string;
356
+ provenance: string;
356
357
  sourceType: string;
357
- filePath: string;
358
358
  sourceRepo?: string | undefined;
359
359
  }[];
360
360
  }, {
361
361
  items: {
362
- provenance: string;
362
+ filePath: string;
363
363
  contentHash: string;
364
+ provenance: string;
364
365
  sourceType: string;
365
- filePath: string;
366
366
  sourceRepo?: string | undefined;
367
367
  }[];
368
368
  }>>;
@@ -371,10 +371,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
371
371
  provenanceSummary: string;
372
372
  bundle?: {
373
373
  items: {
374
- provenance: string;
374
+ filePath: string;
375
375
  contentHash: string;
376
+ provenance: string;
376
377
  sourceType: string;
377
- filePath: string;
378
378
  sourceRepo?: string | undefined;
379
379
  }[];
380
380
  } | undefined;
@@ -383,10 +383,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
383
383
  provenanceSummary: string;
384
384
  bundle?: {
385
385
  items: {
386
- provenance: string;
386
+ filePath: string;
387
387
  contentHash: string;
388
+ provenance: string;
388
389
  sourceType: string;
389
- filePath: string;
390
390
  sourceRepo?: string | undefined;
391
391
  }[];
392
392
  } | undefined;
@@ -532,10 +532,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
532
532
  provenanceSummary: string;
533
533
  bundle?: {
534
534
  items: {
535
- provenance: string;
535
+ filePath: string;
536
536
  contentHash: string;
537
+ provenance: string;
537
538
  sourceType: string;
538
- filePath: string;
539
539
  sourceRepo?: string | undefined;
540
540
  }[];
541
541
  } | undefined;
@@ -588,10 +588,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
588
588
  provenanceSummary: string;
589
589
  bundle?: {
590
590
  items: {
591
- provenance: string;
591
+ filePath: string;
592
592
  contentHash: string;
593
+ provenance: string;
593
594
  sourceType: string;
594
- filePath: string;
595
595
  sourceRepo?: string | undefined;
596
596
  }[];
597
597
  } | undefined;
@@ -698,10 +698,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
698
698
  provenanceSummary: string;
699
699
  bundle?: {
700
700
  items: {
701
- provenance: string;
701
+ filePath: string;
702
702
  contentHash: string;
703
+ provenance: string;
703
704
  sourceType: string;
704
- filePath: string;
705
705
  sourceRepo?: string | undefined;
706
706
  }[];
707
707
  } | undefined;
@@ -766,10 +766,10 @@ export declare const PanelLaneSchema: z.ZodObject<{
766
766
  provenanceSummary: string;
767
767
  bundle?: {
768
768
  items: {
769
- provenance: string;
769
+ filePath: string;
770
770
  contentHash: string;
771
+ provenance: string;
771
772
  sourceType: string;
772
- filePath: string;
773
773
  sourceRepo?: string | undefined;
774
774
  }[];
775
775
  } | undefined;
@@ -854,32 +854,32 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
854
854
  filePath: z.ZodString;
855
855
  sourceRepo: z.ZodOptional<z.ZodString>;
856
856
  }, "strip", z.ZodTypeAny, {
857
- provenance: string;
857
+ filePath: string;
858
858
  contentHash: string;
859
+ provenance: string;
859
860
  sourceType: string;
860
- filePath: string;
861
861
  sourceRepo?: string | undefined;
862
862
  }, {
863
- provenance: string;
863
+ filePath: string;
864
864
  contentHash: string;
865
+ provenance: string;
865
866
  sourceType: string;
866
- filePath: string;
867
867
  sourceRepo?: string | undefined;
868
868
  }>, "many">;
869
869
  }, "strip", z.ZodTypeAny, {
870
870
  items: {
871
- provenance: string;
871
+ filePath: string;
872
872
  contentHash: string;
873
+ provenance: string;
873
874
  sourceType: string;
874
- filePath: string;
875
875
  sourceRepo?: string | undefined;
876
876
  }[];
877
877
  }, {
878
878
  items: {
879
- provenance: string;
879
+ filePath: string;
880
880
  contentHash: string;
881
+ provenance: string;
881
882
  sourceType: string;
882
- filePath: string;
883
883
  sourceRepo?: string | undefined;
884
884
  }[];
885
885
  }>>;
@@ -888,10 +888,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
888
888
  provenanceSummary: string;
889
889
  bundle?: {
890
890
  items: {
891
- provenance: string;
891
+ filePath: string;
892
892
  contentHash: string;
893
+ provenance: string;
893
894
  sourceType: string;
894
- filePath: string;
895
895
  sourceRepo?: string | undefined;
896
896
  }[];
897
897
  } | undefined;
@@ -900,10 +900,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
900
900
  provenanceSummary: string;
901
901
  bundle?: {
902
902
  items: {
903
- provenance: string;
903
+ filePath: string;
904
904
  contentHash: string;
905
+ provenance: string;
905
906
  sourceType: string;
906
- filePath: string;
907
907
  sourceRepo?: string | undefined;
908
908
  }[];
909
909
  } | undefined;
@@ -1049,10 +1049,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1049
1049
  provenanceSummary: string;
1050
1050
  bundle?: {
1051
1051
  items: {
1052
- provenance: string;
1052
+ filePath: string;
1053
1053
  contentHash: string;
1054
+ provenance: string;
1054
1055
  sourceType: string;
1055
- filePath: string;
1056
1056
  sourceRepo?: string | undefined;
1057
1057
  }[];
1058
1058
  } | undefined;
@@ -1105,10 +1105,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1105
1105
  provenanceSummary: string;
1106
1106
  bundle?: {
1107
1107
  items: {
1108
- provenance: string;
1108
+ filePath: string;
1109
1109
  contentHash: string;
1110
+ provenance: string;
1110
1111
  sourceType: string;
1111
- filePath: string;
1112
1112
  sourceRepo?: string | undefined;
1113
1113
  }[];
1114
1114
  } | undefined;
@@ -1215,10 +1215,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1215
1215
  provenanceSummary: string;
1216
1216
  bundle?: {
1217
1217
  items: {
1218
- provenance: string;
1218
+ filePath: string;
1219
1219
  contentHash: string;
1220
+ provenance: string;
1220
1221
  sourceType: string;
1221
- filePath: string;
1222
1222
  sourceRepo?: string | undefined;
1223
1223
  }[];
1224
1224
  } | undefined;
@@ -1283,10 +1283,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1283
1283
  provenanceSummary: string;
1284
1284
  bundle?: {
1285
1285
  items: {
1286
- provenance: string;
1286
+ filePath: string;
1287
1287
  contentHash: string;
1288
+ provenance: string;
1288
1289
  sourceType: string;
1289
- filePath: string;
1290
1290
  sourceRepo?: string | undefined;
1291
1291
  }[];
1292
1292
  } | undefined;
@@ -1474,10 +1474,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1474
1474
  provenanceSummary: string;
1475
1475
  bundle?: {
1476
1476
  items: {
1477
- provenance: string;
1477
+ filePath: string;
1478
1478
  contentHash: string;
1479
+ provenance: string;
1479
1480
  sourceType: string;
1480
- filePath: string;
1481
1481
  sourceRepo?: string | undefined;
1482
1482
  }[];
1483
1483
  } | undefined;
@@ -1571,10 +1571,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1571
1571
  provenanceSummary: string;
1572
1572
  bundle?: {
1573
1573
  items: {
1574
- provenance: string;
1574
+ filePath: string;
1575
1575
  contentHash: string;
1576
+ provenance: string;
1576
1577
  sourceType: string;
1577
- filePath: string;
1578
1578
  sourceRepo?: string | undefined;
1579
1579
  }[];
1580
1580
  } | undefined;
@@ -1668,10 +1668,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1668
1668
  provenanceSummary: string;
1669
1669
  bundle?: {
1670
1670
  items: {
1671
- provenance: string;
1671
+ filePath: string;
1672
1672
  contentHash: string;
1673
+ provenance: string;
1673
1674
  sourceType: string;
1674
- filePath: string;
1675
1675
  sourceRepo?: string | undefined;
1676
1676
  }[];
1677
1677
  } | undefined;
@@ -1765,10 +1765,10 @@ export declare const PanelArtifactSchema: z.ZodEffects<z.ZodObject<{
1765
1765
  provenanceSummary: string;
1766
1766
  bundle?: {
1767
1767
  items: {
1768
- provenance: string;
1768
+ filePath: string;
1769
1769
  contentHash: string;
1770
+ provenance: string;
1770
1771
  sourceType: string;
1771
- filePath: string;
1772
1772
  sourceRepo?: string | undefined;
1773
1773
  }[];
1774
1774
  } | undefined;
@@ -122,16 +122,16 @@ export declare const GroundingItemSchema: z.ZodObject<{
122
122
  /** Linked-index name for cross-repo hits; ABSENT = the run's own repo (F1) — post-checks resolve `filePath` against the run's config root when absent. */
123
123
  sourceRepo: z.ZodOptional<z.ZodString>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- provenance: string;
125
+ filePath: string;
126
126
  contentHash: string;
127
+ provenance: string;
127
128
  sourceType: string;
128
- filePath: string;
129
129
  sourceRepo?: string | undefined;
130
130
  }, {
131
- provenance: string;
131
+ filePath: string;
132
132
  contentHash: string;
133
+ provenance: string;
133
134
  sourceType: string;
134
- filePath: string;
135
135
  sourceRepo?: string | undefined;
136
136
  }>;
137
137
  /**
@@ -152,32 +152,32 @@ export declare const GroundingBundleSchema: z.ZodObject<{
152
152
  /** Linked-index name for cross-repo hits; ABSENT = the run's own repo (F1) — post-checks resolve `filePath` against the run's config root when absent. */
153
153
  sourceRepo: z.ZodOptional<z.ZodString>;
154
154
  }, "strip", z.ZodTypeAny, {
155
- provenance: string;
155
+ filePath: string;
156
156
  contentHash: string;
157
+ provenance: string;
157
158
  sourceType: string;
158
- filePath: string;
159
159
  sourceRepo?: string | undefined;
160
160
  }, {
161
- provenance: string;
161
+ filePath: string;
162
162
  contentHash: string;
163
+ provenance: string;
163
164
  sourceType: string;
164
- filePath: string;
165
165
  sourceRepo?: string | undefined;
166
166
  }>, "many">;
167
167
  }, "strip", z.ZodTypeAny, {
168
168
  items: {
169
- provenance: string;
169
+ filePath: string;
170
170
  contentHash: string;
171
+ provenance: string;
171
172
  sourceType: string;
172
- filePath: string;
173
173
  sourceRepo?: string | undefined;
174
174
  }[];
175
175
  }, {
176
176
  items: {
177
- provenance: string;
177
+ filePath: string;
178
178
  contentHash: string;
179
+ provenance: string;
179
180
  sourceType: string;
180
- filePath: string;
181
181
  sourceRepo?: string | undefined;
182
182
  }[];
183
183
  }>;
@@ -207,32 +207,32 @@ export declare const GroundingSchema: z.ZodObject<{
207
207
  /** Linked-index name for cross-repo hits; ABSENT = the run's own repo (F1) — post-checks resolve `filePath` against the run's config root when absent. */
208
208
  sourceRepo: z.ZodOptional<z.ZodString>;
209
209
  }, "strip", z.ZodTypeAny, {
210
- provenance: string;
210
+ filePath: string;
211
211
  contentHash: string;
212
+ provenance: string;
212
213
  sourceType: string;
213
- filePath: string;
214
214
  sourceRepo?: string | undefined;
215
215
  }, {
216
- provenance: string;
216
+ filePath: string;
217
217
  contentHash: string;
218
+ provenance: string;
218
219
  sourceType: string;
219
- filePath: string;
220
220
  sourceRepo?: string | undefined;
221
221
  }>, "many">;
222
222
  }, "strip", z.ZodTypeAny, {
223
223
  items: {
224
- provenance: string;
224
+ filePath: string;
225
225
  contentHash: string;
226
+ provenance: string;
226
227
  sourceType: string;
227
- filePath: string;
228
228
  sourceRepo?: string | undefined;
229
229
  }[];
230
230
  }, {
231
231
  items: {
232
- provenance: string;
232
+ filePath: string;
233
233
  contentHash: string;
234
+ provenance: string;
234
235
  sourceType: string;
235
- filePath: string;
236
236
  sourceRepo?: string | undefined;
237
237
  }[];
238
238
  }>>;
@@ -241,10 +241,10 @@ export declare const GroundingSchema: z.ZodObject<{
241
241
  provenanceSummary: string;
242
242
  bundle?: {
243
243
  items: {
244
- provenance: string;
244
+ filePath: string;
245
245
  contentHash: string;
246
+ provenance: string;
246
247
  sourceType: string;
247
- filePath: string;
248
248
  sourceRepo?: string | undefined;
249
249
  }[];
250
250
  } | undefined;
@@ -253,10 +253,10 @@ export declare const GroundingSchema: z.ZodObject<{
253
253
  provenanceSummary: string;
254
254
  bundle?: {
255
255
  items: {
256
- provenance: string;
256
+ filePath: string;
257
257
  contentHash: string;
258
+ provenance: string;
258
259
  sourceType: string;
259
- filePath: string;
260
260
  sourceRepo?: string | undefined;
261
261
  }[];
262
262
  } | undefined;
@@ -418,32 +418,32 @@ export declare const RunArtifactSchema: z.ZodObject<{
418
418
  /** Linked-index name for cross-repo hits; ABSENT = the run's own repo (F1) — post-checks resolve `filePath` against the run's config root when absent. */
419
419
  sourceRepo: z.ZodOptional<z.ZodString>;
420
420
  }, "strip", z.ZodTypeAny, {
421
- provenance: string;
421
+ filePath: string;
422
422
  contentHash: string;
423
+ provenance: string;
423
424
  sourceType: string;
424
- filePath: string;
425
425
  sourceRepo?: string | undefined;
426
426
  }, {
427
- provenance: string;
427
+ filePath: string;
428
428
  contentHash: string;
429
+ provenance: string;
429
430
  sourceType: string;
430
- filePath: string;
431
431
  sourceRepo?: string | undefined;
432
432
  }>, "many">;
433
433
  }, "strip", z.ZodTypeAny, {
434
434
  items: {
435
- provenance: string;
435
+ filePath: string;
436
436
  contentHash: string;
437
+ provenance: string;
437
438
  sourceType: string;
438
- filePath: string;
439
439
  sourceRepo?: string | undefined;
440
440
  }[];
441
441
  }, {
442
442
  items: {
443
- provenance: string;
443
+ filePath: string;
444
444
  contentHash: string;
445
+ provenance: string;
445
446
  sourceType: string;
446
- filePath: string;
447
447
  sourceRepo?: string | undefined;
448
448
  }[];
449
449
  }>>;
@@ -452,10 +452,10 @@ export declare const RunArtifactSchema: z.ZodObject<{
452
452
  provenanceSummary: string;
453
453
  bundle?: {
454
454
  items: {
455
- provenance: string;
455
+ filePath: string;
456
456
  contentHash: string;
457
+ provenance: string;
457
458
  sourceType: string;
458
- filePath: string;
459
459
  sourceRepo?: string | undefined;
460
460
  }[];
461
461
  } | undefined;
@@ -464,10 +464,10 @@ export declare const RunArtifactSchema: z.ZodObject<{
464
464
  provenanceSummary: string;
465
465
  bundle?: {
466
466
  items: {
467
- provenance: string;
467
+ filePath: string;
468
468
  contentHash: string;
469
+ provenance: string;
469
470
  sourceType: string;
470
- filePath: string;
471
471
  sourceRepo?: string | undefined;
472
472
  }[];
473
473
  } | undefined;
@@ -633,10 +633,10 @@ export declare const RunArtifactSchema: z.ZodObject<{
633
633
  provenanceSummary: string;
634
634
  bundle?: {
635
635
  items: {
636
- provenance: string;
636
+ filePath: string;
637
637
  contentHash: string;
638
+ provenance: string;
638
639
  sourceType: string;
639
- filePath: string;
640
640
  sourceRepo?: string | undefined;
641
641
  }[];
642
642
  } | undefined;
@@ -689,10 +689,10 @@ export declare const RunArtifactSchema: z.ZodObject<{
689
689
  provenanceSummary: string;
690
690
  bundle?: {
691
691
  items: {
692
- provenance: string;
692
+ filePath: string;
693
693
  contentHash: string;
694
+ provenance: string;
694
695
  sourceType: string;
695
- filePath: string;
696
696
  sourceRepo?: string | undefined;
697
697
  }[];
698
698
  } | undefined;