@c4a/context 0.7.1 → 0.7.5

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 (119) hide show
  1. package/README.md +67 -171
  2. package/README.zh-CN.md +53 -130
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -428
  6. package/docs/guides/agent-guide.md +104 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +38 -13
  8. package/docs/guides/indexer-provider-and-customization.md +32 -20
  9. package/docs/guides/markdown-indexer-skill-authoring.md +22 -13
  10. package/docs/reference/code-extractors.md +29 -121
  11. package/docs/reference/indexer-provider-protocol.md +43 -110
  12. package/docs/reference/package-templates.md +2 -3
  13. package/docs/reference/project-api.md +52 -986
  14. package/index.d.ts +10 -8
  15. package/index.js +13132 -15249
  16. package/indexerAgentStepProtocol.d.ts +1326 -8429
  17. package/indexerArtifact.d.ts +225 -0
  18. package/indexerArtifactDependencies.d.ts +43 -39
  19. package/indexerArtifactResult.d.ts +219 -252
  20. package/indexerAuthorizedWorksetView.d.ts +368 -0
  21. package/indexerBaseQuestionAmendment.d.ts +484 -280
  22. package/indexerBenchmark.d.ts +16 -16
  23. package/indexerCandidateCompile.d.ts +66 -60
  24. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  25. package/indexerCatalogFallback.d.ts +122 -128
  26. package/indexerCollectionMapping.d.ts +13 -13
  27. package/indexerCompositionFactDependencies.d.ts +16 -0
  28. package/indexerContentLayers.d.ts +8 -8
  29. package/indexerContractOverlay.d.ts +10 -10
  30. package/indexerControlledInvocation.d.ts +12 -12
  31. package/indexerControlledProgram.d.ts +2467 -2797
  32. package/indexerCoreExports.d.ts +6 -6
  33. package/indexerCustomizationDraft.d.ts +3315 -2091
  34. package/indexerCustomizationLadder.d.ts +2 -2
  35. package/indexerDependencyView.d.ts +108 -108
  36. package/indexerEffectiveArtifact.d.ts +1134 -0
  37. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  38. package/indexerEvidenceAdapterResult.d.ts +52 -52
  39. package/indexerExampleDecision.d.ts +128 -128
  40. package/indexerExampleIdentity.d.ts +6 -6
  41. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  42. package/indexerIncrementalImpact.d.ts +16 -16
  43. package/indexerInspectorWorksetProjection.d.ts +6 -0
  44. package/indexerInventoryDisposition.d.ts +70 -70
  45. package/indexerLayerComposition.d.ts +2139 -373
  46. package/indexerLayoutChange.d.ts +10 -10
  47. package/indexerLayoutProposalSet.d.ts +71 -66
  48. package/indexerLayoutResolver.d.ts +53 -48
  49. package/indexerLayoutTransition.d.ts +0 -50
  50. package/indexerLifecycle.d.ts +0 -13
  51. package/indexerMainLifecycle.d.ts +10 -0
  52. package/indexerMainRunLedger.d.ts +142 -11
  53. package/indexerMainRunProtocol.d.ts +1406 -785
  54. package/indexerMainWorkset.d.ts +460 -206
  55. package/indexerMaterialGapLedger.d.ts +13 -2904
  56. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  57. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  58. package/indexerParserCapabilityCatalog.d.ts +136 -0
  59. package/indexerParserCoordinate.d.ts +16 -16
  60. package/indexerParserDependencyIntent.d.ts +22 -0
  61. package/indexerParserExecutionPlan.d.ts +388 -0
  62. package/indexerParserFactView.d.ts +42 -22
  63. package/indexerPartitionConvergence.d.ts +0 -3
  64. package/indexerPartitionInventory.d.ts +2 -0
  65. package/indexerPartitionPlan.d.ts +101 -99
  66. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  67. package/indexerPostAuthorComposition.d.ts +116 -1156
  68. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  69. package/indexerPrimaryProjection.d.ts +10 -10
  70. package/indexerPrimaryResultView.d.ts +435 -0
  71. package/indexerProfileContract.d.ts +181 -181
  72. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  73. package/indexerProgramRunProtocol.d.ts +2141 -2749
  74. package/indexerProjectProposal.d.ts +496 -292
  75. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  76. package/indexerProtocolCommon.d.ts +4 -1
  77. package/indexerProvider.d.ts +134 -218
  78. package/indexerProviderComposition.d.ts +53 -53
  79. package/indexerProviderResolution.d.ts +12 -12
  80. package/indexerProviderResolutionAction.d.ts +14 -14
  81. package/indexerProviderRouting.d.ts +923 -515
  82. package/indexerProviderSelectionProposal.d.ts +893 -485
  83. package/indexerQuestionAuthority.d.ts +46 -47
  84. package/indexerReaderTargetInventory.d.ts +8 -8
  85. package/indexerRegistry.d.ts +765 -357
  86. package/indexerRequirementConfirmation.d.ts +98 -98
  87. package/indexerRequirementLifecycle.d.ts +224 -224
  88. package/indexerResultReconciliation.d.ts +204 -5919
  89. package/indexerResultReconciliationRun.d.ts +0 -1
  90. package/indexerRunEnvelope.d.ts +20 -20
  91. package/indexerSemanticInput.d.ts +5794 -0
  92. package/indexerStructuredDeclaration.d.ts +57 -53
  93. package/indexerSubjectCatalog.d.ts +14 -14
  94. package/indexerSubjectIdentity.d.ts +2 -2
  95. package/indexerSubjectKeyAuthority.d.ts +31 -30
  96. package/indexerTemplateRendering.d.ts +64 -64
  97. package/indexerToolSnapshot.d.ts +8 -8
  98. package/package.json +1 -1
  99. package/phases.d.ts +3 -183
  100. package/codeIndexPlan.d.ts +0 -158
  101. package/indexerAuditFacts.d.ts +0 -66
  102. package/indexerAuditOverrideReadiness.d.ts +0 -27
  103. package/indexerAuditProtocol.d.ts +0 -238
  104. package/indexerAuditRevision.d.ts +0 -726
  105. package/indexerAuditRevisionActions.d.ts +0 -236
  106. package/indexerMaterialAnswer.d.ts +0 -738
  107. package/indexerMaterialAnswerActualization.d.ts +0 -91
  108. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  109. package/indexerMaterialAnswerFlow.d.ts +0 -63
  110. package/indexerMaterialAnswerLayout.d.ts +0 -76
  111. package/indexerMaterialAnswerReview.d.ts +0 -217
  112. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  113. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  114. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  115. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  116. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  117. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  118. package/indexerProfileMetricAudit.d.ts +0 -218
  119. package/indexerWorksetRead.d.ts +0 -287
