@c4a/context 0.7.1 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +67 -171
  2. package/README.zh-CN.md +53 -130
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -428
  6. package/docs/guides/agent-guide.md +104 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +38 -13
  8. package/docs/guides/indexer-provider-and-customization.md +32 -20
  9. package/docs/guides/markdown-indexer-skill-authoring.md +22 -13
  10. package/docs/reference/code-extractors.md +29 -121
  11. package/docs/reference/indexer-provider-protocol.md +43 -110
  12. package/docs/reference/package-templates.md +2 -3
  13. package/docs/reference/project-api.md +52 -986
  14. package/index.d.ts +10 -8
  15. package/index.js +13132 -15249
  16. package/indexerAgentStepProtocol.d.ts +1326 -8429
  17. package/indexerArtifact.d.ts +225 -0
  18. package/indexerArtifactDependencies.d.ts +43 -39
  19. package/indexerArtifactResult.d.ts +219 -252
  20. package/indexerAuthorizedWorksetView.d.ts +368 -0
  21. package/indexerBaseQuestionAmendment.d.ts +484 -280
  22. package/indexerBenchmark.d.ts +16 -16
  23. package/indexerCandidateCompile.d.ts +66 -60
  24. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  25. package/indexerCatalogFallback.d.ts +122 -128
  26. package/indexerCollectionMapping.d.ts +13 -13
  27. package/indexerCompositionFactDependencies.d.ts +16 -0
  28. package/indexerContentLayers.d.ts +8 -8
  29. package/indexerContractOverlay.d.ts +10 -10
  30. package/indexerControlledInvocation.d.ts +12 -12
  31. package/indexerControlledProgram.d.ts +2467 -2797
  32. package/indexerCoreExports.d.ts +6 -6
  33. package/indexerCustomizationDraft.d.ts +3315 -2091
  34. package/indexerCustomizationLadder.d.ts +2 -2
  35. package/indexerDependencyView.d.ts +108 -108
  36. package/indexerEffectiveArtifact.d.ts +1134 -0
  37. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  38. package/indexerEvidenceAdapterResult.d.ts +52 -52
  39. package/indexerExampleDecision.d.ts +128 -128
  40. package/indexerExampleIdentity.d.ts +6 -6
  41. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  42. package/indexerIncrementalImpact.d.ts +16 -16
  43. package/indexerInspectorWorksetProjection.d.ts +6 -0
  44. package/indexerInventoryDisposition.d.ts +70 -70
  45. package/indexerLayerComposition.d.ts +2139 -373
  46. package/indexerLayoutChange.d.ts +10 -10
  47. package/indexerLayoutProposalSet.d.ts +71 -66
  48. package/indexerLayoutResolver.d.ts +53 -48
  49. package/indexerLayoutTransition.d.ts +0 -50
  50. package/indexerLifecycle.d.ts +0 -13
  51. package/indexerMainLifecycle.d.ts +10 -0
  52. package/indexerMainRunLedger.d.ts +142 -11
  53. package/indexerMainRunProtocol.d.ts +1406 -785
  54. package/indexerMainWorkset.d.ts +460 -206
  55. package/indexerMaterialGapLedger.d.ts +13 -2904
  56. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  57. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  58. package/indexerParserCapabilityCatalog.d.ts +136 -0
  59. package/indexerParserCoordinate.d.ts +16 -16
  60. package/indexerParserDependencyIntent.d.ts +22 -0
  61. package/indexerParserExecutionPlan.d.ts +388 -0
  62. package/indexerParserFactView.d.ts +42 -22
  63. package/indexerPartitionConvergence.d.ts +0 -3
  64. package/indexerPartitionInventory.d.ts +2 -0
  65. package/indexerPartitionPlan.d.ts +101 -99
  66. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  67. package/indexerPostAuthorComposition.d.ts +116 -1156
  68. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  69. package/indexerPrimaryProjection.d.ts +10 -10
  70. package/indexerPrimaryResultView.d.ts +435 -0
  71. package/indexerProfileContract.d.ts +181 -181
  72. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  73. package/indexerProgramRunProtocol.d.ts +2141 -2749
  74. package/indexerProjectProposal.d.ts +496 -292
  75. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  76. package/indexerProtocolCommon.d.ts +4 -1
  77. package/indexerProvider.d.ts +134 -218
  78. package/indexerProviderComposition.d.ts +53 -53
  79. package/indexerProviderResolution.d.ts +12 -12
  80. package/indexerProviderResolutionAction.d.ts +14 -14
  81. package/indexerProviderRouting.d.ts +923 -515
  82. package/indexerProviderSelectionProposal.d.ts +893 -485
  83. package/indexerQuestionAuthority.d.ts +46 -47
  84. package/indexerReaderTargetInventory.d.ts +8 -8
  85. package/indexerRegistry.d.ts +765 -357
  86. package/indexerRequirementConfirmation.d.ts +98 -98
  87. package/indexerRequirementLifecycle.d.ts +224 -224
  88. package/indexerResultReconciliation.d.ts +204 -5919
  89. package/indexerResultReconciliationRun.d.ts +0 -1
  90. package/indexerRunEnvelope.d.ts +20 -20
  91. package/indexerSemanticInput.d.ts +5794 -0
  92. package/indexerStructuredDeclaration.d.ts +57 -53
  93. package/indexerSubjectCatalog.d.ts +14 -14
  94. package/indexerSubjectIdentity.d.ts +2 -2
  95. package/indexerSubjectKeyAuthority.d.ts +31 -30
  96. package/indexerTemplateRendering.d.ts +64 -64
  97. package/indexerToolSnapshot.d.ts +8 -8
  98. package/package.json +1 -1
  99. package/phases.d.ts +3 -183
  100. package/codeIndexPlan.d.ts +0 -158
  101. package/indexerAuditFacts.d.ts +0 -66
  102. package/indexerAuditOverrideReadiness.d.ts +0 -27
  103. package/indexerAuditProtocol.d.ts +0 -238
  104. package/indexerAuditRevision.d.ts +0 -726
  105. package/indexerAuditRevisionActions.d.ts +0 -236
  106. package/indexerMaterialAnswer.d.ts +0 -738
  107. package/indexerMaterialAnswerActualization.d.ts +0 -91
  108. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  109. package/indexerMaterialAnswerFlow.d.ts +0 -63
  110. package/indexerMaterialAnswerLayout.d.ts +0 -76
  111. package/indexerMaterialAnswerReview.d.ts +0 -217
  112. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  113. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  114. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  115. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  116. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  117. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  118. package/indexerProfileMetricAudit.d.ts +0 -218
  119. package/indexerWorksetRead.d.ts +0 -287
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { indexerArtifactSectionProjectionSchema, type IndexerArtifactSectionProjection } from "./indexerArtifact.js";
2
3
  import type { IndexerMainAuthorWorkset } from "./indexerMainWorkset.js";
