@habitat-ai/service 0.2.0 → 0.2.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.
@@ -153,9 +153,59 @@ export declare const impl: import("@orpc/server").Implementer<{
153
153
  schemaVersion: import("typebox").TLiteral<2>;
154
154
  ownerRoots: import("typebox").TRecord<"^.*$", import("typebox").TString>;
155
155
  rules: import("typebox").TArray<import("typebox").TObject<{
156
- id: import("typebox").TString;
156
+ ruleId: import("typebox").TString;
157
157
  ownerProject: import("typebox").TString;
158
158
  manifestPath: import("typebox").TString;
159
+ lane: import("typebox").TLiteral<"enforced">;
160
+ message: import("typebox").TString;
161
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
162
+ provenance: import("typebox").TObject<{
163
+ kind: import("typebox").TLiteral<"local">;
164
+ authorityRoot: import("typebox").TString;
165
+ relativePath: import("typebox").TString;
166
+ }>;
167
+ coveragePatterns: import("typebox").TArray<import("typebox").TString>;
168
+ baseline: import("typebox").TObject<{
169
+ provenance: import("typebox").TObject<{
170
+ kind: import("typebox").TLiteral<"local">;
171
+ authorityRoot: import("typebox").TString;
172
+ relativePath: import("typebox").TString;
173
+ }>;
174
+ relativePath: import("typebox").TString;
175
+ absolutePath: import("typebox").TString;
176
+ }>;
177
+ runner: import("typebox").TUnion<[import("typebox").TObject<{
178
+ name: import("typebox").TLiteral<"habitat">;
179
+ mode: import("typebox").TLiteral<"structure">;
180
+ structure: import("typebox").TObject<{
181
+ provenance: import("typebox").TObject<{
182
+ kind: import("typebox").TLiteral<"local">;
183
+ authorityRoot: import("typebox").TString;
184
+ relativePath: import("typebox").TString;
185
+ }>;
186
+ relativePath: import("typebox").TString;
187
+ absolutePath: import("typebox").TString;
188
+ }>;
189
+ }>, import("typebox").TObject<{
190
+ name: import("typebox").TLiteral<"grit">;
191
+ pattern: import("typebox").TObject<{
192
+ provenance: import("typebox").TObject<{
193
+ kind: import("typebox").TLiteral<"local">;
194
+ authorityRoot: import("typebox").TString;
195
+ relativePath: import("typebox").TString;
196
+ }>;
197
+ relativePath: import("typebox").TString;
198
+ absolutePath: import("typebox").TString;
199
+ }>;
200
+ patternName: import("typebox").TString;
201
+ acquisition: import("typebox").TObject<{
202
+ kind: import("typebox").TLiteral<"check">;
203
+ entries: import("typebox").TArray<import("typebox").TObject<{
204
+ kind: import("typebox").TUnion<[import("typebox").TLiteral<"directory">, import("typebox").TLiteral<"file">]>;
205
+ path: import("typebox").TString;
206
+ }>>;
207
+ }>;
208
+ }>]>;
159
209
  }>>;
160
210
  }>;
161
211
  }>;
@@ -225,6 +275,42 @@ export declare const impl: import("@orpc/server").Implementer<{
225
275
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
226
276
  baselined: import("typebox").TLiteral<false>;
227
277
  }>>;