@@ -19,13 +19,13 @@ export declare const indexerDependencyTargetSchema: z.ZodDiscriminatedUnion<"lev
19
19
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
20
20
  section_key: z.ZodEffects<z.ZodString, string, string>;
21
21
  }, "strict", z.ZodTypeAny, {
22
+ section_key: string;
22
23
  artifact_kind: string;
23
24
  level: "section";
24
- section_key: string;
25
25
  }, {
26
+ section_key: string;
26
27
  artifact_kind: string;
27
28
  level: "section";
28
- section_key: string;
29
29
  }>]>;
30
30
  export type IndexerDependencyTarget = z.infer<typeof indexerDependencyTargetSchema>;
31
31
  export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.ZodObject<{
@@ -75,13 +75,13 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
75
75
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
76
76
  section_key: z.ZodEffects<z.ZodString, string, string>;
77
77
  }, "strict", z.ZodTypeAny, {
78
+ section_key: string;
78
79
  artifact_kind: string;
79
80
  level: "section";
80
- section_key: string;
81
81
  }, {
82
+ section_key: string;
82
83
  artifact_kind: string;
83
84
  level: "section";
84
- section_key: string;
85
85
  }>]>, "many">;
86
86
  }, "strict", z.ZodTypeAny, {
87
87
  kind: "source-span";
@@ -92,17 +92,17 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
92
92
  artifact_kind: string;
93
93
  level: "artifact-kind";
94
94
  } | {
95
+ section_key: string;
95
96
  artifact_kind: string;
96
97
  level: "section";
97
- section_key: string;
98
98
  })[];
99
99
  locator: {
100
100
  path: string;
101
101
  start_line: number;
102
102
  end_line: number;
103
103
  };
104
- module_ref: string | null;
105
104
  content_digest: string;
105
+ module_ref: string | null;
106
106
  evidence_ref: string;
107
107
  }, {
108
108
  kind: "source-span";
@@ -113,17 +113,17 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
113
113
  artifact_kind: string;
114
114
  level: "artifact-kind";
115
115
  } | {
116
+ section_key: string;
116
117
  artifact_kind: string;
117
118
  level: "section";
118
- section_key: string;
119
119
  })[];
120
120
  locator: {
121
121
  path: string;
122
122
  start_line: number;
123
123
  end_line: number;
124
124
  };
125
- module_ref: string | null;
126
125
  content_digest: string;
126
+ module_ref: string | null;
127
127
  evidence_ref: string;
128
128
  }>, z.ZodObject<{
129
129
  kind: z.ZodLiteral<"selected-fact">;
@@ -150,13 +150,13 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
150
150
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
151
151
  section_key: z.ZodEffects<z.ZodString, string, string>;
152
152
  }, "strict", z.ZodTypeAny, {
153
+ section_key: string;
153
154
  artifact_kind: string;
154
155
  level: "section";
155
- section_key: string;
156
156
  }, {
157
+ section_key: string;
157
158
  artifact_kind: string;
158
159
  level: "section";
159
- section_key: string;
160
160
  }>]>, "many">;
161
161
  }, "strict", z.ZodTypeAny, {
162
162
  kind: "selected-fact";
@@ -166,9 +166,9 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
166
166
  artifact_kind: string;
167
167
  level: "artifact-kind";
168
168
  } | {
169
+ section_key: string;
169
170
  artifact_kind: string;
170
171
  level: "section";
171
- section_key: string;
172
172
  })[];
173
173
  fact_ref: string;
174
174
  fact_digest: string;
@@ -181,9 +181,9 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
181
181
  artifact_kind: string;
182
182
  level: "artifact-kind";
