@c4a/context 0.6.19 → 0.7.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 (120) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/codeIndexPlan.d.ts +34 -0
  4. package/docs/README.md +7 -0
  5. package/docs/README.zh-CN.md +5 -0
  6. package/docs/guides/code-indexer-skill-authoring.md +124 -0
  7. package/docs/guides/indexer-provider-and-customization.md +140 -0
  8. package/docs/guides/markdown-indexer-skill-authoring.md +118 -0
  9. package/docs/reference/code-extractors.md +2 -2
  10. package/docs/reference/indexer-provider-protocol.md +819 -0
  11. package/docs/reference/project-api.md +2 -2
  12. package/index.d.ts +47 -1
  13. package/index.js +28239 -3952
  14. package/indexerAgentStepProtocol.d.ts +9391 -0
  15. package/indexerArtifactDependencies.d.ts +689 -0
  16. package/indexerArtifactPolicy.d.ts +335 -0
  17. package/indexerArtifactResult.d.ts +2010 -0
  18. package/indexerAuditFacts.d.ts +66 -0
  19. package/indexerAuditOverrideReadiness.d.ts +27 -0
  20. package/indexerAuditProtocol.d.ts +238 -0
  21. package/indexerAuditRevision.d.ts +726 -0
  22. package/indexerAuditRevisionActions.d.ts +236 -0
  23. package/indexerAuthoringFixture.d.ts +152 -0
  24. package/indexerBaseQuestionAmendment.d.ts +2403 -0
  25. package/indexerBenchmark.d.ts +1062 -0
  26. package/indexerCandidateCompile.d.ts +801 -0
  27. package/indexerCapabilityGroupEvidence.d.ts +129 -0
  28. package/indexerCatalogFallback.d.ts +1262 -0
  29. package/indexerCollectionMapping.d.ts +75 -0
  30. package/indexerContentLayers.d.ts +137 -0
  31. package/indexerControlledInvocation.d.ts +512 -0
  32. package/indexerControlledProgram.d.ts +12535 -0
  33. package/indexerCoreExports.d.ts +21 -0
  34. package/indexerCustomizationDraft.d.ts +13800 -0
  35. package/indexerCustomizationLadder.d.ts +103 -0
  36. package/indexerDependencyView.d.ts +1610 -0
  37. package/indexerEvidenceAdapterResult.d.ts +504 -0
  38. package/indexerExampleDecision.d.ts +1606 -0
  39. package/indexerExampleIdentity.d.ts +132 -0
  40. package/indexerExampleIdentityAudit.d.ts +70 -0
  41. package/indexerExampleLinkageAudit.d.ts +80 -0
  42. package/indexerGeneratedAuthoringAudit.d.ts +208 -0
  43. package/indexerIncrementalImpact.d.ts +221 -0
  44. package/indexerInventoryDisposition.d.ts +443 -0
  45. package/indexerLayerComposition.d.ts +1652 -0
  46. package/indexerLayoutChange.d.ts +329 -0
  47. package/indexerLayoutProposalSet.d.ts +447 -0
  48. package/indexerLayoutResolver.d.ts +342 -0
  49. package/indexerLayoutTransition.d.ts +247 -0
  50. package/indexerLifecycle.d.ts +53 -0
  51. package/indexerMainLifecycle.d.ts +258 -0
  52. package/indexerMainRunLedger.d.ts +888 -0
  53. package/indexerMainRunProtocol.d.ts +6471 -0
  54. package/indexerMainWorkset.d.ts +2141 -0
  55. package/indexerMaterialAnswer.d.ts +738 -0
  56. package/indexerMaterialAnswerActualization.d.ts +91 -0
  57. package/indexerMaterialAnswerExecutionPlan.d.ts +2887 -0
  58. package/indexerMaterialAnswerFlow.d.ts +63 -0
  59. package/indexerMaterialAnswerLayout.d.ts +76 -0
  60. package/indexerMaterialAnswerReview.d.ts +217 -0
  61. package/indexerMaterialAnswerReviewRoute.d.ts +6145 -0
  62. package/indexerMaterialAnswerRunLedger.d.ts +918 -0
  63. package/indexerMaterialAnswerRunProtocol.d.ts +1253 -0
  64. package/indexerMaterialGapLedger.d.ts +3111 -0
  65. package/indexerMaterialQuestionExclusion.d.ts +129 -0
  66. package/indexerMaterialQuestionWorkset.d.ts +508 -0
  67. package/indexerNavigationArtifactGraph.d.ts +5 -0
  68. package/indexerNavigationArtifactPlan.d.ts +39 -0
  69. package/indexerOverlayQuestionAmendment.d.ts +2551 -0
  70. package/indexerOverlayQuestionApplyProposal.d.ts +4697 -0
  71. package/indexerOverlayTrust.d.ts +1425 -0
  72. package/indexerParserCoordinate.d.ts +222 -0
  73. package/indexerParserFactView.d.ts +503 -0
  74. package/indexerPartitionConvergence.d.ts +496 -0
  75. package/indexerPartitionPlan.d.ts +919 -0
  76. package/indexerPartitionStrategyResolution.d.ts +594 -0
  77. package/indexerPhysicalArtifactAudit.d.ts +247 -0
  78. package/indexerPhysicalArtifactManifest.d.ts +449 -0
  79. package/indexerPlannedMaterialAnswer.d.ts +116 -0
  80. package/indexerPostAuthorComposition.d.ts +2000 -0
  81. package/indexerPostAuthorRunLedger.d.ts +1972 -0
  82. package/indexerPrimaryProjection.d.ts +262 -0
  83. package/indexerProfileContract.d.ts +3034 -0
  84. package/indexerProfileMetricAudit.d.ts +218 -0
  85. package/indexerProgramExecutionAuthorization.d.ts +227 -0
  86. package/indexerProgramRunProtocol.d.ts +7642 -0
  87. package/indexerProjectProposal.d.ts +2807 -0
  88. package/indexerProjectedArtifactFanOutAudit.d.ts +159 -0
  89. package/indexerProjectedArtifactPlan.d.ts +217 -0
  90. package/indexerProtocolCommon.d.ts +29 -0
  91. package/indexerProvider.d.ts +2573 -0
  92. package/indexerProviderComposition.d.ts +1357 -0
  93. package/indexerProviderContractReferences.d.ts +13 -0
  94. package/indexerProviderProfileResolution.d.ts +20 -0
  95. package/indexerProviderResolution.d.ts +752 -0
  96. package/indexerProviderResolutionAction.d.ts +678 -0
  97. package/indexerProviderRouting.d.ts +3909 -0
  98. package/indexerProviderSelectionProposal.d.ts +3311 -0
  99. package/indexerQuestionAuthority.d.ts +419 -0
  100. package/indexerReaderTargetInventory.d.ts +161 -0
  101. package/indexerReferenceOnlyAudit.d.ts +90 -0
  102. package/indexerRegistry.d.ts +3019 -0
  103. package/indexerRequirementComparison.d.ts +44 -0
  104. package/indexerRequirementConfirmation.d.ts +1193 -0
  105. package/indexerRequirementLifecycle.d.ts +3314 -0
  106. package/indexerRestrictedSelector.d.ts +63 -0
  107. package/indexerResultReconciliation.d.ts +6844 -0
  108. package/indexerResultReconciliationRun.d.ts +15 -0
  109. package/indexerRunEnvelope.d.ts +384 -0
  110. package/indexerRunProtocolCommon.d.ts +21 -0
  111. package/indexerSharedArtifactFingerprint.d.ts +33 -0
  112. package/indexerStructuredDeclaration.d.ts +513 -0
  113. package/indexerSubjectCatalog.d.ts +230 -0
  114. package/indexerSubjectIdentity.d.ts +19 -0
  115. package/indexerSubjectKeyAuthority.d.ts +785 -0
  116. package/indexerTemplateRendering.d.ts +485 -0
  117. package/indexerToolSnapshot.d.ts +431 -0
  118. package/indexerWorksetRead.d.ts +287 -0
  119. package/package.json +1 -1
  120. package/phases.d.ts +1 -1