278
+ }>, import("typebox").TObject<{
279
+ ownerProject: import("typebox").TString;
280
+ instanceId: import("typebox").TNull;
281
+ ruleId: import("typebox").TString;
282
+ runner: import("typebox").TLiteral<"grit">;
283
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
284
+ locked: import("typebox").TLiteral<true>;
285
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
286
+ message: import("typebox").TString;
287
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
288
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
289
+ kind: import("typebox").TLiteral<"evaluated">;
290
+ }>, import("typebox").TObject<{
291
+ kind: import("typebox").TLiteral<"not-applicable">;
292
+ reason: import("typebox").TLiteral<"no-matched-acquisition-roots">;
293
+ }>, import("typebox").TObject<{
294
+ kind: import("typebox").TLiteral<"failed">;
295
+ reason: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"InvalidInput">, import("typebox").TLiteral<"SetupFailed">, import("typebox").TLiteral<"ExecutionFailed">, import("typebox").TLiteral<"TimedOut">, import("typebox").TLiteral<"InvalidOutput">]>, import("typebox").TLiteral<"PatternReadFailed">, import("typebox").TLiteral<"PatternInvalid">, import("typebox").TLiteral<"FindingPathInvalid">]>;
296
+ detail: import("typebox").TString;
297
+ }>]>;
298
+ findings: import("typebox").TArray<import("typebox").TObject<{
299
+ path: import("typebox").TString;
300
+ start: import("typebox").TObject<{
301
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
302
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
303
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
304
+ }>;
305
+ end: import("typebox").TObject<{
306
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
307
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
308
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
309
+ }>;
310
+ message: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
311
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
312
+ baselined: import("typebox").TLiteral<false>;
313
+ }>>;
228
314
  }>, import("typebox").TObject<{
229
315
  ownerProject: import("typebox").TString;
230
316
  instanceId: import("typebox").TString;
@@ -249,6 +335,30 @@ export declare const impl: import("@orpc/server").Implementer<{
249
335
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
250
336
  baselined: import("typebox").TLiteral<false>;
251
337
  }>>;
338
+ }>, import("typebox").TObject<{
339
+ ownerProject: import("typebox").TString;
340
+ instanceId: import("typebox").TNull;
341
+ ruleId: import("typebox").TString;
342
+ runner: import("typebox").TLiteral<"habitat">;
343
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
344
+ locked: import("typebox").TLiteral<true>;
345
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
346
+ message: import("typebox").TString;
347
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
348
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
349
+ kind: import("typebox").TLiteral<"evaluated">;
350
+ }>, import("typebox").TObject<{
351
+ kind: import("typebox").TLiteral<"failed">;
352
+ reason: import("typebox").TUnion<[import("typebox").TLiteral<"StructureReadFailed">, import("typebox").TLiteral<"StructureInvalid">, import("typebox").TLiteral<"InventoryFailed">, import("typebox").TLiteral<"StructureObservationFailed">]>;
353
+ detail: import("typebox").TString;
354
+ }>]>;
355
+ findings: import("typebox").TArray<import("typebox").TObject<{
356
+ path: import("typebox").TString;
357
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"root-missing">, import("typebox").TLiteral<"wrong-root-kind">, import("typebox").TLiteral<"missing-required-child">, import("typebox").TLiteral<"forbidden-child">, import("typebox").TLiteral<"unexpected-child">]>;
358
+ message: import("typebox").TString;
359
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
360
+ baselined: import("typebox").TLiteral<false>;
361
+ }>>;
252
362
  }>]>>;
253
363
  }>]>>, object>;
254
364
  };