183
183
  } | {
184
+ section_key: string;
184
185
  artifact_kind: string;
185
186
  level: "section";
186
- section_key: string;
187
187
  })[];
188
188
  fact_ref: string;
189
189
  fact_digest: string;
@@ -212,13 +212,13 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
212
212
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
213
213
  section_key: z.ZodEffects<z.ZodString, string, string>;
214
214
  }, "strict", z.ZodTypeAny, {
215
+ section_key: string;
215
216
  artifact_kind: string;
216
217
  level: "section";
217
- section_key: string;
218
218
  }, {
219
+ section_key: string;
219
220
  artifact_kind: string;
220
221
  level: "section";
221
- section_key: string;
222
222
  }>]>, "many">;
223
223
  }, "strict", z.ZodTypeAny, {
224
224
  kind: "logical-unit";
@@ -228,9 +228,9 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
228
228
  artifact_kind: string;
229
229
  level: "artifact-kind";
230
230
  } | {
231
+ section_key: string;
231
232
  artifact_kind: string;
232
233
  level: "section";
233
- section_key: string;
234
234
  })[];
235
235
  logical_unit_ref: string;
236
236
  group_projection_digest: string;
@@ -242,9 +242,9 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
242
242
  artifact_kind: string;
243
243
  level: "artifact-kind";
244
244
  } | {
245
+ section_key: string;
245
246
  artifact_kind: string;
246
247
  level: "section";
247
- section_key: string;
248
248
  })[];
249
249
  logical_unit_ref: string;
250
250
  group_projection_digest: string;
@@ -272,13 +272,13 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
272
272
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
273
273
  section_key: z.ZodEffects<z.ZodString, string, string>;
274
274
  }, "strict", z.ZodTypeAny, {
275
+ section_key: string;
275
276
  artifact_kind: string;
276
277
  level: "section";
277
- section_key: string;
278
278
  }, {
279
+ section_key: string;
279
280
  artifact_kind: string;
280
281
  level: "section";
281
- section_key: string;
282
282
  }>]>, "many">;
283
283
  }, "strict", z.ZodTypeAny, {
284
284
  kind: "template-policy-fragment" | "contract-metric";
@@ -288,12 +288,12 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
288
288
  artifact_kind: string;
289
289
  level: "artifact-kind";
290
290
  } | {
291
+ section_key: string;
291
292
  artifact_kind: string;
292
293
  level: "section";
293
- section_key: string;
294
294
  })[];
295
- target_ref: string;
296
295
  content_digest: string;
296
+ target_ref: string;
297
297
  }, {
298
298
  kind: "template-policy-fragment" | "contract-metric";
299
299
  targets: ({
@@ -302,12 +302,12 @@ export declare const indexerPositiveDependencyNodeInputSchema: z.ZodUnion<[z.Zod
302
302
  artifact_kind: string;
303
303
  level: "artifact-kind";
304
304
  } | {
305
+ section_key: string;
305
306
  artifact_kind: string;
306
307
  level: "section";
307
- section_key: string;
308
308
  })[];
309
- target_ref: string;
310
309
  content_digest: string;
310
+ target_ref: string;
311
311
  }>]>;
312
312
  export declare const indexerNegativeDependencyNodeInputSchema: z.ZodObject<{
313
313
  kind: z.ZodEnum<["group-input-set", "directory-membership", "export-set", "route-set", "candidate-pool", "precedence-winner", "absence-assertion"]>;
@@ -333,13 +333,13 @@ export declare const indexerNegativeDependencyNodeInputSchema: z.ZodObject<{
333
333
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
334
334
  section_key: z.ZodEffects<z.ZodString, string, string>;
335
335
  }, "strict", z.ZodTypeAny, {
336
+ section_key: string;
336
337
  artifact_kind: string;
337
338
  level: "section";
338
- section_key: string;
339
339
  }, {
340
+ section_key: string;
340
341
  artifact_kind: string;
341
342
  level: "section";
342
- section_key: string;
343
343
  }>]>, "many">;
344
344
  }, "strict", z.ZodTypeAny, {
345
345
  kind: "group-input-set" | "directory-membership" | "export-set" | "route-set" | "candidate-pool" | "precedence-winner" | "absence-assertion";
@@ -349,9 +349,9 @@ export declare const indexerNegativeDependencyNodeInputSchema: z.ZodObject<{
349
349
  artifact_kind: string;
350
350
  level: "artifact-kind";
351
351
  } | {
352
+ section_key: string;
352
353
  artifact_kind: string;
353
354
  level: "section";
354
- section_key: string;
355
355
  })[];
356
356
  scope_ref: string;
357
357
  set_digest: string;
@@ -363,9 +363,9 @@ export declare const indexerNegativeDependencyNodeInputSchema: z.ZodObject<{
363
363
  artifact_kind: string;
364
364
  level: "artifact-kind";
365
365
  } | {
366
+ section_key: string;
366
367
  artifact_kind: string;
367
368
  level: "section";
368
- section_key: string;
369
369
  })[];
370
370
  scope_ref: string;
371
371
  set_digest: string;
@@ -417,13 +417,13 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
417
417
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
418
418
  section_key: z.ZodEffects<z.ZodString, string, string>;
