@c4a/context 0.7.1 → 0.7.4

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 (117) hide show
  1. package/README.md +65 -170
  2. package/README.zh-CN.md +52 -129
  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 +94 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +24 -13
  8. package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
  9. package/docs/reference/code-extractors.md +29 -121
  10. package/docs/reference/indexer-provider-protocol.md +43 -110
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -986
  13. package/index.d.ts +10 -8
  14. package/index.js +4739 -7103
  15. package/indexerAgentStepProtocol.d.ts +1366 -7649
  16. package/indexerArtifact.d.ts +225 -0
  17. package/indexerArtifactDependencies.d.ts +41 -39
  18. package/indexerArtifactResult.d.ts +219 -252
  19. package/indexerAuthorizedWorksetView.d.ts +368 -0
  20. package/indexerBaseQuestionAmendment.d.ts +484 -280
  21. package/indexerBenchmark.d.ts +16 -16
  22. package/indexerCandidateCompile.d.ts +66 -60
  23. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  24. package/indexerCatalogFallback.d.ts +122 -128
  25. package/indexerCollectionMapping.d.ts +13 -13
  26. package/indexerContentLayers.d.ts +8 -8
  27. package/indexerContractOverlay.d.ts +10 -10
  28. package/indexerControlledInvocation.d.ts +12 -12
  29. package/indexerControlledProgram.d.ts +2467 -2797
  30. package/indexerCoreExports.d.ts +6 -6
  31. package/indexerCustomizationDraft.d.ts +3315 -2091
  32. package/indexerCustomizationLadder.d.ts +2 -2
  33. package/indexerDependencyView.d.ts +108 -108
  34. package/indexerEffectiveArtifact.d.ts +1134 -0
  35. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  36. package/indexerEvidenceAdapterResult.d.ts +52 -52
  37. package/indexerExampleDecision.d.ts +128 -128
  38. package/indexerExampleIdentity.d.ts +6 -6
  39. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  40. package/indexerIncrementalImpact.d.ts +16 -16
  41. package/indexerInspectorWorksetProjection.d.ts +6 -0
  42. package/indexerInventoryDisposition.d.ts +70 -70
  43. package/indexerLayerComposition.d.ts +2139 -373
  44. package/indexerLayoutChange.d.ts +10 -10
  45. package/indexerLayoutProposalSet.d.ts +71 -66
  46. package/indexerLayoutResolver.d.ts +53 -48
  47. package/indexerLayoutTransition.d.ts +0 -50
  48. package/indexerLifecycle.d.ts +0 -13
  49. package/indexerMainLifecycle.d.ts +10 -0
  50. package/indexerMainRunLedger.d.ts +138 -11
  51. package/indexerMainRunProtocol.d.ts +1406 -785
  52. package/indexerMainWorkset.d.ts +460 -206
  53. package/indexerMaterialGapLedger.d.ts +13 -2904
  54. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  56. package/indexerParserCapabilityCatalog.d.ts +136 -0
  57. package/indexerParserCoordinate.d.ts +16 -16
  58. package/indexerParserDependencyIntent.d.ts +22 -0
  59. package/indexerParserExecutionPlan.d.ts +388 -0
  60. package/indexerParserFactView.d.ts +42 -22
  61. package/indexerPartitionConvergence.d.ts +0 -3
  62. package/indexerPartitionInventory.d.ts +2 -0
  63. package/indexerPartitionPlan.d.ts +101 -99
  64. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  65. package/indexerPostAuthorComposition.d.ts +116 -1156
  66. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  67. package/indexerPrimaryProjection.d.ts +10 -10
  68. package/indexerPrimaryResultView.d.ts +435 -0
  69. package/indexerProfileContract.d.ts +181 -181
  70. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  71. package/indexerProgramRunProtocol.d.ts +2141 -2749
  72. package/indexerProjectProposal.d.ts +496 -292
  73. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  74. package/indexerProtocolCommon.d.ts +4 -1
  75. package/indexerProvider.d.ts +134 -218
  76. package/indexerProviderComposition.d.ts +53 -53
  77. package/indexerProviderResolution.d.ts +12 -12
  78. package/indexerProviderResolutionAction.d.ts +14 -14
  79. package/indexerProviderRouting.d.ts +923 -515
  80. package/indexerProviderSelectionProposal.d.ts +893 -485
  81. package/indexerQuestionAuthority.d.ts +46 -47
  82. package/indexerReaderTargetInventory.d.ts +8 -8
  83. package/indexerRegistry.d.ts +765 -357
  84. package/indexerRequirementConfirmation.d.ts +98 -98
  85. package/indexerRequirementLifecycle.d.ts +224 -224
  86. package/indexerResultReconciliation.d.ts +204 -5919
  87. package/indexerResultReconciliationRun.d.ts +0 -1
  88. package/indexerRunEnvelope.d.ts +20 -20
  89. package/indexerSemanticInput.d.ts +3678 -0
  90. package/indexerStructuredDeclaration.d.ts +57 -53
  91. package/indexerSubjectCatalog.d.ts +14 -14
  92. package/indexerSubjectIdentity.d.ts +2 -2
  93. package/indexerSubjectKeyAuthority.d.ts +31 -30
  94. package/indexerTemplateRendering.d.ts +64 -64
  95. package/indexerToolSnapshot.d.ts +8 -8
  96. package/package.json +1 -1
  97. package/phases.d.ts +3 -183
  98. package/codeIndexPlan.d.ts +0 -158
  99. package/indexerAuditFacts.d.ts +0 -66
  100. package/indexerAuditOverrideReadiness.d.ts +0 -27
  101. package/indexerAuditProtocol.d.ts +0 -238
  102. package/indexerAuditRevision.d.ts +0 -726
  103. package/indexerAuditRevisionActions.d.ts +0 -236
  104. package/indexerMaterialAnswer.d.ts +0 -738
  105. package/indexerMaterialAnswerActualization.d.ts +0 -91
  106. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  107. package/indexerMaterialAnswerFlow.d.ts +0 -63
  108. package/indexerMaterialAnswerLayout.d.ts +0 -76
  109. package/indexerMaterialAnswerReview.d.ts +0 -217
  110. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  111. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  112. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  113. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  114. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  115. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  116. package/indexerProfileMetricAudit.d.ts +0 -218
  117. package/indexerWorksetRead.d.ts +0 -287