@@ -406,9 +516,59 @@ export declare const service: import("@orpc/server").Implementer<{
406
516
  schemaVersion: import("typebox").TLiteral<2>;
407
517
  ownerRoots: import("typebox").TRecord<"^.*$", import("typebox").TString>;
408
518
  rules: import("typebox").TArray<import("typebox").TObject<{
409
- id: import("typebox").TString;
519
+ ruleId: import("typebox").TString;
410
520
  ownerProject: import("typebox").TString;
411
521
  manifestPath: import("typebox").TString;
522
+ lane: import("typebox").TLiteral<"enforced">;
523
+ message: import("typebox").TString;
524
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
525
+ provenance: import("typebox").TObject<{
526
+ kind: import("typebox").TLiteral<"local">;
527
+ authorityRoot: import("typebox").TString;
528
+ relativePath: import("typebox").TString;
529
+ }>;
530
+ coveragePatterns: import("typebox").TArray<import("typebox").TString>;
531
+ baseline: import("typebox").TObject<{
532
+ provenance: import("typebox").TObject<{
533
+ kind: import("typebox").TLiteral<"local">;
534
+ authorityRoot: import("typebox").TString;
535
+ relativePath: import("typebox").TString;
536
+ }>;
537
+ relativePath: import("typebox").TString;
538
+ absolutePath: import("typebox").TString;
539
+ }>;
540
+ runner: import("typebox").TUnion<[import("typebox").TObject<{
541
+ name: import("typebox").TLiteral<"habitat">;
542
+ mode: import("typebox").TLiteral<"structure">;
543
+ structure: import("typebox").TObject<{
544
+ provenance: import("typebox").TObject<{
545
+ kind: import("typebox").TLiteral<"local">;
546
+ authorityRoot: import("typebox").TString;
547
+ relativePath: import("typebox").TString;
548
+ }>;
549
+ relativePath: import("typebox").TString;
550
+ absolutePath: import("typebox").TString;
551
+ }>;
552
+ }>, import("typebox").TObject<{
553
+ name: import("typebox").TLiteral<"grit">;
554
+ pattern: import("typebox").TObject<{
555
+ provenance: import("typebox").TObject<{
556
+ kind: import("typebox").TLiteral<"local">;
557
+ authorityRoot: import("typebox").TString;
558
+ relativePath: import("typebox").TString;
559
+ }>;
560
+ relativePath: import("typebox").TString;
561
+ absolutePath: import("typebox").TString;
562
+ }>;
563
+ patternName: import("typebox").TString;
564
+ acquisition: import("typebox").TObject<{
565
+ kind: import("typebox").TLiteral<"check">;
566
+ entries: import("typebox").TArray<import("typebox").TObject<{
567
+ kind: import("typebox").TUnion<[import("typebox").TLiteral<"directory">, import("typebox").TLiteral<"file">]>;
568
+ path: import("typebox").TString;
569
+ }>>;
570
+ }>;
571
+ }>]>;
412
572
  }>>;
413
573
  }>;
414
574
  }>;
@@ -478,6 +638,42 @@ export declare const service: import("@orpc/server").Implementer<{
478
638
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
479
639
  baselined: import("typebox").TLiteral<false>;
480
640
  }>>;
641
+ }>, import("typebox").TObject<{
642
+ ownerProject: import("typebox").TString;
643
+ instanceId: import("typebox").TNull;
644
+ ruleId: import("typebox").TString;
645
+ runner: import("typebox").TLiteral<"grit">;
646
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
647
+ locked: import("typebox").TLiteral<true>;
648
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
649
+ message: import("typebox").TString;
650
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
651
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
652
+ kind: import("typebox").TLiteral<"evaluated">;
653
+ }>, import("typebox").TObject<{
654
+ kind: import("typebox").TLiteral<"not-applicable">;
655
+ reason: import("typebox").TLiteral<"no-matched-acquisition-roots">;
656
+ }>, import("typebox").TObject<{
657
+ kind: import("typebox").TLiteral<"failed">;
658
+ reason: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"InvalidInput">, import("typebox").TLiteral<"SetupFailed">, import("typebox").TLiteral<"ExecutionFailed">, import("typebox").TLiteral<"TimedOut">, import("typebox").TLiteral<"InvalidOutput">]>, import("typebox").TLiteral<"PatternReadFailed">, import("typebox").TLiteral<"PatternInvalid">, import("typebox").TLiteral<"FindingPathInvalid">]>;
659
+ detail: import("typebox").TString;
660
+ }>]>;
661
+ findings: import("typebox").TArray<import("typebox").TObject<{
662
+ path: import("typebox").TString;
663
+ start: import("typebox").TObject<{
664
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
665
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
666
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
667
+ }>;
668
+ end: import("typebox").TObject<{
669
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
670
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
671
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
672
+ }>;
673
+ message: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
674
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
675
+ baselined: import("typebox").TLiteral<false>;
676
+ }>>;
481
677
  }>, import("typebox").TObject<{
482
678
  ownerProject: import("typebox").TString;
483
679
  instanceId: import("typebox").TString;
@@ -502,6 +698,30 @@ export declare const service: import("@orpc/server").Implementer<{
502
698
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
503
699
  baselined: import("typebox").TLiteral<false>;
504
700
  }>>;
701
+ }>, import("typebox").TObject<{
702
+ ownerProject: import("typebox").TString;
703
+ instanceId: import("typebox").TNull;
704
+ ruleId: import("typebox").TString;
705
+ runner: import("typebox").TLiteral<"habitat">;
706
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
707
+ locked: import("typebox").TLiteral<true>;
708
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
709
+ message: import("typebox").TString;
710
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
711
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
712
+ kind: import("typebox").TLiteral<"evaluated">;
713
+ }>, import("typebox").TObject<{
714
+ kind: import("typebox").TLiteral<"failed">;
715
+ reason: import("typebox").TUnion<[import("typebox").TLiteral<"StructureReadFailed">, import("typebox").TLiteral<"StructureInvalid">, import("typebox").TLiteral<"InventoryFailed">, import("typebox").TLiteral<"StructureObservationFailed">]>;
716
+ detail: import("typebox").TString;
717
+ }>]>;
718
+ findings: import("typebox").TArray<import("typebox").TObject<{
719
+ path: import("typebox").TString;
720
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"root-missing">, import("typebox").TLiteral<"wrong-root-kind">, import("typebox").TLiteral<"missing-required-child">, import("typebox").TLiteral<"forbidden-child">, import("typebox").TLiteral<"unexpected-child">]>;
721
+ message: import("typebox").TString;
722
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
723
+ baselined: import("typebox").TLiteral<false>;
724
+ }>>;
505
725
  }>]>>;