419
419
  }, "strict", z.ZodTypeAny, {
420
+ section_key: string;
420
421
  artifact_kind: string;
421
422
  level: "section";
422
- section_key: string;
423
423
  }, {
424
+ section_key: string;
424
425
  artifact_kind: string;
425
426
  level: "section";
426
- section_key: string;
427
427
  }>]>, "many">;
428
428
  } & {
429
429
  node_ref: z.ZodString;
@@ -436,17 +436,17 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
436
436
  artifact_kind: string;
437
437
  level: "artifact-kind";
438
438
  } | {
439
+ section_key: string;
439
440
  artifact_kind: string;
440
441
  level: "section";
441
- section_key: string;
442
442
  })[];
443
443
  locator: {
444
444
  path: string;
445
445
  start_line: number;
446
446
  end_line: number;
447
447
  };
448
- module_ref: string | null;
449
448
  content_digest: string;
449
+ module_ref: string | null;
450
450
  node_ref: string;
451
451
  evidence_ref: string;
452
452
  }, {
@@ -458,17 +458,17 @@ export declare const indexerSourceSpanDependencyNodeSchema: z.ZodObject<{
458
458
  artifact_kind: string;
459
459
  level: "artifact-kind";
460
460
  } | {
461
+ section_key: string;
461
462
  artifact_kind: string;
462
463
  level: "section";
463
- section_key: string;
464
464
  })[];
465
465
  locator: {
466
466
  path: string;
467
467
  start_line: number;
468
468
  end_line: number;
469
469
  };
470
- module_ref: string | null;
471
470
  content_digest: string;
471
+ module_ref: string | null;
472
472
  node_ref: string;
473
473
  evidence_ref: string;
474
474
  }>;
@@ -497,13 +497,13 @@ export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
497
497
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
498
498
  section_key: z.ZodEffects<z.ZodString, string, string>;
499
499
  }, "strict", z.ZodTypeAny, {
500
+ section_key: string;
500
501
  artifact_kind: string;
501
502
  level: "section";
502
- section_key: string;
503
503
  }, {
504
+ section_key: string;
504
505
  artifact_kind: string;
505
506
  level: "section";
506
- section_key: string;
507
507
  }>]>, "many">;
508
508
  } & {
509
509
  node_ref: z.ZodString;
@@ -515,9 +515,9 @@ export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
515
515
  artifact_kind: string;
516
516
  level: "artifact-kind";
517
517
  } | {
518
+ section_key: string;
518
519
  artifact_kind: string;
519
520
  level: "section";
520
- section_key: string;
521
521
  })[];
522
522
  fact_ref: string;
523
523
  node_ref: string;
@@ -531,9 +531,9 @@ export declare const indexerSelectedFactDependencyNodeSchema: z.ZodObject<{
531
531
  artifact_kind: string;
532
532
  level: "artifact-kind";
533
533
  } | {
534
+ section_key: string;
534
535
  artifact_kind: string;
535
536
  level: "section";
536
- section_key: string;
537
537
  })[];
538
538
  fact_ref: string;
539
539
  node_ref: string;
@@ -564,13 +564,13 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
564
564
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
565
565
  section_key: z.ZodEffects<z.ZodString, string, string>;
566
566
  }, "strict", z.ZodTypeAny, {
567
+ section_key: string;
567
568
  artifact_kind: string;
568
569
  level: "section";
569
- section_key: string;
570
570
  }, {
571
+ section_key: string;
571
572
  artifact_kind: string;
572
573
  level: "section";
573
- section_key: string;
574
574
  }>]>, "many">;
575
575
  } & {
576
576
  node_ref: z.ZodString;
@@ -582,9 +582,9 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
582
582
  artifact_kind: string;
583
583
  level: "artifact-kind";
584
584
  } | {
585
+ section_key: string;
585
586
  artifact_kind: string;
586
587
  level: "section";
587
- section_key: string;
588
588
  })[];
589
589
  logical_unit_ref: string;
590
590
  node_ref: string;
@@ -597,9 +597,9 @@ export declare const indexerLogicalUnitDependencyNodeSchema: z.ZodObject<{
597
597
  artifact_kind: string;
598
598
  level: "artifact-kind";
599
599
  } | {
600
+ section_key: string;
600
601
  artifact_kind: string;
601
602
  level: "section";
602
- section_key: string;
603
603
  })[];
604
604
  logical_unit_ref: string;
605
605
  node_ref: string;
@@ -629,13 +629,13 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
629
629
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
630
630
  section_key: z.ZodEffects<z.ZodString, string, string>;
631
631
  }, "strict", z.ZodTypeAny, {
632
+ section_key: string;
632
633
  artifact_kind: string;
633
634
  level: "section";
634
- section_key: string;
635
635
  }, {
636
+ section_key: string;
636
637
  artifact_kind: string;
637
638
  level: "section";
638
- section_key: string;
639
639
  }>]>, "many">;
640
640
  } & {
641
641
  node_ref: z.ZodString;
@@ -647,12 +647,12 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
647
647
  artifact_kind: string;
648
648
  level: "artifact-kind";
649
649
  } | {
650
+ section_key: string;
650
651
  artifact_kind: string;
651
652
  level: "section";
652
- section_key: string;
653
653
  })[];
654
- target_ref: string;
655
654
  content_digest: string;