@@ -0,0 +1,225 @@
1
+ import { z } from "zod";
2
+ export declare const indexerArtifactSectionProjectionSchema: z.ZodObject<{
3
+ section_key: z.ZodEffects<z.ZodString, string, string>;
4
+ owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
5
+ document_kind: z.ZodEffects<z.ZodString, string, string>;
6
+ reader_goal: z.ZodEffects<z.ZodString, string, string>;
7
+ artifact_kind: z.ZodEffects<z.ZodString, string, string>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ section_key: string;
10
+ owner_indexer_id: string;
11
+ document_kind: string;
12
+ reader_goal: string;
13
+ artifact_kind: string;
14
+ }, {
15
+ section_key: string;
16
+ owner_indexer_id: string;
17
+ document_kind: string;
18
+ reader_goal: string;
19
+ artifact_kind: string;
20
+ }>;
21
+ export declare const indexerArtifactSchema: z.ZodDiscriminatedUnion<"representation", [z.ZodObject<{
22
+ representation: z.ZodLiteral<"template">;
23
+ template_id: z.ZodEffects<z.ZodString, string, string>;
24
+ variables: z.ZodRecord<z.ZodString, z.ZodObject<{
25
+ value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
26
+ fact_refs: z.ZodArray<z.ZodString, "many">;
27
+ evidence_refs: z.ZodArray<z.ZodString, "many">;
28
+ }, "strict", z.ZodTypeAny, {
29
+ value: import("./indexerRegistry.js").IndexerJson;
30
+ evidence_refs: string[];
31
+ fact_refs: string[];
32
+ }, {
33
+ value: import("./indexerRegistry.js").IndexerJson;
34
+ evidence_refs: string[];
35
+ fact_refs: string[];
36
+ }>>;
37
+ section_projections: z.ZodArray<z.ZodObject<{
38
+ section_key: z.ZodEffects<z.ZodString, string, string>;
39
+ owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
40
+ document_kind: z.ZodEffects<z.ZodString, string, string>;
41
+ reader_goal: z.ZodEffects<z.ZodString, string, string>;
42
+ artifact_kind: z.ZodEffects<z.ZodString, string, string>;
43
+ }, "strict", z.ZodTypeAny, {
44
+ section_key: string;
45
+ owner_indexer_id: string;
46
+ document_kind: string;
47
+ reader_goal: string;
48
+ artifact_kind: string;
49
+ }, {
50
+ section_key: string;
51
+ owner_indexer_id: string;
52
+ document_kind: string;
53
+ reader_goal: string;
54
+ artifact_kind: string;
55
+ }>, "many">;
56
+ artifact_id: z.ZodEffects<z.ZodString, string, string>;
57
+ artifact_kind: z.ZodEffects<z.ZodString, string, string>;
58
+ artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
59
+ }, "strict", z.ZodTypeAny, {
60
+ artifact_kind: string;
61
+ representation: "template";
62
+ template_id: string;
63
+ variables: Record<string, {
64
+ value: import("./indexerRegistry.js").IndexerJson;
65
+ evidence_refs: string[];
66
+ fact_refs: string[];
67
+ }>;
68
+ section_projections: {
69
+ section_key: string;
70
+ owner_indexer_id: string;
71
+ document_kind: string;
72
+ reader_goal: string;
73
+ artifact_kind: string;
74
+ }[];
75
+ artifact_id: string;
76
+ artifact_policy_variant: string;
77
+ }, {
78
+ artifact_kind: string;
79
+ representation: "template";
80
+ template_id: string;
81
+ variables: Record<string, {
82
+ value: import("./indexerRegistry.js").IndexerJson;
83
+ evidence_refs: string[];
84
+ fact_refs: string[];
85
+ }>;
86
+ section_projections: {
87
+ section_key: string;
88
+ owner_indexer_id: string;
89
+ document_kind: string;
90
+ reader_goal: string;
91
+ artifact_kind: string;
92
+ }[];
93
+ artifact_id: string;
94
+ artifact_policy_variant: string;
95
+ }>, z.ZodObject<{
96
+ representation: z.ZodLiteral<"sections">;
97
+ sections: z.ZodArray<z.ZodObject<{
98
+ section_key: z.ZodEffects<z.ZodString, string, string>;
99
+ owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
100
+ document_kind: z.ZodEffects<z.ZodString, string, string>;
101
+ reader_goal: z.ZodEffects<z.ZodString, string, string>;
102
+ artifact_kind: z.ZodEffects<z.ZodString, string, string>;
103
+ } & {
104
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<"layer", [z.ZodObject<{
105
+ block_id: z.ZodEffects<z.ZodString, string, string>;
106
+ layer: z.ZodLiteral<"deterministic-block">;
107
+ renderer: z.ZodEnum<["bullet-list", "key-value-table", "json-code-block"]>;
108
+ fact_refs: z.ZodArray<z.ZodString, "many">;
109
+ }, "strict", z.ZodTypeAny, {
110
+ block_id: string;
111
+ layer: "deterministic-block";
112
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
113
+ fact_refs: string[];
114
+ }, {
115
+ block_id: string;
116
+ layer: "deterministic-block";
117
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
118
+ fact_refs: string[];
119
+ }>, z.ZodObject<{
120
+ block_id: z.ZodEffects<z.ZodString, string, string>;
121
+ layer: z.ZodLiteral<"semantic-prose">;
122
+ markdown: z.ZodString;
123
+ evidence_refs: z.ZodArray<z.ZodString, "many">;
124
+ }, "strict", z.ZodTypeAny, {
125
+ evidence_refs: string[];
126
+ block_id: string;
127
+ layer: "semantic-prose";
128
+ markdown: string;
129
+ }, {
130
+ evidence_refs: string[];
131
+ block_id: string;
132
+ layer: "semantic-prose";
133
+ markdown: string;
134
+ }>]>, "many">;
135
+ }, "strict", z.ZodTypeAny, {
136
+ section_key: string;
137
+ owner_indexer_id: string;
138
+ document_kind: string;
139
+ reader_goal: string;
140
+ artifact_kind: string;
141
+ blocks: ({
142
+ block_id: string;
143
+ layer: "deterministic-block";
144
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
145
+ fact_refs: string[];
146
+ } | {
147
+ evidence_refs: string[];
148
+ block_id: string;
149
+ layer: "semantic-prose";
150
+ markdown: string;
151
+ })[];
152
+ }, {
153
+ section_key: string;
154
+ owner_indexer_id: string;
155
+ document_kind: string;
156
+ reader_goal: string;
157
+ artifact_kind: string;
158
+ blocks: ({
159
+ block_id: string;
160
+ layer: "deterministic-block";
161
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
162
+ fact_refs: string[];
163
+ } | {
164
+ evidence_refs: string[];
165
+ block_id: string;
166
+ layer: "semantic-prose";
167
+ markdown: string;
168
+ })[];
169
+ }>, "many">;
170
+ artifact_id: z.ZodEffects<z.ZodString, string, string>;
171
+ artifact_kind: z.ZodEffects<z.ZodString, string, string>;
172
+ artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
173
+ }, "strict", z.ZodTypeAny, {
174
+ artifact_kind: string;
175
+ representation: "sections";
176
+ artifact_id: string;
177
+ artifact_policy_variant: string;
178
+ sections: {
179
+ section_key: string;
180
+ owner_indexer_id: string;
181
+ document_kind: string;
182
+ reader_goal: string;
183
+ artifact_kind: string;
184
+ blocks: ({
185
+ block_id: string;
186
+ layer: "deterministic-block";
187
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
188
+ fact_refs: string[];
189
+ } | {
190
+ evidence_refs: string[];
191
+ block_id: string;
192
+ layer: "semantic-prose";
193
+ markdown: string;
194
+ })[];
195
+ }[];
196
+ }, {
197
+ artifact_kind: string;
198
+ representation: "sections";
199
+ artifact_id: string;
200
+ artifact_policy_variant: string;
201
+ sections: {
202
+ section_key: string;
203
+ owner_indexer_id: string;
204
+ document_kind: string;
205
+ reader_goal: string;
206
+ artifact_kind: string;
207
+ blocks: ({
208
+ block_id: string;
209
+ layer: "deterministic-block";
210
+ renderer: "bullet-list" | "key-value-table" | "json-code-block";
211
+ fact_refs: string[];
212
+ } | {
213
+ evidence_refs: string[];
214
+ block_id: string;
215
+ layer: "semantic-prose";
216
+ markdown: string;
217
+ })[];
218
+ }[];
219
+ }>]>;
220
+ export type IndexerArtifact = z.infer<typeof indexerArtifactSchema>;
221
+ export type IndexerArtifactSectionProjection = z.infer<typeof indexerArtifactSectionProjectionSchema>;
222
+ export declare function indexerArtifactRef(nodeRef: string, artifact: {
223
+ artifact_id: string;
224
+ artifact_kind: string;
225
+ }): string;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import type { IndexerArtifactResult } from "./indexerArtifactResult.js";
2
+ import { type IndexerArtifactResult, type IndexerAuthorizedEvidenceTarget } from "./indexerArtifactResult.js";
3
3
  import { type IndexerAuthorDependencyView } from "./indexerDependencyView.js";