506
726
  }>]>>, object>;
507
727
  };
@@ -151,9 +151,59 @@ export declare const catalog: {
151
151
  schemaVersion: import("typebox").TLiteral<2>;
152
152
  ownerRoots: import("typebox").TRecord<"^.*$", import("typebox").TString>;
153
153
  rules: import("typebox").TArray<import("typebox").TObject<{
154
- id: import("typebox").TString;
154
+ ruleId: import("typebox").TString;
155
155
  ownerProject: import("typebox").TString;
156
156
  manifestPath: import("typebox").TString;
157
+ lane: import("typebox").TLiteral<"enforced">;
158
+ message: import("typebox").TString;
159
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
160
+ provenance: import("typebox").TObject<{
161
+ kind: import("typebox").TLiteral<"local">;
162
+ authorityRoot: import("typebox").TString;
163
+ relativePath: import("typebox").TString;
164
+ }>;
165
+ coveragePatterns: import("typebox").TArray<import("typebox").TString>;
166
+ baseline: import("typebox").TObject<{
167
+ provenance: import("typebox").TObject<{
168
+ kind: import("typebox").TLiteral<"local">;
169
+ authorityRoot: import("typebox").TString;
170
+ relativePath: import("typebox").TString;
171
+ }>;
172
+ relativePath: import("typebox").TString;
173
+ absolutePath: import("typebox").TString;
174
+ }>;
175
+ runner: import("typebox").TUnion<[import("typebox").TObject<{
176
+ name: import("typebox").TLiteral<"habitat">;
177
+ mode: import("typebox").TLiteral<"structure">;
178
+ structure: import("typebox").TObject<{
179
+ provenance: import("typebox").TObject<{
180
+ kind: import("typebox").TLiteral<"local">;
181
+ authorityRoot: import("typebox").TString;
182
+ relativePath: import("typebox").TString;
183
+ }>;
184
+ relativePath: import("typebox").TString;
185
+ absolutePath: import("typebox").TString;
186
+ }>;
187
+ }>, import("typebox").TObject<{
188
+ name: import("typebox").TLiteral<"grit">;
189
+ pattern: import("typebox").TObject<{
190
+ provenance: import("typebox").TObject<{
191
+ kind: import("typebox").TLiteral<"local">;
192
+ authorityRoot: import("typebox").TString;
193
+ relativePath: import("typebox").TString;
194
+ }>;
195
+ relativePath: import("typebox").TString;
196
+ absolutePath: import("typebox").TString;
197
+ }>;
198
+ patternName: import("typebox").TString;
199
+ acquisition: import("typebox").TObject<{
200
+ kind: import("typebox").TLiteral<"check">;
201
+ entries: import("typebox").TArray<import("typebox").TObject<{
202
+ kind: import("typebox").TUnion<[import("typebox").TLiteral<"directory">, import("typebox").TLiteral<"file">]>;
203
+ path: import("typebox").TString;
204
+ }>>;
205
+ }>;
206
+ }>]>;
157
207
  }>>;
158
208
  }>;
159
209
  }>;