655
+ target_ref: string;
656
656
  node_ref: string;
657
657
  }, {
658
658
  kind: "template-policy-fragment" | "contract-metric";
@@ -662,12 +662,12 @@ export declare const indexerResourceDependencyNodeSchema: z.ZodObject<{
662
662
  artifact_kind: string;
663
663
  level: "artifact-kind";
664
664
  } | {
665
+ section_key: string;
665
666
  artifact_kind: string;
666
667
  level: "section";
667
- section_key: string;
668
668
  })[];
669
- target_ref: string;
670
669
  content_digest: string;
670
+ target_ref: string;
671
671
  node_ref: string;
672
672
  }>;
673
673
  export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObject<{
@@ -717,13 +717,13 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
717
717
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
718
718
  section_key: z.ZodEffects<z.ZodString, string, string>;
719
719
  }, "strict", z.ZodTypeAny, {
720
+ section_key: string;
720
721
  artifact_kind: string;
721
722
  level: "section";
722
- section_key: string;
723
723
  }, {
724
+ section_key: string;
724
725
  artifact_kind: string;
725
726
  level: "section";
726
- section_key: string;
727
727
  }>]>, "many">;
728
728
  } & {
729
729
  node_ref: z.ZodString;
@@ -736,17 +736,17 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
736
736
  artifact_kind: string;
737
737
  level: "artifact-kind";
738
738
  } | {
739
+ section_key: string;
739
740
  artifact_kind: string;
740
741
  level: "section";
741
- section_key: string;
742
742
  })[];
743
743
  locator: {
744
744
  path: string;
745
745
  start_line: number;
746
746
  end_line: number;
747
747
  };
748
- module_ref: string | null;
749
748
  content_digest: string;
749
+ module_ref: string | null;
750
750
  node_ref: string;
751
751
  evidence_ref: string;
752
752
  }, {
@@ -758,17 +758,17 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
758
758
  artifact_kind: string;
759
759
  level: "artifact-kind";
760
760
  } | {
761
+ section_key: string;
761
762
  artifact_kind: string;
762
763
  level: "section";
763
- section_key: string;
764
764
  })[];
765
765
  locator: {
766
766
  path: string;
767
767
  start_line: number;
768
768
  end_line: number;
769
769
  };
770
- module_ref: string | null;
771
770
  content_digest: string;
771
+ module_ref: string | null;
772
772
  node_ref: string;
773
773
  evidence_ref: string;
774
774
  }>, z.ZodObject<{
@@ -796,13 +796,13 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
796
796
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
797
797
  section_key: z.ZodEffects<z.ZodString, string, string>;
798
798
  }, "strict", z.ZodTypeAny, {
799
+ section_key: string;
799
800
  artifact_kind: string;
800
801
  level: "section";
801
- section_key: string;
802
802
  }, {
803
+ section_key: string;
803
804
  artifact_kind: string;
804
805
  level: "section";
805
- section_key: string;
806
806
  }>]>, "many">;
807
807
  } & {
808
808
  node_ref: z.ZodString;
@@ -814,9 +814,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
814
814
  artifact_kind: string;
815
815
  level: "artifact-kind";
816
816
  } | {
817
+ section_key: string;
817
818
  artifact_kind: string;
818
819
  level: "section";
819
- section_key: string;
820
820
  })[];
821
821
  fact_ref: string;
822
822
  node_ref: string;
@@ -830,9 +830,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
830
830
  artifact_kind: string;
831
831
  level: "artifact-kind";
832
832
  } | {
833
+ section_key: string;
833
834
  artifact_kind: string;
834
835
  level: "section";
835
- section_key: string;
836
836
  })[];
837
837
  fact_ref: string;
838
838
  node_ref: string;
@@ -862,13 +862,13 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
862
862
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
863
863
  section_key: z.ZodEffects<z.ZodString, string, string>;
864
864
  }, "strict", z.ZodTypeAny, {
865
+ section_key: string;
865
866
  artifact_kind: string;
866
867
  level: "section";
867
- section_key: string;
868
868
  }, {
869
+ section_key: string;
869
870
  artifact_kind: string;
870
871
  level: "section";
871
- section_key: string;
872
872
  }>]>, "many">;
873
873
  } & {
874
874
  node_ref: z.ZodString;
@@ -880,9 +880,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
880
880
  artifact_kind: string;
881
881
  level: "artifact-kind";
882
882
  } | {
883
+ section_key: string;
883
884
  artifact_kind: string;
884
885
  level: "section";
885
- section_key: string;
886
886
  })[];
887
887
  logical_unit_ref: string;
888
888
  node_ref: string;
@@ -895,9 +895,9 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
895
895
  artifact_kind: string;
896
896
  level: "artifact-kind";
897
897
  } | {
898
+ section_key: string;
898
899
  artifact_kind: string;
899
900
  level: "section";
900
- section_key: string;
901
901
  })[];
902
902
  logical_unit_ref: string;
903
903
  node_ref: string;
@@ -926,13 +926,13 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
926
926
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
927
927
  section_key: z.ZodEffects<z.ZodString, string, string>;