4
4
  import type { IndexerMainAuthorWorkset } from "./indexerMainWorkset.js";
5
5
  export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
@@ -58,13 +58,13 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
58
58
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
59
59
  section_key: z.ZodEffects<z.ZodString, string, string>;
60
60
  }, "strict", z.ZodTypeAny, {
61
+ section_key: string;
61
62
  artifact_kind: string;
62
63
  level: "section";
63
- section_key: string;
64
64
  }, {
65
+ section_key: string;
65
66
  artifact_kind: string;
66
67
  level: "section";
67
- section_key: string;
68
68
  }>]>, "many">;
69
69
  } & {
70
70
  node_ref: z.ZodString;
@@ -79,17 +79,17 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
79
79
  artifact_kind: string;
80
80
  level: "artifact-kind";
81
81
  } | {
82
+ section_key: string;
82
83
  artifact_kind: string;
83
84
  level: "section";
84
- section_key: string;
85
85
  })[];
86
86
  locator: {
87
87
  path: string;
88
88
  start_line: number;
89
89
  end_line: number;
90
90
  };
91
- module_ref: string | null;
92
91
  content_digest: string;
92
+ module_ref: string | null;
93
93
  node_ref: string;
94
94
  evidence_ref: string;
95
95
  dependency_ref: string;