@@ -0,0 +1,2403 @@
1
+ import { z } from "zod";
2
+ import { type IndexerRegistry } from "./indexerRegistry.js";
3
+ import { type IndexerResolvedMaterialQuestion } from "./indexerQuestionAuthority.js";
4
+ import { type IndexerRequirementAmendmentConfirmation } from "./indexerOverlayQuestionAmendment.js";
5
+ export declare const indexerBaseQuestionAmendmentSchema: z.ZodObject<{
6
+ protocol: z.ZodLiteral<"context.indexer.base-question-amendment/v1">;
7
+ project_ref: z.ZodString;
8
+ requirement_id: z.ZodEffects<z.ZodString, string, string>;
9
+ profile: z.ZodEffects<z.ZodString, string, string>;
10
+ base_requirement_digest: z.ZodString;
11
+ target_requirement: z.ZodEffects<z.ZodObject<{
12
+ id: z.ZodEffects<z.ZodString, string, string>;
13
+ reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
14
+ coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
15
+ questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ ref: z.ZodString;
17
+ authority: z.ZodObject<{
18
+ kind: z.ZodEnum<["cli-base-contract", "verified-contract-overlay"]>;
19
+ ref: z.ZodString;
20
+ digest: z.ZodString;
21
+ }, "strict", z.ZodTypeAny, {
22
+ kind: "cli-base-contract" | "verified-contract-overlay";
23
+ ref: string;
24
+ digest: string;
25
+ }, {
26
+ kind: "cli-base-contract" | "verified-contract-overlay";
27
+ ref: string;
28
+ digest: string;
29
+ }>;
30
+ contract_version: z.ZodNumber;
31
+ contract_digest: z.ZodString;
32
+ }, "strict", z.ZodTypeAny, {
33
+ ref: string;
34
+ authority: {
35
+ kind: "cli-base-contract" | "verified-contract-overlay";
36
+ ref: string;
37
+ digest: string;
38
+ };
39
+ contract_version: number;
40
+ contract_digest: string;
41
+ }, {
42
+ ref: string;
43
+ authority: {
44
+ kind: "cli-base-contract" | "verified-contract-overlay";
45
+ ref: string;
46
+ digest: string;
47
+ };
48
+ contract_version: number;
49
+ contract_digest: string;
50
+ }>, "many">>;
51
+ target_scope: z.ZodEffects<z.ZodObject<{
52
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
53
+ source_ref: z.ZodString;
54
+ module_refs: z.ZodArray<z.ZodString, "many">;
55
+ }, "strict", z.ZodTypeAny, {
56
+ source_ref: string;
57
+ module_refs: string[];
58
+ }, {
59
+ source_ref: string;
60
+ module_refs: string[];
61
+ }>, {
62
+ source_ref: string;
63
+ module_refs: string[];
64
+ }, {
65
+ source_ref: string;
66
+ module_refs: string[];
67
+ }>, "many">;
68
+ }, "strict", z.ZodTypeAny, {
69
+ targets: {
70
+ source_ref: string;
71
+ module_refs: string[];
72
+ }[];
73
+ }, {
74
+ targets: {
75
+ source_ref: string;
76
+ module_refs: string[];
77
+ }[];
78
+ }>, {
79
+ targets: {
80
+ source_ref: string;
81
+ module_refs: string[];
82
+ }[];
83
+ }, {
84
+ targets: {
85
+ source_ref: string;
86
+ module_refs: string[];
87
+ }[];
88
+ }>;
89
+ evidence_source_scope: z.ZodEffects<z.ZodObject<{
90
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
91
+ source_ref: z.ZodString;
92
+ module_refs: z.ZodArray<z.ZodString, "many">;
93
+ }, "strict", z.ZodTypeAny, {
94
+ source_ref: string;
95
+ module_refs: string[];
96
+ }, {
97
+ source_ref: string;
98
+ module_refs: string[];
99
+ }>, {
100
+ source_ref: string;
101
+ module_refs: string[];
102
+ }, {
103
+ source_ref: string;
104
+ module_refs: string[];
105
+ }>, "many">;
106
+ }, "strict", z.ZodTypeAny, {
107
+ targets: {
108
+ source_ref: string;
109
+ module_refs: string[];
110
+ }[];
111
+ }, {
112
+ targets: {
113
+ source_ref: string;
114
+ module_refs: string[];
115
+ }[];
116
+ }>, {
117
+ targets: {
118
+ source_ref: string;
119
+ module_refs: string[];
120
+ }[];
121
+ }, {
122
+ targets: {
123
+ source_ref: string;
124
+ module_refs: string[];
125
+ }[];
126
+ }>;
127
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
128
+ id: z.ZodEffects<z.ZodString, string, string>;
129
+ scope: z.ZodEffects<z.ZodObject<{
130
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
131
+ source_ref: z.ZodString;
132
+ module_refs: z.ZodArray<z.ZodString, "many">;
133
+ }, "strict", z.ZodTypeAny, {
134
+ source_ref: string;
135
+ module_refs: string[];
136
+ }, {
137
+ source_ref: string;
138
+ module_refs: string[];
139
+ }>, {
140
+ source_ref: string;
141
+ module_refs: string[];
142
+ }, {
143
+ source_ref: string;
144
+ module_refs: string[];
145
+ }>, "many">;
146
+ }, "strict", z.ZodTypeAny, {
147
+ targets: {
148
+ source_ref: string;
149
+ module_refs: string[];
150
+ }[];
151
+ }, {
152
+ targets: {
153
+ source_ref: string;
154
+ module_refs: string[];
155
+ }[];
156
+ }>, {
157
+ targets: {
158
+ source_ref: string;
159
+ module_refs: string[];
160
+ }[];
161
+ }, {
162
+ targets: {
163
+ source_ref: string;
164
+ module_refs: string[];
165
+ }[];
166
+ }>;
167
+ reason: z.ZodString;
168
+ }, "strict", z.ZodTypeAny, {
169
+ id: string;
170
+ scope: {
171
+ targets: {
172
+ source_ref: string;
173
+ module_refs: string[];
174
+ }[];
175
+ };
176
+ reason: string;
177
+ }, {
178
+ id: string;
179
+ scope: {
180
+ targets: {
181
+ source_ref: string;
182
+ module_refs: string[];
183
+ }[];
184
+ };
185
+ reason: string;
186
+ }>, "many">>;
187
+ }, "strict", z.ZodTypeAny, {
188
+ id: string;
189
+ reader_goals: string[];
190
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
191
+ target_scope: {
192
+ targets: {
193
+ source_ref: string;
194
+ module_refs: string[];
195
+ }[];
196
+ };
197
+ evidence_source_scope: {
198
+ targets: {
199
+ source_ref: string;
200
+ module_refs: string[];
201
+ }[];
202
+ };
203
+ questions?: {
204
+ ref: string;
205
+ authority: {
206
+ kind: "cli-base-contract" | "verified-contract-overlay";
207
+ ref: string;
208
+ digest: string;
209
+ };
210
+ contract_version: number;
211
+ contract_digest: string;
212
+ }[] | undefined;
213
+ exclusions?: {
214
+ id: string;
215
+ scope: {
216
+ targets: {
217
+ source_ref: string;
218
+ module_refs: string[];
219
+ }[];
220
+ };
221
+ reason: string;
222
+ }[] | undefined;
223
+ }, {
224
+ id: string;
225
+ reader_goals: string[];
226
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
227
+ target_scope: {
228
+ targets: {
229
+ source_ref: string;
230
+ module_refs: string[];
231
+ }[];
232
+ };
233
+ evidence_source_scope: {
234
+ targets: {
235
+ source_ref: string;
236
+ module_refs: string[];
237
+ }[];
238
+ };
239
+ questions?: {
240
+ ref: string;
241
+ authority: {
242
+ kind: "cli-base-contract" | "verified-contract-overlay";
243
+ ref: string;
244
+ digest: string;
245
+ };
246
+ contract_version: number;
247
+ contract_digest: string;
248
+ }[] | undefined;
249
+ exclusions?: {
250
+ id: string;
251
+ scope: {
252
+ targets: {
253
+ source_ref: string;
254
+ module_refs: string[];
255
+ }[];
256
+ };
257
+ reason: string;
258
+ }[] | undefined;
259
+ }>, {
260
+ id: string;
261
+ reader_goals: string[];
262
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
263
+ target_scope: {
264
+ targets: {
265
+ source_ref: string;
266
+ module_refs: string[];
267
+ }[];
268
+ };
269
+ evidence_source_scope: {
270
+ targets: {
271
+ source_ref: string;
272
+ module_refs: string[];
273
+ }[];
274
+ };
275
+ questions?: {
276
+ ref: string;
277
+ authority: {
278
+ kind: "cli-base-contract" | "verified-contract-overlay";
279
+ ref: string;
280
+ digest: string;
281
+ };
282
+ contract_version: number;
283
+ contract_digest: string;
284
+ }[] | undefined;
285
+ exclusions?: {
286
+ id: string;
287
+ scope: {
288
+ targets: {
289
+ source_ref: string;
290
+ module_refs: string[];
291
+ }[];
292
+ };
293
+ reason: string;
294
+ }[] | undefined;
295
+ }, {
296
+ id: string;
297
+ reader_goals: string[];
298
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
299
+ target_scope: {
300
+ targets: {
301
+ source_ref: string;
302
+ module_refs: string[];
303
+ }[];
304
+ };
305
+ evidence_source_scope: {
306
+ targets: {
307
+ source_ref: string;
308
+ module_refs: string[];
309
+ }[];
310
+ };
311
+ questions?: {
312
+ ref: string;
313
+ authority: {
314
+ kind: "cli-base-contract" | "verified-contract-overlay";
315
+ ref: string;
316
+ digest: string;
317
+ };
318
+ contract_version: number;
319
+ contract_digest: string;
320
+ }[] | undefined;
321
+ exclusions?: {
322
+ id: string;
323
+ scope: {
324
+ targets: {
325
+ source_ref: string;
326
+ module_refs: string[];
327
+ }[];
328
+ };
329
+ reason: string;
330
+ }[] | undefined;
331
+ }>;
332
+ target_requirement_digest: z.ZodString;
333
+ base_requirement_set_digest: z.ZodString;
334
+ target_requirement_set_digest: z.ZodString;
335
+ target_registry: z.ZodEffects<z.ZodObject<{
336
+ protocol: z.ZodLiteral<"context.indexer.registry/v1">;
337
+ requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
338
+ id: z.ZodEffects<z.ZodString, string, string>;
339
+ reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
340
+ coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
341
+ questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
342
+ ref: z.ZodString;
343
+ authority: z.ZodObject<{
344
+ kind: z.ZodEnum<["cli-base-contract", "verified-contract-overlay"]>;
345
+ ref: z.ZodString;
346
+ digest: z.ZodString;
347
+ }, "strict", z.ZodTypeAny, {
348
+ kind: "cli-base-contract" | "verified-contract-overlay";
349
+ ref: string;
350
+ digest: string;
351
+ }, {
352
+ kind: "cli-base-contract" | "verified-contract-overlay";
353
+ ref: string;
354
+ digest: string;
355
+ }>;
356
+ contract_version: z.ZodNumber;
357
+ contract_digest: z.ZodString;
358
+ }, "strict", z.ZodTypeAny, {
359
+ ref: string;
360
+ authority: {
361
+ kind: "cli-base-contract" | "verified-contract-overlay";
362
+ ref: string;
363
+ digest: string;
364
+ };
365
+ contract_version: number;
366
+ contract_digest: string;
367
+ }, {
368
+ ref: string;
369
+ authority: {
370
+ kind: "cli-base-contract" | "verified-contract-overlay";
371
+ ref: string;
372
+ digest: string;
373
+ };
374
+ contract_version: number;
375
+ contract_digest: string;
376
+ }>, "many">>;
377
+ target_scope: z.ZodEffects<z.ZodObject<{
378
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
379
+ source_ref: z.ZodString;
380
+ module_refs: z.ZodArray<z.ZodString, "many">;
381
+ }, "strict", z.ZodTypeAny, {
382
+ source_ref: string;
383
+ module_refs: string[];
384
+ }, {
385
+ source_ref: string;
386
+ module_refs: string[];
387
+ }>, {
388
+ source_ref: string;
389
+ module_refs: string[];
390
+ }, {
391
+ source_ref: string;
392
+ module_refs: string[];
393
+ }>, "many">;
394
+ }, "strict", z.ZodTypeAny, {
395
+ targets: {
396
+ source_ref: string;
397
+ module_refs: string[];
398
+ }[];
399
+ }, {
400
+ targets: {
401
+ source_ref: string;
402
+ module_refs: string[];
403
+ }[];
404
+ }>, {
405
+ targets: {
406
+ source_ref: string;
407
+ module_refs: string[];
408
+ }[];
409
+ }, {
410
+ targets: {
411
+ source_ref: string;
412
+ module_refs: string[];
413
+ }[];
414
+ }>;
415
+ evidence_source_scope: z.ZodEffects<z.ZodObject<{
416
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
417
+ source_ref: z.ZodString;
418
+ module_refs: z.ZodArray<z.ZodString, "many">;
419
+ }, "strict", z.ZodTypeAny, {
420
+ source_ref: string;
421
+ module_refs: string[];
422
+ }, {
423
+ source_ref: string;
424
+ module_refs: string[];
425
+ }>, {
426
+ source_ref: string;
427
+ module_refs: string[];
428
+ }, {
429
+ source_ref: string;
430
+ module_refs: string[];
431
+ }>, "many">;
432
+ }, "strict", z.ZodTypeAny, {
433
+ targets: {
434
+ source_ref: string;
435
+ module_refs: string[];
436
+ }[];
437
+ }, {
438
+ targets: {
439
+ source_ref: string;
440
+ module_refs: string[];
441
+ }[];
442
+ }>, {
443
+ targets: {
444
+ source_ref: string;
445
+ module_refs: string[];
446
+ }[];
447
+ }, {
448
+ targets: {
449
+ source_ref: string;
450
+ module_refs: string[];
451
+ }[];
452
+ }>;
453
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
454
+ id: z.ZodEffects<z.ZodString, string, string>;
455
+ scope: z.ZodEffects<z.ZodObject<{
456
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
457
+ source_ref: z.ZodString;
458
+ module_refs: z.ZodArray<z.ZodString, "many">;
459
+ }, "strict", z.ZodTypeAny, {
460
+ source_ref: string;
461
+ module_refs: string[];
462
+ }, {
463
+ source_ref: string;
464
+ module_refs: string[];
465
+ }>, {
466
+ source_ref: string;
467
+ module_refs: string[];
468
+ }, {
469
+ source_ref: string;
470
+ module_refs: string[];
471
+ }>, "many">;
472
+ }, "strict", z.ZodTypeAny, {
473
+ targets: {
474
+ source_ref: string;
475
+ module_refs: string[];
476
+ }[];
477
+ }, {
478
+ targets: {
479
+ source_ref: string;
480
+ module_refs: string[];
481
+ }[];
482
+ }>, {
483
+ targets: {
484
+ source_ref: string;
485
+ module_refs: string[];
486
+ }[];
487
+ }, {
488
+ targets: {
489
+ source_ref: string;
490
+ module_refs: string[];
491
+ }[];
492
+ }>;
493
+ reason: z.ZodString;
494
+ }, "strict", z.ZodTypeAny, {
495
+ id: string;
496
+ scope: {
497
+ targets: {
498
+ source_ref: string;
499
+ module_refs: string[];
500
+ }[];
501
+ };
502
+ reason: string;
503
+ }, {
504
+ id: string;
505
+ scope: {
506
+ targets: {
507
+ source_ref: string;
508
+ module_refs: string[];
509
+ }[];
510
+ };
511
+ reason: string;
512
+ }>, "many">>;
513
+ }, "strict", z.ZodTypeAny, {
514
+ id: string;
515
+ reader_goals: string[];
516
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
517
+ target_scope: {
518
+ targets: {
519
+ source_ref: string;
520
+ module_refs: string[];
521
+ }[];
522
+ };
523
+ evidence_source_scope: {
524
+ targets: {
525
+ source_ref: string;
526
+ module_refs: string[];
527
+ }[];
528
+ };
529
+ questions?: {
530
+ ref: string;
531
+ authority: {
532
+ kind: "cli-base-contract" | "verified-contract-overlay";
533
+ ref: string;
534
+ digest: string;
535
+ };
536
+ contract_version: number;
537
+ contract_digest: string;
538
+ }[] | undefined;
539
+ exclusions?: {
540
+ id: string;
541
+ scope: {
542
+ targets: {
543
+ source_ref: string;
544
+ module_refs: string[];
545
+ }[];
546
+ };
547
+ reason: string;
548
+ }[] | undefined;
549
+ }, {
550
+ id: string;
551
+ reader_goals: string[];
552
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
553
+ target_scope: {
554
+ targets: {
555
+ source_ref: string;
556
+ module_refs: string[];
557
+ }[];
558
+ };
559
+ evidence_source_scope: {
560
+ targets: {
561
+ source_ref: string;
562
+ module_refs: string[];
563
+ }[];
564
+ };
565
+ questions?: {
566
+ ref: string;
567
+ authority: {
568
+ kind: "cli-base-contract" | "verified-contract-overlay";
569
+ ref: string;
570
+ digest: string;
571
+ };
572
+ contract_version: number;
573
+ contract_digest: string;
574
+ }[] | undefined;
575
+ exclusions?: {
576
+ id: string;
577
+ scope: {
578
+ targets: {
579
+ source_ref: string;
580
+ module_refs: string[];
581
+ }[];
582
+ };
583
+ reason: string;
584
+ }[] | undefined;
585
+ }>, {
586
+ id: string;
587
+ reader_goals: string[];
588
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
589
+ target_scope: {
590
+ targets: {
591
+ source_ref: string;
592
+ module_refs: string[];
593
+ }[];
594
+ };
595
+ evidence_source_scope: {
596
+ targets: {
597
+ source_ref: string;
598
+ module_refs: string[];
599
+ }[];
600
+ };
601
+ questions?: {
602
+ ref: string;
603
+ authority: {
604
+ kind: "cli-base-contract" | "verified-contract-overlay";
605
+ ref: string;
606
+ digest: string;
607
+ };
608
+ contract_version: number;
609
+ contract_digest: string;
610
+ }[] | undefined;
611
+ exclusions?: {
612
+ id: string;
613
+ scope: {
614
+ targets: {
615
+ source_ref: string;
616
+ module_refs: string[];
617
+ }[];
618
+ };
619
+ reason: string;
620
+ }[] | undefined;
621
+ }, {
622
+ id: string;
623
+ reader_goals: string[];
624
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
625
+ target_scope: {
626
+ targets: {
627
+ source_ref: string;
628
+ module_refs: string[];
629
+ }[];
630
+ };
631
+ evidence_source_scope: {
632
+ targets: {
633
+ source_ref: string;
634
+ module_refs: string[];
635
+ }[];
636
+ };
637
+ questions?: {
638
+ ref: string;
639
+ authority: {
640
+ kind: "cli-base-contract" | "verified-contract-overlay";
641
+ ref: string;
642
+ digest: string;
643
+ };
644
+ contract_version: number;
645
+ contract_digest: string;
646
+ }[] | undefined;
647
+ exclusions?: {
648
+ id: string;
649
+ scope: {
650
+ targets: {
651
+ source_ref: string;
652
+ module_refs: string[];
653
+ }[];
654
+ };
655
+ reason: string;
656
+ }[] | undefined;
657
+ }>, "many">;
658
+ indexers: z.ZodArray<z.ZodEffects<z.ZodObject<{
659
+ id: z.ZodEffects<z.ZodString, string, string>;
660
+ operations: z.ZodArray<z.ZodEnum<["main-index", "material-answer"]>, "many">;
661
+ requirement_bindings: z.ZodArray<z.ZodEffects<z.ZodObject<{
662
+ requirement_ref: z.ZodEffects<z.ZodString, string, string>;
663
+ coverage_domains: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
664
+ owned_scope: z.ZodUnion<[z.ZodObject<{
665
+ ref: z.ZodString;
666
+ }, "strict", z.ZodTypeAny, {
667
+ ref: string;
668
+ }, {
669
+ ref: string;
670
+ }>, z.ZodEffects<z.ZodObject<{
671
+ targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
672
+ source_ref: z.ZodString;
673
+ module_refs: z.ZodArray<z.ZodString, "many">;
674
+ }, "strict", z.ZodTypeAny, {
675
+ source_ref: string;
676
+ module_refs: string[];
677
+ }, {
678
+ source_ref: string;
679
+ module_refs: string[];
680
+ }>, {
681
+ source_ref: string;
682
+ module_refs: string[];
683
+ }, {
684
+ source_ref: string;
685
+ module_refs: string[];
686
+ }>, "many">;
687
+ }, "strict", z.ZodTypeAny, {
688
+ targets: {
689
+ source_ref: string;
690
+ module_refs: string[];
691
+ }[];
692
+ }, {
693
+ targets: {
694
+ source_ref: string;
695
+ module_refs: string[];
696
+ }[];
697
+ }>, {
698
+ targets: {
699
+ source_ref: string;
700
+ module_refs: string[];
701
+ }[];
702
+ }, {
703
+ targets: {
704
+ source_ref: string;
705
+ module_refs: string[];
706
+ }[];
707
+ }>]>;
708
+ role: z.ZodEnum<["primary", "enricher"]>;
709
+ }, "strict", z.ZodTypeAny, {
710
+ coverage_domains: string[];
711
+ requirement_ref: string;
712
+ owned_scope: {
713
+ targets: {
714
+ source_ref: string;
715
+ module_refs: string[];
716
+ }[];
717
+ } | {
718
+ ref: string;
719
+ };
720
+ role: "primary" | "enricher";
721
+ }, {
722
+ coverage_domains: string[];
723
+ requirement_ref: string;
724
+ owned_scope: {
725
+ targets: {
726
+ source_ref: string;
727
+ module_refs: string[];
728
+ }[];
729
+ } | {
730
+ ref: string;
731
+ };
732
+ role: "primary" | "enricher";
733
+ }>, {
734
+ coverage_domains: string[];
735
+ requirement_ref: string;
736
+ owned_scope: {
737
+ targets: {
738
+ source_ref: string;
739
+ module_refs: string[];
740
+ }[];
741
+ } | {
742
+ ref: string;
743
+ };
744
+ role: "primary" | "enricher";
745
+ }, {
746
+ coverage_domains: string[];
747
+ requirement_ref: string;
748
+ owned_scope: {
749
+ targets: {
750
+ source_ref: string;
751
+ module_refs: string[];
752
+ }[];
753
+ } | {
754
+ ref: string;
755
+ };
756
+ role: "primary" | "enricher";
757
+ }>, "many">;
758
+ read_scope: z.ZodEffects<z.ZodObject<{
759
+ refs: z.ZodArray<z.ZodString, "many">;
760
+ extra_targets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
761
+ source_ref: z.ZodString;
762
+ module_refs: z.ZodArray<z.ZodString, "many">;
763
+ }, "strict", z.ZodTypeAny, {
764
+ source_ref: string;
765
+ module_refs: string[];
766
+ }, {
767
+ source_ref: string;
768
+ module_refs: string[];
769
+ }>, {
770
+ source_ref: string;
771
+ module_refs: string[];
772
+ }, {
773
+ source_ref: string;
774
+ module_refs: string[];
775
+ }>, "many">>;
776
+ }, "strict", z.ZodTypeAny, {
777
+ refs: string[];
778
+ extra_targets?: {
779
+ source_ref: string;
780
+ module_refs: string[];
781
+ }[] | undefined;
782
+ }, {
783
+ refs: string[];
784
+ extra_targets?: {
785
+ source_ref: string;
786
+ module_refs: string[];
787
+ }[] | undefined;
788
+ }>, {
789
+ refs: string[];
790
+ extra_targets?: {
791
+ source_ref: string;
792
+ module_refs: string[];
793
+ }[] | undefined;
794
+ }, {
795
+ refs: string[];
796
+ extra_targets?: {
797
+ source_ref: string;
798
+ module_refs: string[];
799
+ }[] | undefined;
800
+ }>;
801
+ profile: z.ZodObject<{
802
+ primary: z.ZodObject<{
803
+ id: z.ZodEffects<z.ZodString, string, string>;
804
+ provider: z.ZodEffects<z.ZodString, string, string>;
805
+ variants: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>>;
806
+ }, "strict", z.ZodTypeAny, {
807
+ id: string;
808
+ provider: string;
809
+ variants?: Record<string, string> | undefined;
810
+ }, {
811
+ id: string;
812
+ provider: string;
813
+ variants?: Record<string, string> | undefined;
814
+ }>;
815
+ additional: z.ZodOptional<z.ZodArray<z.ZodObject<{
816
+ id: z.ZodEffects<z.ZodString, string, string>;
817
+ provider: z.ZodEffects<z.ZodString, string, string>;
818
+ variants: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>>;
819
+ } & {
820
+ kind: z.ZodEnum<["supporting", "extension"]>;
821
+ }, "strict", z.ZodTypeAny, {
822
+ id: string;
823
+ kind: "supporting" | "extension";
824
+ provider: string;
825
+ variants?: Record<string, string> | undefined;
826
+ }, {
827
+ id: string;
828
+ kind: "supporting" | "extension";
829
+ provider: string;
830
+ variants?: Record<string, string> | undefined;
831
+ }>, "many">>;
832
+ composers: z.ZodOptional<z.ZodArray<z.ZodObject<{
833
+ id: z.ZodEffects<z.ZodString, string, string>;
834
+ provider: z.ZodEffects<z.ZodString, string, string>;
835
+ }, "strict", z.ZodTypeAny, {
836
+ id: string;
837
+ provider: string;
838
+ }, {
839
+ id: string;
840
+ provider: string;
841
+ }>, "many">>;
842
+ }, "strict", z.ZodTypeAny, {
843
+ primary: {
844
+ id: string;
845
+ provider: string;
846
+ variants?: Record<string, string> | undefined;
847
+ };
848
+ additional?: {
849
+ id: string;
850
+ kind: "supporting" | "extension";
851
+ provider: string;
852
+ variants?: Record<string, string> | undefined;
853
+ }[] | undefined;
854
+ composers?: {
855
+ id: string;
856
+ provider: string;
857
+ }[] | undefined;
858
+ }, {
859
+ primary: {
860
+ id: string;
861
+ provider: string;
862
+ variants?: Record<string, string> | undefined;
863
+ };
864
+ additional?: {
865
+ id: string;
866
+ kind: "supporting" | "extension";
867
+ provider: string;
868
+ variants?: Record<string, string> | undefined;
869
+ }[] | undefined;
870
+ composers?: {
871
+ id: string;
872
+ provider: string;
873
+ }[] | undefined;
874
+ }>;
875
+ providers: z.ZodArray<z.ZodEffects<z.ZodObject<{
876
+ id: z.ZodEffects<z.ZodString, string, string>;
877
+ role: z.ZodEnum<["primary", "extension"]>;
878
+ skill: z.ZodEffects<z.ZodString, string, string>;
879
+ version: z.ZodString;
880
+ integrity: z.ZodString;
881
+ distribution: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
882
+ kind: z.ZodLiteral<"cli-bundled">;
883
+ locator: z.ZodString;
884
+ }, "strict", z.ZodTypeAny, {
885
+ kind: "cli-bundled";
886
+ locator: string;
887
+ }, {
888
+ kind: "cli-bundled";
889
+ locator: string;
890
+ }>, z.ZodObject<{
891
+ kind: z.ZodLiteral<"bundled">;
892
+ locator: z.ZodString;
893
+ }, "strict", z.ZodTypeAny, {
894
+ kind: "bundled";
895
+ locator: string;
896
+ }, {
897
+ kind: "bundled";
898
+ locator: string;
899
+ }>, z.ZodObject<{
900
+ kind: z.ZodLiteral<"workspace">;
901
+ locator: z.ZodString;
902
+ }, "strict", z.ZodTypeAny, {
903
+ kind: "workspace";
904
+ locator: string;
905
+ }, {
906
+ kind: "workspace";
907
+ locator: string;
908
+ }>, z.ZodObject<{
909
+ kind: z.ZodLiteral<"package">;
910
+ locator: z.ZodString;
911
+ }, "strict", z.ZodTypeAny, {
912
+ kind: "package";
913
+ locator: string;
914
+ }, {
915
+ kind: "package";
916
+ locator: string;
917
+ }>, z.ZodObject<{
918
+ kind: z.ZodLiteral<"marketplace">;
919
+ locator: z.ZodString;
920
+ }, "strict", z.ZodTypeAny, {
921
+ kind: "marketplace";
922
+ locator: string;
923
+ }, {
924
+ kind: "marketplace";
925
+ locator: string;
926
+ }>]>, {
927
+ kind: "cli-bundled";
928
+ locator: string;
929
+ } | {
930
+ kind: "bundled";
931
+ locator: string;
932
+ } | {
933
+ kind: "workspace";
934
+ locator: string;
935
+ } | {
936
+ kind: "package";
937
+ locator: string;
938
+ } | {
939
+ kind: "marketplace";
940
+ locator: string;
941
+ }, {
942
+ kind: "cli-bundled";
943
+ locator: string;
944
+ } | {
945
+ kind: "bundled";
946
+ locator: string;
947
+ } | {
948
+ kind: "workspace";
949
+ locator: string;
950
+ } | {
951
+ kind: "package";
952
+ locator: string;
953
+ } | {
954
+ kind: "marketplace";
955
+ locator: string;
956
+ }>;
957
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>>>;
958
+ }, "strict", z.ZodTypeAny, {
959
+ id: string;
960
+ role: "primary" | "extension";
961
+ skill: string;
962
+ version: string;
963
+ integrity: string;
964
+ distribution: {
965
+ kind: "cli-bundled";
966
+ locator: string;
967
+ } | {
968
+ kind: "bundled";
969
+ locator: string;
970
+ } | {
971
+ kind: "workspace";
972
+ locator: string;
973
+ } | {
974
+ kind: "package";
975
+ locator: string;
976
+ } | {
977
+ kind: "marketplace";
978
+ locator: string;
979
+ };
980
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
981
+ }, {
982
+ id: string;
983
+ role: "primary" | "extension";
984
+ skill: string;
985
+ version: string;
986
+ integrity: string;
987
+ distribution: {
988
+ kind: "cli-bundled";
989
+ locator: string;
990
+ } | {
991
+ kind: "bundled";
992
+ locator: string;
993
+ } | {
994
+ kind: "workspace";
995
+ locator: string;
996
+ } | {
997
+ kind: "package";
998
+ locator: string;
999
+ } | {
1000
+ kind: "marketplace";
1001
+ locator: string;
1002
+ };
1003
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1004
+ }>, {
1005
+ id: string;
1006
+ role: "primary" | "extension";
1007
+ skill: string;
1008
+ version: string;
1009
+ integrity: string;
1010
+ distribution: {
1011
+ kind: "cli-bundled";
1012
+ locator: string;
1013
+ } | {
1014
+ kind: "bundled";
1015
+ locator: string;
1016
+ } | {
1017
+ kind: "workspace";
1018
+ locator: string;
1019
+ } | {
1020
+ kind: "package";
1021
+ locator: string;
1022
+ } | {
1023
+ kind: "marketplace";
1024
+ locator: string;
1025
+ };
1026
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1027
+ }, {
1028
+ id: string;
1029
+ role: "primary" | "extension";
1030
+ skill: string;
1031
+ version: string;
1032
+ integrity: string;
1033
+ distribution: {
1034
+ kind: "cli-bundled";
1035
+ locator: string;
1036
+ } | {
1037
+ kind: "bundled";
1038
+ locator: string;
1039
+ } | {
1040
+ kind: "workspace";
1041
+ locator: string;
1042
+ } | {
1043
+ kind: "package";
1044
+ locator: string;
1045
+ } | {
1046
+ kind: "marketplace";
1047
+ locator: string;
1048
+ };
1049
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1050
+ }>, "many">;
1051
+ customization: z.ZodOptional<z.ZodObject<{
1052
+ mode: z.ZodEnum<["extend", "replace"]>;
1053
+ }, "strict", z.ZodTypeAny, {
1054
+ mode: "replace" | "extend";
1055
+ }, {
1056
+ mode: "replace" | "extend";
1057
+ }>>;
1058
+ }, "strict", z.ZodTypeAny, {
1059
+ id: string;
1060
+ operations: ("main-index" | "material-answer")[];
1061
+ requirement_bindings: {
1062
+ coverage_domains: string[];
1063
+ requirement_ref: string;
1064
+ owned_scope: {
1065
+ targets: {
1066
+ source_ref: string;
1067
+ module_refs: string[];
1068
+ }[];
1069
+ } | {
1070
+ ref: string;
1071
+ };
1072
+ role: "primary" | "enricher";
1073
+ }[];
1074
+ read_scope: {
1075
+ refs: string[];
1076
+ extra_targets?: {
1077
+ source_ref: string;
1078
+ module_refs: string[];
1079
+ }[] | undefined;
1080
+ };
1081
+ profile: {
1082
+ primary: {
1083
+ id: string;
1084
+ provider: string;
1085
+ variants?: Record<string, string> | undefined;
1086
+ };
1087
+ additional?: {
1088
+ id: string;
1089
+ kind: "supporting" | "extension";
1090
+ provider: string;
1091
+ variants?: Record<string, string> | undefined;
1092
+ }[] | undefined;
1093
+ composers?: {
1094
+ id: string;
1095
+ provider: string;
1096
+ }[] | undefined;
1097
+ };
1098
+ providers: {
1099
+ id: string;
1100
+ role: "primary" | "extension";
1101
+ skill: string;
1102
+ version: string;
1103
+ integrity: string;
1104
+ distribution: {
1105
+ kind: "cli-bundled";
1106
+ locator: string;
1107
+ } | {
1108
+ kind: "bundled";
1109
+ locator: string;
1110
+ } | {
1111
+ kind: "workspace";
1112
+ locator: string;
1113
+ } | {
1114
+ kind: "package";
1115
+ locator: string;
1116
+ } | {
1117
+ kind: "marketplace";
1118
+ locator: string;
1119
+ };
1120
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1121
+ }[];
1122
+ customization?: {
1123
+ mode: "replace" | "extend";
1124
+ } | undefined;
1125
+ }, {
1126
+ id: string;
1127
+ operations: ("main-index" | "material-answer")[];
1128
+ requirement_bindings: {
1129
+ coverage_domains: string[];
1130
+ requirement_ref: string;
1131
+ owned_scope: {
1132
+ targets: {
1133
+ source_ref: string;
1134
+ module_refs: string[];
1135
+ }[];
1136
+ } | {
1137
+ ref: string;
1138
+ };
1139
+ role: "primary" | "enricher";
1140
+ }[];
1141
+ read_scope: {
1142
+ refs: string[];
1143
+ extra_targets?: {
1144
+ source_ref: string;
1145
+ module_refs: string[];
1146
+ }[] | undefined;
1147
+ };
1148
+ profile: {
1149
+ primary: {
1150
+ id: string;
1151
+ provider: string;
1152
+ variants?: Record<string, string> | undefined;
1153
+ };
1154
+ additional?: {
1155
+ id: string;
1156
+ kind: "supporting" | "extension";
1157
+ provider: string;
1158
+ variants?: Record<string, string> | undefined;
1159
+ }[] | undefined;
1160
+ composers?: {
1161
+ id: string;
1162
+ provider: string;
1163
+ }[] | undefined;
1164
+ };
1165
+ providers: {
1166
+ id: string;
1167
+ role: "primary" | "extension";
1168
+ skill: string;
1169
+ version: string;
1170
+ integrity: string;
1171
+ distribution: {
1172
+ kind: "cli-bundled";
1173
+ locator: string;
1174
+ } | {
1175
+ kind: "bundled";
1176
+ locator: string;
1177
+ } | {
1178
+ kind: "workspace";
1179
+ locator: string;
1180
+ } | {
1181
+ kind: "package";
1182
+ locator: string;
1183
+ } | {
1184
+ kind: "marketplace";
1185
+ locator: string;
1186
+ };
1187
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1188
+ }[];
1189
+ customization?: {
1190
+ mode: "replace" | "extend";
1191
+ } | undefined;
1192
+ }>, {
1193
+ id: string;
1194
+ operations: ("main-index" | "material-answer")[];
1195
+ requirement_bindings: {
1196
+ coverage_domains: string[];
1197
+ requirement_ref: string;
1198
+ owned_scope: {
1199
+ targets: {
1200
+ source_ref: string;
1201
+ module_refs: string[];
1202
+ }[];
1203
+ } | {
1204
+ ref: string;
1205
+ };
1206
+ role: "primary" | "enricher";
1207
+ }[];
1208
+ read_scope: {
1209
+ refs: string[];
1210
+ extra_targets?: {
1211
+ source_ref: string;
1212
+ module_refs: string[];
1213
+ }[] | undefined;
1214
+ };
1215
+ profile: {
1216
+ primary: {
1217
+ id: string;
1218
+ provider: string;
1219
+ variants?: Record<string, string> | undefined;
1220
+ };
1221
+ additional?: {
1222
+ id: string;
1223
+ kind: "supporting" | "extension";
1224
+ provider: string;
1225
+ variants?: Record<string, string> | undefined;
1226
+ }[] | undefined;
1227
+ composers?: {
1228
+ id: string;
1229
+ provider: string;
1230
+ }[] | undefined;
1231
+ };
1232
+ providers: {
1233
+ id: string;
1234
+ role: "primary" | "extension";
1235
+ skill: string;
1236
+ version: string;
1237
+ integrity: string;
1238
+ distribution: {
1239
+ kind: "cli-bundled";
1240
+ locator: string;
1241
+ } | {
1242
+ kind: "bundled";
1243
+ locator: string;
1244
+ } | {
1245
+ kind: "workspace";
1246
+ locator: string;
1247
+ } | {
1248
+ kind: "package";
1249
+ locator: string;
1250
+ } | {
1251
+ kind: "marketplace";
1252
+ locator: string;
1253
+ };
1254
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1255
+ }[];
1256
+ customization?: {
1257
+ mode: "replace" | "extend";
1258
+ } | undefined;
1259
+ }, {
1260
+ id: string;
1261
+ operations: ("main-index" | "material-answer")[];
1262
+ requirement_bindings: {
1263
+ coverage_domains: string[];
1264
+ requirement_ref: string;
1265
+ owned_scope: {
1266
+ targets: {
1267
+ source_ref: string;
1268
+ module_refs: string[];
1269
+ }[];
1270
+ } | {
1271
+ ref: string;
1272
+ };
1273
+ role: "primary" | "enricher";
1274
+ }[];
1275
+ read_scope: {
1276
+ refs: string[];
1277
+ extra_targets?: {
1278
+ source_ref: string;
1279
+ module_refs: string[];
1280
+ }[] | undefined;
1281
+ };
1282
+ profile: {
1283
+ primary: {
1284
+ id: string;
1285
+ provider: string;
1286
+ variants?: Record<string, string> | undefined;
1287
+ };
1288
+ additional?: {
1289
+ id: string;
1290
+ kind: "supporting" | "extension";
1291
+ provider: string;
1292
+ variants?: Record<string, string> | undefined;
1293
+ }[] | undefined;
1294
+ composers?: {
1295
+ id: string;
1296
+ provider: string;
1297
+ }[] | undefined;
1298
+ };
1299
+ providers: {
1300
+ id: string;
1301
+ role: "primary" | "extension";
1302
+ skill: string;
1303
+ version: string;
1304
+ integrity: string;
1305
+ distribution: {
1306
+ kind: "cli-bundled";
1307
+ locator: string;
1308
+ } | {
1309
+ kind: "bundled";
1310
+ locator: string;
1311
+ } | {
1312
+ kind: "workspace";
1313
+ locator: string;
1314
+ } | {
1315
+ kind: "package";
1316
+ locator: string;
1317
+ } | {
1318
+ kind: "marketplace";
1319
+ locator: string;
1320
+ };
1321
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1322
+ }[];
1323
+ customization?: {
1324
+ mode: "replace" | "extend";
1325
+ } | undefined;
1326
+ }>, "many">;
1327
+ }, "strict", z.ZodTypeAny, {
1328
+ protocol: "context.indexer.registry/v1";
1329
+ requirements: {
1330
+ id: string;
1331
+ reader_goals: string[];
1332
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
1333
+ target_scope: {
1334
+ targets: {
1335
+ source_ref: string;
1336
+ module_refs: string[];
1337
+ }[];
1338
+ };
1339
+ evidence_source_scope: {
1340
+ targets: {
1341
+ source_ref: string;
1342
+ module_refs: string[];
1343
+ }[];
1344
+ };
1345
+ questions?: {
1346
+ ref: string;
1347
+ authority: {
1348
+ kind: "cli-base-contract" | "verified-contract-overlay";
1349
+ ref: string;
1350
+ digest: string;
1351
+ };
1352
+ contract_version: number;
1353
+ contract_digest: string;
1354
+ }[] | undefined;
1355
+ exclusions?: {
1356
+ id: string;
1357
+ scope: {
1358
+ targets: {
1359
+ source_ref: string;
1360
+ module_refs: string[];
1361
+ }[];
1362
+ };
1363
+ reason: string;
1364
+ }[] | undefined;
1365
+ }[];
1366
+ indexers: {
1367
+ id: string;
1368
+ operations: ("main-index" | "material-answer")[];
1369
+ requirement_bindings: {
1370
+ coverage_domains: string[];
1371
+ requirement_ref: string;
1372
+ owned_scope: {
1373
+ targets: {
1374
+ source_ref: string;
1375
+ module_refs: string[];
1376
+ }[];
1377
+ } | {
1378
+ ref: string;
1379
+ };
1380
+ role: "primary" | "enricher";
1381
+ }[];
1382
+ read_scope: {
1383
+ refs: string[];
1384
+ extra_targets?: {
1385
+ source_ref: string;
1386
+ module_refs: string[];
1387
+ }[] | undefined;
1388
+ };
1389
+ profile: {
1390
+ primary: {
1391
+ id: string;
1392
+ provider: string;
1393
+ variants?: Record<string, string> | undefined;
1394
+ };
1395
+ additional?: {
1396
+ id: string;
1397
+ kind: "supporting" | "extension";
1398
+ provider: string;
1399
+ variants?: Record<string, string> | undefined;
1400
+ }[] | undefined;
1401
+ composers?: {
1402
+ id: string;
1403
+ provider: string;
1404
+ }[] | undefined;
1405
+ };
1406
+ providers: {
1407
+ id: string;
1408
+ role: "primary" | "extension";
1409
+ skill: string;
1410
+ version: string;
1411
+ integrity: string;
1412
+ distribution: {
1413
+ kind: "cli-bundled";
1414
+ locator: string;
1415
+ } | {
1416
+ kind: "bundled";
1417
+ locator: string;
1418
+ } | {
1419
+ kind: "workspace";
1420
+ locator: string;
1421
+ } | {
1422
+ kind: "package";
1423
+ locator: string;
1424
+ } | {
1425
+ kind: "marketplace";
1426
+ locator: string;
1427
+ };
1428
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1429
+ }[];
1430
+ customization?: {
1431
+ mode: "replace" | "extend";
1432
+ } | undefined;
1433
+ }[];
1434
+ }, {
1435
+ protocol: "context.indexer.registry/v1";
1436
+ requirements: {
1437
+ id: string;
1438
+ reader_goals: string[];
1439
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
1440
+ target_scope: {
1441
+ targets: {
1442
+ source_ref: string;
1443
+ module_refs: string[];
1444
+ }[];
1445
+ };
1446
+ evidence_source_scope: {
1447
+ targets: {
1448
+ source_ref: string;
1449
+ module_refs: string[];
1450
+ }[];
1451
+ };
1452
+ questions?: {
1453
+ ref: string;
1454
+ authority: {
1455
+ kind: "cli-base-contract" | "verified-contract-overlay";
1456
+ ref: string;
1457
+ digest: string;
1458
+ };
1459
+ contract_version: number;
1460
+ contract_digest: string;
1461
+ }[] | undefined;
1462
+ exclusions?: {
1463
+ id: string;
1464
+ scope: {
1465
+ targets: {
1466
+ source_ref: string;
1467
+ module_refs: string[];
1468
+ }[];
1469
+ };
1470
+ reason: string;
1471
+ }[] | undefined;
1472
+ }[];
1473
+ indexers: {
1474
+ id: string;
1475
+ operations: ("main-index" | "material-answer")[];
1476
+ requirement_bindings: {
1477
+ coverage_domains: string[];
1478
+ requirement_ref: string;
1479
+ owned_scope: {
1480
+ targets: {
1481
+ source_ref: string;
1482
+ module_refs: string[];
1483
+ }[];
1484
+ } | {
1485
+ ref: string;
1486
+ };
1487
+ role: "primary" | "enricher";
1488
+ }[];
1489
+ read_scope: {
1490
+ refs: string[];
1491
+ extra_targets?: {
1492
+ source_ref: string;
1493
+ module_refs: string[];
1494
+ }[] | undefined;
1495
+ };
1496
+ profile: {
1497
+ primary: {
1498
+ id: string;
1499
+ provider: string;
1500
+ variants?: Record<string, string> | undefined;
1501
+ };
1502
+ additional?: {
1503
+ id: string;
1504
+ kind: "supporting" | "extension";
1505
+ provider: string;
1506
+ variants?: Record<string, string> | undefined;
1507
+ }[] | undefined;
1508
+ composers?: {
1509
+ id: string;
1510
+ provider: string;
1511
+ }[] | undefined;
1512
+ };
1513
+ providers: {
1514
+ id: string;
1515
+ role: "primary" | "extension";
1516
+ skill: string;
1517
+ version: string;
1518
+ integrity: string;
1519
+ distribution: {
1520
+ kind: "cli-bundled";
1521
+ locator: string;
1522
+ } | {
1523
+ kind: "bundled";
1524
+ locator: string;
1525
+ } | {
1526
+ kind: "workspace";
1527
+ locator: string;
1528
+ } | {
1529
+ kind: "package";
1530
+ locator: string;
1531
+ } | {
1532
+ kind: "marketplace";
1533
+ locator: string;
1534
+ };
1535
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1536
+ }[];
1537
+ customization?: {
1538
+ mode: "replace" | "extend";
1539
+ } | undefined;
1540
+ }[];
1541
+ }>, {
1542
+ protocol: "context.indexer.registry/v1";
1543
+ requirements: {
1544
+ id: string;
1545
+ reader_goals: string[];
1546
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
1547
+ target_scope: {
1548
+ targets: {
1549
+ source_ref: string;
1550
+ module_refs: string[];
1551
+ }[];
1552
+ };
1553
+ evidence_source_scope: {
1554
+ targets: {
1555
+ source_ref: string;
1556
+ module_refs: string[];
1557
+ }[];
1558
+ };
1559
+ questions?: {
1560
+ ref: string;
1561
+ authority: {
1562
+ kind: "cli-base-contract" | "verified-contract-overlay";
1563
+ ref: string;
1564
+ digest: string;
1565
+ };
1566
+ contract_version: number;
1567
+ contract_digest: string;
1568
+ }[] | undefined;
1569
+ exclusions?: {
1570
+ id: string;
1571
+ scope: {
1572
+ targets: {
1573
+ source_ref: string;
1574
+ module_refs: string[];
1575
+ }[];
1576
+ };
1577
+ reason: string;
1578
+ }[] | undefined;
1579
+ }[];
1580
+ indexers: {
1581
+ id: string;
1582
+ operations: ("main-index" | "material-answer")[];
1583
+ requirement_bindings: {
1584
+ coverage_domains: string[];
1585
+ requirement_ref: string;
1586
+ owned_scope: {
1587
+ targets: {
1588
+ source_ref: string;
1589
+ module_refs: string[];
1590
+ }[];
1591
+ } | {
1592
+ ref: string;
1593
+ };
1594
+ role: "primary" | "enricher";
1595
+ }[];
1596
+ read_scope: {
1597
+ refs: string[];
1598
+ extra_targets?: {
1599
+ source_ref: string;
1600
+ module_refs: string[];
1601
+ }[] | undefined;
1602
+ };
1603
+ profile: {
1604
+ primary: {
1605
+ id: string;
1606
+ provider: string;
1607
+ variants?: Record<string, string> | undefined;
1608
+ };
1609
+ additional?: {
1610
+ id: string;
1611
+ kind: "supporting" | "extension";
1612
+ provider: string;
1613
+ variants?: Record<string, string> | undefined;
1614
+ }[] | undefined;
1615
+ composers?: {
1616
+ id: string;
1617
+ provider: string;
1618
+ }[] | undefined;
1619
+ };
1620
+ providers: {
1621
+ id: string;
1622
+ role: "primary" | "extension";
1623
+ skill: string;
1624
+ version: string;
1625
+ integrity: string;
1626
+ distribution: {
1627
+ kind: "cli-bundled";
1628
+ locator: string;
1629
+ } | {
1630
+ kind: "bundled";
1631
+ locator: string;
1632
+ } | {
1633
+ kind: "workspace";
1634
+ locator: string;
1635
+ } | {
1636
+ kind: "package";
1637
+ locator: string;
1638
+ } | {
1639
+ kind: "marketplace";
1640
+ locator: string;
1641
+ };
1642
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1643
+ }[];
1644
+ customization?: {
1645
+ mode: "replace" | "extend";
1646
+ } | undefined;
1647
+ }[];
1648
+ }, {
1649
+ protocol: "context.indexer.registry/v1";
1650
+ requirements: {
1651
+ id: string;
1652
+ reader_goals: string[];
1653
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
1654
+ target_scope: {
1655
+ targets: {
1656
+ source_ref: string;
1657
+ module_refs: string[];
1658
+ }[];
1659
+ };
1660
+ evidence_source_scope: {
1661
+ targets: {
1662
+ source_ref: string;
1663
+ module_refs: string[];
1664
+ }[];
1665
+ };
1666
+ questions?: {
1667
+ ref: string;
1668
+ authority: {
1669
+ kind: "cli-base-contract" | "verified-contract-overlay";
1670
+ ref: string;
1671
+ digest: string;
1672
+ };
1673
+ contract_version: number;
1674
+ contract_digest: string;
1675
+ }[] | undefined;
1676
+ exclusions?: {
1677
+ id: string;
1678
+ scope: {
1679
+ targets: {
1680
+ source_ref: string;
1681
+ module_refs: string[];
1682
+ }[];
1683
+ };
1684
+ reason: string;
1685
+ }[] | undefined;
1686
+ }[];
1687
+ indexers: {
1688
+ id: string;
1689
+ operations: ("main-index" | "material-answer")[];
1690
+ requirement_bindings: {
1691
+ coverage_domains: string[];
1692
+ requirement_ref: string;
1693
+ owned_scope: {
1694
+ targets: {
1695
+ source_ref: string;
1696
+ module_refs: string[];
1697
+ }[];
1698
+ } | {
1699
+ ref: string;
1700
+ };
1701
+ role: "primary" | "enricher";
1702
+ }[];
1703
+ read_scope: {
1704
+ refs: string[];
1705
+ extra_targets?: {
1706
+ source_ref: string;
1707
+ module_refs: string[];
1708
+ }[] | undefined;
1709
+ };
1710
+ profile: {
1711
+ primary: {
1712
+ id: string;
1713
+ provider: string;
1714
+ variants?: Record<string, string> | undefined;
1715
+ };
1716
+ additional?: {
1717
+ id: string;
1718
+ kind: "supporting" | "extension";
1719
+ provider: string;
1720
+ variants?: Record<string, string> | undefined;
1721
+ }[] | undefined;
1722
+ composers?: {
1723
+ id: string;
1724
+ provider: string;
1725
+ }[] | undefined;
1726
+ };
1727
+ providers: {
1728
+ id: string;
1729
+ role: "primary" | "extension";
1730
+ skill: string;
1731
+ version: string;
1732
+ integrity: string;
1733
+ distribution: {
1734
+ kind: "cli-bundled";
1735
+ locator: string;
1736
+ } | {
1737
+ kind: "bundled";
1738
+ locator: string;
1739
+ } | {
1740
+ kind: "workspace";
1741
+ locator: string;
1742
+ } | {
1743
+ kind: "package";
1744
+ locator: string;
1745
+ } | {
1746
+ kind: "marketplace";
1747
+ locator: string;
1748
+ };
1749
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1750
+ }[];
1751
+ customization?: {
1752
+ mode: "replace" | "extend";
1753
+ } | undefined;
1754
+ }[];
1755
+ }>;
1756
+ target_registry_digest: z.ZodString;
1757
+ added_questions: z.ZodArray<z.ZodObject<{
1758
+ binding: z.ZodObject<{
1759
+ ref: z.ZodString;
1760
+ authority: z.ZodObject<{
1761
+ kind: z.ZodLiteral<"cli-base-contract">;
1762
+ ref: z.ZodString;
1763
+ digest: z.ZodString;
1764
+ }, "strict", z.ZodTypeAny, {
1765
+ kind: "cli-base-contract";
1766
+ ref: string;
1767
+ digest: string;
1768
+ }, {
1769
+ kind: "cli-base-contract";
1770
+ ref: string;
1771
+ digest: string;
1772
+ }>;
1773
+ contract_version: z.ZodNumber;
1774
+ contract_digest: z.ZodString;
1775
+ }, "strict", z.ZodTypeAny, {
1776
+ ref: string;
1777
+ authority: {
1778
+ kind: "cli-base-contract";
1779
+ ref: string;
1780
+ digest: string;
1781
+ };
1782
+ contract_version: number;
1783
+ contract_digest: string;
1784
+ }, {
1785
+ ref: string;
1786
+ authority: {
1787
+ kind: "cli-base-contract";
1788
+ ref: string;
1789
+ digest: string;
1790
+ };
1791
+ contract_version: number;
1792
+ contract_digest: string;
1793
+ }>;
1794
+ contract: z.ZodEffects<z.ZodObject<{
1795
+ ref: z.ZodString;
1796
+ semantic: z.ZodEffects<z.ZodString, string, string>;
1797
+ version: z.ZodNumber;
1798
+ coverage_domain: z.ZodEffects<z.ZodString, string, string>;
1799
+ target_domain_ref: z.ZodEffects<z.ZodString, string, string>;
1800
+ target_selector: z.ZodObject<{
1801
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
1802
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
1803
+ }, "strict", z.ZodTypeAny, {
1804
+ protocol: "context.indexer.selector/v1";
1805
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1806
+ }, {
1807
+ protocol: "context.indexer.selector/v1";
1808
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1809
+ }>;
1810
+ evidence_contract: z.ZodObject<{
1811
+ accepted_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
1812
+ minimum_items: z.ZodNumber;
1813
+ minimum_distinct_sources: z.ZodNumber;
1814
+ provenance_constraints: z.ZodOptional<z.ZodObject<{
1815
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
1816
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
1817
+ }, "strict", z.ZodTypeAny, {
1818
+ protocol: "context.indexer.selector/v1";
1819
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1820
+ }, {
1821
+ protocol: "context.indexer.selector/v1";
1822
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1823
+ }>>;
1824
+ }, "strict", z.ZodTypeAny, {
1825
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1826
+ minimum_items: number;
1827
+ minimum_distinct_sources: number;
1828
+ provenance_constraints?: {
1829
+ protocol: "context.indexer.selector/v1";
1830
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1831
+ } | undefined;
1832
+ }, {
1833
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1834
+ minimum_items: number;
1835
+ minimum_distinct_sources: number;
1836
+ provenance_constraints?: {
1837
+ protocol: "context.indexer.selector/v1";
1838
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1839
+ } | undefined;
1840
+ }>;
1841
+ allowed_exclusion_reason_codes: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1842
+ }, "strict", z.ZodTypeAny, {
1843
+ ref: string;
1844
+ version: number;
1845
+ semantic: string;
1846
+ coverage_domain: string;
1847
+ target_domain_ref: string;
1848
+ target_selector: {
1849
+ protocol: "context.indexer.selector/v1";
1850
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1851
+ };
1852
+ evidence_contract: {
1853
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1854
+ minimum_items: number;
1855
+ minimum_distinct_sources: number;
1856
+ provenance_constraints?: {
1857
+ protocol: "context.indexer.selector/v1";
1858
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1859
+ } | undefined;
1860
+ };
1861
+ allowed_exclusion_reason_codes?: string[] | undefined;
1862
+ }, {
1863
+ ref: string;
1864
+ version: number;
1865
+ semantic: string;
1866
+ coverage_domain: string;
1867
+ target_domain_ref: string;
1868
+ target_selector: {
1869
+ protocol: "context.indexer.selector/v1";
1870
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1871
+ };
1872
+ evidence_contract: {
1873
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1874
+ minimum_items: number;
1875
+ minimum_distinct_sources: number;
1876
+ provenance_constraints?: {
1877
+ protocol: "context.indexer.selector/v1";
1878
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1879
+ } | undefined;
1880
+ };
1881
+ allowed_exclusion_reason_codes?: string[] | undefined;
1882
+ }>, {
1883
+ ref: string;
1884
+ version: number;
1885
+ semantic: string;
1886
+ coverage_domain: string;
1887
+ target_domain_ref: string;
1888
+ target_selector: {
1889
+ protocol: "context.indexer.selector/v1";
1890
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1891
+ };
1892
+ evidence_contract: {
1893
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1894
+ minimum_items: number;
1895
+ minimum_distinct_sources: number;
1896
+ provenance_constraints?: {
1897
+ protocol: "context.indexer.selector/v1";
1898
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1899
+ } | undefined;
1900
+ };
1901
+ allowed_exclusion_reason_codes?: string[] | undefined;
1902
+ }, {
1903
+ ref: string;
1904
+ version: number;
1905
+ semantic: string;
1906
+ coverage_domain: string;
1907
+ target_domain_ref: string;
1908
+ target_selector: {
1909
+ protocol: "context.indexer.selector/v1";
1910
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1911
+ };
1912
+ evidence_contract: {
1913
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1914
+ minimum_items: number;
1915
+ minimum_distinct_sources: number;
1916
+ provenance_constraints?: {
1917
+ protocol: "context.indexer.selector/v1";
1918
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1919
+ } | undefined;
1920
+ };
1921
+ allowed_exclusion_reason_codes?: string[] | undefined;
1922
+ }>;
1923
+ contract_digest: z.ZodString;
1924
+ }, "strict", z.ZodTypeAny, {
1925
+ contract: {
1926
+ ref: string;
1927
+ version: number;
1928
+ semantic: string;
1929
+ coverage_domain: string;
1930
+ target_domain_ref: string;
1931
+ target_selector: {
1932
+ protocol: "context.indexer.selector/v1";
1933
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1934
+ };
1935
+ evidence_contract: {
1936
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1937
+ minimum_items: number;
1938
+ minimum_distinct_sources: number;
1939
+ provenance_constraints?: {
1940
+ protocol: "context.indexer.selector/v1";
1941
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1942
+ } | undefined;
1943
+ };
1944
+ allowed_exclusion_reason_codes?: string[] | undefined;
1945
+ };
1946
+ contract_digest: string;
1947
+ binding: {
1948
+ ref: string;
1949
+ authority: {
1950
+ kind: "cli-base-contract";
1951
+ ref: string;
1952
+ digest: string;
1953
+ };
1954
+ contract_version: number;
1955
+ contract_digest: string;
1956
+ };
1957
+ }, {
1958
+ contract: {
1959
+ ref: string;
1960
+ version: number;
1961
+ semantic: string;
1962
+ coverage_domain: string;
1963
+ target_domain_ref: string;
1964
+ target_selector: {
1965
+ protocol: "context.indexer.selector/v1";
1966
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1967
+ };
1968
+ evidence_contract: {
1969
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1970
+ minimum_items: number;
1971
+ minimum_distinct_sources: number;
1972
+ provenance_constraints?: {
1973
+ protocol: "context.indexer.selector/v1";
1974
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1975
+ } | undefined;
1976
+ };
1977
+ allowed_exclusion_reason_codes?: string[] | undefined;
1978
+ };
1979
+ contract_digest: string;
1980
+ binding: {
1981
+ ref: string;
1982
+ authority: {
1983
+ kind: "cli-base-contract";
1984
+ ref: string;
1985
+ digest: string;
1986
+ };
1987
+ contract_version: number;
1988
+ contract_digest: string;
1989
+ };
1990
+ }>, "many">;
1991
+ comparison_digest: z.ZodString;
1992
+ amendment_digest: z.ZodString;
1993
+ }, "strict", z.ZodTypeAny, {
1994
+ protocol: "context.indexer.base-question-amendment/v1";
1995
+ profile: string;
1996
+ project_ref: string;
1997
+ target_registry: {
1998
+ protocol: "context.indexer.registry/v1";
1999
+ requirements: {
2000
+ id: string;
2001
+ reader_goals: string[];
2002
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
2003
+ target_scope: {
2004
+ targets: {
2005
+ source_ref: string;
2006
+ module_refs: string[];
2007
+ }[];
2008
+ };
2009
+ evidence_source_scope: {
2010
+ targets: {
2011
+ source_ref: string;
2012
+ module_refs: string[];
2013
+ }[];
2014
+ };
2015
+ questions?: {
2016
+ ref: string;
2017
+ authority: {
2018
+ kind: "cli-base-contract" | "verified-contract-overlay";
2019
+ ref: string;
2020
+ digest: string;
2021
+ };
2022
+ contract_version: number;
2023
+ contract_digest: string;
2024
+ }[] | undefined;
2025
+ exclusions?: {
2026
+ id: string;
2027
+ scope: {
2028
+ targets: {
2029
+ source_ref: string;
2030
+ module_refs: string[];
2031
+ }[];
2032
+ };
2033
+ reason: string;
2034
+ }[] | undefined;
2035
+ }[];
2036
+ indexers: {
2037
+ id: string;
2038
+ operations: ("main-index" | "material-answer")[];
2039
+ requirement_bindings: {
2040
+ coverage_domains: string[];
2041
+ requirement_ref: string;
2042
+ owned_scope: {
2043
+ targets: {
2044
+ source_ref: string;
2045
+ module_refs: string[];
2046
+ }[];
2047
+ } | {
2048
+ ref: string;
2049
+ };
2050
+ role: "primary" | "enricher";
2051
+ }[];
2052
+ read_scope: {
2053
+ refs: string[];
2054
+ extra_targets?: {
2055
+ source_ref: string;
2056
+ module_refs: string[];
2057
+ }[] | undefined;
2058
+ };
2059
+ profile: {
2060
+ primary: {
2061
+ id: string;
2062
+ provider: string;
2063
+ variants?: Record<string, string> | undefined;
2064
+ };
2065
+ additional?: {
2066
+ id: string;
2067
+ kind: "supporting" | "extension";
2068
+ provider: string;
2069
+ variants?: Record<string, string> | undefined;
2070
+ }[] | undefined;
2071
+ composers?: {
2072
+ id: string;
2073
+ provider: string;
2074
+ }[] | undefined;
2075
+ };
2076
+ providers: {
2077
+ id: string;
2078
+ role: "primary" | "extension";
2079
+ skill: string;
2080
+ version: string;
2081
+ integrity: string;
2082
+ distribution: {
2083
+ kind: "cli-bundled";
2084
+ locator: string;
2085
+ } | {
2086
+ kind: "bundled";
2087
+ locator: string;
2088
+ } | {
2089
+ kind: "workspace";
2090
+ locator: string;
2091
+ } | {
2092
+ kind: "package";
2093
+ locator: string;
2094
+ } | {
2095
+ kind: "marketplace";
2096
+ locator: string;
2097
+ };
2098
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2099
+ }[];
2100
+ customization?: {
2101
+ mode: "replace" | "extend";
2102
+ } | undefined;
2103
+ }[];
2104
+ };
2105
+ comparison_digest: string;
2106
+ target_requirement_digest: string;
2107
+ base_requirement_digest: string;
2108
+ base_requirement_set_digest: string;
2109
+ target_requirement_set_digest: string;
2110
+ requirement_id: string;
2111
+ target_requirement: {
2112
+ id: string;
2113
+ reader_goals: string[];
2114
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
2115
+ target_scope: {
2116
+ targets: {
2117
+ source_ref: string;
2118
+ module_refs: string[];
2119
+ }[];
2120
+ };
2121
+ evidence_source_scope: {
2122
+ targets: {
2123
+ source_ref: string;
2124
+ module_refs: string[];
2125
+ }[];
2126
+ };
2127
+ questions?: {
2128
+ ref: string;
2129
+ authority: {
2130
+ kind: "cli-base-contract" | "verified-contract-overlay";
2131
+ ref: string;
2132
+ digest: string;
2133
+ };
2134
+ contract_version: number;
2135
+ contract_digest: string;
2136
+ }[] | undefined;
2137
+ exclusions?: {
2138
+ id: string;
2139
+ scope: {
2140
+ targets: {
2141
+ source_ref: string;
2142
+ module_refs: string[];
2143
+ }[];
2144
+ };
2145
+ reason: string;
2146
+ }[] | undefined;
2147
+ };
2148
+ target_registry_digest: string;
2149
+ added_questions: {
2150
+ contract: {
2151
+ ref: string;
2152
+ version: number;
2153
+ semantic: string;
2154
+ coverage_domain: string;
2155
+ target_domain_ref: string;
2156
+ target_selector: {
2157
+ protocol: "context.indexer.selector/v1";
2158
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2159
+ };
2160
+ evidence_contract: {
2161
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2162
+ minimum_items: number;
2163
+ minimum_distinct_sources: number;
2164
+ provenance_constraints?: {
2165
+ protocol: "context.indexer.selector/v1";
2166
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2167
+ } | undefined;
2168
+ };
2169
+ allowed_exclusion_reason_codes?: string[] | undefined;
2170
+ };
2171
+ contract_digest: string;
2172
+ binding: {
2173
+ ref: string;
2174
+ authority: {
2175
+ kind: "cli-base-contract";
2176
+ ref: string;
2177
+ digest: string;
2178
+ };
2179
+ contract_version: number;
2180
+ contract_digest: string;
2181
+ };
2182
+ }[];
2183
+ amendment_digest: string;
2184
+ }, {
2185
+ protocol: "context.indexer.base-question-amendment/v1";
2186
+ profile: string;
2187
+ project_ref: string;
2188
+ target_registry: {
2189
+ protocol: "context.indexer.registry/v1";
2190
+ requirements: {
2191
+ id: string;
2192
+ reader_goals: string[];
2193
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
2194
+ target_scope: {
2195
+ targets: {
2196
+ source_ref: string;
2197
+ module_refs: string[];
2198
+ }[];
2199
+ };
2200
+ evidence_source_scope: {
2201
+ targets: {
2202
+ source_ref: string;
2203
+ module_refs: string[];
2204
+ }[];
2205
+ };
2206
+ questions?: {
2207
+ ref: string;
2208
+ authority: {
2209
+ kind: "cli-base-contract" | "verified-contract-overlay";
2210
+ ref: string;
2211
+ digest: string;
2212
+ };
2213
+ contract_version: number;
2214
+ contract_digest: string;
2215
+ }[] | undefined;
2216
+ exclusions?: {
2217
+ id: string;
2218
+ scope: {
2219
+ targets: {
2220
+ source_ref: string;
2221
+ module_refs: string[];
2222
+ }[];
2223
+ };
2224
+ reason: string;
2225
+ }[] | undefined;
2226
+ }[];
2227
+ indexers: {
2228
+ id: string;
2229
+ operations: ("main-index" | "material-answer")[];
2230
+ requirement_bindings: {
2231
+ coverage_domains: string[];
2232
+ requirement_ref: string;
2233
+ owned_scope: {
2234
+ targets: {
2235
+ source_ref: string;
2236
+ module_refs: string[];
2237
+ }[];
2238
+ } | {
2239
+ ref: string;
2240
+ };
2241
+ role: "primary" | "enricher";
2242
+ }[];
2243
+ read_scope: {
2244
+ refs: string[];
2245
+ extra_targets?: {
2246
+ source_ref: string;
2247
+ module_refs: string[];
2248
+ }[] | undefined;
2249
+ };
2250
+ profile: {
2251
+ primary: {
2252
+ id: string;
2253
+ provider: string;
2254
+ variants?: Record<string, string> | undefined;
2255
+ };
2256
+ additional?: {
2257
+ id: string;
2258
+ kind: "supporting" | "extension";
2259
+ provider: string;
2260
+ variants?: Record<string, string> | undefined;
2261
+ }[] | undefined;
2262
+ composers?: {
2263
+ id: string;
2264
+ provider: string;
2265
+ }[] | undefined;
2266
+ };
2267
+ providers: {
2268
+ id: string;
2269
+ role: "primary" | "extension";
2270
+ skill: string;
2271
+ version: string;
2272
+ integrity: string;
2273
+ distribution: {
2274
+ kind: "cli-bundled";
2275
+ locator: string;
2276
+ } | {
2277
+ kind: "bundled";
2278
+ locator: string;
2279
+ } | {
2280
+ kind: "workspace";
2281
+ locator: string;
2282
+ } | {
2283
+ kind: "package";
2284
+ locator: string;
2285
+ } | {
2286
+ kind: "marketplace";
2287
+ locator: string;
2288
+ };
2289
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2290
+ }[];
2291
+ customization?: {
2292
+ mode: "replace" | "extend";
2293
+ } | undefined;
2294
+ }[];
2295
+ };
2296
+ comparison_digest: string;
2297
+ target_requirement_digest: string;
2298
+ base_requirement_digest: string;
2299
+ base_requirement_set_digest: string;
2300
+ target_requirement_set_digest: string;
2301
+ requirement_id: string;
2302
+ target_requirement: {
2303
+ id: string;
2304
+ reader_goals: string[];
2305
+ coverage_domains: Record<string, "required" | "optional" | "out-of-scope">;
2306
+ target_scope: {
2307
+ targets: {
2308
+ source_ref: string;
2309
+ module_refs: string[];
2310
+ }[];
2311
+ };
2312
+ evidence_source_scope: {
2313
+ targets: {
2314
+ source_ref: string;
2315
+ module_refs: string[];
2316
+ }[];
2317
+ };
2318
+ questions?: {
2319
+ ref: string;
2320
+ authority: {
2321
+ kind: "cli-base-contract" | "verified-contract-overlay";
2322
+ ref: string;
2323
+ digest: string;
2324
+ };
2325
+ contract_version: number;
2326
+ contract_digest: string;
2327
+ }[] | undefined;
2328
+ exclusions?: {
2329
+ id: string;
2330
+ scope: {
2331
+ targets: {
2332
+ source_ref: string;
2333
+ module_refs: string[];
2334
+ }[];
2335
+ };
2336
+ reason: string;
2337
+ }[] | undefined;
2338
+ };
2339
+ target_registry_digest: string;
2340
+ added_questions: {
2341
+ contract: {
2342
+ ref: string;
2343
+ version: number;
2344
+ semantic: string;
2345
+ coverage_domain: string;
2346
+ target_domain_ref: string;
2347
+ target_selector: {
2348
+ protocol: "context.indexer.selector/v1";
2349
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2350
+ };
2351
+ evidence_contract: {
2352
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2353
+ minimum_items: number;
2354
+ minimum_distinct_sources: number;
2355
+ provenance_constraints?: {
2356
+ protocol: "context.indexer.selector/v1";
2357
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2358
+ } | undefined;
2359
+ };
2360
+ allowed_exclusion_reason_codes?: string[] | undefined;
2361
+ };
2362
+ contract_digest: string;
2363
+ binding: {
2364
+ ref: string;
2365
+ authority: {
2366
+ kind: "cli-base-contract";
2367
+ ref: string;
2368
+ digest: string;
2369
+ };
2370
+ contract_version: number;
2371
+ contract_digest: string;
2372
+ };
2373
+ }[];
2374
+ amendment_digest: string;
2375
+ }>;
2376
+ export type IndexerBaseQuestionAmendment = z.infer<typeof indexerBaseQuestionAmendmentSchema>;
2377
+ export declare function resolveIndexerBaseQuestionBindingAuthority(input: {
2378
+ registry: IndexerRegistry;
2379
+ requirement_id: string;
2380
+ binding: unknown;
2381
+ profile_contract: unknown;
2382
+ operator_contract: unknown;
2383
+ }): IndexerResolvedMaterialQuestion;
2384
+ export declare function buildIndexerBaseQuestionAmendment(input: {
2385
+ project_ref: string;
2386
+ registry: IndexerRegistry;
2387
+ requirement_id: string;
2388
+ profile: string;
2389
+ question_refs: readonly string[];
2390
+ profile_contract: unknown;
2391
+ operator_contract: unknown;
2392
+ }): IndexerBaseQuestionAmendment;
2393
+ export declare function validateIndexerBaseQuestionAmendment(value: unknown): IndexerBaseQuestionAmendment;
2394
+ export declare function confirmIndexerBaseQuestionAmendment(input: {
2395
+ amendment: unknown;
2396
+ authority: "managed" | "human";
2397
+ confirmed_by: string;
2398
+ confirmed_at: string;
2399
+ }): IndexerRequirementAmendmentConfirmation;
2400
+ export declare function validateIndexerBaseQuestionAmendmentConfirmation(input: {
2401
+ amendment: unknown;
2402
+ confirmation: unknown;
2403
+ }): IndexerRequirementAmendmentConfirmation;