928
928
  }, "strict", z.ZodTypeAny, {
929
+ section_key: string;
929
930
  artifact_kind: string;
930
931
  level: "section";
931
- section_key: string;
932
932
  }, {
933
+ section_key: string;
933
934
  artifact_kind: string;
934
935
  level: "section";
935
- section_key: string;
936
936
  }>]>, "many">;
937
937
  } & {
938
938
  node_ref: z.ZodString;
@@ -944,12 +944,12 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
944
944
  artifact_kind: string;
945
945
  level: "artifact-kind";
946
946
  } | {
947
+ section_key: string;
947
948
  artifact_kind: string;
948
949
  level: "section";
949
- section_key: string;
950
950
  })[];
951
- target_ref: string;
952
951
  content_digest: string;
952
+ target_ref: string;
953
953
  node_ref: string;
954
954
  }, {
955
955
  kind: "template-policy-fragment" | "contract-metric";
@@ -959,12 +959,12 @@ export declare const indexerPositiveDependencyNodeSchema: z.ZodUnion<[z.ZodObjec
959
959
  artifact_kind: string;
960
960
  level: "artifact-kind";
961
961
  } | {
962
+ section_key: string;
962
963
  artifact_kind: string;
963
964
  level: "section";
964
- section_key: string;
965
965
  })[];
966
- target_ref: string;
967
966
  content_digest: string;
967
+ target_ref: string;
968
968
  node_ref: string;
969
969
  }>]>;
970
970
  export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
@@ -991,13 +991,13 @@ export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
991
991
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
992
992
  section_key: z.ZodEffects<z.ZodString, string, string>;
993
993
  }, "strict", z.ZodTypeAny, {
994
+ section_key: string;
994
995
  artifact_kind: string;
995
996
  level: "section";
996
- section_key: string;
997
997
  }, {
998
+ section_key: string;
998
999
  artifact_kind: string;
999
1000
  level: "section";
1000
- section_key: string;
1001
1001
  }>]>, "many">;
1002
1002
  } & {
1003
1003
  node_ref: z.ZodString;
@@ -1009,9 +1009,9 @@ export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
1009
1009
  artifact_kind: string;
1010
1010
  level: "artifact-kind";
1011
1011
  } | {
1012
+ section_key: string;
1012
1013
  artifact_kind: string;
1013
1014
  level: "section";
1014
- section_key: string;
1015
1015
  })[];
1016
1016
  node_ref: string;
1017
1017
  scope_ref: string;
@@ -1024,9 +1024,9 @@ export declare const indexerNegativeDependencyNodeSchema: z.ZodObject<{
1024
1024
  artifact_kind: string;
1025
1025
  level: "artifact-kind";
1026
1026
  } | {
1027
+ section_key: string;
1027
1028
  artifact_kind: string;
1028
1029
  level: "section";
1029
- section_key: string;
1030
1030
  })[];
1031
1031
  node_ref: string;
1032
1032
  scope_ref: string;
@@ -1086,13 +1086,13 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1086
1086
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1087
1087
  section_key: z.ZodEffects<z.ZodString, string, string>;
1088
1088
  }, "strict", z.ZodTypeAny, {
1089
+ section_key: string;
1089
1090
  artifact_kind: string;
1090
1091
  level: "section";
1091
- section_key: string;
1092
1092
  }, {
1093
+ section_key: string;
1093
1094
  artifact_kind: string;
1094
1095
  level: "section";
1095
- section_key: string;
1096
1096
  }>]>, "many">;
1097
1097
  } & {
1098
1098
  node_ref: z.ZodString;
@@ -1105,17 +1105,17 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1105
1105
  artifact_kind: string;
1106
1106
  level: "artifact-kind";
1107
1107
  } | {
1108
+ section_key: string;
1108
1109
  artifact_kind: string;
1109
1110
  level: "section";
1110
- section_key: string;
1111
1111
  })[];
1112
1112
  locator: {
1113
1113
  path: string;
1114
1114
  start_line: number;
1115
1115
  end_line: number;
1116
1116
  };
1117
- module_ref: string | null;
1118
1117
  content_digest: string;
1118
+ module_ref: string | null;
1119
1119
  node_ref: string;
1120
1120
  evidence_ref: string;
1121
1121
  }, {
@@ -1127,17 +1127,17 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1127
1127
  artifact_kind: string;
1128
1128
  level: "artifact-kind";
1129
1129
  } | {
1130
+ section_key: string;
1130
1131
  artifact_kind: string;
1131
1132
  level: "section";
1132
- section_key: string;
1133
1133
  })[];
1134
1134
  locator: {
1135
1135
  path: string;
1136
1136
  start_line: number;
1137
1137
  end_line: number;
1138
1138
  };
1139
- module_ref: string | null;
1140
1139
  content_digest: string;
1140
+ module_ref: string | null;
1141
1141
  node_ref: string;
1142
1142
  evidence_ref: string;
1143
1143
  }>, z.ZodObject<{
@@ -1165,13 +1165,13 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1165
1165
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1166
1166
  section_key: z.ZodEffects<z.ZodString, string, string>;
1167
1167
  }, "strict", z.ZodTypeAny, {
1168
+ section_key: string;
1168
1169
  artifact_kind: string;
1169
1170
  level: "section";
1170
- section_key: string;
1171
1171
  }, {
1172
+ section_key: string;
1172
1173
  artifact_kind: string;
1173
1174
  level: "section";
1174
- section_key: string;
1175
1175
  }>]>, "many">;