@@ -223,6 +273,42 @@ export declare const catalog: {
223
273
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
224
274
  baselined: import("typebox").TLiteral<false>;
225
275
  }>>;
276
+ }>, import("typebox").TObject<{
277
+ ownerProject: import("typebox").TString;
278
+ instanceId: import("typebox").TNull;
279
+ ruleId: import("typebox").TString;
280
+ runner: import("typebox").TLiteral<"grit">;
281
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
282
+ locked: import("typebox").TLiteral<true>;
283
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
284
+ message: import("typebox").TString;
285
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
286
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
287
+ kind: import("typebox").TLiteral<"evaluated">;
288
+ }>, import("typebox").TObject<{
289
+ kind: import("typebox").TLiteral<"not-applicable">;
290
+ reason: import("typebox").TLiteral<"no-matched-acquisition-roots">;
291
+ }>, import("typebox").TObject<{
292
+ kind: import("typebox").TLiteral<"failed">;
293
+ reason: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"InvalidInput">, import("typebox").TLiteral<"SetupFailed">, import("typebox").TLiteral<"ExecutionFailed">, import("typebox").TLiteral<"TimedOut">, import("typebox").TLiteral<"InvalidOutput">]>, import("typebox").TLiteral<"PatternReadFailed">, import("typebox").TLiteral<"PatternInvalid">, import("typebox").TLiteral<"FindingPathInvalid">]>;
294
+ detail: import("typebox").TString;
295
+ }>]>;
296
+ findings: import("typebox").TArray<import("typebox").TObject<{
297
+ path: import("typebox").TString;
298
+ start: import("typebox").TObject<{
299
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
300
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
301
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
302
+ }>;
303
+ end: import("typebox").TObject<{
304
+ line: import("typebox").TReadonly<import("typebox").TInteger>;
305
+ column: import("typebox").TReadonly<import("typebox").TInteger>;
306
+ offset: import("typebox").TReadonly<import("typebox").TInteger>;
307
+ }>;
308
+ message: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
309
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
310
+ baselined: import("typebox").TLiteral<false>;
311
+ }>>;
226
312
  }>, import("typebox").TObject<{
227
313
  ownerProject: import("typebox").TString;
228
314
  instanceId: import("typebox").TString;
@@ -247,6 +333,30 @@ export declare const catalog: {
247
333
  severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
248
334
  baselined: import("typebox").TLiteral<false>;
249
335
  }>>;
336
+ }>, import("typebox").TObject<{
337
+ ownerProject: import("typebox").TString;
338
+ instanceId: import("typebox").TNull;
339
+ ruleId: import("typebox").TString;
340
+ runner: import("typebox").TLiteral<"habitat">;
341
+ lane: import("typebox").TUnion<[import("typebox").TLiteral<"enforced">, import("typebox").TLiteral<"advisory">]>;
342
+ locked: import("typebox").TLiteral<true>;
343
+ status: import("typebox").TUnion<[import("typebox").TLiteral<"pass">, import("typebox").TLiteral<"fail">, import("typebox").TLiteral<"advisory-findings">, import("typebox").TLiteral<"error">]>;
344
+ message: import("typebox").TString;
345
+ remediate: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
346
+ disposition: import("typebox").TUnion<[import("typebox").TObject<{
347
+ kind: import("typebox").TLiteral<"evaluated">;
348
+ }>, import("typebox").TObject<{
349
+ kind: import("typebox").TLiteral<"failed">;
350
+ reason: import("typebox").TUnion<[import("typebox").TLiteral<"StructureReadFailed">, import("typebox").TLiteral<"StructureInvalid">, import("typebox").TLiteral<"InventoryFailed">, import("typebox").TLiteral<"StructureObservationFailed">]>;
351
+ detail: import("typebox").TString;
352
+ }>]>;
353
+ findings: import("typebox").TArray<import("typebox").TObject<{
354
+ path: import("typebox").TString;
355
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"root-missing">, import("typebox").TLiteral<"wrong-root-kind">, import("typebox").TLiteral<"missing-required-child">, import("typebox").TLiteral<"forbidden-child">, import("typebox").TLiteral<"unexpected-child">]>;
356
+ message: import("typebox").TString;
357
+ severity: import("typebox").TUnion<[import("typebox").TLiteral<"error">, import("typebox").TLiteral<"advisory">]>;
358
+ baselined: import("typebox").TLiteral<false>;
359
+ }>>;
250
360
  }>]>>;