@@ -102,17 +102,17 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
102
102
  artifact_kind: string;
103
103
  level: "artifact-kind";
104
104
  } | {
105
+ section_key: string;
105
106
  artifact_kind: string;
106
107
  level: "section";
107
- section_key: string;
108
108
  })[];
109
109
  locator: {
110
110
  path: string;
111
111
  start_line: number;
112
112
  end_line: number;
113
113
  };
114
- module_ref: string | null;
115
114
  content_digest: string;
115
+ module_ref: string | null;
116
116
  node_ref: string;
117
117
  evidence_ref: string;
118
118
  dependency_ref: string;
@@ -141,13 +141,13 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
141
141
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
142
142
  section_key: z.ZodEffects<z.ZodString, string, string>;
143
143
  }, "strict", z.ZodTypeAny, {
144
+ section_key: string;
144
145
  artifact_kind: string;
145
146
  level: "section";
146
- section_key: string;
147
147
  }, {
148
+ section_key: string;
148
149
  artifact_kind: string;
149
150
  level: "section";
150
- section_key: string;
151
151
  }>]>, "many">;
152
152
  } & {
153
153
  node_ref: z.ZodString;
@@ -161,9 +161,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
161
161
  artifact_kind: string;
162
162
  level: "artifact-kind";
163
163
  } | {
164
+ section_key: string;
164
165
  artifact_kind: string;
165
166
  level: "section";
166
- section_key: string;
167
167
  })[];