1176
1176
  } & {
1177
1177
  node_ref: z.ZodString;
@@ -1183,9 +1183,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1183
1183
  artifact_kind: string;
1184
1184
  level: "artifact-kind";
1185
1185
  } | {
1186
+ section_key: string;
1186
1187
  artifact_kind: string;
1187
1188
  level: "section";
1188
- section_key: string;
1189
1189
  })[];
1190
1190
  fact_ref: string;
1191
1191
  node_ref: string;
@@ -1199,9 +1199,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1199
1199
  artifact_kind: string;
1200
1200
  level: "artifact-kind";
1201
1201
  } | {
1202
+ section_key: string;
1202
1203
  artifact_kind: string;
1203
1204
  level: "section";
1204
- section_key: string;
1205
1205
  })[];
1206
1206
  fact_ref: string;
1207
1207
  node_ref: string;
@@ -1231,13 +1231,13 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1231
1231
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1232
1232
  section_key: z.ZodEffects<z.ZodString, string, string>;
1233
1233
  }, "strict", z.ZodTypeAny, {
1234
+ section_key: string;
1234
1235
  artifact_kind: string;
1235
1236
  level: "section";
1236
- section_key: string;
1237
1237
  }, {
1238
+ section_key: string;
1238
1239
  artifact_kind: string;
1239
1240
  level: "section";
1240
- section_key: string;
1241
1241
  }>]>, "many">;
1242
1242
  } & {
1243
1243
  node_ref: z.ZodString;
@@ -1249,9 +1249,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1249
1249
  artifact_kind: string;
1250
1250
  level: "artifact-kind";
1251
1251
  } | {
1252
+ section_key: string;
1252
1253
  artifact_kind: string;
1253
1254
  level: "section";
1254
- section_key: string;
1255
1255
  })[];
1256
1256
  logical_unit_ref: string;
1257
1257
  node_ref: string;
@@ -1264,9 +1264,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1264
1264
  artifact_kind: string;
1265
1265
  level: "artifact-kind";
1266
1266
  } | {
1267
+ section_key: string;
1267
1268
  artifact_kind: string;
1268
1269
  level: "section";
1269
- section_key: string;
1270
1270
  })[];
1271
1271
  logical_unit_ref: string;
1272
1272
  node_ref: string;
@@ -1295,13 +1295,13 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1295
1295
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1296
1296
  section_key: z.ZodEffects<z.ZodString, string, string>;
1297
1297
  }, "strict", z.ZodTypeAny, {
1298
+ section_key: string;
1298
1299
  artifact_kind: string;
1299
1300
  level: "section";
1300
- section_key: string;
1301
1301
  }, {
1302
+ section_key: string;
1302
1303
  artifact_kind: string;
1303
1304
  level: "section";
1304
- section_key: string;
1305
1305
  }>]>, "many">;
1306
1306
  } & {
1307
1307
  node_ref: z.ZodString;
@@ -1313,12 +1313,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1313
1313
  artifact_kind: string;
1314
1314
  level: "artifact-kind";
1315
1315
  } | {
1316
+ section_key: string;
1316
1317
  artifact_kind: string;
1317
1318
  level: "section";
1318
- section_key: string;
1319
1319
  })[];
1320
- target_ref: string;
1321
1320
  content_digest: string;
1321
+ target_ref: string;
1322
1322
  node_ref: string;
1323
1323
  }, {
1324
1324
  kind: "template-policy-fragment" | "contract-metric";
@@ -1328,12 +1328,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1328
1328
  artifact_kind: string;
1329
1329
  level: "artifact-kind";
1330
1330
  } | {
1331
+ section_key: string;
1331
1332
  artifact_kind: string;
1332
1333
  level: "section";
1333
- section_key: string;
1334
1334
  })[];
1335
- target_ref: string;
1336
1335
  content_digest: string;
1336
+ target_ref: string;
1337
1337
  node_ref: string;
1338
1338
  }>]>, "many">;
1339
1339
  negative_nodes: z.ZodArray<z.ZodObject<{
@@ -1360,13 +1360,13 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1360
1360
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1361
1361
  section_key: z.ZodEffects<z.ZodString, string, string>;
1362
1362
  }, "strict", z.ZodTypeAny, {
1363
+ section_key: string;
1363
1364
  artifact_kind: string;
1364
1365
  level: "section";
1365
- section_key: string;
1366
1366
  }, {
1367
+ section_key: string;
1367
1368
  artifact_kind: string;
1368
1369
  level: "section";
1369
- section_key: string;
1370
1370
  }>]>, "many">;
1371
1371
  } & {
1372
1372
  node_ref: z.ZodString;
@@ -1378,9 +1378,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1378
1378
  artifact_kind: string;
1379
1379
  level: "artifact-kind";
1380
1380
  } | {
1381
+ section_key: string;
1381
1382
  artifact_kind: string;
1382
1383
  level: "section";
1383
- section_key: string;
1384
1384
  })[];
1385
1385
  node_ref: string;
1386
1386
  scope_ref: string;