251
361
  }>]>>, object>;
252
362
  };
@@ -73,12 +73,79 @@ export declare const CompatibilityIndexSchema: Type.TObject<{
73
73
  schemaVersion: Type.TLiteral<2>;
74
74
  ownerRoots: Type.TRecord<"^.*$", Type.TString>;
75
75
  }>;
76
- /** Minimum TypeBox admission schema for an inert legacy rule manifest. */
77
- export declare const CompatibilityRuleSourceSchema: Type.TObject<{
76
+ /** Closed admission schema for the exact executable legacy rule subset. */
77
+ export declare const CompatibilityRuleSourceSchema: Type.TUnion<[Type.TObject<{
78
+ hookCheck: Type.TLiteral<true>;
79
+ runner: Type.TObject<{
80
+ name: Type.TLiteral<"grit">;
81
+ files: Type.TObject<{
82
+ pattern: Type.TString;
83
+ }>;
84
+ patternName: Type.TString;
85
+ acquisition: Type.TObject<{
86
+ kind: Type.TLiteral<"check">;
87
+ roots: Type.TArray<Type.TString>;
88
+ }>;
89
+ }>;
78
90
  schemaVersion: Type.TLiteral<2>;
79
91
  id: Type.TString;
92
+ title: Type.TString;
93
+ placement: Type.TObject<{
94
+ niche: Type.TString;
95
+ blueprint: Type.TString;
96
+ category: Type.TUnion<[Type.TLiteral<"boundary">, Type.TLiteral<"contract">, Type.TLiteral<"execution">, Type.TLiteral<"output">, Type.TLiteral<"policy">, Type.TLiteral<"quality">, Type.TLiteral<"structure">]>;
97
+ }>;
98
+ operation: Type.TObject<{
99
+ kind: Type.TLiteral<"check">;
100
+ }>;
80
101
  ownerProject: Type.TString;
81
- }>;
102
+ lane: Type.TLiteral<"enforced">;
103
+ forbids: Type.TString;
104
+ why: Type.TString;
105
+ remediate: Type.TString;
106
+ message: Type.TString;
107
+ pathCoverage: Type.TTuple<[Type.TObject<{
108
+ kind: Type.TLiteral<"exact-path">;
109
+ patterns: Type.TArray<Type.TString>;
110
+ }>]>;
111
+ supportFiles: Type.TObject<{
112
+ baseline: Type.TString;
113
+ }>;
114
+ }>, Type.TObject<{
115
+ runner: Type.TObject<{
116
+ name: Type.TLiteral<"habitat">;
117
+ mode: Type.TLiteral<"structure">;
118
+ files: Type.TObject<{
119
+ structure: Type.TString;
120
+ }>;
121
+ }>;
122
+ schemaVersion: Type.TLiteral<2>;
123
+ id: Type.TString;
124
+ title: Type.TString;
125
+ placement: Type.TObject<{
126
+ niche: Type.TString;
127
+ blueprint: Type.TString;
128
+ category: Type.TUnion<[Type.TLiteral<"boundary">, Type.TLiteral<"contract">, Type.TLiteral<"execution">, Type.TLiteral<"output">, Type.TLiteral<"policy">, Type.TLiteral<"quality">, Type.TLiteral<"structure">]>;
129
+ }>;
130
+ operation: Type.TObject<{
131
+ kind: Type.TLiteral<"check">;
132
+ }>;
133
+ ownerProject: Type.TString;
134
+ lane: Type.TLiteral<"enforced">;
135
+ forbids: Type.TString;
136
+ why: Type.TString;
137
+ remediate: Type.TString;
138
+ message: Type.TString;
139
+ pathCoverage: Type.TTuple<[Type.TObject<{
140
+ kind: Type.TLiteral<"exact-path">;
141
+ patterns: Type.TArray<Type.TString>;
142
+ }>]>;
143
+ supportFiles: Type.TObject<{
144
+ baseline: Type.TString;
145
+ }>;
146
+ }>]>;
147
+ /** Closed empty baseline admitted during compatibility resolution. */
148
+ export declare const CompatibilityBaselineSchema: Type.TTuple<[]>;
82
149
  /** Closed empty request; the service owns repository authority enumeration. */