3
4
  export declare const indexerEvidenceBindingSchema: z.ZodObject<{
4
5
  evidence_ref: z.ZodString;
@@ -30,51 +31,32 @@ export declare const indexerEvidenceBindingSchema: z.ZodObject<{
30
31
  coverage_tier: z.ZodEnum<["ast-catalog", "lightweight-evidence"]>;
31
32
  binding_digest: z.ZodString;
32
33
  }, "strict", z.ZodTypeAny, {
33
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
34
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
34
35
  source_ref: string;
35
36
  locator: {
36
37
  path: string;
37
38
  start_line: number;
38
39
  end_line: number;
39
40
  };
41
+ content_digest: string;
40
42
  module_ref: string | null;
41
43
  coverage_tier: "ast-catalog" | "lightweight-evidence";
42
- content_digest: string;
43
44
  evidence_ref: string;
44
45
  binding_digest: string;
45
46
  }, {
46
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
47
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
47
48
  source_ref: string;
48
49
  locator: {
49
50
  path: string;
50
51
  start_line: number;
51
52
  end_line: number;
52
53
  };
54
+ content_digest: string;
53
55
  module_ref: string | null;
54
56
  coverage_tier: "ast-catalog" | "lightweight-evidence";
55
- content_digest: string;
56
57
  evidence_ref: string;
57
58
  binding_digest: string;
58
59
  }>;
59
- export declare const indexerArtifactSectionProjectionSchema: z.ZodObject<{
60
- section_key: z.ZodEffects<z.ZodString, string, string>;
61
- owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
62
- document_kind: z.ZodEffects<z.ZodString, string, string>;
63
- reader_goal: z.ZodEffects<z.ZodString, string, string>;
64
- artifact_kind: z.ZodEffects<z.ZodString, string, string>;
65
- }, "strict", z.ZodTypeAny, {
66
- artifact_kind: string;
67
- document_kind: string;
68
- reader_goal: string;
69
- section_key: string;
70
- owner_indexer_id: string;
71
- }, {
72
- artifact_kind: string;
73
- document_kind: string;
74
- reader_goal: string;
75
- section_key: string;
76
- owner_indexer_id: string;
77
- }>;
78
60
  export declare const indexerArtifactResultSchema: z.ZodObject<{
79
61
  protocol: z.ZodLiteral<"context.indexer.artifact-result/v1">;
80
62
  author_workset_digest: z.ZodString;
@@ -99,13 +81,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
99
81
  local_key: z.ZodEffects<z.ZodString, string, string>;
100
82
  }, "strict", z.ZodTypeAny, {
101
83
  kind: string;
102
- protocol: "context.subject-key/v1";
103
84
  namespace: string;
85
+ protocol: "context.subject-key/v1";
104
86
  local_key: string;
105
87
  }, {
106
88
  kind: string;
107
- protocol: "context.subject-key/v1";
108
89
  namespace: string;
90
+ protocol: "context.subject-key/v1";
109
91
  local_key: string;
110
92
  }>;
111
93
  logical_unit_ref: z.ZodString;
@@ -119,13 +101,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
119
101
  local_key: z.ZodEffects<z.ZodString, string, string>;
120
102
  }, "strict", z.ZodTypeAny, {
121
103
  kind: string;
122
- protocol: "context.subject-key/v1";
123
104
  namespace: string;
105
+ protocol: "context.subject-key/v1";
124
106
  local_key: string;
125
107
  }, {
126
108
  kind: string;
127
- protocol: "context.subject-key/v1";
128
109
  namespace: string;
110
+ protocol: "context.subject-key/v1";
129
111
  local_key: string;
130
112
  }>;
131
113
  target_node_ref: z.ZodString;
@@ -135,8 +117,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
135
117
  query_ref: string;
136
118
  target_subject_key: {
137
119
  kind: string;
138
- protocol: "context.subject-key/v1";
139
120
  namespace: string;
121
+ protocol: "context.subject-key/v1";
140
122
  local_key: string;
141
123
  };
142
124
  }, {
@@ -145,8 +127,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
145
127
  query_ref: string;
146
128
  target_subject_key: {
147
129
  kind: string;
148
- protocol: "context.subject-key/v1";
149
130
  namespace: string;
131
+ protocol: "context.subject-key/v1";
150
132
  local_key: string;
151
133
  };
152
134
  }>, z.ZodObject<{
@@ -159,37 +141,37 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
159
141
  local_key: z.ZodEffects<z.ZodString, string, string>;
160
142
  }, "strict", z.ZodTypeAny, {
161
143
  kind: string;
162
- protocol: "context.subject-key/v1";
163
144
  namespace: string;
145
+ protocol: "context.subject-key/v1";
164
146
  local_key: string;
165
147
  }, {
166
148
  kind: string;
167
- protocol: "context.subject-key/v1";
168
149
  namespace: string;
150
+ protocol: "context.subject-key/v1";
169
151
  local_key: string;
170
152
  }>;
171
153
  reason_code: z.ZodEffects<z.ZodString, string, string>;
172
154
  evidence_refs: z.ZodArray<z.ZodString, "many">;
173
155
  }, "strict", z.ZodTypeAny, {
174
- evidence_refs: string[];
175
- disposition: "create-independent";
176
156
  subject_key: {
177
157
  kind: string;
178
- protocol: "context.subject-key/v1";
179
158
  namespace: string;
159
+ protocol: "context.subject-key/v1";
180
160
  local_key: string;
181
161
  };
162
+ evidence_refs: string[];
163
+ disposition: "create-independent";
182
164
  query_ref: string;
183
165
  reason_code: string;
184
166
  }, {
185
- evidence_refs: string[];
186
- disposition: "create-independent";
187
167
  subject_key: {
188
168
  kind: string;
189
- protocol: "context.subject-key/v1";
190
169
  namespace: string;
170
+ protocol: "context.subject-key/v1";
191
171
  local_key: string;
192
172
  };
173
+ evidence_refs: string[];
174
+ disposition: "create-independent";
193
175
  query_ref: string;
194
176
  reason_code: string;
195
177
  }>, z.ZodObject<{
@@ -221,13 +203,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
221
203
  missing_capabilities: string[];
222
204
  }>]>, "many">;
