@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,3111 @@
1
+ import { z } from "zod";
2
+ declare const unresolvedEntrySchema: z.ZodObject<{
3
+ owner_cell_ref: z.ZodString;
4
+ question_ref: z.ZodString;
5
+ question_contract_digest: z.ZodString;
6
+ question_subject_target_ref: z.ZodString;
7
+ question_target_item_digest: z.ZodString;
8
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
9
+ question_revision_digest: z.ZodString;
10
+ dependencies: z.ZodObject<{
11
+ requirement_digest: z.ZodString;
12
+ owner_cell_digest: z.ZodString;
13
+ emitted_question_digest: z.ZodString;
14
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
15
+ source_input_set_digest: z.ZodString;
16
+ }, "strict", z.ZodTypeAny, {
17
+ requirement_digest: string;
18
+ owner_cell_digest: string;
19
+ emitted_question_digest: string;
20
+ source_input_set_digest: string;
21
+ answer_landing_dependency_digest?: string | undefined;
22
+ }, {
23
+ requirement_digest: string;
24
+ owner_cell_digest: string;
25
+ emitted_question_digest: string;
26
+ source_input_set_digest: string;
27
+ answer_landing_dependency_digest?: string | undefined;
28
+ }>;
29
+ } & {
30
+ state: z.ZodLiteral<"unresolved">;
31
+ }, "strict", z.ZodTypeAny, {
32
+ state: "unresolved";
33
+ dependencies: {
34
+ requirement_digest: string;
35
+ owner_cell_digest: string;
36
+ emitted_question_digest: string;
37
+ source_input_set_digest: string;
38
+ answer_landing_dependency_digest?: string | undefined;
39
+ };
40
+ question_ref: string;
41
+ owner_cell_ref: string;
42
+ question_contract_digest: string;
43
+ question_subject_target_ref: string;
44
+ question_target_item_digest: string;
45
+ question_revision_digest: string;
46
+ answer_landing_ref?: string | undefined;
47
+ }, {
48
+ state: "unresolved";
49
+ dependencies: {
50
+ requirement_digest: string;
51
+ owner_cell_digest: string;
52
+ emitted_question_digest: string;
53
+ source_input_set_digest: string;
54
+ answer_landing_dependency_digest?: string | undefined;
55
+ };
56
+ question_ref: string;
57
+ owner_cell_ref: string;
58
+ question_contract_digest: string;
59
+ question_subject_target_ref: string;
60
+ question_target_item_digest: string;
61
+ question_revision_digest: string;
62
+ answer_landing_ref?: string | undefined;
63
+ }>;
64
+ export declare const indexerMaterialGapLedgerEntrySchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
65
+ owner_cell_ref: z.ZodString;
66
+ question_ref: z.ZodString;
67
+ question_contract_digest: z.ZodString;
68
+ question_subject_target_ref: z.ZodString;
69
+ question_target_item_digest: z.ZodString;
70
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
71
+ question_revision_digest: z.ZodString;
72
+ dependencies: z.ZodObject<{
73
+ requirement_digest: z.ZodString;
74
+ owner_cell_digest: z.ZodString;
75
+ emitted_question_digest: z.ZodString;
76
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
77
+ source_input_set_digest: z.ZodString;
78
+ }, "strict", z.ZodTypeAny, {
79
+ requirement_digest: string;
80
+ owner_cell_digest: string;
81
+ emitted_question_digest: string;
82
+ source_input_set_digest: string;
83
+ answer_landing_dependency_digest?: string | undefined;
84
+ }, {
85
+ requirement_digest: string;
86
+ owner_cell_digest: string;
87
+ emitted_question_digest: string;
88
+ source_input_set_digest: string;
89
+ answer_landing_dependency_digest?: string | undefined;
90
+ }>;
91
+ } & {
92
+ state: z.ZodLiteral<"unresolved">;
93
+ }, "strict", z.ZodTypeAny, {
94
+ state: "unresolved";
95
+ dependencies: {
96
+ requirement_digest: string;
97
+ owner_cell_digest: string;
98
+ emitted_question_digest: string;
99
+ source_input_set_digest: string;
100
+ answer_landing_dependency_digest?: string | undefined;
101
+ };
102
+ question_ref: string;
103
+ owner_cell_ref: string;
104
+ question_contract_digest: string;
105
+ question_subject_target_ref: string;
106
+ question_target_item_digest: string;
107
+ question_revision_digest: string;
108
+ answer_landing_ref?: string | undefined;
109
+ }, {
110
+ state: "unresolved";
111
+ dependencies: {
112
+ requirement_digest: string;
113
+ owner_cell_digest: string;
114
+ emitted_question_digest: string;
115
+ source_input_set_digest: string;
116
+ answer_landing_dependency_digest?: string | undefined;
117
+ };
118
+ question_ref: string;
119
+ owner_cell_ref: string;
120
+ question_contract_digest: string;
121
+ question_subject_target_ref: string;
122
+ question_target_item_digest: string;
123
+ question_revision_digest: string;
124
+ answer_landing_ref?: string | undefined;
125
+ }>, z.ZodObject<{
126
+ owner_cell_ref: z.ZodString;
127
+ question_ref: z.ZodString;
128
+ question_contract_digest: z.ZodString;
129
+ question_subject_target_ref: z.ZodString;
130
+ question_target_item_digest: z.ZodString;
131
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
132
+ question_revision_digest: z.ZodString;
133
+ dependencies: z.ZodObject<{
134
+ requirement_digest: z.ZodString;
135
+ owner_cell_digest: z.ZodString;
136
+ emitted_question_digest: z.ZodString;
137
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
138
+ source_input_set_digest: z.ZodString;
139
+ }, "strict", z.ZodTypeAny, {
140
+ requirement_digest: string;
141
+ owner_cell_digest: string;
142
+ emitted_question_digest: string;
143
+ source_input_set_digest: string;
144
+ answer_landing_dependency_digest?: string | undefined;
145
+ }, {
146
+ requirement_digest: string;
147
+ owner_cell_digest: string;
148
+ emitted_question_digest: string;
149
+ source_input_set_digest: string;
150
+ answer_landing_dependency_digest?: string | undefined;
151
+ }>;
152
+ } & {
153
+ state: z.ZodLiteral<"answer-approved">;
154
+ answer: z.ZodObject<{
155
+ accepted_workset: z.ZodObject<{
156
+ protocol: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
157
+ workset_digest: z.ZodString;
158
+ question_set_digest: z.ZodString;
159
+ question_target_inventory_digest: z.ZodString;
160
+ question_target_set_digest: z.ZodString;
161
+ predecessor_ledger_revision: z.ZodString;
162
+ registry_digest: z.ZodString;
163
+ requirement_set_digest: z.ZodString;
164
+ source_input_digests: z.ZodArray<z.ZodString, "many">;
165
+ items: z.ZodArray<z.ZodObject<{
166
+ question_key: z.ZodString;
167
+ question_contract_digest: z.ZodString;
168
+ question_revision_digest: z.ZodString;
169
+ question: z.ZodObject<{
170
+ owner_cell_ref: z.ZodString;
171
+ question_ref: z.ZodString;
172
+ question_contract_digest: z.ZodString;
173
+ question_subject_target_ref: z.ZodString;
174
+ question_target_item_digest: z.ZodString;
175
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
176
+ evidence_contract: z.ZodEffects<z.ZodObject<{
177
+ accepted_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
178
+ minimum_items: z.ZodNumber;
179
+ minimum_distinct_sources: z.ZodNumber;
180
+ provenance_constraints: z.ZodOptional<z.ZodObject<{
181
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
182
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ protocol: "context.indexer.selector/v1";
185
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
186
+ }, {
187
+ protocol: "context.indexer.selector/v1";
188
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
189
+ }>>;
190
+ }, "strict", z.ZodTypeAny, {
191
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
192
+ minimum_items: number;
193
+ minimum_distinct_sources: number;
194
+ provenance_constraints?: {
195
+ protocol: "context.indexer.selector/v1";
196
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
197
+ } | undefined;
198
+ }, {
199
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
200
+ minimum_items: number;
201
+ minimum_distinct_sources: number;
202
+ provenance_constraints?: {
203
+ protocol: "context.indexer.selector/v1";
204
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
205
+ } | undefined;
206
+ }>, {
207
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
208
+ minimum_items: number;
209
+ minimum_distinct_sources: number;
210
+ provenance_constraints?: {
211
+ protocol: "context.indexer.selector/v1";
212
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
213
+ } | undefined;
214
+ }, {
215
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
216
+ minimum_items: number;
217
+ minimum_distinct_sources: number;
218
+ provenance_constraints?: {
219
+ protocol: "context.indexer.selector/v1";
220
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
221
+ } | undefined;
222
+ }>;
223
+ source_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
224
+ }, "strict", z.ZodTypeAny, {
225
+ evidence_contract: {
226
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
227
+ minimum_items: number;
228
+ minimum_distinct_sources: number;
229
+ provenance_constraints?: {
230
+ protocol: "context.indexer.selector/v1";
231
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
232
+ } | undefined;
233
+ };
234
+ question_ref: string;
235
+ owner_cell_ref: string;
236
+ question_contract_digest: string;
237
+ question_subject_target_ref: string;
238
+ question_target_item_digest: string;
239
+ source_refs?: string[] | undefined;
240
+ answer_landing_ref?: string | undefined;
241
+ }, {
242
+ evidence_contract: {
243
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
244
+ minimum_items: number;
245
+ minimum_distinct_sources: number;
246
+ provenance_constraints?: {
247
+ protocol: "context.indexer.selector/v1";
248
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
249
+ } | undefined;
250
+ };
251
+ question_ref: string;
252
+ owner_cell_ref: string;
253
+ question_contract_digest: string;
254
+ question_subject_target_ref: string;
255
+ question_target_item_digest: string;
256
+ source_refs?: string[] | undefined;
257
+ answer_landing_ref?: string | undefined;
258
+ }>;
259
+ eligible_answer_indexer_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
260
+ authorized_source_refs: z.ZodArray<z.ZodString, "many">;
261
+ }, "strict", z.ZodTypeAny, {
262
+ question_contract_digest: string;
263
+ question_key: string;
264
+ question_revision_digest: string;
265
+ question: {
266
+ evidence_contract: {
267
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
268
+ minimum_items: number;
269
+ minimum_distinct_sources: number;
270
+ provenance_constraints?: {
271
+ protocol: "context.indexer.selector/v1";
272
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
273
+ } | undefined;
274
+ };
275
+ question_ref: string;
276
+ owner_cell_ref: string;
277
+ question_contract_digest: string;
278
+ question_subject_target_ref: string;
279
+ question_target_item_digest: string;
280
+ source_refs?: string[] | undefined;
281
+ answer_landing_ref?: string | undefined;
282
+ };
283
+ eligible_answer_indexer_ids: string[];
284
+ authorized_source_refs: string[];
285
+ }, {
286
+ question_contract_digest: string;
287
+ question_key: string;
288
+ question_revision_digest: string;
289
+ question: {
290
+ evidence_contract: {
291
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
292
+ minimum_items: number;
293
+ minimum_distinct_sources: number;
294
+ provenance_constraints?: {
295
+ protocol: "context.indexer.selector/v1";
296
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
297
+ } | undefined;
298
+ };
299
+ question_ref: string;
300
+ owner_cell_ref: string;
301
+ question_contract_digest: string;
302
+ question_subject_target_ref: string;
303
+ question_target_item_digest: string;
304
+ source_refs?: string[] | undefined;
305
+ answer_landing_ref?: string | undefined;
306
+ };
307
+ eligible_answer_indexer_ids: string[];
308
+ authorized_source_refs: string[];
309
+ }>, "many">;
310
+ }, "strict", z.ZodTypeAny, {
311
+ protocol: "context.indexer.material-question-workset/v1";
312
+ workset_digest: string;
313
+ requirement_set_digest: string;
314
+ question_target_inventory_digest: string;
315
+ items: {
316
+ question_contract_digest: string;
317
+ question_key: string;
318
+ question_revision_digest: string;
319
+ question: {
320
+ evidence_contract: {
321
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
322
+ minimum_items: number;
323
+ minimum_distinct_sources: number;
324
+ provenance_constraints?: {
325
+ protocol: "context.indexer.selector/v1";
326
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
327
+ } | undefined;
328
+ };
329
+ question_ref: string;
330
+ owner_cell_ref: string;
331
+ question_contract_digest: string;
332
+ question_subject_target_ref: string;
333
+ question_target_item_digest: string;
334
+ source_refs?: string[] | undefined;
335
+ answer_landing_ref?: string | undefined;
336
+ };
337
+ eligible_answer_indexer_ids: string[];
338
+ authorized_source_refs: string[];
339
+ }[];
340
+ question_set_digest: string;
341
+ question_target_set_digest: string;
342
+ predecessor_ledger_revision: string;
343
+ registry_digest: string;
344
+ source_input_digests: string[];
345
+ }, {
346
+ protocol: "context.indexer.material-question-workset/v1";
347
+ workset_digest: string;
348
+ requirement_set_digest: string;
349
+ question_target_inventory_digest: string;
350
+ items: {
351
+ question_contract_digest: string;
352
+ question_key: string;
353
+ question_revision_digest: string;
354
+ question: {
355
+ evidence_contract: {
356
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
357
+ minimum_items: number;
358
+ minimum_distinct_sources: number;
359
+ provenance_constraints?: {
360
+ protocol: "context.indexer.selector/v1";
361
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
362
+ } | undefined;
363
+ };
364
+ question_ref: string;
365
+ owner_cell_ref: string;
366
+ question_contract_digest: string;
367
+ question_subject_target_ref: string;
368
+ question_target_item_digest: string;
369
+ source_refs?: string[] | undefined;
370
+ answer_landing_ref?: string | undefined;
371
+ };
372
+ eligible_answer_indexer_ids: string[];
373
+ authorized_source_refs: string[];
374
+ }[];
375
+ question_set_digest: string;
376
+ question_target_set_digest: string;
377
+ predecessor_ledger_revision: string;
378
+ registry_digest: string;
379
+ source_input_digests: string[];
380
+ }>;
381
+ accepted_workset_digest: z.ZodString;
382
+ answer_indexer_id: z.ZodEffects<z.ZodString, string, string>;
383
+ answer_provider_composition_fingerprint: z.ZodString;
384
+ answer_result_digest: z.ZodString;
385
+ review_decision_digest: z.ZodString;
386
+ evidence: z.ZodArray<z.ZodObject<{
387
+ evidence_item_ref: z.ZodString;
388
+ kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
389
+ source_ref: z.ZodString;
390
+ source_origin_ref: z.ZodString;
391
+ source_input_digest: z.ZodString;
392
+ source_spans: z.ZodArray<z.ZodEffects<z.ZodObject<{
393
+ unit: z.ZodEnum<["byte", "line"]>;
394
+ start: z.ZodNumber;
395
+ end_exclusive: z.ZodNumber;
396
+ }, "strict", z.ZodTypeAny, {
397
+ unit: "byte" | "line";
398
+ start: number;
399
+ end_exclusive: number;
400
+ }, {
401
+ unit: "byte" | "line";
402
+ start: number;
403
+ end_exclusive: number;
404
+ }>, {
405
+ unit: "byte" | "line";
406
+ start: number;
407
+ end_exclusive: number;
408
+ }, {
409
+ unit: "byte" | "line";
410
+ start: number;
411
+ end_exclusive: number;
412
+ }>, "many">;
413
+ evidence_digest: z.ZodString;
414
+ }, "strict", z.ZodTypeAny, {
415
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
416
+ source_ref: string;
417
+ evidence_digest: string;
418
+ source_input_digest: string;
419
+ source_spans: {
420
+ unit: "byte" | "line";
421
+ start: number;
422
+ end_exclusive: number;
423
+ }[];
424
+ source_origin_ref: string;
425
+ evidence_item_ref: string;
426
+ }, {
427
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
428
+ source_ref: string;
429
+ evidence_digest: string;
430
+ source_input_digest: string;
431
+ source_spans: {
432
+ unit: "byte" | "line";
433
+ start: number;
434
+ end_exclusive: number;
435
+ }[];
436
+ source_origin_ref: string;
437
+ evidence_item_ref: string;
438
+ }>, "many">;
439
+ }, "strict", z.ZodTypeAny, {
440
+ evidence: {
441
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
442
+ source_ref: string;
443
+ evidence_digest: string;
444
+ source_input_digest: string;
445
+ source_spans: {
446
+ unit: "byte" | "line";
447
+ start: number;
448
+ end_exclusive: number;
449
+ }[];
450
+ source_origin_ref: string;
451
+ evidence_item_ref: string;
452
+ }[];
453
+ answer_indexer_id: string;
454
+ answer_provider_composition_fingerprint: string;
455
+ answer_result_digest: string;
456
+ accepted_workset: {
457
+ protocol: "context.indexer.material-question-workset/v1";
458
+ workset_digest: string;
459
+ requirement_set_digest: string;
460
+ question_target_inventory_digest: string;
461
+ items: {
462
+ question_contract_digest: string;
463
+ question_key: string;
464
+ question_revision_digest: string;
465
+ question: {
466
+ evidence_contract: {
467
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
468
+ minimum_items: number;
469
+ minimum_distinct_sources: number;
470
+ provenance_constraints?: {
471
+ protocol: "context.indexer.selector/v1";
472
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
473
+ } | undefined;
474
+ };
475
+ question_ref: string;
476
+ owner_cell_ref: string;
477
+ question_contract_digest: string;
478
+ question_subject_target_ref: string;
479
+ question_target_item_digest: string;
480
+ source_refs?: string[] | undefined;
481
+ answer_landing_ref?: string | undefined;
482
+ };
483
+ eligible_answer_indexer_ids: string[];
484
+ authorized_source_refs: string[];
485
+ }[];
486
+ question_set_digest: string;
487
+ question_target_set_digest: string;
488
+ predecessor_ledger_revision: string;
489
+ registry_digest: string;
490
+ source_input_digests: string[];
491
+ };
492
+ accepted_workset_digest: string;
493
+ review_decision_digest: string;
494
+ }, {
495
+ evidence: {
496
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
497
+ source_ref: string;
498
+ evidence_digest: string;
499
+ source_input_digest: string;
500
+ source_spans: {
501
+ unit: "byte" | "line";
502
+ start: number;
503
+ end_exclusive: number;
504
+ }[];
505
+ source_origin_ref: string;
506
+ evidence_item_ref: string;
507
+ }[];
508
+ answer_indexer_id: string;
509
+ answer_provider_composition_fingerprint: string;
510
+ answer_result_digest: string;
511
+ accepted_workset: {
512
+ protocol: "context.indexer.material-question-workset/v1";
513
+ workset_digest: string;
514
+ requirement_set_digest: string;
515
+ question_target_inventory_digest: string;
516
+ items: {
517
+ question_contract_digest: string;
518
+ question_key: string;
519
+ question_revision_digest: string;
520
+ question: {
521
+ evidence_contract: {
522
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
523
+ minimum_items: number;
524
+ minimum_distinct_sources: number;
525
+ provenance_constraints?: {
526
+ protocol: "context.indexer.selector/v1";
527
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
528
+ } | undefined;
529
+ };
530
+ question_ref: string;
531
+ owner_cell_ref: string;
532
+ question_contract_digest: string;
533
+ question_subject_target_ref: string;
534
+ question_target_item_digest: string;
535
+ source_refs?: string[] | undefined;
536
+ answer_landing_ref?: string | undefined;
537
+ };
538
+ eligible_answer_indexer_ids: string[];
539
+ authorized_source_refs: string[];
540
+ }[];
541
+ question_set_digest: string;
542
+ question_target_set_digest: string;
543
+ predecessor_ledger_revision: string;
544
+ registry_digest: string;
545
+ source_input_digests: string[];
546
+ };
547
+ accepted_workset_digest: string;
548
+ review_decision_digest: string;
549
+ }>;
550
+ }, "strict", z.ZodTypeAny, {
551
+ state: "answer-approved";
552
+ dependencies: {
553
+ requirement_digest: string;
554
+ owner_cell_digest: string;
555
+ emitted_question_digest: string;
556
+ source_input_set_digest: string;
557
+ answer_landing_dependency_digest?: string | undefined;
558
+ };
559
+ question_ref: string;
560
+ owner_cell_ref: string;
561
+ question_contract_digest: string;
562
+ question_subject_target_ref: string;
563
+ question_target_item_digest: string;
564
+ question_revision_digest: string;
565
+ answer: {
566
+ evidence: {
567
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
568
+ source_ref: string;
569
+ evidence_digest: string;
570
+ source_input_digest: string;
571
+ source_spans: {
572
+ unit: "byte" | "line";
573
+ start: number;
574
+ end_exclusive: number;
575
+ }[];
576
+ source_origin_ref: string;
577
+ evidence_item_ref: string;
578
+ }[];
579
+ answer_indexer_id: string;
580
+ answer_provider_composition_fingerprint: string;
581
+ answer_result_digest: string;
582
+ accepted_workset: {
583
+ protocol: "context.indexer.material-question-workset/v1";
584
+ workset_digest: string;
585
+ requirement_set_digest: string;
586
+ question_target_inventory_digest: string;
587
+ items: {
588
+ question_contract_digest: string;
589
+ question_key: string;
590
+ question_revision_digest: string;
591
+ question: {
592
+ evidence_contract: {
593
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
594
+ minimum_items: number;
595
+ minimum_distinct_sources: number;
596
+ provenance_constraints?: {
597
+ protocol: "context.indexer.selector/v1";
598
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
599
+ } | undefined;
600
+ };
601
+ question_ref: string;
602
+ owner_cell_ref: string;
603
+ question_contract_digest: string;
604
+ question_subject_target_ref: string;
605
+ question_target_item_digest: string;
606
+ source_refs?: string[] | undefined;
607
+ answer_landing_ref?: string | undefined;
608
+ };
609
+ eligible_answer_indexer_ids: string[];
610
+ authorized_source_refs: string[];
611
+ }[];
612
+ question_set_digest: string;
613
+ question_target_set_digest: string;
614
+ predecessor_ledger_revision: string;
615
+ registry_digest: string;
616
+ source_input_digests: string[];
617
+ };
618
+ accepted_workset_digest: string;
619
+ review_decision_digest: string;
620
+ };
621
+ answer_landing_ref?: string | undefined;
622
+ }, {
623
+ state: "answer-approved";
624
+ dependencies: {
625
+ requirement_digest: string;
626
+ owner_cell_digest: string;
627
+ emitted_question_digest: string;
628
+ source_input_set_digest: string;
629
+ answer_landing_dependency_digest?: string | undefined;
630
+ };
631
+ question_ref: string;
632
+ owner_cell_ref: string;
633
+ question_contract_digest: string;
634
+ question_subject_target_ref: string;
635
+ question_target_item_digest: string;
636
+ question_revision_digest: string;
637
+ answer: {
638
+ evidence: {
639
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
640
+ source_ref: string;
641
+ evidence_digest: string;
642
+ source_input_digest: string;
643
+ source_spans: {
644
+ unit: "byte" | "line";
645
+ start: number;
646
+ end_exclusive: number;
647
+ }[];
648
+ source_origin_ref: string;
649
+ evidence_item_ref: string;
650
+ }[];
651
+ answer_indexer_id: string;
652
+ answer_provider_composition_fingerprint: string;
653
+ answer_result_digest: string;
654
+ accepted_workset: {
655
+ protocol: "context.indexer.material-question-workset/v1";
656
+ workset_digest: string;
657
+ requirement_set_digest: string;
658
+ question_target_inventory_digest: string;
659
+ items: {
660
+ question_contract_digest: string;
661
+ question_key: string;
662
+ question_revision_digest: string;
663
+ question: {
664
+ evidence_contract: {
665
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
666
+ minimum_items: number;
667
+ minimum_distinct_sources: number;
668
+ provenance_constraints?: {
669
+ protocol: "context.indexer.selector/v1";
670
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
671
+ } | undefined;
672
+ };
673
+ question_ref: string;
674
+ owner_cell_ref: string;
675
+ question_contract_digest: string;
676
+ question_subject_target_ref: string;
677
+ question_target_item_digest: string;
678
+ source_refs?: string[] | undefined;
679
+ answer_landing_ref?: string | undefined;
680
+ };
681
+ eligible_answer_indexer_ids: string[];
682
+ authorized_source_refs: string[];
683
+ }[];
684
+ question_set_digest: string;
685
+ question_target_set_digest: string;
686
+ predecessor_ledger_revision: string;
687
+ registry_digest: string;
688
+ source_input_digests: string[];
689
+ };
690
+ accepted_workset_digest: string;
691
+ review_decision_digest: string;
692
+ };
693
+ answer_landing_ref?: string | undefined;
694
+ }>, z.ZodObject<{
695
+ owner_cell_ref: z.ZodString;
696
+ question_ref: z.ZodString;
697
+ question_contract_digest: z.ZodString;
698
+ question_subject_target_ref: z.ZodString;
699
+ question_target_item_digest: z.ZodString;
700
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
701
+ question_revision_digest: z.ZodString;
702
+ dependencies: z.ZodObject<{
703
+ requirement_digest: z.ZodString;
704
+ owner_cell_digest: z.ZodString;
705
+ emitted_question_digest: z.ZodString;
706
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
707
+ source_input_set_digest: z.ZodString;
708
+ }, "strict", z.ZodTypeAny, {
709
+ requirement_digest: string;
710
+ owner_cell_digest: string;
711
+ emitted_question_digest: string;
712
+ source_input_set_digest: string;
713
+ answer_landing_dependency_digest?: string | undefined;
714
+ }, {
715
+ requirement_digest: string;
716
+ owner_cell_digest: string;
717
+ emitted_question_digest: string;
718
+ source_input_set_digest: string;
719
+ answer_landing_dependency_digest?: string | undefined;
720
+ }>;
721
+ } & {
722
+ state: z.ZodLiteral<"resolved">;
723
+ answer: z.ZodObject<{
724
+ accepted_workset: z.ZodObject<{
725
+ protocol: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
726
+ workset_digest: z.ZodString;
727
+ question_set_digest: z.ZodString;
728
+ question_target_inventory_digest: z.ZodString;
729
+ question_target_set_digest: z.ZodString;
730
+ predecessor_ledger_revision: z.ZodString;
731
+ registry_digest: z.ZodString;
732
+ requirement_set_digest: z.ZodString;
733
+ source_input_digests: z.ZodArray<z.ZodString, "many">;
734
+ items: z.ZodArray<z.ZodObject<{
735
+ question_key: z.ZodString;
736
+ question_contract_digest: z.ZodString;
737
+ question_revision_digest: z.ZodString;
738
+ question: z.ZodObject<{
739
+ owner_cell_ref: z.ZodString;
740
+ question_ref: z.ZodString;
741
+ question_contract_digest: z.ZodString;
742
+ question_subject_target_ref: z.ZodString;
743
+ question_target_item_digest: z.ZodString;
744
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
745
+ evidence_contract: z.ZodEffects<z.ZodObject<{
746
+ accepted_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
747
+ minimum_items: z.ZodNumber;
748
+ minimum_distinct_sources: z.ZodNumber;
749
+ provenance_constraints: z.ZodOptional<z.ZodObject<{
750
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
751
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
752
+ }, "strict", z.ZodTypeAny, {
753
+ protocol: "context.indexer.selector/v1";
754
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
755
+ }, {
756
+ protocol: "context.indexer.selector/v1";
757
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
758
+ }>>;
759
+ }, "strict", z.ZodTypeAny, {
760
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
761
+ minimum_items: number;
762
+ minimum_distinct_sources: number;
763
+ provenance_constraints?: {
764
+ protocol: "context.indexer.selector/v1";
765
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
766
+ } | undefined;
767
+ }, {
768
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
769
+ minimum_items: number;
770
+ minimum_distinct_sources: number;
771
+ provenance_constraints?: {
772
+ protocol: "context.indexer.selector/v1";
773
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
774
+ } | undefined;
775
+ }>, {
776
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
777
+ minimum_items: number;
778
+ minimum_distinct_sources: number;
779
+ provenance_constraints?: {
780
+ protocol: "context.indexer.selector/v1";
781
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
782
+ } | undefined;
783
+ }, {
784
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
785
+ minimum_items: number;
786
+ minimum_distinct_sources: number;
787
+ provenance_constraints?: {
788
+ protocol: "context.indexer.selector/v1";
789
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
790
+ } | undefined;
791
+ }>;
792
+ source_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
793
+ }, "strict", z.ZodTypeAny, {
794
+ evidence_contract: {
795
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
796
+ minimum_items: number;
797
+ minimum_distinct_sources: number;
798
+ provenance_constraints?: {
799
+ protocol: "context.indexer.selector/v1";
800
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
801
+ } | undefined;
802
+ };
803
+ question_ref: string;
804
+ owner_cell_ref: string;
805
+ question_contract_digest: string;
806
+ question_subject_target_ref: string;
807
+ question_target_item_digest: string;
808
+ source_refs?: string[] | undefined;
809
+ answer_landing_ref?: string | undefined;
810
+ }, {
811
+ evidence_contract: {
812
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
813
+ minimum_items: number;
814
+ minimum_distinct_sources: number;
815
+ provenance_constraints?: {
816
+ protocol: "context.indexer.selector/v1";
817
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
818
+ } | undefined;
819
+ };
820
+ question_ref: string;
821
+ owner_cell_ref: string;
822
+ question_contract_digest: string;
823
+ question_subject_target_ref: string;
824
+ question_target_item_digest: string;
825
+ source_refs?: string[] | undefined;
826
+ answer_landing_ref?: string | undefined;
827
+ }>;
828
+ eligible_answer_indexer_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
829
+ authorized_source_refs: z.ZodArray<z.ZodString, "many">;
830
+ }, "strict", z.ZodTypeAny, {
831
+ question_contract_digest: string;
832
+ question_key: string;
833
+ question_revision_digest: string;
834
+ question: {
835
+ evidence_contract: {
836
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
837
+ minimum_items: number;
838
+ minimum_distinct_sources: number;
839
+ provenance_constraints?: {
840
+ protocol: "context.indexer.selector/v1";
841
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
842
+ } | undefined;
843
+ };
844
+ question_ref: string;
845
+ owner_cell_ref: string;
846
+ question_contract_digest: string;
847
+ question_subject_target_ref: string;
848
+ question_target_item_digest: string;
849
+ source_refs?: string[] | undefined;
850
+ answer_landing_ref?: string | undefined;
851
+ };
852
+ eligible_answer_indexer_ids: string[];
853
+ authorized_source_refs: string[];
854
+ }, {
855
+ question_contract_digest: string;
856
+ question_key: string;
857
+ question_revision_digest: string;
858
+ question: {
859
+ evidence_contract: {
860
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
861
+ minimum_items: number;
862
+ minimum_distinct_sources: number;
863
+ provenance_constraints?: {
864
+ protocol: "context.indexer.selector/v1";
865
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
866
+ } | undefined;
867
+ };
868
+ question_ref: string;
869
+ owner_cell_ref: string;
870
+ question_contract_digest: string;
871
+ question_subject_target_ref: string;
872
+ question_target_item_digest: string;
873
+ source_refs?: string[] | undefined;
874
+ answer_landing_ref?: string | undefined;
875
+ };
876
+ eligible_answer_indexer_ids: string[];
877
+ authorized_source_refs: string[];
878
+ }>, "many">;
879
+ }, "strict", z.ZodTypeAny, {
880
+ protocol: "context.indexer.material-question-workset/v1";
881
+ workset_digest: string;
882
+ requirement_set_digest: string;
883
+ question_target_inventory_digest: string;
884
+ items: {
885
+ question_contract_digest: string;
886
+ question_key: string;
887
+ question_revision_digest: string;
888
+ question: {
889
+ evidence_contract: {
890
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
891
+ minimum_items: number;
892
+ minimum_distinct_sources: number;
893
+ provenance_constraints?: {
894
+ protocol: "context.indexer.selector/v1";
895
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
896
+ } | undefined;
897
+ };
898
+ question_ref: string;
899
+ owner_cell_ref: string;
900
+ question_contract_digest: string;
901
+ question_subject_target_ref: string;
902
+ question_target_item_digest: string;
903
+ source_refs?: string[] | undefined;
904
+ answer_landing_ref?: string | undefined;
905
+ };
906
+ eligible_answer_indexer_ids: string[];
907
+ authorized_source_refs: string[];
908
+ }[];
909
+ question_set_digest: string;
910
+ question_target_set_digest: string;
911
+ predecessor_ledger_revision: string;
912
+ registry_digest: string;
913
+ source_input_digests: string[];
914
+ }, {
915
+ protocol: "context.indexer.material-question-workset/v1";
916
+ workset_digest: string;
917
+ requirement_set_digest: string;
918
+ question_target_inventory_digest: string;
919
+ items: {
920
+ question_contract_digest: string;
921
+ question_key: string;
922
+ question_revision_digest: string;
923
+ question: {
924
+ evidence_contract: {
925
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
926
+ minimum_items: number;
927
+ minimum_distinct_sources: number;
928
+ provenance_constraints?: {
929
+ protocol: "context.indexer.selector/v1";
930
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
931
+ } | undefined;
932
+ };
933
+ question_ref: string;
934
+ owner_cell_ref: string;
935
+ question_contract_digest: string;
936
+ question_subject_target_ref: string;
937
+ question_target_item_digest: string;
938
+ source_refs?: string[] | undefined;
939
+ answer_landing_ref?: string | undefined;
940
+ };
941
+ eligible_answer_indexer_ids: string[];
942
+ authorized_source_refs: string[];
943
+ }[];
944
+ question_set_digest: string;
945
+ question_target_set_digest: string;
946
+ predecessor_ledger_revision: string;
947
+ registry_digest: string;
948
+ source_input_digests: string[];
949
+ }>;
950
+ accepted_workset_digest: z.ZodString;
951
+ answer_indexer_id: z.ZodEffects<z.ZodString, string, string>;
952
+ answer_provider_composition_fingerprint: z.ZodString;
953
+ answer_result_digest: z.ZodString;
954
+ review_decision_digest: z.ZodString;
955
+ evidence: z.ZodArray<z.ZodObject<{
956
+ evidence_item_ref: z.ZodString;
957
+ kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
958
+ source_ref: z.ZodString;
959
+ source_origin_ref: z.ZodString;
960
+ source_input_digest: z.ZodString;
961
+ source_spans: z.ZodArray<z.ZodEffects<z.ZodObject<{
962
+ unit: z.ZodEnum<["byte", "line"]>;
963
+ start: z.ZodNumber;
964
+ end_exclusive: z.ZodNumber;
965
+ }, "strict", z.ZodTypeAny, {
966
+ unit: "byte" | "line";
967
+ start: number;
968
+ end_exclusive: number;
969
+ }, {
970
+ unit: "byte" | "line";
971
+ start: number;
972
+ end_exclusive: number;
973
+ }>, {
974
+ unit: "byte" | "line";
975
+ start: number;
976
+ end_exclusive: number;
977
+ }, {
978
+ unit: "byte" | "line";
979
+ start: number;
980
+ end_exclusive: number;
981
+ }>, "many">;
982
+ evidence_digest: z.ZodString;
983
+ }, "strict", z.ZodTypeAny, {
984
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
985
+ source_ref: string;
986
+ evidence_digest: string;
987
+ source_input_digest: string;
988
+ source_spans: {
989
+ unit: "byte" | "line";
990
+ start: number;
991
+ end_exclusive: number;
992
+ }[];
993
+ source_origin_ref: string;
994
+ evidence_item_ref: string;
995
+ }, {
996
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
997
+ source_ref: string;
998
+ evidence_digest: string;
999
+ source_input_digest: string;
1000
+ source_spans: {
1001
+ unit: "byte" | "line";
1002
+ start: number;
1003
+ end_exclusive: number;
1004
+ }[];
1005
+ source_origin_ref: string;
1006
+ evidence_item_ref: string;
1007
+ }>, "many">;
1008
+ }, "strict", z.ZodTypeAny, {
1009
+ evidence: {
1010
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1011
+ source_ref: string;
1012
+ evidence_digest: string;
1013
+ source_input_digest: string;
1014
+ source_spans: {
1015
+ unit: "byte" | "line";
1016
+ start: number;
1017
+ end_exclusive: number;
1018
+ }[];
1019
+ source_origin_ref: string;
1020
+ evidence_item_ref: string;
1021
+ }[];
1022
+ answer_indexer_id: string;
1023
+ answer_provider_composition_fingerprint: string;
1024
+ answer_result_digest: string;
1025
+ accepted_workset: {
1026
+ protocol: "context.indexer.material-question-workset/v1";
1027
+ workset_digest: string;
1028
+ requirement_set_digest: string;
1029
+ question_target_inventory_digest: string;
1030
+ items: {
1031
+ question_contract_digest: string;
1032
+ question_key: string;
1033
+ question_revision_digest: string;
1034
+ question: {
1035
+ evidence_contract: {
1036
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1037
+ minimum_items: number;
1038
+ minimum_distinct_sources: number;
1039
+ provenance_constraints?: {
1040
+ protocol: "context.indexer.selector/v1";
1041
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1042
+ } | undefined;
1043
+ };
1044
+ question_ref: string;
1045
+ owner_cell_ref: string;
1046
+ question_contract_digest: string;
1047
+ question_subject_target_ref: string;
1048
+ question_target_item_digest: string;
1049
+ source_refs?: string[] | undefined;
1050
+ answer_landing_ref?: string | undefined;
1051
+ };
1052
+ eligible_answer_indexer_ids: string[];
1053
+ authorized_source_refs: string[];
1054
+ }[];
1055
+ question_set_digest: string;
1056
+ question_target_set_digest: string;
1057
+ predecessor_ledger_revision: string;
1058
+ registry_digest: string;
1059
+ source_input_digests: string[];
1060
+ };
1061
+ accepted_workset_digest: string;
1062
+ review_decision_digest: string;
1063
+ }, {
1064
+ evidence: {
1065
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1066
+ source_ref: string;
1067
+ evidence_digest: string;
1068
+ source_input_digest: string;
1069
+ source_spans: {
1070
+ unit: "byte" | "line";
1071
+ start: number;
1072
+ end_exclusive: number;
1073
+ }[];
1074
+ source_origin_ref: string;
1075
+ evidence_item_ref: string;
1076
+ }[];
1077
+ answer_indexer_id: string;
1078
+ answer_provider_composition_fingerprint: string;
1079
+ answer_result_digest: string;
1080
+ accepted_workset: {
1081
+ protocol: "context.indexer.material-question-workset/v1";
1082
+ workset_digest: string;
1083
+ requirement_set_digest: string;
1084
+ question_target_inventory_digest: string;
1085
+ items: {
1086
+ question_contract_digest: string;
1087
+ question_key: string;
1088
+ question_revision_digest: string;
1089
+ question: {
1090
+ evidence_contract: {
1091
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1092
+ minimum_items: number;
1093
+ minimum_distinct_sources: number;
1094
+ provenance_constraints?: {
1095
+ protocol: "context.indexer.selector/v1";
1096
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1097
+ } | undefined;
1098
+ };
1099
+ question_ref: string;
1100
+ owner_cell_ref: string;
1101
+ question_contract_digest: string;
1102
+ question_subject_target_ref: string;
1103
+ question_target_item_digest: string;
1104
+ source_refs?: string[] | undefined;
1105
+ answer_landing_ref?: string | undefined;
1106
+ };
1107
+ eligible_answer_indexer_ids: string[];
1108
+ authorized_source_refs: string[];
1109
+ }[];
1110
+ question_set_digest: string;
1111
+ question_target_set_digest: string;
1112
+ predecessor_ledger_revision: string;
1113
+ registry_digest: string;
1114
+ source_input_digests: string[];
1115
+ };
1116
+ accepted_workset_digest: string;
1117
+ review_decision_digest: string;
1118
+ }>;
1119
+ actualization: z.ZodObject<{
1120
+ actualized_target_ref: z.ZodString;
1121
+ section_ref: z.ZodOptional<z.ZodString>;
1122
+ layout_digest: z.ZodString;
1123
+ planned_answer_digest: z.ZodString;
1124
+ actualization_digest: z.ZodString;
1125
+ }, "strict", z.ZodTypeAny, {
1126
+ planned_answer_digest: string;
1127
+ actualized_target_ref: string;
1128
+ layout_digest: string;
1129
+ actualization_digest: string;
1130
+ section_ref?: string | undefined;
1131
+ }, {
1132
+ planned_answer_digest: string;
1133
+ actualized_target_ref: string;
1134
+ layout_digest: string;
1135
+ actualization_digest: string;
1136
+ section_ref?: string | undefined;
1137
+ }>;
1138
+ }, "strict", z.ZodTypeAny, {
1139
+ state: "resolved";
1140
+ dependencies: {
1141
+ requirement_digest: string;
1142
+ owner_cell_digest: string;
1143
+ emitted_question_digest: string;
1144
+ source_input_set_digest: string;
1145
+ answer_landing_dependency_digest?: string | undefined;
1146
+ };
1147
+ question_ref: string;
1148
+ owner_cell_ref: string;
1149
+ question_contract_digest: string;
1150
+ question_subject_target_ref: string;
1151
+ question_target_item_digest: string;
1152
+ question_revision_digest: string;
1153
+ answer: {
1154
+ evidence: {
1155
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1156
+ source_ref: string;
1157
+ evidence_digest: string;
1158
+ source_input_digest: string;
1159
+ source_spans: {
1160
+ unit: "byte" | "line";
1161
+ start: number;
1162
+ end_exclusive: number;
1163
+ }[];
1164
+ source_origin_ref: string;
1165
+ evidence_item_ref: string;
1166
+ }[];
1167
+ answer_indexer_id: string;
1168
+ answer_provider_composition_fingerprint: string;
1169
+ answer_result_digest: string;
1170
+ accepted_workset: {
1171
+ protocol: "context.indexer.material-question-workset/v1";
1172
+ workset_digest: string;
1173
+ requirement_set_digest: string;
1174
+ question_target_inventory_digest: string;
1175
+ items: {
1176
+ question_contract_digest: string;
1177
+ question_key: string;
1178
+ question_revision_digest: string;
1179
+ question: {
1180
+ evidence_contract: {
1181
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1182
+ minimum_items: number;
1183
+ minimum_distinct_sources: number;
1184
+ provenance_constraints?: {
1185
+ protocol: "context.indexer.selector/v1";
1186
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1187
+ } | undefined;
1188
+ };
1189
+ question_ref: string;
1190
+ owner_cell_ref: string;
1191
+ question_contract_digest: string;
1192
+ question_subject_target_ref: string;
1193
+ question_target_item_digest: string;
1194
+ source_refs?: string[] | undefined;
1195
+ answer_landing_ref?: string | undefined;
1196
+ };
1197
+ eligible_answer_indexer_ids: string[];
1198
+ authorized_source_refs: string[];
1199
+ }[];
1200
+ question_set_digest: string;
1201
+ question_target_set_digest: string;
1202
+ predecessor_ledger_revision: string;
1203
+ registry_digest: string;
1204
+ source_input_digests: string[];
1205
+ };
1206
+ accepted_workset_digest: string;
1207
+ review_decision_digest: string;
1208
+ };
1209
+ actualization: {
1210
+ planned_answer_digest: string;
1211
+ actualized_target_ref: string;
1212
+ layout_digest: string;
1213
+ actualization_digest: string;
1214
+ section_ref?: string | undefined;
1215
+ };
1216
+ answer_landing_ref?: string | undefined;
1217
+ }, {
1218
+ state: "resolved";
1219
+ dependencies: {
1220
+ requirement_digest: string;
1221
+ owner_cell_digest: string;
1222
+ emitted_question_digest: string;
1223
+ source_input_set_digest: string;
1224
+ answer_landing_dependency_digest?: string | undefined;
1225
+ };
1226
+ question_ref: string;
1227
+ owner_cell_ref: string;
1228
+ question_contract_digest: string;
1229
+ question_subject_target_ref: string;
1230
+ question_target_item_digest: string;
1231
+ question_revision_digest: string;
1232
+ answer: {
1233
+ evidence: {
1234
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1235
+ source_ref: string;
1236
+ evidence_digest: string;
1237
+ source_input_digest: string;
1238
+ source_spans: {
1239
+ unit: "byte" | "line";
1240
+ start: number;
1241
+ end_exclusive: number;
1242
+ }[];
1243
+ source_origin_ref: string;
1244
+ evidence_item_ref: string;
1245
+ }[];
1246
+ answer_indexer_id: string;
1247
+ answer_provider_composition_fingerprint: string;
1248
+ answer_result_digest: string;
1249
+ accepted_workset: {
1250
+ protocol: "context.indexer.material-question-workset/v1";
1251
+ workset_digest: string;
1252
+ requirement_set_digest: string;
1253
+ question_target_inventory_digest: string;
1254
+ items: {
1255
+ question_contract_digest: string;
1256
+ question_key: string;
1257
+ question_revision_digest: string;
1258
+ question: {
1259
+ evidence_contract: {
1260
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1261
+ minimum_items: number;
1262
+ minimum_distinct_sources: number;
1263
+ provenance_constraints?: {
1264
+ protocol: "context.indexer.selector/v1";
1265
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1266
+ } | undefined;
1267
+ };
1268
+ question_ref: string;
1269
+ owner_cell_ref: string;
1270
+ question_contract_digest: string;
1271
+ question_subject_target_ref: string;
1272
+ question_target_item_digest: string;
1273
+ source_refs?: string[] | undefined;
1274
+ answer_landing_ref?: string | undefined;
1275
+ };
1276
+ eligible_answer_indexer_ids: string[];
1277
+ authorized_source_refs: string[];
1278
+ }[];
1279
+ question_set_digest: string;
1280
+ question_target_set_digest: string;
1281
+ predecessor_ledger_revision: string;
1282
+ registry_digest: string;
1283
+ source_input_digests: string[];
1284
+ };
1285
+ accepted_workset_digest: string;
1286
+ review_decision_digest: string;
1287
+ };
1288
+ actualization: {
1289
+ planned_answer_digest: string;
1290
+ actualized_target_ref: string;
1291
+ layout_digest: string;
1292
+ actualization_digest: string;
1293
+ section_ref?: string | undefined;
1294
+ };
1295
+ answer_landing_ref?: string | undefined;
1296
+ }>, z.ZodObject<{
1297
+ owner_cell_ref: z.ZodString;
1298
+ question_ref: z.ZodString;
1299
+ question_contract_digest: z.ZodString;
1300
+ question_subject_target_ref: z.ZodString;
1301
+ question_target_item_digest: z.ZodString;
1302
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
1303
+ question_revision_digest: z.ZodString;
1304
+ dependencies: z.ZodObject<{
1305
+ requirement_digest: z.ZodString;
1306
+ owner_cell_digest: z.ZodString;
1307
+ emitted_question_digest: z.ZodString;
1308
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
1309
+ source_input_set_digest: z.ZodString;
1310
+ }, "strict", z.ZodTypeAny, {
1311
+ requirement_digest: string;
1312
+ owner_cell_digest: string;
1313
+ emitted_question_digest: string;
1314
+ source_input_set_digest: string;
1315
+ answer_landing_dependency_digest?: string | undefined;
1316
+ }, {
1317
+ requirement_digest: string;
1318
+ owner_cell_digest: string;
1319
+ emitted_question_digest: string;
1320
+ source_input_set_digest: string;
1321
+ answer_landing_dependency_digest?: string | undefined;
1322
+ }>;
1323
+ } & {
1324
+ state: z.ZodLiteral<"excluded-with-confirmed-reason">;
1325
+ exclusion: z.ZodObject<{
1326
+ reason_code: z.ZodEffects<z.ZodString, string, string>;
1327
+ decision_digest: z.ZodString;
1328
+ }, "strict", z.ZodTypeAny, {
1329
+ reason_code: string;
1330
+ decision_digest: string;
1331
+ }, {
1332
+ reason_code: string;
1333
+ decision_digest: string;
1334
+ }>;
1335
+ }, "strict", z.ZodTypeAny, {
1336
+ state: "excluded-with-confirmed-reason";
1337
+ dependencies: {
1338
+ requirement_digest: string;
1339
+ owner_cell_digest: string;
1340
+ emitted_question_digest: string;
1341
+ source_input_set_digest: string;
1342
+ answer_landing_dependency_digest?: string | undefined;
1343
+ };
1344
+ question_ref: string;
1345
+ owner_cell_ref: string;
1346
+ question_contract_digest: string;
1347
+ question_subject_target_ref: string;
1348
+ question_target_item_digest: string;
1349
+ question_revision_digest: string;
1350
+ exclusion: {
1351
+ reason_code: string;
1352
+ decision_digest: string;
1353
+ };
1354
+ answer_landing_ref?: string | undefined;
1355
+ }, {
1356
+ state: "excluded-with-confirmed-reason";
1357
+ dependencies: {
1358
+ requirement_digest: string;
1359
+ owner_cell_digest: string;
1360
+ emitted_question_digest: string;
1361
+ source_input_set_digest: string;
1362
+ answer_landing_dependency_digest?: string | undefined;
1363
+ };
1364
+ question_ref: string;
1365
+ owner_cell_ref: string;
1366
+ question_contract_digest: string;
1367
+ question_subject_target_ref: string;
1368
+ question_target_item_digest: string;
1369
+ question_revision_digest: string;
1370
+ exclusion: {
1371
+ reason_code: string;
1372
+ decision_digest: string;
1373
+ };
1374
+ answer_landing_ref?: string | undefined;
1375
+ }>]>;
1376
+ export declare const indexerMaterialGapLedgerSchema: z.ZodObject<{
1377
+ protocol: z.ZodLiteral<"context.indexer.material-gap-ledger/v1">;
1378
+ revision: z.ZodString;
1379
+ question_target_inventory_digest: z.ZodString;
1380
+ entries: z.ZodArray<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
1381
+ owner_cell_ref: z.ZodString;
1382
+ question_ref: z.ZodString;
1383
+ question_contract_digest: z.ZodString;
1384
+ question_subject_target_ref: z.ZodString;
1385
+ question_target_item_digest: z.ZodString;
1386
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
1387
+ question_revision_digest: z.ZodString;
1388
+ dependencies: z.ZodObject<{
1389
+ requirement_digest: z.ZodString;
1390
+ owner_cell_digest: z.ZodString;
1391
+ emitted_question_digest: z.ZodString;
1392
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
1393
+ source_input_set_digest: z.ZodString;
1394
+ }, "strict", z.ZodTypeAny, {
1395
+ requirement_digest: string;
1396
+ owner_cell_digest: string;
1397
+ emitted_question_digest: string;
1398
+ source_input_set_digest: string;
1399
+ answer_landing_dependency_digest?: string | undefined;
1400
+ }, {
1401
+ requirement_digest: string;
1402
+ owner_cell_digest: string;
1403
+ emitted_question_digest: string;
1404
+ source_input_set_digest: string;
1405
+ answer_landing_dependency_digest?: string | undefined;
1406
+ }>;
1407
+ } & {
1408
+ state: z.ZodLiteral<"unresolved">;
1409
+ }, "strict", z.ZodTypeAny, {
1410
+ state: "unresolved";
1411
+ dependencies: {
1412
+ requirement_digest: string;
1413
+ owner_cell_digest: string;
1414
+ emitted_question_digest: string;
1415
+ source_input_set_digest: string;
1416
+ answer_landing_dependency_digest?: string | undefined;
1417
+ };
1418
+ question_ref: string;
1419
+ owner_cell_ref: string;
1420
+ question_contract_digest: string;
1421
+ question_subject_target_ref: string;
1422
+ question_target_item_digest: string;
1423
+ question_revision_digest: string;
1424
+ answer_landing_ref?: string | undefined;
1425
+ }, {
1426
+ state: "unresolved";
1427
+ dependencies: {
1428
+ requirement_digest: string;
1429
+ owner_cell_digest: string;
1430
+ emitted_question_digest: string;
1431
+ source_input_set_digest: string;
1432
+ answer_landing_dependency_digest?: string | undefined;
1433
+ };
1434
+ question_ref: string;
1435
+ owner_cell_ref: string;
1436
+ question_contract_digest: string;
1437
+ question_subject_target_ref: string;
1438
+ question_target_item_digest: string;
1439
+ question_revision_digest: string;
1440
+ answer_landing_ref?: string | undefined;
1441
+ }>, z.ZodObject<{
1442
+ owner_cell_ref: z.ZodString;
1443
+ question_ref: z.ZodString;
1444
+ question_contract_digest: z.ZodString;
1445
+ question_subject_target_ref: z.ZodString;
1446
+ question_target_item_digest: z.ZodString;
1447
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
1448
+ question_revision_digest: z.ZodString;
1449
+ dependencies: z.ZodObject<{
1450
+ requirement_digest: z.ZodString;
1451
+ owner_cell_digest: z.ZodString;
1452
+ emitted_question_digest: z.ZodString;
1453
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
1454
+ source_input_set_digest: z.ZodString;
1455
+ }, "strict", z.ZodTypeAny, {
1456
+ requirement_digest: string;
1457
+ owner_cell_digest: string;
1458
+ emitted_question_digest: string;
1459
+ source_input_set_digest: string;
1460
+ answer_landing_dependency_digest?: string | undefined;
1461
+ }, {
1462
+ requirement_digest: string;
1463
+ owner_cell_digest: string;
1464
+ emitted_question_digest: string;
1465
+ source_input_set_digest: string;
1466
+ answer_landing_dependency_digest?: string | undefined;
1467
+ }>;
1468
+ } & {
1469
+ state: z.ZodLiteral<"answer-approved">;
1470
+ answer: z.ZodObject<{
1471
+ accepted_workset: z.ZodObject<{
1472
+ protocol: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
1473
+ workset_digest: z.ZodString;
1474
+ question_set_digest: z.ZodString;
1475
+ question_target_inventory_digest: z.ZodString;
1476
+ question_target_set_digest: z.ZodString;
1477
+ predecessor_ledger_revision: z.ZodString;
1478
+ registry_digest: z.ZodString;
1479
+ requirement_set_digest: z.ZodString;
1480
+ source_input_digests: z.ZodArray<z.ZodString, "many">;
1481
+ items: z.ZodArray<z.ZodObject<{
1482
+ question_key: z.ZodString;
1483
+ question_contract_digest: z.ZodString;
1484
+ question_revision_digest: z.ZodString;
1485
+ question: z.ZodObject<{
1486
+ owner_cell_ref: z.ZodString;
1487
+ question_ref: z.ZodString;
1488
+ question_contract_digest: z.ZodString;
1489
+ question_subject_target_ref: z.ZodString;
1490
+ question_target_item_digest: z.ZodString;
1491
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
1492
+ evidence_contract: z.ZodEffects<z.ZodObject<{
1493
+ accepted_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
1494
+ minimum_items: z.ZodNumber;
1495
+ minimum_distinct_sources: z.ZodNumber;
1496
+ provenance_constraints: z.ZodOptional<z.ZodObject<{
1497
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
1498
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
1499
+ }, "strict", z.ZodTypeAny, {
1500
+ protocol: "context.indexer.selector/v1";
1501
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1502
+ }, {
1503
+ protocol: "context.indexer.selector/v1";
1504
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1505
+ }>>;
1506
+ }, "strict", z.ZodTypeAny, {
1507
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1508
+ minimum_items: number;
1509
+ minimum_distinct_sources: number;
1510
+ provenance_constraints?: {
1511
+ protocol: "context.indexer.selector/v1";
1512
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1513
+ } | undefined;
1514
+ }, {
1515
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1516
+ minimum_items: number;
1517
+ minimum_distinct_sources: number;
1518
+ provenance_constraints?: {
1519
+ protocol: "context.indexer.selector/v1";
1520
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1521
+ } | undefined;
1522
+ }>, {
1523
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1524
+ minimum_items: number;
1525
+ minimum_distinct_sources: number;
1526
+ provenance_constraints?: {
1527
+ protocol: "context.indexer.selector/v1";
1528
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1529
+ } | undefined;
1530
+ }, {
1531
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1532
+ minimum_items: number;
1533
+ minimum_distinct_sources: number;
1534
+ provenance_constraints?: {
1535
+ protocol: "context.indexer.selector/v1";
1536
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1537
+ } | undefined;
1538
+ }>;
1539
+ source_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1540
+ }, "strict", z.ZodTypeAny, {
1541
+ evidence_contract: {
1542
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1543
+ minimum_items: number;
1544
+ minimum_distinct_sources: number;
1545
+ provenance_constraints?: {
1546
+ protocol: "context.indexer.selector/v1";
1547
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1548
+ } | undefined;
1549
+ };
1550
+ question_ref: string;
1551
+ owner_cell_ref: string;
1552
+ question_contract_digest: string;
1553
+ question_subject_target_ref: string;
1554
+ question_target_item_digest: string;
1555
+ source_refs?: string[] | undefined;
1556
+ answer_landing_ref?: string | undefined;
1557
+ }, {
1558
+ evidence_contract: {
1559
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1560
+ minimum_items: number;
1561
+ minimum_distinct_sources: number;
1562
+ provenance_constraints?: {
1563
+ protocol: "context.indexer.selector/v1";
1564
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1565
+ } | undefined;
1566
+ };
1567
+ question_ref: string;
1568
+ owner_cell_ref: string;
1569
+ question_contract_digest: string;
1570
+ question_subject_target_ref: string;
1571
+ question_target_item_digest: string;
1572
+ source_refs?: string[] | undefined;
1573
+ answer_landing_ref?: string | undefined;
1574
+ }>;
1575
+ eligible_answer_indexer_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1576
+ authorized_source_refs: z.ZodArray<z.ZodString, "many">;
1577
+ }, "strict", z.ZodTypeAny, {
1578
+ question_contract_digest: string;
1579
+ question_key: string;
1580
+ question_revision_digest: string;
1581
+ question: {
1582
+ evidence_contract: {
1583
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1584
+ minimum_items: number;
1585
+ minimum_distinct_sources: number;
1586
+ provenance_constraints?: {
1587
+ protocol: "context.indexer.selector/v1";
1588
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1589
+ } | undefined;
1590
+ };
1591
+ question_ref: string;
1592
+ owner_cell_ref: string;
1593
+ question_contract_digest: string;
1594
+ question_subject_target_ref: string;
1595
+ question_target_item_digest: string;
1596
+ source_refs?: string[] | undefined;
1597
+ answer_landing_ref?: string | undefined;
1598
+ };
1599
+ eligible_answer_indexer_ids: string[];
1600
+ authorized_source_refs: string[];
1601
+ }, {
1602
+ question_contract_digest: string;
1603
+ question_key: string;
1604
+ question_revision_digest: string;
1605
+ question: {
1606
+ evidence_contract: {
1607
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1608
+ minimum_items: number;
1609
+ minimum_distinct_sources: number;
1610
+ provenance_constraints?: {
1611
+ protocol: "context.indexer.selector/v1";
1612
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1613
+ } | undefined;
1614
+ };
1615
+ question_ref: string;
1616
+ owner_cell_ref: string;
1617
+ question_contract_digest: string;
1618
+ question_subject_target_ref: string;
1619
+ question_target_item_digest: string;
1620
+ source_refs?: string[] | undefined;
1621
+ answer_landing_ref?: string | undefined;
1622
+ };
1623
+ eligible_answer_indexer_ids: string[];
1624
+ authorized_source_refs: string[];
1625
+ }>, "many">;
1626
+ }, "strict", z.ZodTypeAny, {
1627
+ protocol: "context.indexer.material-question-workset/v1";
1628
+ workset_digest: string;
1629
+ requirement_set_digest: string;
1630
+ question_target_inventory_digest: string;
1631
+ items: {
1632
+ question_contract_digest: string;
1633
+ question_key: string;
1634
+ question_revision_digest: string;
1635
+ question: {
1636
+ evidence_contract: {
1637
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1638
+ minimum_items: number;
1639
+ minimum_distinct_sources: number;
1640
+ provenance_constraints?: {
1641
+ protocol: "context.indexer.selector/v1";
1642
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1643
+ } | undefined;
1644
+ };
1645
+ question_ref: string;
1646
+ owner_cell_ref: string;
1647
+ question_contract_digest: string;
1648
+ question_subject_target_ref: string;
1649
+ question_target_item_digest: string;
1650
+ source_refs?: string[] | undefined;
1651
+ answer_landing_ref?: string | undefined;
1652
+ };
1653
+ eligible_answer_indexer_ids: string[];
1654
+ authorized_source_refs: string[];
1655
+ }[];
1656
+ question_set_digest: string;
1657
+ question_target_set_digest: string;
1658
+ predecessor_ledger_revision: string;
1659
+ registry_digest: string;
1660
+ source_input_digests: string[];
1661
+ }, {
1662
+ protocol: "context.indexer.material-question-workset/v1";
1663
+ workset_digest: string;
1664
+ requirement_set_digest: string;
1665
+ question_target_inventory_digest: string;
1666
+ items: {
1667
+ question_contract_digest: string;
1668
+ question_key: string;
1669
+ question_revision_digest: string;
1670
+ question: {
1671
+ evidence_contract: {
1672
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1673
+ minimum_items: number;
1674
+ minimum_distinct_sources: number;
1675
+ provenance_constraints?: {
1676
+ protocol: "context.indexer.selector/v1";
1677
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1678
+ } | undefined;
1679
+ };
1680
+ question_ref: string;
1681
+ owner_cell_ref: string;
1682
+ question_contract_digest: string;
1683
+ question_subject_target_ref: string;
1684
+ question_target_item_digest: string;
1685
+ source_refs?: string[] | undefined;
1686
+ answer_landing_ref?: string | undefined;
1687
+ };
1688
+ eligible_answer_indexer_ids: string[];
1689
+ authorized_source_refs: string[];
1690
+ }[];
1691
+ question_set_digest: string;
1692
+ question_target_set_digest: string;
1693
+ predecessor_ledger_revision: string;
1694
+ registry_digest: string;
1695
+ source_input_digests: string[];
1696
+ }>;
1697
+ accepted_workset_digest: z.ZodString;
1698
+ answer_indexer_id: z.ZodEffects<z.ZodString, string, string>;
1699
+ answer_provider_composition_fingerprint: z.ZodString;
1700
+ answer_result_digest: z.ZodString;
1701
+ review_decision_digest: z.ZodString;
1702
+ evidence: z.ZodArray<z.ZodObject<{
1703
+ evidence_item_ref: z.ZodString;
1704
+ kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
1705
+ source_ref: z.ZodString;
1706
+ source_origin_ref: z.ZodString;
1707
+ source_input_digest: z.ZodString;
1708
+ source_spans: z.ZodArray<z.ZodEffects<z.ZodObject<{
1709
+ unit: z.ZodEnum<["byte", "line"]>;
1710
+ start: z.ZodNumber;
1711
+ end_exclusive: z.ZodNumber;
1712
+ }, "strict", z.ZodTypeAny, {
1713
+ unit: "byte" | "line";
1714
+ start: number;
1715
+ end_exclusive: number;
1716
+ }, {
1717
+ unit: "byte" | "line";
1718
+ start: number;
1719
+ end_exclusive: number;
1720
+ }>, {
1721
+ unit: "byte" | "line";
1722
+ start: number;
1723
+ end_exclusive: number;
1724
+ }, {
1725
+ unit: "byte" | "line";
1726
+ start: number;
1727
+ end_exclusive: number;
1728
+ }>, "many">;
1729
+ evidence_digest: z.ZodString;
1730
+ }, "strict", z.ZodTypeAny, {
1731
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1732
+ source_ref: string;
1733
+ evidence_digest: string;
1734
+ source_input_digest: string;
1735
+ source_spans: {
1736
+ unit: "byte" | "line";
1737
+ start: number;
1738
+ end_exclusive: number;
1739
+ }[];
1740
+ source_origin_ref: string;
1741
+ evidence_item_ref: string;
1742
+ }, {
1743
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1744
+ source_ref: string;
1745
+ evidence_digest: string;
1746
+ source_input_digest: string;
1747
+ source_spans: {
1748
+ unit: "byte" | "line";
1749
+ start: number;
1750
+ end_exclusive: number;
1751
+ }[];
1752
+ source_origin_ref: string;
1753
+ evidence_item_ref: string;
1754
+ }>, "many">;
1755
+ }, "strict", z.ZodTypeAny, {
1756
+ evidence: {
1757
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1758
+ source_ref: string;
1759
+ evidence_digest: string;
1760
+ source_input_digest: string;
1761
+ source_spans: {
1762
+ unit: "byte" | "line";
1763
+ start: number;
1764
+ end_exclusive: number;
1765
+ }[];
1766
+ source_origin_ref: string;
1767
+ evidence_item_ref: string;
1768
+ }[];
1769
+ answer_indexer_id: string;
1770
+ answer_provider_composition_fingerprint: string;
1771
+ answer_result_digest: string;
1772
+ accepted_workset: {
1773
+ protocol: "context.indexer.material-question-workset/v1";
1774
+ workset_digest: string;
1775
+ requirement_set_digest: string;
1776
+ question_target_inventory_digest: string;
1777
+ items: {
1778
+ question_contract_digest: string;
1779
+ question_key: string;
1780
+ question_revision_digest: string;
1781
+ question: {
1782
+ evidence_contract: {
1783
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1784
+ minimum_items: number;
1785
+ minimum_distinct_sources: number;
1786
+ provenance_constraints?: {
1787
+ protocol: "context.indexer.selector/v1";
1788
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1789
+ } | undefined;
1790
+ };
1791
+ question_ref: string;
1792
+ owner_cell_ref: string;
1793
+ question_contract_digest: string;
1794
+ question_subject_target_ref: string;
1795
+ question_target_item_digest: string;
1796
+ source_refs?: string[] | undefined;
1797
+ answer_landing_ref?: string | undefined;
1798
+ };
1799
+ eligible_answer_indexer_ids: string[];
1800
+ authorized_source_refs: string[];
1801
+ }[];
1802
+ question_set_digest: string;
1803
+ question_target_set_digest: string;
1804
+ predecessor_ledger_revision: string;
1805
+ registry_digest: string;
1806
+ source_input_digests: string[];
1807
+ };
1808
+ accepted_workset_digest: string;
1809
+ review_decision_digest: string;
1810
+ }, {
1811
+ evidence: {
1812
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1813
+ source_ref: string;
1814
+ evidence_digest: string;
1815
+ source_input_digest: string;
1816
+ source_spans: {
1817
+ unit: "byte" | "line";
1818
+ start: number;
1819
+ end_exclusive: number;
1820
+ }[];
1821
+ source_origin_ref: string;
1822
+ evidence_item_ref: string;
1823
+ }[];
1824
+ answer_indexer_id: string;
1825
+ answer_provider_composition_fingerprint: string;
1826
+ answer_result_digest: string;
1827
+ accepted_workset: {
1828
+ protocol: "context.indexer.material-question-workset/v1";
1829
+ workset_digest: string;
1830
+ requirement_set_digest: string;
1831
+ question_target_inventory_digest: string;
1832
+ items: {
1833
+ question_contract_digest: string;
1834
+ question_key: string;
1835
+ question_revision_digest: string;
1836
+ question: {
1837
+ evidence_contract: {
1838
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1839
+ minimum_items: number;
1840
+ minimum_distinct_sources: number;
1841
+ provenance_constraints?: {
1842
+ protocol: "context.indexer.selector/v1";
1843
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1844
+ } | undefined;
1845
+ };
1846
+ question_ref: string;
1847
+ owner_cell_ref: string;
1848
+ question_contract_digest: string;
1849
+ question_subject_target_ref: string;
1850
+ question_target_item_digest: string;
1851
+ source_refs?: string[] | undefined;
1852
+ answer_landing_ref?: string | undefined;
1853
+ };
1854
+ eligible_answer_indexer_ids: string[];
1855
+ authorized_source_refs: string[];
1856
+ }[];
1857
+ question_set_digest: string;
1858
+ question_target_set_digest: string;
1859
+ predecessor_ledger_revision: string;
1860
+ registry_digest: string;
1861
+ source_input_digests: string[];
1862
+ };
1863
+ accepted_workset_digest: string;
1864
+ review_decision_digest: string;
1865
+ }>;
1866
+ }, "strict", z.ZodTypeAny, {
1867
+ state: "answer-approved";
1868
+ dependencies: {
1869
+ requirement_digest: string;
1870
+ owner_cell_digest: string;
1871
+ emitted_question_digest: string;
1872
+ source_input_set_digest: string;
1873
+ answer_landing_dependency_digest?: string | undefined;
1874
+ };
1875
+ question_ref: string;
1876
+ owner_cell_ref: string;
1877
+ question_contract_digest: string;
1878
+ question_subject_target_ref: string;
1879
+ question_target_item_digest: string;
1880
+ question_revision_digest: string;
1881
+ answer: {
1882
+ evidence: {
1883
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1884
+ source_ref: string;
1885
+ evidence_digest: string;
1886
+ source_input_digest: string;
1887
+ source_spans: {
1888
+ unit: "byte" | "line";
1889
+ start: number;
1890
+ end_exclusive: number;
1891
+ }[];
1892
+ source_origin_ref: string;
1893
+ evidence_item_ref: string;
1894
+ }[];
1895
+ answer_indexer_id: string;
1896
+ answer_provider_composition_fingerprint: string;
1897
+ answer_result_digest: string;
1898
+ accepted_workset: {
1899
+ protocol: "context.indexer.material-question-workset/v1";
1900
+ workset_digest: string;
1901
+ requirement_set_digest: string;
1902
+ question_target_inventory_digest: string;
1903
+ items: {
1904
+ question_contract_digest: string;
1905
+ question_key: string;
1906
+ question_revision_digest: string;
1907
+ question: {
1908
+ evidence_contract: {
1909
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1910
+ minimum_items: number;
1911
+ minimum_distinct_sources: number;
1912
+ provenance_constraints?: {
1913
+ protocol: "context.indexer.selector/v1";
1914
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1915
+ } | undefined;
1916
+ };
1917
+ question_ref: string;
1918
+ owner_cell_ref: string;
1919
+ question_contract_digest: string;
1920
+ question_subject_target_ref: string;
1921
+ question_target_item_digest: string;
1922
+ source_refs?: string[] | undefined;
1923
+ answer_landing_ref?: string | undefined;
1924
+ };
1925
+ eligible_answer_indexer_ids: string[];
1926
+ authorized_source_refs: string[];
1927
+ }[];
1928
+ question_set_digest: string;
1929
+ question_target_set_digest: string;
1930
+ predecessor_ledger_revision: string;
1931
+ registry_digest: string;
1932
+ source_input_digests: string[];
1933
+ };
1934
+ accepted_workset_digest: string;
1935
+ review_decision_digest: string;
1936
+ };
1937
+ answer_landing_ref?: string | undefined;
1938
+ }, {
1939
+ state: "answer-approved";
1940
+ dependencies: {
1941
+ requirement_digest: string;
1942
+ owner_cell_digest: string;
1943
+ emitted_question_digest: string;
1944
+ source_input_set_digest: string;
1945
+ answer_landing_dependency_digest?: string | undefined;
1946
+ };
1947
+ question_ref: string;
1948
+ owner_cell_ref: string;
1949
+ question_contract_digest: string;
1950
+ question_subject_target_ref: string;
1951
+ question_target_item_digest: string;
1952
+ question_revision_digest: string;
1953
+ answer: {
1954
+ evidence: {
1955
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1956
+ source_ref: string;
1957
+ evidence_digest: string;
1958
+ source_input_digest: string;
1959
+ source_spans: {
1960
+ unit: "byte" | "line";
1961
+ start: number;
1962
+ end_exclusive: number;
1963
+ }[];
1964
+ source_origin_ref: string;
1965
+ evidence_item_ref: string;
1966
+ }[];
1967
+ answer_indexer_id: string;
1968
+ answer_provider_composition_fingerprint: string;
1969
+ answer_result_digest: string;
1970
+ accepted_workset: {
1971
+ protocol: "context.indexer.material-question-workset/v1";
1972
+ workset_digest: string;
1973
+ requirement_set_digest: string;
1974
+ question_target_inventory_digest: string;
1975
+ items: {
1976
+ question_contract_digest: string;
1977
+ question_key: string;
1978
+ question_revision_digest: string;
1979
+ question: {
1980
+ evidence_contract: {
1981
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
1982
+ minimum_items: number;
1983
+ minimum_distinct_sources: number;
1984
+ provenance_constraints?: {
1985
+ protocol: "context.indexer.selector/v1";
1986
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
1987
+ } | undefined;
1988
+ };
1989
+ question_ref: string;
1990
+ owner_cell_ref: string;
1991
+ question_contract_digest: string;
1992
+ question_subject_target_ref: string;
1993
+ question_target_item_digest: string;
1994
+ source_refs?: string[] | undefined;
1995
+ answer_landing_ref?: string | undefined;
1996
+ };
1997
+ eligible_answer_indexer_ids: string[];
1998
+ authorized_source_refs: string[];
1999
+ }[];
2000
+ question_set_digest: string;
2001
+ question_target_set_digest: string;
2002
+ predecessor_ledger_revision: string;
2003
+ registry_digest: string;
2004
+ source_input_digests: string[];
2005
+ };
2006
+ accepted_workset_digest: string;
2007
+ review_decision_digest: string;
2008
+ };
2009
+ answer_landing_ref?: string | undefined;
2010
+ }>, z.ZodObject<{
2011
+ owner_cell_ref: z.ZodString;
2012
+ question_ref: z.ZodString;
2013
+ question_contract_digest: z.ZodString;
2014
+ question_subject_target_ref: z.ZodString;
2015
+ question_target_item_digest: z.ZodString;
2016
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
2017
+ question_revision_digest: z.ZodString;
2018
+ dependencies: z.ZodObject<{
2019
+ requirement_digest: z.ZodString;
2020
+ owner_cell_digest: z.ZodString;
2021
+ emitted_question_digest: z.ZodString;
2022
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
2023
+ source_input_set_digest: z.ZodString;
2024
+ }, "strict", z.ZodTypeAny, {
2025
+ requirement_digest: string;
2026
+ owner_cell_digest: string;
2027
+ emitted_question_digest: string;
2028
+ source_input_set_digest: string;
2029
+ answer_landing_dependency_digest?: string | undefined;
2030
+ }, {
2031
+ requirement_digest: string;
2032
+ owner_cell_digest: string;
2033
+ emitted_question_digest: string;
2034
+ source_input_set_digest: string;
2035
+ answer_landing_dependency_digest?: string | undefined;
2036
+ }>;
2037
+ } & {
2038
+ state: z.ZodLiteral<"resolved">;
2039
+ answer: z.ZodObject<{
2040
+ accepted_workset: z.ZodObject<{
2041
+ protocol: z.ZodLiteral<"context.indexer.material-question-workset/v1">;
2042
+ workset_digest: z.ZodString;
2043
+ question_set_digest: z.ZodString;
2044
+ question_target_inventory_digest: z.ZodString;
2045
+ question_target_set_digest: z.ZodString;
2046
+ predecessor_ledger_revision: z.ZodString;
2047
+ registry_digest: z.ZodString;
2048
+ requirement_set_digest: z.ZodString;
2049
+ source_input_digests: z.ZodArray<z.ZodString, "many">;
2050
+ items: z.ZodArray<z.ZodObject<{
2051
+ question_key: z.ZodString;
2052
+ question_contract_digest: z.ZodString;
2053
+ question_revision_digest: z.ZodString;
2054
+ question: z.ZodObject<{
2055
+ owner_cell_ref: z.ZodString;
2056
+ question_ref: z.ZodString;
2057
+ question_contract_digest: z.ZodString;
2058
+ question_subject_target_ref: z.ZodString;
2059
+ question_target_item_digest: z.ZodString;
2060
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
2061
+ evidence_contract: z.ZodEffects<z.ZodObject<{
2062
+ accepted_kinds: z.ZodArray<z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>, "many">;
2063
+ minimum_items: z.ZodNumber;
2064
+ minimum_distinct_sources: z.ZodNumber;
2065
+ provenance_constraints: z.ZodOptional<z.ZodObject<{
2066
+ protocol: z.ZodLiteral<"context.indexer.selector/v1">;
2067
+ expression: z.ZodType<import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression, z.ZodTypeDef, import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression>;
2068
+ }, "strict", z.ZodTypeAny, {
2069
+ protocol: "context.indexer.selector/v1";
2070
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2071
+ }, {
2072
+ protocol: "context.indexer.selector/v1";
2073
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2074
+ }>>;
2075
+ }, "strict", z.ZodTypeAny, {
2076
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2077
+ minimum_items: number;
2078
+ minimum_distinct_sources: number;
2079
+ provenance_constraints?: {
2080
+ protocol: "context.indexer.selector/v1";
2081
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2082
+ } | undefined;
2083
+ }, {
2084
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2085
+ minimum_items: number;
2086
+ minimum_distinct_sources: number;
2087
+ provenance_constraints?: {
2088
+ protocol: "context.indexer.selector/v1";
2089
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2090
+ } | undefined;
2091
+ }>, {
2092
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2093
+ minimum_items: number;
2094
+ minimum_distinct_sources: number;
2095
+ provenance_constraints?: {
2096
+ protocol: "context.indexer.selector/v1";
2097
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2098
+ } | undefined;
2099
+ }, {
2100
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2101
+ minimum_items: number;
2102
+ minimum_distinct_sources: number;
2103
+ provenance_constraints?: {
2104
+ protocol: "context.indexer.selector/v1";
2105
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2106
+ } | undefined;
2107
+ }>;
2108
+ source_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2109
+ }, "strict", z.ZodTypeAny, {
2110
+ evidence_contract: {
2111
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2112
+ minimum_items: number;
2113
+ minimum_distinct_sources: number;
2114
+ provenance_constraints?: {
2115
+ protocol: "context.indexer.selector/v1";
2116
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2117
+ } | undefined;
2118
+ };
2119
+ question_ref: string;
2120
+ owner_cell_ref: string;
2121
+ question_contract_digest: string;
2122
+ question_subject_target_ref: string;
2123
+ question_target_item_digest: string;
2124
+ source_refs?: string[] | undefined;
2125
+ answer_landing_ref?: string | undefined;
2126
+ }, {
2127
+ evidence_contract: {
2128
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2129
+ minimum_items: number;
2130
+ minimum_distinct_sources: number;
2131
+ provenance_constraints?: {
2132
+ protocol: "context.indexer.selector/v1";
2133
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2134
+ } | undefined;
2135
+ };
2136
+ question_ref: string;
2137
+ owner_cell_ref: string;
2138
+ question_contract_digest: string;
2139
+ question_subject_target_ref: string;
2140
+ question_target_item_digest: string;
2141
+ source_refs?: string[] | undefined;
2142
+ answer_landing_ref?: string | undefined;
2143
+ }>;
2144
+ eligible_answer_indexer_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2145
+ authorized_source_refs: z.ZodArray<z.ZodString, "many">;
2146
+ }, "strict", z.ZodTypeAny, {
2147
+ question_contract_digest: string;
2148
+ question_key: string;
2149
+ question_revision_digest: string;
2150
+ question: {
2151
+ evidence_contract: {
2152
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2153
+ minimum_items: number;
2154
+ minimum_distinct_sources: number;
2155
+ provenance_constraints?: {
2156
+ protocol: "context.indexer.selector/v1";
2157
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2158
+ } | undefined;
2159
+ };
2160
+ question_ref: string;
2161
+ owner_cell_ref: string;
2162
+ question_contract_digest: string;
2163
+ question_subject_target_ref: string;
2164
+ question_target_item_digest: string;
2165
+ source_refs?: string[] | undefined;
2166
+ answer_landing_ref?: string | undefined;
2167
+ };
2168
+ eligible_answer_indexer_ids: string[];
2169
+ authorized_source_refs: string[];
2170
+ }, {
2171
+ question_contract_digest: string;
2172
+ question_key: string;
2173
+ question_revision_digest: string;
2174
+ question: {
2175
+ evidence_contract: {
2176
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2177
+ minimum_items: number;
2178
+ minimum_distinct_sources: number;
2179
+ provenance_constraints?: {
2180
+ protocol: "context.indexer.selector/v1";
2181
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2182
+ } | undefined;
2183
+ };
2184
+ question_ref: string;
2185
+ owner_cell_ref: string;
2186
+ question_contract_digest: string;
2187
+ question_subject_target_ref: string;
2188
+ question_target_item_digest: string;
2189
+ source_refs?: string[] | undefined;
2190
+ answer_landing_ref?: string | undefined;
2191
+ };
2192
+ eligible_answer_indexer_ids: string[];
2193
+ authorized_source_refs: string[];
2194
+ }>, "many">;
2195
+ }, "strict", z.ZodTypeAny, {
2196
+ protocol: "context.indexer.material-question-workset/v1";
2197
+ workset_digest: string;
2198
+ requirement_set_digest: string;
2199
+ question_target_inventory_digest: string;
2200
+ items: {
2201
+ question_contract_digest: string;
2202
+ question_key: string;
2203
+ question_revision_digest: string;
2204
+ question: {
2205
+ evidence_contract: {
2206
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2207
+ minimum_items: number;
2208
+ minimum_distinct_sources: number;
2209
+ provenance_constraints?: {
2210
+ protocol: "context.indexer.selector/v1";
2211
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2212
+ } | undefined;
2213
+ };
2214
+ question_ref: string;
2215
+ owner_cell_ref: string;
2216
+ question_contract_digest: string;
2217
+ question_subject_target_ref: string;
2218
+ question_target_item_digest: string;
2219
+ source_refs?: string[] | undefined;
2220
+ answer_landing_ref?: string | undefined;
2221
+ };
2222
+ eligible_answer_indexer_ids: string[];
2223
+ authorized_source_refs: string[];
2224
+ }[];
2225
+ question_set_digest: string;
2226
+ question_target_set_digest: string;
2227
+ predecessor_ledger_revision: string;
2228
+ registry_digest: string;
2229
+ source_input_digests: string[];
2230
+ }, {
2231
+ protocol: "context.indexer.material-question-workset/v1";
2232
+ workset_digest: string;
2233
+ requirement_set_digest: string;
2234
+ question_target_inventory_digest: string;
2235
+ items: {
2236
+ question_contract_digest: string;
2237
+ question_key: string;
2238
+ question_revision_digest: string;
2239
+ question: {
2240
+ evidence_contract: {
2241
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2242
+ minimum_items: number;
2243
+ minimum_distinct_sources: number;
2244
+ provenance_constraints?: {
2245
+ protocol: "context.indexer.selector/v1";
2246
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2247
+ } | undefined;
2248
+ };
2249
+ question_ref: string;
2250
+ owner_cell_ref: string;
2251
+ question_contract_digest: string;
2252
+ question_subject_target_ref: string;
2253
+ question_target_item_digest: string;
2254
+ source_refs?: string[] | undefined;
2255
+ answer_landing_ref?: string | undefined;
2256
+ };
2257
+ eligible_answer_indexer_ids: string[];
2258
+ authorized_source_refs: string[];
2259
+ }[];
2260
+ question_set_digest: string;
2261
+ question_target_set_digest: string;
2262
+ predecessor_ledger_revision: string;
2263
+ registry_digest: string;
2264
+ source_input_digests: string[];
2265
+ }>;
2266
+ accepted_workset_digest: z.ZodString;
2267
+ answer_indexer_id: z.ZodEffects<z.ZodString, string, string>;
2268
+ answer_provider_composition_fingerprint: z.ZodString;
2269
+ answer_result_digest: z.ZodString;
2270
+ review_decision_digest: z.ZodString;
2271
+ evidence: z.ZodArray<z.ZodObject<{
2272
+ evidence_item_ref: z.ZodString;
2273
+ kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
2274
+ source_ref: z.ZodString;
2275
+ source_origin_ref: z.ZodString;
2276
+ source_input_digest: z.ZodString;
2277
+ source_spans: z.ZodArray<z.ZodEffects<z.ZodObject<{
2278
+ unit: z.ZodEnum<["byte", "line"]>;
2279
+ start: z.ZodNumber;
2280
+ end_exclusive: z.ZodNumber;
2281
+ }, "strict", z.ZodTypeAny, {
2282
+ unit: "byte" | "line";
2283
+ start: number;
2284
+ end_exclusive: number;
2285
+ }, {
2286
+ unit: "byte" | "line";
2287
+ start: number;
2288
+ end_exclusive: number;
2289
+ }>, {
2290
+ unit: "byte" | "line";
2291
+ start: number;
2292
+ end_exclusive: number;
2293
+ }, {
2294
+ unit: "byte" | "line";
2295
+ start: number;
2296
+ end_exclusive: number;
2297
+ }>, "many">;
2298
+ evidence_digest: z.ZodString;
2299
+ }, "strict", z.ZodTypeAny, {
2300
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2301
+ source_ref: string;
2302
+ evidence_digest: string;
2303
+ source_input_digest: string;
2304
+ source_spans: {
2305
+ unit: "byte" | "line";
2306
+ start: number;
2307
+ end_exclusive: number;
2308
+ }[];
2309
+ source_origin_ref: string;
2310
+ evidence_item_ref: string;
2311
+ }, {
2312
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2313
+ source_ref: string;
2314
+ evidence_digest: string;
2315
+ source_input_digest: string;
2316
+ source_spans: {
2317
+ unit: "byte" | "line";
2318
+ start: number;
2319
+ end_exclusive: number;
2320
+ }[];
2321
+ source_origin_ref: string;
2322
+ evidence_item_ref: string;
2323
+ }>, "many">;
2324
+ }, "strict", z.ZodTypeAny, {
2325
+ evidence: {
2326
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2327
+ source_ref: string;
2328
+ evidence_digest: string;
2329
+ source_input_digest: string;
2330
+ source_spans: {
2331
+ unit: "byte" | "line";
2332
+ start: number;
2333
+ end_exclusive: number;
2334
+ }[];
2335
+ source_origin_ref: string;
2336
+ evidence_item_ref: string;
2337
+ }[];
2338
+ answer_indexer_id: string;
2339
+ answer_provider_composition_fingerprint: string;
2340
+ answer_result_digest: string;
2341
+ accepted_workset: {
2342
+ protocol: "context.indexer.material-question-workset/v1";
2343
+ workset_digest: string;
2344
+ requirement_set_digest: string;
2345
+ question_target_inventory_digest: string;
2346
+ items: {
2347
+ question_contract_digest: string;
2348
+ question_key: string;
2349
+ question_revision_digest: string;
2350
+ question: {
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
+ question_ref: string;
2361
+ owner_cell_ref: string;
2362
+ question_contract_digest: string;
2363
+ question_subject_target_ref: string;
2364
+ question_target_item_digest: string;
2365
+ source_refs?: string[] | undefined;
2366
+ answer_landing_ref?: string | undefined;
2367
+ };
2368
+ eligible_answer_indexer_ids: string[];
2369
+ authorized_source_refs: string[];
2370
+ }[];
2371
+ question_set_digest: string;
2372
+ question_target_set_digest: string;
2373
+ predecessor_ledger_revision: string;
2374
+ registry_digest: string;
2375
+ source_input_digests: string[];
2376
+ };
2377
+ accepted_workset_digest: string;
2378
+ review_decision_digest: string;
2379
+ }, {
2380
+ evidence: {
2381
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2382
+ source_ref: string;
2383
+ evidence_digest: string;
2384
+ source_input_digest: string;
2385
+ source_spans: {
2386
+ unit: "byte" | "line";
2387
+ start: number;
2388
+ end_exclusive: number;
2389
+ }[];
2390
+ source_origin_ref: string;
2391
+ evidence_item_ref: string;
2392
+ }[];
2393
+ answer_indexer_id: string;
2394
+ answer_provider_composition_fingerprint: string;
2395
+ answer_result_digest: string;
2396
+ accepted_workset: {
2397
+ protocol: "context.indexer.material-question-workset/v1";
2398
+ workset_digest: string;
2399
+ requirement_set_digest: string;
2400
+ question_target_inventory_digest: string;
2401
+ items: {
2402
+ question_contract_digest: string;
2403
+ question_key: string;
2404
+ question_revision_digest: string;
2405
+ question: {
2406
+ evidence_contract: {
2407
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2408
+ minimum_items: number;
2409
+ minimum_distinct_sources: number;
2410
+ provenance_constraints?: {
2411
+ protocol: "context.indexer.selector/v1";
2412
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2413
+ } | undefined;
2414
+ };
2415
+ question_ref: string;
2416
+ owner_cell_ref: string;
2417
+ question_contract_digest: string;
2418
+ question_subject_target_ref: string;
2419
+ question_target_item_digest: string;
2420
+ source_refs?: string[] | undefined;
2421
+ answer_landing_ref?: string | undefined;
2422
+ };
2423
+ eligible_answer_indexer_ids: string[];
2424
+ authorized_source_refs: string[];
2425
+ }[];
2426
+ question_set_digest: string;
2427
+ question_target_set_digest: string;
2428
+ predecessor_ledger_revision: string;
2429
+ registry_digest: string;
2430
+ source_input_digests: string[];
2431
+ };
2432
+ accepted_workset_digest: string;
2433
+ review_decision_digest: string;
2434
+ }>;
2435
+ actualization: z.ZodObject<{
2436
+ actualized_target_ref: z.ZodString;
2437
+ section_ref: z.ZodOptional<z.ZodString>;
2438
+ layout_digest: z.ZodString;
2439
+ planned_answer_digest: z.ZodString;
2440
+ actualization_digest: z.ZodString;
2441
+ }, "strict", z.ZodTypeAny, {
2442
+ planned_answer_digest: string;
2443
+ actualized_target_ref: string;
2444
+ layout_digest: string;
2445
+ actualization_digest: string;
2446
+ section_ref?: string | undefined;
2447
+ }, {
2448
+ planned_answer_digest: string;
2449
+ actualized_target_ref: string;
2450
+ layout_digest: string;
2451
+ actualization_digest: string;
2452
+ section_ref?: string | undefined;
2453
+ }>;
2454
+ }, "strict", z.ZodTypeAny, {
2455
+ state: "resolved";
2456
+ dependencies: {
2457
+ requirement_digest: string;
2458
+ owner_cell_digest: string;
2459
+ emitted_question_digest: string;
2460
+ source_input_set_digest: string;
2461
+ answer_landing_dependency_digest?: string | undefined;
2462
+ };
2463
+ question_ref: string;
2464
+ owner_cell_ref: string;
2465
+ question_contract_digest: string;
2466
+ question_subject_target_ref: string;
2467
+ question_target_item_digest: string;
2468
+ question_revision_digest: string;
2469
+ answer: {
2470
+ evidence: {
2471
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2472
+ source_ref: string;
2473
+ evidence_digest: string;
2474
+ source_input_digest: string;
2475
+ source_spans: {
2476
+ unit: "byte" | "line";
2477
+ start: number;
2478
+ end_exclusive: number;
2479
+ }[];
2480
+ source_origin_ref: string;
2481
+ evidence_item_ref: string;
2482
+ }[];
2483
+ answer_indexer_id: string;
2484
+ answer_provider_composition_fingerprint: string;
2485
+ answer_result_digest: string;
2486
+ accepted_workset: {
2487
+ protocol: "context.indexer.material-question-workset/v1";
2488
+ workset_digest: string;
2489
+ requirement_set_digest: string;
2490
+ question_target_inventory_digest: string;
2491
+ items: {
2492
+ question_contract_digest: string;
2493
+ question_key: string;
2494
+ question_revision_digest: string;
2495
+ question: {
2496
+ evidence_contract: {
2497
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2498
+ minimum_items: number;
2499
+ minimum_distinct_sources: number;
2500
+ provenance_constraints?: {
2501
+ protocol: "context.indexer.selector/v1";
2502
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2503
+ } | undefined;
2504
+ };
2505
+ question_ref: string;
2506
+ owner_cell_ref: string;
2507
+ question_contract_digest: string;
2508
+ question_subject_target_ref: string;
2509
+ question_target_item_digest: string;
2510
+ source_refs?: string[] | undefined;
2511
+ answer_landing_ref?: string | undefined;
2512
+ };
2513
+ eligible_answer_indexer_ids: string[];
2514
+ authorized_source_refs: string[];
2515
+ }[];
2516
+ question_set_digest: string;
2517
+ question_target_set_digest: string;
2518
+ predecessor_ledger_revision: string;
2519
+ registry_digest: string;
2520
+ source_input_digests: string[];
2521
+ };
2522
+ accepted_workset_digest: string;
2523
+ review_decision_digest: string;
2524
+ };
2525
+ actualization: {
2526
+ planned_answer_digest: string;
2527
+ actualized_target_ref: string;
2528
+ layout_digest: string;
2529
+ actualization_digest: string;
2530
+ section_ref?: string | undefined;
2531
+ };
2532
+ answer_landing_ref?: string | undefined;
2533
+ }, {
2534
+ state: "resolved";
2535
+ dependencies: {
2536
+ requirement_digest: string;
2537
+ owner_cell_digest: string;
2538
+ emitted_question_digest: string;
2539
+ source_input_set_digest: string;
2540
+ answer_landing_dependency_digest?: string | undefined;
2541
+ };
2542
+ question_ref: string;
2543
+ owner_cell_ref: string;
2544
+ question_contract_digest: string;
2545
+ question_subject_target_ref: string;
2546
+ question_target_item_digest: string;
2547
+ question_revision_digest: string;
2548
+ answer: {
2549
+ evidence: {
2550
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2551
+ source_ref: string;
2552
+ evidence_digest: string;
2553
+ source_input_digest: string;
2554
+ source_spans: {
2555
+ unit: "byte" | "line";
2556
+ start: number;
2557
+ end_exclusive: number;
2558
+ }[];
2559
+ source_origin_ref: string;
2560
+ evidence_item_ref: string;
2561
+ }[];
2562
+ answer_indexer_id: string;
2563
+ answer_provider_composition_fingerprint: string;
2564
+ answer_result_digest: string;
2565
+ accepted_workset: {
2566
+ protocol: "context.indexer.material-question-workset/v1";
2567
+ workset_digest: string;
2568
+ requirement_set_digest: string;
2569
+ question_target_inventory_digest: string;
2570
+ items: {
2571
+ question_contract_digest: string;
2572
+ question_key: string;
2573
+ question_revision_digest: string;
2574
+ question: {
2575
+ evidence_contract: {
2576
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2577
+ minimum_items: number;
2578
+ minimum_distinct_sources: number;
2579
+ provenance_constraints?: {
2580
+ protocol: "context.indexer.selector/v1";
2581
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2582
+ } | undefined;
2583
+ };
2584
+ question_ref: string;
2585
+ owner_cell_ref: string;
2586
+ question_contract_digest: string;
2587
+ question_subject_target_ref: string;
2588
+ question_target_item_digest: string;
2589
+ source_refs?: string[] | undefined;
2590
+ answer_landing_ref?: string | undefined;
2591
+ };
2592
+ eligible_answer_indexer_ids: string[];
2593
+ authorized_source_refs: string[];
2594
+ }[];
2595
+ question_set_digest: string;
2596
+ question_target_set_digest: string;
2597
+ predecessor_ledger_revision: string;
2598
+ registry_digest: string;
2599
+ source_input_digests: string[];
2600
+ };
2601
+ accepted_workset_digest: string;
2602
+ review_decision_digest: string;
2603
+ };
2604
+ actualization: {
2605
+ planned_answer_digest: string;
2606
+ actualized_target_ref: string;
2607
+ layout_digest: string;
2608
+ actualization_digest: string;
2609
+ section_ref?: string | undefined;
2610
+ };
2611
+ answer_landing_ref?: string | undefined;
2612
+ }>, z.ZodObject<{
2613
+ owner_cell_ref: z.ZodString;
2614
+ question_ref: z.ZodString;
2615
+ question_contract_digest: z.ZodString;
2616
+ question_subject_target_ref: z.ZodString;
2617
+ question_target_item_digest: z.ZodString;
2618
+ answer_landing_ref: z.ZodOptional<z.ZodString>;
2619
+ question_revision_digest: z.ZodString;
2620
+ dependencies: z.ZodObject<{
2621
+ requirement_digest: z.ZodString;
2622
+ owner_cell_digest: z.ZodString;
2623
+ emitted_question_digest: z.ZodString;
2624
+ answer_landing_dependency_digest: z.ZodOptional<z.ZodString>;
2625
+ source_input_set_digest: z.ZodString;
2626
+ }, "strict", z.ZodTypeAny, {
2627
+ requirement_digest: string;
2628
+ owner_cell_digest: string;
2629
+ emitted_question_digest: string;
2630
+ source_input_set_digest: string;
2631
+ answer_landing_dependency_digest?: string | undefined;
2632
+ }, {
2633
+ requirement_digest: string;
2634
+ owner_cell_digest: string;
2635
+ emitted_question_digest: string;
2636
+ source_input_set_digest: string;
2637
+ answer_landing_dependency_digest?: string | undefined;
2638
+ }>;
2639
+ } & {
2640
+ state: z.ZodLiteral<"excluded-with-confirmed-reason">;
2641
+ exclusion: z.ZodObject<{
2642
+ reason_code: z.ZodEffects<z.ZodString, string, string>;
2643
+ decision_digest: z.ZodString;
2644
+ }, "strict", z.ZodTypeAny, {
2645
+ reason_code: string;
2646
+ decision_digest: string;
2647
+ }, {
2648
+ reason_code: string;
2649
+ decision_digest: string;
2650
+ }>;
2651
+ }, "strict", z.ZodTypeAny, {
2652
+ state: "excluded-with-confirmed-reason";
2653
+ dependencies: {
2654
+ requirement_digest: string;
2655
+ owner_cell_digest: string;
2656
+ emitted_question_digest: string;
2657
+ source_input_set_digest: string;
2658
+ answer_landing_dependency_digest?: string | undefined;
2659
+ };
2660
+ question_ref: string;
2661
+ owner_cell_ref: string;
2662
+ question_contract_digest: string;
2663
+ question_subject_target_ref: string;
2664
+ question_target_item_digest: string;
2665
+ question_revision_digest: string;
2666
+ exclusion: {
2667
+ reason_code: string;
2668
+ decision_digest: string;
2669
+ };
2670
+ answer_landing_ref?: string | undefined;
2671
+ }, {
2672
+ state: "excluded-with-confirmed-reason";
2673
+ dependencies: {
2674
+ requirement_digest: string;
2675
+ owner_cell_digest: string;
2676
+ emitted_question_digest: string;
2677
+ source_input_set_digest: string;
2678
+ answer_landing_dependency_digest?: string | undefined;
2679
+ };
2680
+ question_ref: string;
2681
+ owner_cell_ref: string;
2682
+ question_contract_digest: string;
2683
+ question_subject_target_ref: string;
2684
+ question_target_item_digest: string;
2685
+ question_revision_digest: string;
2686
+ exclusion: {
2687
+ reason_code: string;
2688
+ decision_digest: string;
2689
+ };
2690
+ answer_landing_ref?: string | undefined;
2691
+ }>]>, "many">;
2692
+ }, "strict", z.ZodTypeAny, {
2693
+ entries: ({
2694
+ state: "unresolved";
2695
+ dependencies: {
2696
+ requirement_digest: string;
2697
+ owner_cell_digest: string;
2698
+ emitted_question_digest: string;
2699
+ source_input_set_digest: string;
2700
+ answer_landing_dependency_digest?: string | undefined;
2701
+ };
2702
+ question_ref: string;
2703
+ owner_cell_ref: string;
2704
+ question_contract_digest: string;
2705
+ question_subject_target_ref: string;
2706
+ question_target_item_digest: string;
2707
+ question_revision_digest: string;
2708
+ answer_landing_ref?: string | undefined;
2709
+ } | {
2710
+ state: "answer-approved";
2711
+ dependencies: {
2712
+ requirement_digest: string;
2713
+ owner_cell_digest: string;
2714
+ emitted_question_digest: string;
2715
+ source_input_set_digest: string;
2716
+ answer_landing_dependency_digest?: string | undefined;
2717
+ };
2718
+ question_ref: string;
2719
+ owner_cell_ref: string;
2720
+ question_contract_digest: string;
2721
+ question_subject_target_ref: string;
2722
+ question_target_item_digest: string;
2723
+ question_revision_digest: string;
2724
+ answer: {
2725
+ evidence: {
2726
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2727
+ source_ref: string;
2728
+ evidence_digest: string;
2729
+ source_input_digest: string;
2730
+ source_spans: {
2731
+ unit: "byte" | "line";
2732
+ start: number;
2733
+ end_exclusive: number;
2734
+ }[];
2735
+ source_origin_ref: string;
2736
+ evidence_item_ref: string;
2737
+ }[];
2738
+ answer_indexer_id: string;
2739
+ answer_provider_composition_fingerprint: string;
2740
+ answer_result_digest: string;
2741
+ accepted_workset: {
2742
+ protocol: "context.indexer.material-question-workset/v1";
2743
+ workset_digest: string;
2744
+ requirement_set_digest: string;
2745
+ question_target_inventory_digest: string;
2746
+ items: {
2747
+ question_contract_digest: string;
2748
+ question_key: string;
2749
+ question_revision_digest: string;
2750
+ question: {
2751
+ evidence_contract: {
2752
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2753
+ minimum_items: number;
2754
+ minimum_distinct_sources: number;
2755
+ provenance_constraints?: {
2756
+ protocol: "context.indexer.selector/v1";
2757
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2758
+ } | undefined;
2759
+ };
2760
+ question_ref: string;
2761
+ owner_cell_ref: string;
2762
+ question_contract_digest: string;
2763
+ question_subject_target_ref: string;
2764
+ question_target_item_digest: string;
2765
+ source_refs?: string[] | undefined;
2766
+ answer_landing_ref?: string | undefined;
2767
+ };
2768
+ eligible_answer_indexer_ids: string[];
2769
+ authorized_source_refs: string[];
2770
+ }[];
2771
+ question_set_digest: string;
2772
+ question_target_set_digest: string;
2773
+ predecessor_ledger_revision: string;
2774
+ registry_digest: string;
2775
+ source_input_digests: string[];
2776
+ };
2777
+ accepted_workset_digest: string;
2778
+ review_decision_digest: string;
2779
+ };
2780
+ answer_landing_ref?: string | undefined;
2781
+ } | {
2782
+ state: "resolved";
2783
+ dependencies: {
2784
+ requirement_digest: string;
2785
+ owner_cell_digest: string;
2786
+ emitted_question_digest: string;
2787
+ source_input_set_digest: string;
2788
+ answer_landing_dependency_digest?: string | undefined;
2789
+ };
2790
+ question_ref: string;
2791
+ owner_cell_ref: string;
2792
+ question_contract_digest: string;
2793
+ question_subject_target_ref: string;
2794
+ question_target_item_digest: string;
2795
+ question_revision_digest: string;
2796
+ answer: {
2797
+ evidence: {
2798
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2799
+ source_ref: string;
2800
+ evidence_digest: string;
2801
+ source_input_digest: string;
2802
+ source_spans: {
2803
+ unit: "byte" | "line";
2804
+ start: number;
2805
+ end_exclusive: number;
2806
+ }[];
2807
+ source_origin_ref: string;
2808
+ evidence_item_ref: string;
2809
+ }[];
2810
+ answer_indexer_id: string;
2811
+ answer_provider_composition_fingerprint: string;
2812
+ answer_result_digest: string;
2813
+ accepted_workset: {
2814
+ protocol: "context.indexer.material-question-workset/v1";
2815
+ workset_digest: string;
2816
+ requirement_set_digest: string;
2817
+ question_target_inventory_digest: string;
2818
+ items: {
2819
+ question_contract_digest: string;
2820
+ question_key: string;
2821
+ question_revision_digest: string;
2822
+ question: {
2823
+ evidence_contract: {
2824
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2825
+ minimum_items: number;
2826
+ minimum_distinct_sources: number;
2827
+ provenance_constraints?: {
2828
+ protocol: "context.indexer.selector/v1";
2829
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2830
+ } | undefined;
2831
+ };
2832
+ question_ref: string;
2833
+ owner_cell_ref: string;
2834
+ question_contract_digest: string;
2835
+ question_subject_target_ref: string;
2836
+ question_target_item_digest: string;
2837
+ source_refs?: string[] | undefined;
2838
+ answer_landing_ref?: string | undefined;
2839
+ };
2840
+ eligible_answer_indexer_ids: string[];
2841
+ authorized_source_refs: string[];
2842
+ }[];
2843
+ question_set_digest: string;
2844
+ question_target_set_digest: string;
2845
+ predecessor_ledger_revision: string;
2846
+ registry_digest: string;
2847
+ source_input_digests: string[];
2848
+ };
2849
+ accepted_workset_digest: string;
2850
+ review_decision_digest: string;
2851
+ };
2852
+ actualization: {
2853
+ planned_answer_digest: string;
2854
+ actualized_target_ref: string;
2855
+ layout_digest: string;
2856
+ actualization_digest: string;
2857
+ section_ref?: string | undefined;
2858
+ };
2859
+ answer_landing_ref?: string | undefined;
2860
+ } | {
2861
+ state: "excluded-with-confirmed-reason";
2862
+ dependencies: {
2863
+ requirement_digest: string;
2864
+ owner_cell_digest: string;
2865
+ emitted_question_digest: string;
2866
+ source_input_set_digest: string;
2867
+ answer_landing_dependency_digest?: string | undefined;
2868
+ };
2869
+ question_ref: string;
2870
+ owner_cell_ref: string;
2871
+ question_contract_digest: string;
2872
+ question_subject_target_ref: string;
2873
+ question_target_item_digest: string;
2874
+ question_revision_digest: string;
2875
+ exclusion: {
2876
+ reason_code: string;
2877
+ decision_digest: string;
2878
+ };
2879
+ answer_landing_ref?: string | undefined;
2880
+ })[];
2881
+ protocol: "context.indexer.material-gap-ledger/v1";
2882
+ question_target_inventory_digest: string;
2883
+ revision: string;
2884
+ }, {
2885
+ entries: ({
2886
+ state: "unresolved";
2887
+ dependencies: {
2888
+ requirement_digest: string;
2889
+ owner_cell_digest: string;
2890
+ emitted_question_digest: string;
2891
+ source_input_set_digest: string;
2892
+ answer_landing_dependency_digest?: string | undefined;
2893
+ };
2894
+ question_ref: string;
2895
+ owner_cell_ref: string;
2896
+ question_contract_digest: string;
2897
+ question_subject_target_ref: string;
2898
+ question_target_item_digest: string;
2899
+ question_revision_digest: string;
2900
+ answer_landing_ref?: string | undefined;
2901
+ } | {
2902
+ state: "answer-approved";
2903
+ dependencies: {
2904
+ requirement_digest: string;
2905
+ owner_cell_digest: string;
2906
+ emitted_question_digest: string;
2907
+ source_input_set_digest: string;
2908
+ answer_landing_dependency_digest?: string | undefined;
2909
+ };
2910
+ question_ref: string;
2911
+ owner_cell_ref: string;
2912
+ question_contract_digest: string;
2913
+ question_subject_target_ref: string;
2914
+ question_target_item_digest: string;
2915
+ question_revision_digest: string;
2916
+ answer: {
2917
+ evidence: {
2918
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2919
+ source_ref: string;
2920
+ evidence_digest: string;
2921
+ source_input_digest: string;
2922
+ source_spans: {
2923
+ unit: "byte" | "line";
2924
+ start: number;
2925
+ end_exclusive: number;
2926
+ }[];
2927
+ source_origin_ref: string;
2928
+ evidence_item_ref: string;
2929
+ }[];
2930
+ answer_indexer_id: string;
2931
+ answer_provider_composition_fingerprint: string;
2932
+ answer_result_digest: string;
2933
+ accepted_workset: {
2934
+ protocol: "context.indexer.material-question-workset/v1";
2935
+ workset_digest: string;
2936
+ requirement_set_digest: string;
2937
+ question_target_inventory_digest: string;
2938
+ items: {
2939
+ question_contract_digest: string;
2940
+ question_key: string;
2941
+ question_revision_digest: string;
2942
+ question: {
2943
+ evidence_contract: {
2944
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
2945
+ minimum_items: number;
2946
+ minimum_distinct_sources: number;
2947
+ provenance_constraints?: {
2948
+ protocol: "context.indexer.selector/v1";
2949
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
2950
+ } | undefined;
2951
+ };
2952
+ question_ref: string;
2953
+ owner_cell_ref: string;
2954
+ question_contract_digest: string;
2955
+ question_subject_target_ref: string;
2956
+ question_target_item_digest: string;
2957
+ source_refs?: string[] | undefined;
2958
+ answer_landing_ref?: string | undefined;
2959
+ };
2960
+ eligible_answer_indexer_ids: string[];
2961
+ authorized_source_refs: string[];
2962
+ }[];
2963
+ question_set_digest: string;
2964
+ question_target_set_digest: string;
2965
+ predecessor_ledger_revision: string;
2966
+ registry_digest: string;
2967
+ source_input_digests: string[];
2968
+ };
2969
+ accepted_workset_digest: string;
2970
+ review_decision_digest: string;
2971
+ };
2972
+ answer_landing_ref?: string | undefined;
2973
+ } | {
2974
+ state: "resolved";
2975
+ dependencies: {
2976
+ requirement_digest: string;
2977
+ owner_cell_digest: string;
2978
+ emitted_question_digest: string;
2979
+ source_input_set_digest: string;
2980
+ answer_landing_dependency_digest?: string | undefined;
2981
+ };
2982
+ question_ref: string;
2983
+ owner_cell_ref: string;
2984
+ question_contract_digest: string;
2985
+ question_subject_target_ref: string;
2986
+ question_target_item_digest: string;
2987
+ question_revision_digest: string;
2988
+ answer: {
2989
+ evidence: {
2990
+ kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
2991
+ source_ref: string;
2992
+ evidence_digest: string;
2993
+ source_input_digest: string;
2994
+ source_spans: {
2995
+ unit: "byte" | "line";
2996
+ start: number;
2997
+ end_exclusive: number;
2998
+ }[];
2999
+ source_origin_ref: string;
3000
+ evidence_item_ref: string;
3001
+ }[];
3002
+ answer_indexer_id: string;
3003
+ answer_provider_composition_fingerprint: string;
3004
+ answer_result_digest: string;
3005
+ accepted_workset: {
3006
+ protocol: "context.indexer.material-question-workset/v1";
3007
+ workset_digest: string;
3008
+ requirement_set_digest: string;
3009
+ question_target_inventory_digest: string;
3010
+ items: {
3011
+ question_contract_digest: string;
3012
+ question_key: string;
3013
+ question_revision_digest: string;
3014
+ question: {
3015
+ evidence_contract: {
3016
+ accepted_kinds: ("contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
3017
+ minimum_items: number;
3018
+ minimum_distinct_sources: number;
3019
+ provenance_constraints?: {
3020
+ protocol: "context.indexer.selector/v1";
3021
+ expression: import("./indexerRestrictedSelector.js").IndexerRestrictedSelectorExpression;
3022
+ } | undefined;
3023
+ };
3024
+ question_ref: string;
3025
+ owner_cell_ref: string;
3026
+ question_contract_digest: string;
3027
+ question_subject_target_ref: string;
3028
+ question_target_item_digest: string;
3029
+ source_refs?: string[] | undefined;
3030
+ answer_landing_ref?: string | undefined;
3031
+ };
3032
+ eligible_answer_indexer_ids: string[];
3033
+ authorized_source_refs: string[];
3034
+ }[];
3035
+ question_set_digest: string;
3036
+ question_target_set_digest: string;
3037
+ predecessor_ledger_revision: string;
3038
+ registry_digest: string;
3039
+ source_input_digests: string[];
3040
+ };
3041
+ accepted_workset_digest: string;
3042
+ review_decision_digest: string;
3043
+ };
3044
+ actualization: {
3045
+ planned_answer_digest: string;
3046
+ actualized_target_ref: string;
3047
+ layout_digest: string;
3048
+ actualization_digest: string;
3049
+ section_ref?: string | undefined;
3050
+ };
3051
+ answer_landing_ref?: string | undefined;
3052
+ } | {
3053
+ state: "excluded-with-confirmed-reason";
3054
+ dependencies: {
3055
+ requirement_digest: string;
3056
+ owner_cell_digest: string;
3057
+ emitted_question_digest: string;
3058
+ source_input_set_digest: string;
3059
+ answer_landing_dependency_digest?: string | undefined;
3060
+ };
3061
+ question_ref: string;
3062
+ owner_cell_ref: string;
3063
+ question_contract_digest: string;
3064
+ question_subject_target_ref: string;
3065
+ question_target_item_digest: string;
3066
+ question_revision_digest: string;
3067
+ exclusion: {
3068
+ reason_code: string;
3069
+ decision_digest: string;
3070
+ };
3071
+ answer_landing_ref?: string | undefined;
3072
+ })[];
3073
+ protocol: "context.indexer.material-gap-ledger/v1";
3074
+ question_target_inventory_digest: string;
3075
+ revision: string;
3076
+ }>;
3077
+ export type IndexerMaterialGapLedgerEntry = z.infer<typeof indexerMaterialGapLedgerEntrySchema>;
3078
+ export type IndexerMaterialGapLedger = z.infer<typeof indexerMaterialGapLedgerSchema>;
3079
+ export type IndexerUnresolvedMaterialGap = z.infer<typeof unresolvedEntrySchema>;
3080
+ export declare function indexerMaterialGapQuestionKey(entry: Pick<IndexerMaterialGapLedgerEntry, "owner_cell_ref" | "question_contract_digest" | "question_subject_target_ref">): string;
3081
+ export declare function indexerMaterialGapLedgerRevision(value: Omit<IndexerMaterialGapLedger, "revision">): string;
3082
+ export declare function buildIndexerMaterialGapLedger(input: {
3083
+ question_target_inventory_digest: string;
3084
+ entries: readonly IndexerMaterialGapLedgerEntry[];
3085
+ }): IndexerMaterialGapLedger;
3086
+ export declare function validateIndexerMaterialGapLedger(value: unknown): IndexerMaterialGapLedger;
3087
+ export declare function checkpointIndexerEmittedMaterialGaps(input: {
3088
+ ledger: unknown;
3089
+ expected_revision: string;
3090
+ authoritative_owner_cell_refs: readonly string[];
3091
+ current_entries: readonly IndexerUnresolvedMaterialGap[];
3092
+ complete_inventory_digest?: string;
3093
+ }): IndexerMaterialGapLedger;
3094
+ export declare function approveIndexerMaterialAnswer(input: {
3095
+ ledger: unknown;
3096
+ workset: unknown;
3097
+ candidate_set: unknown;
3098
+ baseline_report: unknown;
3099
+ review_decision: unknown;
3100
+ }): {
3101
+ ledger: IndexerMaterialGapLedger;
3102
+ consumed_workset_digest: string;
3103
+ binding_digest: string;
3104
+ };
3105
+ export declare function indexerMaterialAnswerBindingDigestFromLedgerEntry(entry: Extract<IndexerMaterialGapLedgerEntry, {
3106
+ state: "answer-approved" | "resolved";
3107
+ }>): string;
3108
+ export declare function deriveIndexerMaterialGapSeverity(input: {
3109
+ domain_state: "required" | "optional" | "out-of-scope";
3110
+ }): "blocking" | "recommended" | undefined;
3111
+ export {};