83
150
  export declare const ResolveCatalogInputSchema: Type.TObject<{}>;
84
151
  /** Closed stable issue schema returned for expected admission failures. */
@@ -238,9 +305,59 @@ export declare const ResolveCatalogResultSchema: Type.TUnion<[Type.TObject<{
238
305
  schemaVersion: Type.TLiteral<2>;
239
306
  ownerRoots: Type.TRecord<"^.*$", Type.TString>;
240
307
  rules: Type.TArray<Type.TObject<{
241
- id: Type.TString;
308
+ ruleId: Type.TString;
242
309
  ownerProject: Type.TString;
243
310
  manifestPath: Type.TString;
311
+ lane: Type.TLiteral<"enforced">;
312
+ message: Type.TString;
313
+ remediate: Type.TUnion<[Type.TString, Type.TNull]>;
314
+ provenance: Type.TObject<{
315
+ kind: Type.TLiteral<"local">;
316
+ authorityRoot: Type.TString;
317
+ relativePath: Type.TString;
318
+ }>;
319
+ coveragePatterns: Type.TArray<Type.TString>;
320
+ baseline: Type.TObject<{
321
+ provenance: Type.TObject<{
322
+ kind: Type.TLiteral<"local">;
323
+ authorityRoot: Type.TString;
324
+ relativePath: Type.TString;
325
+ }>;
326
+ relativePath: Type.TString;
327
+ absolutePath: Type.TString;
328
+ }>;
329
+ runner: Type.TUnion<[Type.TObject<{
330
+ name: Type.TLiteral<"habitat">;
331
+ mode: Type.TLiteral<"structure">;
332
+ structure: Type.TObject<{
333
+ provenance: Type.TObject<{
334
+ kind: Type.TLiteral<"local">;
335
+ authorityRoot: Type.TString;
336
+ relativePath: Type.TString;
337
+ }>;
338
+ relativePath: Type.TString;
339
+ absolutePath: Type.TString;
340
+ }>;
341
+ }>, Type.TObject<{
342
+ name: Type.TLiteral<"grit">;
343
+ pattern: Type.TObject<{
344
+ provenance: Type.TObject<{
345
+ kind: Type.TLiteral<"local">;
346
+ authorityRoot: Type.TString;
347
+ relativePath: Type.TString;
348
+ }>;
349
+ relativePath: Type.TString;
350
+ absolutePath: Type.TString;
351
+ }>;
352
+ patternName: Type.TString;
353
+ acquisition: Type.TObject<{
354
+ kind: Type.TLiteral<"check">;
355
+ entries: Type.TArray<Type.TObject<{
356
+ kind: Type.TUnion<[Type.TLiteral<"directory">, Type.TLiteral<"file">]>;
357
+ path: Type.TString;
358
+ }>>;
359
+ }>;
360
+ }>]>;
244
361
  }>>;
245
362
  }>;
246
363
  }>;
@@ -262,8 +379,10 @@ export type PolicyPackManifest = Static<typeof PolicyPackManifestSchema>;
262
379
  export type HabitatInstanceManifest = Static<typeof HabitatInstanceManifestSchema>;
263
380
  /** One validated inert compatibility index. */
264
381
  export type CompatibilityIndex = Static<typeof CompatibilityIndexSchema>;
265
- /** One validated inert compatibility rule source identity. */
382
+ /** One validated executable compatibility rule source. */
266
383
  export type CompatibilityRuleSource = Static<typeof CompatibilityRuleSourceSchema>;
384
+ /** Empty admitted compatibility baseline. */
385
+ export type CompatibilityBaseline = Static<typeof CompatibilityBaselineSchema>;
267
386
  /** Caller request for one catalog resolution. */
268
387
  export type ResolveCatalogInput = Static<typeof ResolveCatalogInputSchema>;
269
388
  /** Public resolved/rejected catalog outcome. */