168
168
  fact_ref: string;
169
169
  node_ref: string;
@@ -178,9 +178,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
178
178
  artifact_kind: string;
179
179
  level: "artifact-kind";
180
180
  } | {
181
+ section_key: string;
181
182
  artifact_kind: string;
182
183
  level: "section";
183
- section_key: string;
184
184
  })[];
185
185
  fact_ref: string;
186
186
  node_ref: string;
@@ -211,13 +211,13 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
211
211
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
212
212
  section_key: z.ZodEffects<z.ZodString, string, string>;
213
213
  }, "strict", z.ZodTypeAny, {
214
+ section_key: string;
214
215
  artifact_kind: string;
215
216
  level: "section";
216
- section_key: string;
217
217
  }, {
218
+ section_key: string;
218
219
  artifact_kind: string;
219
220
  level: "section";
220
- section_key: string;
221
221
  }>]>, "many">;
222
222
  } & {
223
223
  node_ref: z.ZodString;
@@ -231,9 +231,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
231
231
  artifact_kind: string;
232
232
  level: "artifact-kind";
233
233
  } | {
234
+ section_key: string;
234
235
  artifact_kind: string;
235
236
  level: "section";
236
- section_key: string;
237
237
  })[];
238
238
  logical_unit_ref: string;
239
239
  node_ref: string;
@@ -247,9 +247,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
247
247
  artifact_kind: string;
248
248
  level: "artifact-kind";
249
249
  } | {
250
+ section_key: string;
250
251
  artifact_kind: string;
251
252
  level: "section";
252
- section_key: string;
253
253
  })[];
254
254
  logical_unit_ref: string;
255
255
  node_ref: string;