223
205
  }, "strict", z.ZodTypeAny, {
224
- logical_unit_ref: string;
225
206
  subject_key: {
226
207
  kind: string;
227
- protocol: "context.subject-key/v1";
228
208
  namespace: string;
209
+ protocol: "context.subject-key/v1";
229
210
  local_key: string;
230
211
  };
212
+ logical_unit_ref: string;
231
213
  group_key: string;
232
214
  target_resolution_dispositions: ({
233
215
  target_node_ref: string;
@@ -235,19 +217,19 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
235
217
  query_ref: string;
236
218
  target_subject_key: {
237
219
  kind: string;
238
- protocol: "context.subject-key/v1";
239
220
  namespace: string;
221
+ protocol: "context.subject-key/v1";
240
222
  local_key: string;
241
223
  };
242
224
  } | {
243
- evidence_refs: string[];
244
- disposition: "create-independent";
245
225
  subject_key: {
246
226
  kind: string;
247
- protocol: "context.subject-key/v1";
248
227
  namespace: string;
228
+ protocol: "context.subject-key/v1";
249
229
  local_key: string;
250
230
  };
231
+ evidence_refs: string[];
232
+ disposition: "create-independent";
251
233
  query_ref: string;
252
234
  reason_code: string;
253
235
  } | {
@@ -261,13 +243,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
261
243
  missing_capabilities: string[];
262
244
  })[];
263
245
  }, {
264
- logical_unit_ref: string;
265
246
  subject_key: {
266
247
  kind: string;
267
- protocol: "context.subject-key/v1";
268
248
  namespace: string;
249
+ protocol: "context.subject-key/v1";
269
250
  local_key: string;
270
251
  };
252
+ logical_unit_ref: string;
271
253
  group_key: string;
272
254
  target_resolution_dispositions: ({
273
255
  target_node_ref: string;
@@ -275,19 +257,19 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
275
257
  query_ref: string;
276
258
  target_subject_key: {
277
259
  kind: string;
278
- protocol: "context.subject-key/v1";
279
260
  namespace: string;
261
+ protocol: "context.subject-key/v1";
280
262
  local_key: string;
281
263
  };
282
264
  } | {
283
- evidence_refs: string[];
284
- disposition: "create-independent";
285
265
  subject_key: {
286
266
  kind: string;
287
- protocol: "context.subject-key/v1";
288
267
  namespace: string;
268
+ protocol: "context.subject-key/v1";
289
269
  local_key: string;
290
270
  };
271
+ evidence_refs: string[];
272
+ disposition: "create-independent";
291
273
  query_ref: string;
292
274
  reason_code: string;
293
275
  } | {
@@ -327,12 +309,12 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
327
309
  evidence_refs: z.ZodArray<z.ZodString, "many">;
328
310
  }, "strict", z.ZodTypeAny, {
329
311
  evidence_refs: string[];
330
- artifact_id: string;
331
312
  section_key: string;
313
+ artifact_id: string;
332
314
  }, {
333
315
  evidence_refs: string[];
334
- artifact_id: string;
335
316
  section_key: string;
317
+ artifact_id: string;
336
318
  }>, "many">;
337
319
  }, "strict", z.ZodTypeAny, {
338
320
  capability_group_ref: string;
@@ -343,8 +325,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
343
325
  }[];
344
326
  section_evidence: {
345
327
  evidence_refs: string[];
346
- artifact_id: string;
347
328
  section_key: string;
329
+ artifact_id: string;
348
330
  }[];
349
331
  }, {
350
332
  capability_group_ref: string;
@@ -355,8 +337,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
355
337
  }[];
356
338
  section_evidence: {
357
339
  evidence_refs: string[];
358
- artifact_id: string;
359
340
  section_key: string;
341
+ artifact_id: string;
360
342
  }[];
361
343
  }>, "many">;
362
344
  evidence_digest: z.ZodString;
@@ -376,8 +358,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
376
358
  }[];
377
359
  section_evidence: {
378
360
  evidence_refs: string[];
379
- artifact_id: string;
380
361
  section_key: string;
362
+ artifact_id: string;
381
363
  }[];
382
364
  }[];
383
365
  evidence_digest: string;
@@ -397,8 +379,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
397
379
  }[];
398
380
  section_evidence: {
399
381
  evidence_refs: string[];
400
- artifact_id: string;
401
382
  section_key: string;
383
+ artifact_id: string;
402
384
  }[];
403
385
  }[];
404
386
  evidence_digest: string;
@@ -412,7 +394,7 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
412
394
  member_inventory_digest: z.ZodString;
413
395
  dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
414
396
  member_id: z.ZodString;
415
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
397
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
416
398
  inventory_disposition: z.ZodLiteral<"owned">;
417
399
  projection_disposition: z.ZodLiteral<"detailed">;
418
400
  section_evidence: z.ZodArray<z.ZodObject<{
@@ -421,133 +403,133 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
421
403
  evidence_refs: z.ZodArray<z.ZodString, "many">;
422
404
  }, "strict", z.ZodTypeAny, {
423
405
  evidence_refs: string[];
424
- artifact_id: string;
425
406
  section_key: string;
407
+ artifact_id: string;
426
408
  }, {
427
409
  evidence_refs: string[];
428
- artifact_id: string;
429
410
  section_key: string;
411
+ artifact_id: string;
430
412
  }>, "many">;
431
413
  }, "strict", z.ZodTypeAny, {
432
414
  member_id: string;
433
415
  section_evidence: {
434
416
  evidence_refs: string[];
435
- artifact_id: string;
436
417
  section_key: string;
418
+ artifact_id: string;
437
419
  }[];
438
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
420
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
439
421
  inventory_disposition: "owned";
440
422
  projection_disposition: "detailed";
441
423
  }, {
442
424
  member_id: string;
443
425
  section_evidence: {
444
426
  evidence_refs: string[];
445
- artifact_id: string;
446
427
  section_key: string;
428
+ artifact_id: string;
447
429
  }[];
448
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
430
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
449
431
  inventory_disposition: "owned";
450
432
  projection_disposition: "detailed";
451
433
  }>, z.ZodObject<{
452
434
  member_id: z.ZodString;
453
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
435
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
454
436
  inventory_disposition: z.ZodLiteral<"owned">;
455
437
  projection_disposition: z.ZodLiteral<"capability-group">;
456
438
  capability_group_ref: z.ZodString;
457
439
  }, "strict", z.ZodTypeAny, {
458
440
  member_id: string;
459
441
  capability_group_ref: string;
460
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
442
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
461
443
  inventory_disposition: "owned";
462
444
  projection_disposition: "capability-group";
463
445
  }, {
464
446
  member_id: string;
465
447
  capability_group_ref: string;
466
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
448
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
467
449
  inventory_disposition: "owned";
468
450
  projection_disposition: "capability-group";
469
451
  }>, z.ZodObject<{
470
452
  member_id: z.ZodString;
471
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
453
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
472
454
  inventory_disposition: z.ZodLiteral<"owned">;
473
455
  projection_disposition: z.ZodLiteral<"catalog-only">;
474
456
  fact_refs: z.ZodArray<z.ZodString, "many">;
475
457
  }, "strict", z.ZodTypeAny, {
476
458
  fact_refs: string[];
477
459
  member_id: string;
478
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
460
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
479
461
  inventory_disposition: "owned";
480
462
  projection_disposition: "catalog-only";
481
463
  }, {
482
464
  fact_refs: string[];
483
465
  member_id: string;
484
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
466
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
485
467
  inventory_disposition: "owned";
486
468
  projection_disposition: "catalog-only";
487
469
  }>, z.ZodObject<{
488
470
  member_id: z.ZodString;
489
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
471
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
490
472
  inventory_disposition: z.ZodLiteral<"owned">;
491
473
  projection_disposition: z.ZodLiteral<"boundary-only">;
492
474
  evidence_refs: z.ZodArray<z.ZodString, "many">;
493
475
  }, "strict", z.ZodTypeAny, {
494
476
  evidence_refs: string[];
495
477
  member_id: string;
496
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
478
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
497
479
  inventory_disposition: "owned";
498
480
  projection_disposition: "boundary-only";
499
481
  }, {
500
482
  evidence_refs: string[];
501
483
  member_id: string;
502
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
484
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
503
485
  inventory_disposition: "owned";
504
486
  projection_disposition: "boundary-only";
505
487
  }>, z.ZodObject<{
506
488
  member_id: z.ZodString;
507
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
489
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
508
490
  inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
509
491
  reason_code: z.ZodEffects<z.ZodString, string, string>;
510
492
  evidence_refs: z.ZodArray<z.ZodString, "many">;
511
493
  }, "strict", z.ZodTypeAny, {
512
494
  evidence_refs: string[];
513
495
  member_id: string;
514
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
496
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
515
497
  inventory_disposition: "excluded-with-reason";
516
498
  reason_code: string;
517
499
  }, {
518
500
  evidence_refs: string[];
519
501
  member_id: string;
520
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
502
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
521
503
  inventory_disposition: "excluded-with-reason";
522
504
  reason_code: string;
523
505
  }>, z.ZodObject<{
524
506
  member_id: z.ZodString;
525
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
507
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
526
508
  inventory_disposition: z.ZodLiteral<"unsupported">;
527
509
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
528
510
  }, "strict", z.ZodTypeAny, {
529
511
  member_id: string;
530
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
512
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
531
513
  inventory_disposition: "unsupported";
532
514
  missing_capabilities: string[];
533
515
  }, {
534
516
  member_id: string;
535
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
517
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
536
518
  inventory_disposition: "unsupported";
537
519
  missing_capabilities: string[];
538
520
  }>, z.ZodObject<{
539
521
  member_id: z.ZodString;
540
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
522
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
541
523
  inventory_disposition: z.ZodLiteral<"request-material">;
542
524
  material_question_proposal_ref: z.ZodString;
543
525
  }, "strict", z.ZodTypeAny, {
544
526
  member_id: string;
545
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
527
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
546
528
  inventory_disposition: "request-material";
547
529
  material_question_proposal_ref: string;
548
530
  }, {
549
531
  member_id: string;
550
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
532
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
551
533
  inventory_disposition: "request-material";
552
534
  material_question_proposal_ref: string;
553
535
  }>]>, "many">;