@@ -1393,9 +1393,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1393
1393
  artifact_kind: string;
1394
1394
  level: "artifact-kind";
1395
1395
  } | {
1396
+ section_key: string;
1396
1397
  artifact_kind: string;
1397
1398
  level: "section";
1398
- section_key: string;
1399
1399
  })[];
1400
1400
  node_ref: string;
1401
1401
  scope_ref: string;
@@ -1418,17 +1418,17 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1418
1418
  artifact_kind: string;
1419
1419
  level: "artifact-kind";
1420
1420
  } | {
1421
+ section_key: string;
1421
1422
  artifact_kind: string;
1422
1423
  level: "section";
1423
- section_key: string;
1424
1424
  })[];
1425
1425
  locator: {
1426
1426
  path: string;
1427
1427
  start_line: number;
1428
1428
  end_line: number;
1429
1429
  };
1430
- module_ref: string | null;
1431
1430
  content_digest: string;
1431
+ module_ref: string | null;
1432
1432
  node_ref: string;
1433
1433
  evidence_ref: string;
1434
1434
  } | {
@@ -1439,9 +1439,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1439
1439
  artifact_kind: string;
1440
1440
  level: "artifact-kind";
1441
1441
  } | {
1442
+ section_key: string;
1442
1443
  artifact_kind: string;
1443
1444
  level: "section";
1444
- section_key: string;
1445
1445
  })[];
1446
1446
  fact_ref: string;
1447
1447
  node_ref: string;
@@ -1455,9 +1455,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1455
1455
  artifact_kind: string;
1456
1456
  level: "artifact-kind";
1457
1457
  } | {
1458
+ section_key: string;
1458
1459
  artifact_kind: string;
1459
1460
  level: "section";
1460
- section_key: string;
1461
1461
  })[];
1462
1462
  logical_unit_ref: string;
1463
1463
  node_ref: string;
@@ -1470,12 +1470,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1470
1470
  artifact_kind: string;
1471
1471
  level: "artifact-kind";
1472
1472
  } | {
1473
+ section_key: string;
1473
1474
  artifact_kind: string;
1474
1475
  level: "section";
1475
- section_key: string;
1476
1476
  })[];
1477
- target_ref: string;
1478
1477
  content_digest: string;
1478
+ target_ref: string;
1479
1479
  node_ref: string;
1480
1480
  })[];
1481
1481
  negative_nodes: {
@@ -1486,9 +1486,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1486
1486
  artifact_kind: string;
1487
1487
  level: "artifact-kind";
1488
1488
  } | {
1489
+ section_key: string;
1489
1490
  artifact_kind: string;
1490
1491
  level: "section";
1491
- section_key: string;
1492
1492
  })[];
1493
1493
  node_ref: string;
1494
1494
  scope_ref: string;
@@ -1509,17 +1509,17 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1509
1509
  artifact_kind: string;
1510
1510
  level: "artifact-kind";
1511
1511
  } | {
1512
+ section_key: string;
1512
1513
  artifact_kind: string;
1513
1514
  level: "section";
1514
- section_key: string;
1515
1515
  })[];
1516
1516
  locator: {
1517
1517
  path: string;
1518
1518
  start_line: number;
1519
1519
  end_line: number;
1520
1520
  };
1521
- module_ref: string | null;
1522
1521
  content_digest: string;
1522
+ module_ref: string | null;
1523
1523
  node_ref: string;
1524
1524
  evidence_ref: string;
1525
1525
  } | {
@@ -1530,9 +1530,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1530
1530
  artifact_kind: string;
1531
1531
  level: "artifact-kind";
1532
1532
  } | {
1533
+ section_key: string;
1533
1534
  artifact_kind: string;
1534
1535
  level: "section";
1535
- section_key: string;
1536
1536
  })[];
1537
1537
  fact_ref: string;
1538
1538
  node_ref: string;
@@ -1546,9 +1546,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1546
1546
  artifact_kind: string;
1547
1547
  level: "artifact-kind";
1548
1548
  } | {
1549
+ section_key: string;
1549
1550
  artifact_kind: string;
1550
1551
  level: "section";
1551
- section_key: string;
1552
1552
  })[];
1553
1553
  logical_unit_ref: string;
1554
1554
  node_ref: string;
@@ -1561,12 +1561,12 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1561
1561
  artifact_kind: string;
1562
1562
  level: "artifact-kind";
1563
1563
  } | {
1564
+ section_key: string;
1564
1565
  artifact_kind: string;
1565
1566
  level: "section";
1566
- section_key: string;
1567
1567
  })[];
1568
- target_ref: string;
1569
1568
  content_digest: string;
1569
+ target_ref: string;
1570
1570
  node_ref: string;
1571
1571
  })[];
1572
1572
  negative_nodes: {
@@ -1577,9 +1577,9 @@ export declare const indexerAuthorDependencyViewSchema: z.ZodObject<{
1577
1577
  artifact_kind: string;
1578
1578
  level: "artifact-kind";
1579
1579
  } | {
1580
+ section_key: string;
1580
1581
  artifact_kind: string;
1581
1582
  level: "section";
1582
- section_key: string;
1583
1583
  })[];
1584
1584
  node_ref: string;
1585
1585
  scope_ref: string;