@@ -279,13 +279,13 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
279
279
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
280
280
  section_key: z.ZodEffects<z.ZodString, string, string>;
281
281
  }, "strict", z.ZodTypeAny, {
282
+ section_key: string;
282
283
  artifact_kind: string;
283
284
  level: "section";
284
- section_key: string;
285
285
  }, {
286
+ section_key: string;
286
287
  artifact_kind: string;
287
288
  level: "section";
288
- section_key: string;
289
289
  }>]>, "many">;
290
290
  } & {
291
291
  node_ref: z.ZodString;
@@ -299,12 +299,12 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
299
299
  artifact_kind: string;
300
300
  level: "artifact-kind";
301
301
  } | {
302
+ section_key: string;
302
303
  artifact_kind: string;
303
304
  level: "section";
304
- section_key: string;
305
305
  })[];
306
- target_ref: string;
307
306
  content_digest: string;
307
+ target_ref: string;
308
308
  node_ref: string;
309
309
  dependency_ref: string;
310
310
  }, {
@@ -315,12 +315,12 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
315
315
  artifact_kind: string;
316
316
  level: "artifact-kind";
317
317
  } | {
318
+ section_key: string;
318
319
  artifact_kind: string;
319
320
  level: "section";
320
- section_key: string;
321
321
  })[];
322
- target_ref: string;
323
322
  content_digest: string;
323
+ target_ref: string;
324
324
  node_ref: string;
325
325
  dependency_ref: string;
326
326
  }>]>, "many">;
@@ -348,13 +348,13 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
348
348
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
349
349
  section_key: z.ZodEffects<z.ZodString, string, string>;
350
350
  }, "strict", z.ZodTypeAny, {
351
+ section_key: string;
351
352
  artifact_kind: string;
352
353
  level: "section";
353
- section_key: string;
354
354
  }, {
355
+ section_key: string;
355
356
  artifact_kind: string;
356
357
  level: "section";
357
- section_key: string;
358
358
  }>]>, "many">;
359
359
  } & {
360
360
  node_ref: z.ZodString;
@@ -368,9 +368,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
368
368
  artifact_kind: string;
369
369
  level: "artifact-kind";
370
370
  } | {
371
+ section_key: string;
371
372
  artifact_kind: string;
372
373
  level: "section";
373
- section_key: string;
374
374
  })[];
375
375
  node_ref: string;
376
376
  scope_ref: string;
@@ -384,9 +384,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
384
384
  artifact_kind: string;
385
385
  level: "artifact-kind";
386
386
  } | {
387
+ section_key: string;
387
388
  artifact_kind: string;
388
389
  level: "section";
389
- section_key: string;
390
390
  })[];
391
391
  node_ref: string;
392
392
  scope_ref: string;
@@ -473,17 +473,17 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
473
473
  artifact_kind: string;
474
474
  level: "artifact-kind";
475
475
  } | {
476
+ section_key: string;
476
477
  artifact_kind: string;
477
478
  level: "section";
478
- section_key: string;
479
479
  })[];
480
480
  locator: {
481
481
  path: string;
482
482
  start_line: number;
483
483
  end_line: number;
484
484
  };
485
- module_ref: string | null;
486
485
  content_digest: string;
486
+ module_ref: string | null;
487
487
  node_ref: string;
488
488
  evidence_ref: string;
489
489
  dependency_ref: string;
@@ -495,9 +495,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
495
495
  artifact_kind: string;
496
496
  level: "artifact-kind";
497
497
  } | {
498
+ section_key: string;
498
499
  artifact_kind: string;
499
500
  level: "section";
500
- section_key: string;
501
501
  })[];
502
502
  fact_ref: string;
503
503
  node_ref: string;
@@ -512,9 +512,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
512
512
  artifact_kind: string;
513
513
  level: "artifact-kind";
514
514
  } | {
515
+ section_key: string;
515
516
  artifact_kind: string;
516
517
  level: "section";
517
- section_key: string;
518
518
  })[];
519
519
  logical_unit_ref: string;