@@ -563,44 +545,44 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
563
545
  member_id: string;
564
546
  section_evidence: {
565
547
  evidence_refs: string[];
566
- artifact_id: string;
567
548
  section_key: string;
549
+ artifact_id: string;
568
550
  }[];
569
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
551
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
570
552
  inventory_disposition: "owned";
571
553
  projection_disposition: "detailed";
572
554
  } | {
573
555
  member_id: string;
574
556
  capability_group_ref: string;
575
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
557
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
576
558
  inventory_disposition: "owned";
577
559
  projection_disposition: "capability-group";
578
560
  } | {
579
561
  fact_refs: string[];
580
562
  member_id: string;
581
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
563
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
582
564
  inventory_disposition: "owned";
583
565
  projection_disposition: "catalog-only";
584
566
  } | {
585
567
  evidence_refs: string[];
586
568
  member_id: string;
587
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
569
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
588
570
  inventory_disposition: "owned";
589
571
  projection_disposition: "boundary-only";
590
572
  } | {
591
573
  evidence_refs: string[];
592
574
  member_id: string;
593
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
575
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
594
576
  inventory_disposition: "excluded-with-reason";
595
577
  reason_code: string;
596
578
  } | {
597
579
  member_id: string;
598
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
580
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
599
581
  inventory_disposition: "unsupported";
600
582
  missing_capabilities: string[];
601
583
  } | {
602
584
  member_id: string;
603
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
585
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
604
586
  inventory_disposition: "request-material";
605
587
  material_question_proposal_ref: string;
606
588
  })[];
@@ -616,44 +598,44 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
616
598
  member_id: string;
617
599
  section_evidence: {
618
600
  evidence_refs: string[];
619
- artifact_id: string;
620
601
  section_key: string;
602
+ artifact_id: string;
621
603
  }[];
622
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
604
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
623
605
  inventory_disposition: "owned";
624
606
  projection_disposition: "detailed";
625
607
  } | {
626
608
  member_id: string;
627
609
  capability_group_ref: string;
628
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
610
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
629
611
  inventory_disposition: "owned";
630
612
  projection_disposition: "capability-group";
631
613
  } | {
632
614
  fact_refs: string[];
633
615
  member_id: string;
634
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
616
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
635
617
  inventory_disposition: "owned";
636
618
  projection_disposition: "catalog-only";
637
619
  } | {
638
620
  evidence_refs: string[];
639
621
  member_id: string;
640
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
622
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
641
623
  inventory_disposition: "owned";
642
624
  projection_disposition: "boundary-only";
643
625
  } | {
644
626
  evidence_refs: string[];
645
627
  member_id: string;
646
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
628
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
647
629
  inventory_disposition: "excluded-with-reason";
648
630
  reason_code: string;
649
631
  } | {
650
632
  member_id: string;
651
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
633
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
652
634
  inventory_disposition: "unsupported";
653
635
  missing_capabilities: string[];
654
636
  } | {
655
637
  member_id: string;
656
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
638
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
657
639
  inventory_disposition: "request-material";
658
640
  material_question_proposal_ref: string;
659
641
  })[];
@@ -682,12 +664,12 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
682
664
  normalized_path: z.ZodEffects<z.ZodString, string, string>;
683
665
  content_digest: z.ZodString;
684
666
  }, "strict", z.ZodTypeAny, {
685
- normalized_path: string;
686
667
  content_digest: string;
668
+ normalized_path: string;
687
669
  target_type: "file";
688
670
  }, {
689
- normalized_path: string;
690
671
  content_digest: string;
672
+ normalized_path: string;
691
673
  target_type: "file";
692
674
  }>, z.ZodObject<{
693
675
  target_type: z.ZodLiteral<"item">;
@@ -717,13 +699,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
717
699
  module_ref: string | null;
718
700
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
719
701
  carrier_ref: string;
720
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
702
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
721
703
  target: {
722
704
  normalized_path: string;
723
705
  target_type: "directory";
724
706
  } | {
725
- normalized_path: string;
726
707
  content_digest: string;
708
+ normalized_path: string;
727
709
  target_type: "file";
728
710
  } | {
729
711
  normalized_path: string;
@@ -739,13 +721,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
739
721
  module_ref: string | null;
740
722
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
741
723
  carrier_ref: string;
742
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
724
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
743
725
  target: {
744
726
  normalized_path: string;
745
727
  target_type: "directory";
746
728
  } | {
747
- normalized_path: string;
748
729
  content_digest: string;
730
+ normalized_path: string;
749
731
  target_type: "file";
750
732
  } | {
751
733
  normalized_path: string;
@@ -766,13 +748,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
766
748
  module_ref: string | null;
767
749
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
768
750
  carrier_ref: string;
769
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
751
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
770
752
  target: {
771
753
  normalized_path: string;
772
754
  target_type: "directory";
773
755
  } | {
774
- normalized_path: string;
775
756
  content_digest: string;
757
+ normalized_path: string;
776
758
  target_type: "file";
777
759
  } | {
778
760
  normalized_path: string;
@@ -793,13 +775,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
793
775
  module_ref: string | null;
794
776
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
795
777
  carrier_ref: string;
796
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
778
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
797
779
  target: {
798
780
  normalized_path: string;
799
781
  target_type: "directory";
800
782
  } | {
801
- normalized_path: string;
802
783
  content_digest: string;
784
+ normalized_path: string;
803
785
  target_type: "file";
804
786
  } | {
805
787
  normalized_path: string;
@@ -824,11 +806,11 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
824
806
  artifact_id: z.ZodEffects<z.ZodString, string, string>;
825
807
  section_key: z.ZodEffects<z.ZodString, string, string>;
826
808
  }, "strict", z.ZodTypeAny, {
827
- artifact_id: string;
828
809
  section_key: string;
829
- }, {
830
810
  artifact_id: string;
811
+ }, {
831
812
  section_key: string;
813
+ artifact_id: string;
832
814
  }>;
833
815
  evidence_refs: z.ZodArray<z.ZodString, "many">;
834
816
  }, "strict", z.ZodTypeAny, {
@@ -837,8 +819,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
837
819
  claim_kind: string;
838
820
  subject_ref: string;
839
821
  owner: {
840
- artifact_id: string;
841
822
  section_key: string;
823
+ artifact_id: string;
842
824
  };
843
825
  }, {
844
826
  evidence_refs: string[];
@@ -846,8 +828,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
846
828
  claim_kind: string;
847
829
  subject_ref: string;
848
830
  owner: {
849
- artifact_id: string;
850
831
  section_key: string;
832
+ artifact_id: string;
851
833
  };
852
834
  }>, "many">;
853
835
  claims_digest: z.ZodString;
@@ -861,8 +843,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
861
843
  claim_kind: string;
862
844
  subject_ref: string;
863
845
  owner: {
864
- artifact_id: string;
865
846
  section_key: string;
847
+ artifact_id: string;
866
848
  };
867
849
  }[];
868
850
  claims_digest: string;
@@ -876,8 +858,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
876
858
  claim_kind: string;
877
859
  subject_ref: string;
878
860
  owner: {
879
- artifact_id: string;
880
861
  section_key: string;
862
+ artifact_id: string;
881
863
  };
882
864
  }[];
883
865
  claims_digest: string;
@@ -892,39 +874,39 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
892
874
  local_key: z.ZodEffects<z.ZodString, string, string>;
893
875
  }, "strict", z.ZodTypeAny, {
894
876
  kind: string;
895
- protocol: "context.subject-key/v1";
896
877
  namespace: string;
878
+ protocol: "context.subject-key/v1";
897
879
  local_key: string;
898
880
  }, {
899
881
  kind: string;
900
- protocol: "context.subject-key/v1";
901
882
  namespace: string;
883
+ protocol: "context.subject-key/v1";
902
884
  local_key: string;
903
885
  }>;
904
886
  value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
905
887
  evidence_refs: z.ZodArray<z.ZodString, "many">;
906
888
  }, "strict", z.ZodTypeAny, {
907
889
  value: import("./indexerRegistry.js").IndexerJson;
908
- evidence_refs: string[];
909
890
  fact_ref: string;
910
891
  fact_kind: string;
911
892
  subject_key: {
912
893
  kind: string;
913
- protocol: "context.subject-key/v1";
914
894
  namespace: string;
895
+ protocol: "context.subject-key/v1";
915
896
  local_key: string;
916
897
  };
898
+ evidence_refs: string[];
917
899
  }, {
918
900
  value: import("./indexerRegistry.js").IndexerJson;
919
- evidence_refs: string[];
920
901
  fact_ref: string;
921
902
  fact_kind: string;
922
903
  subject_key: {
923
904
  kind: string;
924
- protocol: "context.subject-key/v1";
925
905
  namespace: string;
906
+ protocol: "context.subject-key/v1";
926
907
  local_key: string;
927
908
  };
909
+ evidence_refs: string[];
928
910
  }>, "many">;
929
911
  evidence_bindings: z.ZodArray<z.ZodObject<{
930
912
  evidence_ref: z.ZodString;
@@ -956,29 +938,29 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
956
938
  coverage_tier: z.ZodEnum<["ast-catalog", "lightweight-evidence"]>;
957
939
  binding_digest: z.ZodString;
958
940
  }, "strict", z.ZodTypeAny, {
959
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
941
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
960
942
  source_ref: string;
961
943
  locator: {
962
944
  path: string;
963
945
  start_line: number;
964
946
  end_line: number;
965
947
  };
948
+ content_digest: string;
966
949
  module_ref: string | null;
967
950
  coverage_tier: "ast-catalog" | "lightweight-evidence";
968
- content_digest: string;
969
951
  evidence_ref: string;
970
952
  binding_digest: string;
971
953
  }, {
972
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
954
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
973
955
  source_ref: string;
974
956
  locator: {
975
957
  path: string;
976
958
  start_line: number;
977
959
  end_line: number;
978
960
  };
961
+ content_digest: string;
979
962
  module_ref: string | null;
980
963
  coverage_tier: "ast-catalog" | "lightweight-evidence";
981
- content_digest: string;
982
964
  evidence_ref: string;
983
965
  binding_digest: string;
984
966
  }>, "many">;
@@ -1005,57 +987,57 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1005
987
  reader_goal: z.ZodEffects<z.ZodString, string, string>;
1006
988
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1007
989
  }, "strict", z.ZodTypeAny, {
1008
- artifact_kind: string;
1009
- document_kind: string;
1010
- reader_goal: string;
1011
990
  section_key: string;
1012
991
  owner_indexer_id: string;
1013
- }, {
1014
- artifact_kind: string;
1015
992
  document_kind: string;
1016
993
  reader_goal: string;
994
+ artifact_kind: string;
995
+ }, {
1017
996
  section_key: string;
1018
997
  owner_indexer_id: string;
998
+ document_kind: string;
999
+ reader_goal: string;
1000
+ artifact_kind: string;
1019
1001
  }>, "many">;
1020
1002
  artifact_id: z.ZodEffects<z.ZodString, string, string>;
1021
1003
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
1022
1004
  artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
1023
1005
  }, "strict", z.ZodTypeAny, {
1024
- template_id: string;
1025
1006
  artifact_kind: string;
1026
- artifact_policy_variant: string;
1007
+ representation: "template";
1008
+ template_id: string;
1027
1009
  variables: Record<string, {
1028
1010
  value: import("./indexerRegistry.js").IndexerJson;
1029
1011
  evidence_refs: string[];
1030
1012
  fact_refs: string[];
1031
1013
  }>;
1032
- artifact_id: string;
1033
- representation: "template";
1034
1014
  section_projections: {
1035
- artifact_kind: string;
1036
- document_kind: string;
1037
- reader_goal: string;
1038
1015
  section_key: string;
1039
1016
  owner_indexer_id: string;
1017
+ document_kind: string;
1018
+ reader_goal: string;
1019
+ artifact_kind: string;
1040
1020
  }[];
1021
+ artifact_id: string;
1022
+ artifact_policy_variant: string;
1041
1023
  }, {
1042
- template_id: string;
1043
1024
  artifact_kind: string;
1044
- artifact_policy_variant: string;
1025
+ representation: "template";
1026
+ template_id: string;
1045
1027
  variables: Record<string, {
1046
1028
  value: import("./indexerRegistry.js").IndexerJson;
1047
1029
  evidence_refs: string[];
1048
1030
  fact_refs: string[];
1049
1031
  }>;
1050
- artifact_id: string;
1051
- representation: "template";
1052
1032
  section_projections: {
1053
- artifact_kind: string;
1054
- document_kind: string;
1055
- reader_goal: string;
1056
1033
  section_key: string;
1057
1034
  owner_indexer_id: string;
1035
+ document_kind: string;
1036
+ reader_goal: string;
1037
+ artifact_kind: string;
1058
1038
  }[];
1039
+ artifact_id: string;
1040
+ artifact_policy_variant: string;
1059
1041
  }>, z.ZodObject<{
1060
1042
  representation: z.ZodLiteral<"sections">;
1061
1043
  sections: z.ZodArray<z.ZodObject<{
@@ -1097,11 +1079,11 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1097
1079
  markdown: string;
1098
1080
  }>]>, "many">;