520
520
  node_ref: string;
@@ -528,12 +528,12 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
528
528
  artifact_kind: string;
529
529
  level: "artifact-kind";
530
530
  } | {
531
+ section_key: string;
531
532
  artifact_kind: string;
532
533
  level: "section";
533
- section_key: string;
534
534
  })[];
535
- target_ref: string;
536
535
  content_digest: string;
536
+ target_ref: string;
537
537
  node_ref: string;
538
538
  dependency_ref: string;
539
539
  })[];
@@ -545,9 +545,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
545
545
  artifact_kind: string;
546
546
  level: "artifact-kind";
547
547
  } | {
548
+ section_key: string;
548
549
  artifact_kind: string;
549
550
  level: "section";
550
- section_key: string;
551
551
  })[];
552
552
  node_ref: string;
553
553
  scope_ref: string;
@@ -586,17 +586,17 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
586
586
  artifact_kind: string;
587
587
  level: "artifact-kind";
588
588
  } | {
589
+ section_key: string;
589
590
  artifact_kind: string;
590
591
  level: "section";
591
- section_key: string;
592
592
  })[];
593
593
  locator: {
594
594
  path: string;
595
595
  start_line: number;
596
596
  end_line: number;
597
597
  };
598
- module_ref: string | null;
599
598
  content_digest: string;
599
+ module_ref: string | null;
600
600
  node_ref: string;
601
601
  evidence_ref: string;
602
602
  dependency_ref: string;
@@ -608,9 +608,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
608
608
  artifact_kind: string;
609
609
  level: "artifact-kind";
610
610
  } | {
611
+ section_key: string;
611
612
  artifact_kind: string;
612
613
  level: "section";
613
- section_key: string;
614
614
  })[];
615
615
  fact_ref: string;
616
616
  node_ref: string;
@@ -625,9 +625,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
625
625
  artifact_kind: string;
626
626
  level: "artifact-kind";
627
627
  } | {
628
+ section_key: string;
628
629
  artifact_kind: string;
629
630
  level: "section";
630
- section_key: string;
631
631
  })[];
632
632
  logical_unit_ref: string;
633
633
  node_ref: string;
@@ -641,12 +641,12 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
641
641
  artifact_kind: string;
642
642
  level: "artifact-kind";
643
643
  } | {
644
+ section_key: string;
644
645
  artifact_kind: string;
645
646
  level: "section";
646
- section_key: string;
647
647
  })[];
648
- target_ref: string;
649
648
  content_digest: string;
649
+ target_ref: string;
650
650
  node_ref: string;
651
651
  dependency_ref: string;
652
652
  })[];
@@ -658,9 +658,9 @@ export declare const indexerArtifactDependencySetSchema: z.ZodObject<{
658
658
  artifact_kind: string;
659
659
  level: "artifact-kind";
660
660
  } | {
661
+ section_key: string;
661
662
  artifact_kind: string;
662
663
  level: "section";
663
- section_key: string;
664
664
  })[];
665
665
  node_ref: string;
666
666
  scope_ref: string;
@@ -675,6 +675,7 @@ export declare function buildIndexerArtifactDependencySet(input: {
675
675
  workset: IndexerMainAuthorWorkset;
676
676
  run_envelope: unknown;
677
677
  dependency_view: unknown;
678
+ authorized_evidence_targets?: readonly IndexerAuthorizedEvidenceTarget[];
678
679
  }): IndexerArtifactDependencySet;
679
680
  export declare function validateIndexerArtifactDependencySet(input: {
680
681
  value: unknown;
@@ -682,6 +683,7 @@ export declare function validateIndexerArtifactDependencySet(input: {
682
683
  workset: IndexerMainAuthorWorkset;
683
684
  run_envelope: unknown;
684
685
  dependency_view: unknown;
686
+ authorized_evidence_targets?: readonly IndexerAuthorizedEvidenceTarget[];
685
687
  }): IndexerArtifactDependencySet;
686
688
  export declare function validateIndexerArtifactDependencyViewBinding(input: {
687
689
  view: unknown;