1099
1081
  }, "strict", z.ZodTypeAny, {
1100
- artifact_kind: string;
1101
- document_kind: string;
1102
- reader_goal: string;
1103
1082
  section_key: string;
1104
1083
  owner_indexer_id: string;
1084
+ document_kind: string;
1085
+ reader_goal: string;
1086
+ artifact_kind: string;
1105
1087
  blocks: ({
1106
1088
  block_id: string;
1107
1089
  layer: "deterministic-block";
@@ -1114,11 +1096,11 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1114
1096
  markdown: string;
1115
1097
  })[];
1116
1098
  }, {
1117
- artifact_kind: string;
1118
- document_kind: string;
1119
- reader_goal: string;
1120
1099
  section_key: string;
1121
1100
  owner_indexer_id: string;
1101
+ document_kind: string;
1102
+ reader_goal: string;
1103
+ artifact_kind: string;
1122
1104
  blocks: ({
1123
1105
  block_id: string;
1124
1106
  layer: "deterministic-block";
@@ -1136,15 +1118,15 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1136
1118
  artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
1137
1119
  }, "strict", z.ZodTypeAny, {
1138
1120
  artifact_kind: string;
1139
- artifact_policy_variant: string;
1140
- artifact_id: string;
1141
1121
  representation: "sections";
1122
+ artifact_id: string;
1123
+ artifact_policy_variant: string;
1142
1124
  sections: {
1143
- artifact_kind: string;
1144
- document_kind: string;
1145
- reader_goal: string;
1146
1125
  section_key: string;
1147
1126
  owner_indexer_id: string;
1127
+ document_kind: string;
1128
+ reader_goal: string;
1129
+ artifact_kind: string;
1148
1130
  blocks: ({
1149
1131
  block_id: string;
1150
1132
  layer: "deterministic-block";
@@ -1159,15 +1141,15 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1159
1141
  }[];
1160
1142
  }, {
1161
1143
  artifact_kind: string;
1162
- artifact_policy_variant: string;
1163
- artifact_id: string;
1164
1144
  representation: "sections";
1145
+ artifact_id: string;
1146
+ artifact_policy_variant: string;
1165
1147
  sections: {
1166
- artifact_kind: string;
1167
- document_kind: string;
1168
- reader_goal: string;
1169
1148
  section_key: string;
1170
1149
  owner_indexer_id: string;
1150
+ document_kind: string;
1151
+ reader_goal: string;
1152
+ artifact_kind: string;
1171
1153
  blocks: ({
1172
1154
  block_id: string;
1173
1155
  layer: "deterministic-block";
@@ -1310,16 +1292,6 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1310
1292
  requirement_ref: z.ZodString;
1311
1293
  question_ref: z.ZodString;
1312
1294
  question_target_key: z.ZodString;
1313
- answer_landing_hint: z.ZodOptional<z.ZodObject<{
1314
- artifact_id: z.ZodEffects<z.ZodString, string, string>;
1315
- section_key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1316
- }, "strict", z.ZodTypeAny, {
1317
- artifact_id: string;
1318
- section_key?: string | undefined;
1319
- }, {
1320
- artifact_id: string;
1321
- section_key?: string | undefined;
1322
- }>>;
1323
1295
  source_hints: z.ZodArray<z.ZodString, "many">;
1324
1296
  }, "strict", z.ZodTypeAny, {
1325
1297
  requirement_ref: string;
@@ -1327,20 +1299,12 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1327
1299
  proposal_ref: string;
1328
1300
  question_ref: string;
1329
1301
  question_target_key: string;
1330
- answer_landing_hint?: {
1331
- artifact_id: string;
1332
- section_key?: string | undefined;
1333
- } | undefined;
1334
1302
  }, {
1335
1303
  requirement_ref: string;
1336
1304
  source_hints: string[];
1337
1305
  proposal_ref: string;
1338
1306
  question_ref: string;
1339
1307
  question_target_key: string;
1340
- answer_landing_hint?: {
1341
- artifact_id: string;
1342
- section_key?: string | undefined;
1343
- } | undefined;
1344
1308
  }>, "many">;
1345
1309
  question_target_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1346
1310
  question_target_key: z.ZodString;
@@ -1388,15 +1352,15 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1388
1352
  requirement_ref: string;
1389
1353
  facts: {
1390
1354
  value: import("./indexerRegistry.js").IndexerJson;
1391
- evidence_refs: string[];
1392
1355
  fact_ref: string;
1393
1356
  fact_kind: string;
1394
1357
  subject_key: {
1395
1358
  kind: string;
1396
- protocol: "context.subject-key/v1";
1397
1359
  namespace: string;
1360
+ protocol: "context.subject-key/v1";
1398
1361
  local_key: string;
1399
1362
  };
1363
+ evidence_refs: string[];
1400
1364
  }[];
1401
1365
  module_ref: string | null;
1402
1366
  input_digest: string;
@@ -1407,34 +1371,34 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1407
1371
  target_ref?: string | undefined;
1408
1372
  }[];
1409
1373
  artifacts: ({
1410
- template_id: string;
1411
1374
  artifact_kind: string;
1412
- artifact_policy_variant: string;
1375
+ representation: "template";
1376
+ template_id: string;
1413
1377
  variables: Record<string, {
1414
1378
  value: import("./indexerRegistry.js").IndexerJson;
1415
1379
  evidence_refs: string[];
1416
1380
  fact_refs: string[];
1417
1381
  }>;
1418
- artifact_id: string;
1419
- representation: "template";
1420
1382
  section_projections: {
1421
- artifact_kind: string;
1422
- document_kind: string;
1423
- reader_goal: string;
1424
1383
  section_key: string;
1425
1384
  owner_indexer_id: string;
1385
+ document_kind: string;
1386
+ reader_goal: string;
1387
+ artifact_kind: string;
1426
1388
  }[];
1389
+ artifact_id: string;
1390
+ artifact_policy_variant: string;
1427
1391
  } | {
1428
1392
  artifact_kind: string;
1429
- artifact_policy_variant: string;
1430
- artifact_id: string;
1431
1393
  representation: "sections";
1394
+ artifact_id: string;
1395
+ artifact_policy_variant: string;
1432
1396
  sections: {
1433
- artifact_kind: string;
1434
- document_kind: string;
1435
- reader_goal: string;
1436
1397
  section_key: string;
1437
1398
  owner_indexer_id: string;
1399
+ document_kind: string;
1400
+ reader_goal: string;
1401
+ artifact_kind: string;
1438
1402
  blocks: ({
1439
1403
  block_id: string;
1440
1404
  layer: "deterministic-block";
@@ -1459,13 +1423,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1459
1423
  customization_fingerprint: string | null;
1460
1424
  source_role: string;
1461
1425
  logical_unit: {
1462
- logical_unit_ref: string;
1463
1426
  subject_key: {
1464
1427
  kind: string;
1465
- protocol: "context.subject-key/v1";
1466
1428
  namespace: string;
1429
+ protocol: "context.subject-key/v1";
1467
1430
  local_key: string;
1468
1431
  };
1432
+ logical_unit_ref: string;
1469
1433
  group_key: string;
1470
1434
  target_resolution_dispositions: ({
1471
1435
  target_node_ref: string;
@@ -1473,19 +1437,19 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1473
1437
  query_ref: string;
1474
1438
  target_subject_key: {
1475
1439
  kind: string;
1476
- protocol: "context.subject-key/v1";
1477
1440
  namespace: string;
1441
+ protocol: "context.subject-key/v1";
1478
1442
  local_key: string;
1479
1443
  };
1480
1444
  } | {
1481
- evidence_refs: string[];
1482
- disposition: "create-independent";
1483
1445
  subject_key: {
1484
1446
  kind: string;
1485
- protocol: "context.subject-key/v1";
1486
1447
  namespace: string;
1448
+ protocol: "context.subject-key/v1";
1487
1449
  local_key: string;
1488
1450
  };
1451
+ evidence_refs: string[];
1452
+ disposition: "create-independent";
1489
1453
  query_ref: string;
1490
1454
  reason_code: string;
1491
1455
  } | {
@@ -1515,8 +1479,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1515
1479
  }[];
1516
1480
  section_evidence: {
1517
1481
  evidence_refs: string[];
1518
- artifact_id: string;
1519
1482
  section_key: string;
1483
+ artifact_id: string;
1520
1484
  }[];
1521
1485
  }[];
1522
1486
  evidence_digest: string;
@@ -1532,60 +1496,60 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1532
1496
  member_id: string;
1533
1497
  section_evidence: {
1534
1498
  evidence_refs: string[];
1535
- artifact_id: string;
1536
1499
  section_key: string;
1500
+ artifact_id: string;
1537
1501
  }[];
1538
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1502
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1539
1503
  inventory_disposition: "owned";
1540
1504
  projection_disposition: "detailed";
1541
1505
  } | {
1542
1506
  member_id: string;
1543
1507
  capability_group_ref: string;
1544
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1508
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1545
1509
  inventory_disposition: "owned";
1546
1510
  projection_disposition: "capability-group";
1547
1511
  } | {
1548
1512
  fact_refs: string[];
1549
1513
  member_id: string;
1550
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1514
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1551
1515
  inventory_disposition: "owned";
1552
1516
  projection_disposition: "catalog-only";
1553
1517
  } | {
1554
1518
  evidence_refs: string[];
1555
1519
  member_id: string;
1556
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1520
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1557
1521
  inventory_disposition: "owned";
1558
1522
  projection_disposition: "boundary-only";
1559
1523
  } | {
1560
1524
  evidence_refs: string[];
1561
1525
  member_id: string;
1562
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1526
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1563
1527
  inventory_disposition: "excluded-with-reason";
1564
1528
  reason_code: string;
1565
1529
  } | {
1566
1530
  member_id: string;
1567
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1531
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1568
1532
  inventory_disposition: "unsupported";
1569
1533
  missing_capabilities: string[];
1570
1534
  } | {
1571
1535
  member_id: string;
1572
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1536
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1573
1537
  inventory_disposition: "request-material";
1574
1538
  material_question_proposal_ref: string;
1575
1539
  })[];
1576
1540
  disposition_digest: string;
1577
1541
  };
1578
1542
  evidence_bindings: {
1579
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1543
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1580
1544
  source_ref: string;
1581
1545
  locator: {
1582
1546
  path: string;
1583
1547
  start_line: number;
1584
1548
  end_line: number;
1585
1549
  };
1550
+ content_digest: string;
1586
1551
  module_ref: string | null;
1587
1552
  coverage_tier: "ast-catalog" | "lightweight-evidence";
1588
- content_digest: string;
1589
1553
  evidence_ref: string;
1590
1554
  binding_digest: string;
1591
1555
  }[];
@@ -1622,10 +1586,6 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1622
1586
  proposal_ref: string;
1623
1587
  question_ref: string;
1624
1588
  question_target_key: string;
1625
- answer_landing_hint?: {
1626
- artifact_id: string;
1627
- section_key?: string | undefined;
1628
- } | undefined;
1629
1589
  }[];
1630
1590
  question_target_dispositions: ({
1631
1591
  state: "answered";
@@ -1645,13 +1605,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1645
1605
  module_ref: string | null;
1646
1606
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
1647
1607
  carrier_ref: string;
1648
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
1608
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
1649
1609
  target: {
1650
1610
  normalized_path: string;
1651
1611
  target_type: "directory";
1652
1612
  } | {
1653
- normalized_path: string;
1654
1613
  content_digest: string;
1614
+ normalized_path: string;
1655
1615
  target_type: "file";
1656
1616
  } | {
1657
1617
  normalized_path: string;
@@ -1674,8 +1634,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1674
1634
  claim_kind: string;
1675
1635
  subject_ref: string;
1676
1636
  owner: {
1677
- artifact_id: string;
1678
1637
  section_key: string;
1638
+ artifact_id: string;
1679
1639
  };
1680
1640
  }[];
1681
1641
  claims_digest: string;
@@ -1686,15 +1646,15 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1686
1646
  requirement_ref: string;
1687
1647
  facts: {
1688
1648
  value: import("./indexerRegistry.js").IndexerJson;
1689
- evidence_refs: string[];
1690
1649
  fact_ref: string;
1691
1650
  fact_kind: string;
1692
1651
  subject_key: {
1693
1652
  kind: string;
1694
- protocol: "context.subject-key/v1";
1695
1653
  namespace: string;
1654
+ protocol: "context.subject-key/v1";
1696
1655
  local_key: string;
1697
1656
  };
1657
+ evidence_refs: string[];
1698
1658
  }[];
1699
1659
  module_ref: string | null;
1700
1660
  input_digest: string;
@@ -1705,34 +1665,34 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1705
1665
  target_ref?: string | undefined;
1706
1666
  }[];
1707
1667
  artifacts: ({
1708
- template_id: string;
1709
1668
  artifact_kind: string;
1710
- artifact_policy_variant: string;
1669
+ representation: "template";
1670
+ template_id: string;
1711
1671
  variables: Record<string, {
1712
1672
  value: import("./indexerRegistry.js").IndexerJson;
1713
1673
  evidence_refs: string[];
1714
1674
  fact_refs: string[];
1715
1675
  }>;
1716
- artifact_id: string;
1717
- representation: "template";
1718
1676
  section_projections: {
1719
- artifact_kind: string;
1720
- document_kind: string;
1721
- reader_goal: string;
1722
1677
  section_key: string;
1723
1678
  owner_indexer_id: string;
1679
+ document_kind: string;
1680
+ reader_goal: string;
1681
+ artifact_kind: string;
1724
1682
  }[];
1683
+ artifact_id: string;
1684
+ artifact_policy_variant: string;
1725
1685
  } | {
1726
1686
  artifact_kind: string;
1727
- artifact_policy_variant: string;
1728
- artifact_id: string;
1729
1687
  representation: "sections";
1688
+ artifact_id: string;
1689
+ artifact_policy_variant: string;
1730
1690
  sections: {
1731
- artifact_kind: string;
1732
- document_kind: string;
1733
- reader_goal: string;
1734
1691
  section_key: string;
1735
1692
  owner_indexer_id: string;
1693
+ document_kind: string;
1694
+ reader_goal: string;
1695
+ artifact_kind: string;
1736
1696
  blocks: ({
1737
1697
  block_id: string;
1738
1698
  layer: "deterministic-block";
@@ -1757,13 +1717,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1757
1717
  customization_fingerprint: string | null;
1758
1718
  source_role: string;
1759
1719
  logical_unit: {
1760
- logical_unit_ref: string;
1761
1720
  subject_key: {
1762
1721
  kind: string;
1763
- protocol: "context.subject-key/v1";
1764
1722
  namespace: string;
1723
+ protocol: "context.subject-key/v1";
1765
1724
  local_key: string;
1766
1725
  };
1726
+ logical_unit_ref: string;
1767
1727
  group_key: string;
1768
1728
  target_resolution_dispositions: ({
1769
1729
  target_node_ref: string;
@@ -1771,19 +1731,19 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1771
1731
  query_ref: string;
1772
1732
  target_subject_key: {
1773
1733
  kind: string;
1774
- protocol: "context.subject-key/v1";
1775
1734
  namespace: string;
1735
+ protocol: "context.subject-key/v1";
1776
1736
  local_key: string;
1777
1737
  };
1778
1738
  } | {
1779
- evidence_refs: string[];
1780
- disposition: "create-independent";
1781
1739
  subject_key: {
1782
1740
  kind: string;
1783
- protocol: "context.subject-key/v1";
1784
1741
  namespace: string;
1742
+ protocol: "context.subject-key/v1";
1785
1743
  local_key: string;
1786
1744
  };
1745
+ evidence_refs: string[];
1746
+ disposition: "create-independent";
1787
1747
  query_ref: string;
1788
1748
  reason_code: string;
1789
1749
  } | {
@@ -1813,8 +1773,8 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1813
1773
  }[];
1814
1774
  section_evidence: {
1815
1775
  evidence_refs: string[];
1816
- artifact_id: string;
1817
1776
  section_key: string;
1777
+ artifact_id: string;
1818
1778
  }[];
1819
1779
  }[];
1820
1780
  evidence_digest: string;
@@ -1830,60 +1790,60 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1830
1790
  member_id: string;
1831
1791
  section_evidence: {
1832
1792
  evidence_refs: string[];
1833
- artifact_id: string;
1834
1793
  section_key: string;
1794
+ artifact_id: string;
1835
1795
  }[];
1836
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1796
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1837
1797
  inventory_disposition: "owned";
1838
1798
  projection_disposition: "detailed";
1839
1799
  } | {
1840
1800
  member_id: string;
1841
1801
  capability_group_ref: string;
1842
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1802
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1843
1803
  inventory_disposition: "owned";
1844
1804
  projection_disposition: "capability-group";
1845
1805
  } | {
1846
1806
  fact_refs: string[];
1847
1807
  member_id: string;
1848
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1808
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1849
1809
  inventory_disposition: "owned";
1850
1810
  projection_disposition: "catalog-only";
1851
1811
  } | {
1852
1812
  evidence_refs: string[];
1853
1813
  member_id: string;
1854
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1814
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1855
1815
  inventory_disposition: "owned";
1856
1816
  projection_disposition: "boundary-only";
1857
1817
  } | {
1858
1818
  evidence_refs: string[];
1859
1819
  member_id: string;
1860
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1820
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1861
1821
  inventory_disposition: "excluded-with-reason";
1862
1822
  reason_code: string;
1863
1823
  } | {
1864
1824
  member_id: string;
1865
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1825
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1866
1826
  inventory_disposition: "unsupported";
1867
1827
  missing_capabilities: string[];
1868
1828
  } | {
1869
1829
  member_id: string;
1870
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1830
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1871
1831
  inventory_disposition: "request-material";
1872
1832
  material_question_proposal_ref: string;
1873
1833
  })[];
1874
1834
  disposition_digest: string;
1875
1835
  };
1876
1836
  evidence_bindings: {
1877
- kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1837
+ kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
1878
1838
  source_ref: string;
1879
1839
  locator: {
1880
1840
  path: string;
1881
1841
  start_line: number;
1882
1842
  end_line: number;
1883
1843
  };
1844
+ content_digest: string;
1884
1845
  module_ref: string | null;
1885
1846
  coverage_tier: "ast-catalog" | "lightweight-evidence";
1886
- content_digest: string;
1887
1847
  evidence_ref: string;
1888
1848
  binding_digest: string;
1889
1849
  }[];
@@ -1920,10 +1880,6 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1920
1880
  proposal_ref: string;
1921
1881
  question_ref: string;
1922
1882
  question_target_key: string;
1923
- answer_landing_hint?: {
1924
- artifact_id: string;
1925
- section_key?: string | undefined;
1926
- } | undefined;
1927
1883
  }[];
1928
1884
  question_target_dispositions: ({
1929
1885
  state: "answered";
@@ -1943,13 +1899,13 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1943
1899
  module_ref: string | null;
1944
1900
  carrier_kind: "manifest" | "indexer-result" | "catalog" | "section-evidence";
1945
1901
  carrier_ref: string;
1946
- declaration_kind: "entry" | "handler" | "locator" | "directory" | "method" | "store";
1902
+ declaration_kind: "locator" | "handler" | "entry" | "directory" | "method" | "store";
1947
1903
  target: {
1948
1904
  normalized_path: string;
1949
1905
  target_type: "directory";
1950
1906
  } | {
1951
- normalized_path: string;
1952
1907
  content_digest: string;
1908
+ normalized_path: string;
1953
1909
  target_type: "file";
1954
1910
  } | {
1955
1911
  normalized_path: string;
@@ -1972,17 +1928,27 @@ export declare const indexerArtifactResultSchema: z.ZodObject<{
1972
1928
  claim_kind: string;
1973
1929
  subject_ref: string;
1974
1930
  owner: {
1975
- artifact_id: string;
1976
1931
  section_key: string;
1932
+ artifact_id: string;
1977
1933
  };
1978
1934
  }[];
1979
1935
  claims_digest: string;
1980
1936
  } | undefined;
1981
1937
  }>;
1982
1938
  export type IndexerArtifactResult = z.infer<typeof indexerArtifactResultSchema>;
1983
- export type IndexerArtifactSectionProjection = z.infer<typeof indexerArtifactSectionProjectionSchema>;
1939
+ export type { IndexerArtifactSectionProjection };
1940
+ export { indexerArtifactSectionProjectionSchema };
1984
1941
  export declare function indexerEvidenceBindingDigest(value: Omit<z.infer<typeof indexerEvidenceBindingSchema>, "binding_digest">): string;
1985
1942
  export declare function indexerArtifactResultDigest(value: Omit<IndexerArtifactResult, "output_digest">): string;
1943
+ export interface IndexerAuthorizedEvidenceTarget {
1944
+ source_ref: string;
1945
+ module_refs: readonly string[];
1946
+ }
1947
+ export declare function indexerEvidenceTargetAllows(input: {
1948
+ targets: readonly IndexerAuthorizedEvidenceTarget[];
1949
+ source_ref: string;
1950
+ module_ref: string | null;
1951
+ }): boolean;
1986
1952
  export declare function validateIndexerArtifactResult(input: {
1987
1953
  result: unknown;
1988
1954
  workset: IndexerMainAuthorWorkset;
@@ -2001,6 +1967,7 @@ export declare function validateIndexerArtifactResult(input: {
2001
1967
  }[];
2002
1968
  artifact_policy_eligibility: unknown;
2003
1969
  allowed_source_roles: readonly string[];
1970
+ authorized_evidence_targets?: readonly IndexerAuthorizedEvidenceTarget[];
2004
1971
  source_identity_inventory?: unknown;
2005
1972
  authorized_declaration_carriers?: {
2006
1973
  catalog_refs?: readonly string[];