@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.
- package/README.md +65 -170
- package/README.zh-CN.md +52 -129
- package/docs/README.md +9 -10
- package/docs/README.zh-CN.md +6 -7
- package/docs/getting-started.md +73 -428
- package/docs/guides/agent-guide.md +94 -518
- package/docs/guides/code-indexer-skill-authoring.md +24 -13
- package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
- package/docs/reference/code-extractors.md +29 -121
- package/docs/reference/indexer-provider-protocol.md +43 -110
- package/docs/reference/package-templates.md +2 -3
- package/docs/reference/project-api.md +52 -986
- package/index.d.ts +10 -8
- package/index.js +4739 -7103
- package/indexerAgentStepProtocol.d.ts +1366 -7649
- package/indexerArtifact.d.ts +225 -0
- package/indexerArtifactDependencies.d.ts +41 -39
- package/indexerArtifactResult.d.ts +219 -252
- package/indexerAuthorizedWorksetView.d.ts +368 -0
- package/indexerBaseQuestionAmendment.d.ts +484 -280
- package/indexerBenchmark.d.ts +16 -16
- package/indexerCandidateCompile.d.ts +66 -60
- package/indexerCapabilityGroupEvidence.d.ts +6 -6
- package/indexerCatalogFallback.d.ts +122 -128
- package/indexerCollectionMapping.d.ts +13 -13
- package/indexerContentLayers.d.ts +8 -8
- package/indexerContractOverlay.d.ts +10 -10
- package/indexerControlledInvocation.d.ts +12 -12
- package/indexerControlledProgram.d.ts +2467 -2797
- package/indexerCoreExports.d.ts +6 -6
- package/indexerCustomizationDraft.d.ts +3315 -2091
- package/indexerCustomizationLadder.d.ts +2 -2
- package/indexerDependencyView.d.ts +108 -108
- package/indexerEffectiveArtifact.d.ts +1134 -0
- package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
- package/indexerEvidenceAdapterResult.d.ts +52 -52
- package/indexerExampleDecision.d.ts +128 -128
- package/indexerExampleIdentity.d.ts +6 -6
- package/indexerGeneratedAuthoringAudit.d.ts +18 -18
- package/indexerIncrementalImpact.d.ts +16 -16
- package/indexerInspectorWorksetProjection.d.ts +6 -0
- package/indexerInventoryDisposition.d.ts +70 -70
- package/indexerLayerComposition.d.ts +2139 -373
- package/indexerLayoutChange.d.ts +10 -10
- package/indexerLayoutProposalSet.d.ts +71 -66
- package/indexerLayoutResolver.d.ts +53 -48
- package/indexerLayoutTransition.d.ts +0 -50
- package/indexerLifecycle.d.ts +0 -13
- package/indexerMainLifecycle.d.ts +10 -0
- package/indexerMainRunLedger.d.ts +138 -11
- package/indexerMainRunProtocol.d.ts +1406 -785
- package/indexerMainWorkset.d.ts +460 -206
- package/indexerMaterialGapLedger.d.ts +13 -2904
- package/indexerOverlayQuestionAmendment.d.ts +491 -287
- package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
- package/indexerParserCapabilityCatalog.d.ts +136 -0
- package/indexerParserCoordinate.d.ts +16 -16
- package/indexerParserDependencyIntent.d.ts +22 -0
- package/indexerParserExecutionPlan.d.ts +388 -0
- package/indexerParserFactView.d.ts +42 -22
- package/indexerPartitionConvergence.d.ts +0 -3
- package/indexerPartitionInventory.d.ts +2 -0
- package/indexerPartitionPlan.d.ts +101 -99
- package/indexerPhysicalArtifactManifest.d.ts +8 -8
- package/indexerPostAuthorComposition.d.ts +116 -1156
- package/indexerPostAuthorRunLedger.d.ts +1434 -280
- package/indexerPrimaryProjection.d.ts +10 -10
- package/indexerPrimaryResultView.d.ts +435 -0
- package/indexerProfileContract.d.ts +181 -181
- package/indexerProgramExecutionAuthorization.d.ts +12 -12
- package/indexerProgramRunProtocol.d.ts +2141 -2749
- package/indexerProjectProposal.d.ts +496 -292
- package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
- package/indexerProtocolCommon.d.ts +4 -1
- package/indexerProvider.d.ts +134 -218
- package/indexerProviderComposition.d.ts +53 -53
- package/indexerProviderResolution.d.ts +12 -12
- package/indexerProviderResolutionAction.d.ts +14 -14
- package/indexerProviderRouting.d.ts +923 -515
- package/indexerProviderSelectionProposal.d.ts +893 -485
- package/indexerQuestionAuthority.d.ts +46 -47
- package/indexerReaderTargetInventory.d.ts +8 -8
- package/indexerRegistry.d.ts +765 -357
- package/indexerRequirementConfirmation.d.ts +98 -98
- package/indexerRequirementLifecycle.d.ts +224 -224
- package/indexerResultReconciliation.d.ts +204 -5919
- package/indexerResultReconciliationRun.d.ts +0 -1
- package/indexerRunEnvelope.d.ts +20 -20
- package/indexerSemanticInput.d.ts +3678 -0
- package/indexerStructuredDeclaration.d.ts +57 -53
- package/indexerSubjectCatalog.d.ts +14 -14
- package/indexerSubjectIdentity.d.ts +2 -2
- package/indexerSubjectKeyAuthority.d.ts +31 -30
- package/indexerTemplateRendering.d.ts +64 -64
- package/indexerToolSnapshot.d.ts +8 -8
- package/package.json +1 -1
- package/phases.d.ts +3 -183
- package/codeIndexPlan.d.ts +0 -158
- package/indexerAuditFacts.d.ts +0 -66
- package/indexerAuditOverrideReadiness.d.ts +0 -27
- package/indexerAuditProtocol.d.ts +0 -238
- package/indexerAuditRevision.d.ts +0 -726
- package/indexerAuditRevisionActions.d.ts +0 -236
- package/indexerMaterialAnswer.d.ts +0 -738
- package/indexerMaterialAnswerActualization.d.ts +0 -91
- package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
- package/indexerMaterialAnswerFlow.d.ts +0 -63
- package/indexerMaterialAnswerLayout.d.ts +0 -76
- package/indexerMaterialAnswerReview.d.ts +0 -217
- package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
- package/indexerMaterialAnswerRunLedger.d.ts +0 -918
- package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
- package/indexerMaterialQuestionExclusion.d.ts +0 -129
- package/indexerMaterialQuestionWorkset.d.ts +0 -508
- package/indexerPlannedMaterialAnswer.d.ts +0 -116
- package/indexerProfileMetricAudit.d.ts +0 -218
- package/indexerWorksetRead.d.ts +0 -287
|
@@ -105,64 +105,64 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
105
105
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
106
106
|
source_digest: z.ZodString;
|
|
107
107
|
}, "strict", z.ZodTypeAny, {
|
|
108
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
109
108
|
ref: string;
|
|
109
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
110
110
|
source_digest: string;
|
|
111
111
|
}, {
|
|
112
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
113
112
|
ref: string;
|
|
113
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
114
114
|
source_digest: string;
|
|
115
115
|
}>, "many">, {
|
|
116
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
117
116
|
ref: string;
|
|
117
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
118
118
|
source_digest: string;
|
|
119
119
|
}[], {
|
|
120
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
121
120
|
ref: string;
|
|
121
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
122
122
|
source_digest: string;
|
|
123
123
|
}[]>;
|
|
124
124
|
}, "strict", z.ZodTypeAny, {
|
|
125
125
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
126
|
-
target_ref: string;
|
|
127
|
-
fact_id: string;
|
|
128
126
|
evidence_refs: {
|
|
129
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
130
127
|
ref: string;
|
|
128
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
131
129
|
source_digest: string;
|
|
132
130
|
}[];
|
|
133
|
-
}, {
|
|
134
|
-
value: import("./indexerRegistry.js").IndexerJson;
|
|
135
131
|
target_ref: string;
|
|
136
132
|
fact_id: string;
|
|
133
|
+
}, {
|
|
134
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
137
135
|
evidence_refs: {
|
|
138
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
139
136
|
ref: string;
|
|
137
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
140
138
|
source_digest: string;
|
|
141
139
|
}[];
|
|
140
|
+
target_ref: string;
|
|
141
|
+
fact_id: string;
|
|
142
142
|
}>, "many">;
|
|
143
143
|
}, "strict", z.ZodTypeAny, {
|
|
144
144
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
145
145
|
facts: {
|
|
146
146
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
147
|
-
target_ref: string;
|
|
148
|
-
fact_id: string;
|
|
149
147
|
evidence_refs: {
|
|
150
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
151
148
|
ref: string;
|
|
149
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
152
150
|
source_digest: string;
|
|
153
151
|
}[];
|
|
152
|
+
target_ref: string;
|
|
153
|
+
fact_id: string;
|
|
154
154
|
}[];
|
|
155
155
|
}, {
|
|
156
156
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
157
157
|
facts: {
|
|
158
158
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
159
|
-
target_ref: string;
|
|
160
|
-
fact_id: string;
|
|
161
159
|
evidence_refs: {
|
|
162
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
163
160
|
ref: string;
|
|
161
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
164
162
|
source_digest: string;
|
|
165
163
|
}[];
|
|
164
|
+
target_ref: string;
|
|
165
|
+
fact_id: string;
|
|
166
166
|
}[];
|
|
167
167
|
}>, z.ZodObject<{
|
|
168
168
|
protocol: z.ZodLiteral<"context.indexer.fragment.template-variables/v1">;
|
|
@@ -176,67 +176,67 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
176
176
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
177
177
|
source_digest: z.ZodString;
|
|
178
178
|
}, "strict", z.ZodTypeAny, {
|
|
179
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
180
179
|
ref: string;
|
|
180
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
181
181
|
source_digest: string;
|
|
182
182
|
}, {
|
|
183
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
184
183
|
ref: string;
|
|
184
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
185
185
|
source_digest: string;
|
|
186
186
|
}>, "many">, {
|
|
187
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
188
187
|
ref: string;
|
|
188
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
189
189
|
source_digest: string;
|
|
190
190
|
}[], {
|
|
191
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
192
191
|
ref: string;
|
|
192
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
193
193
|
source_digest: string;
|
|
194
194
|
}[]>;
|
|
195
195
|
}, "strict", z.ZodTypeAny, {
|
|
196
196
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
197
|
-
target_ref: string;
|
|
198
197
|
evidence_refs: {
|
|
199
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
200
198
|
ref: string;
|
|
199
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
201
200
|
source_digest: string;
|
|
202
201
|
}[];
|
|
203
202
|
template_id: string;
|
|
203
|
+
target_ref: string;
|
|
204
204
|
variable_id: string;
|
|
205
205
|
}, {
|
|
206
206
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
207
|
-
target_ref: string;
|
|
208
207
|
evidence_refs: {
|
|
209
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
210
208
|
ref: string;
|
|
209
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
211
210
|
source_digest: string;
|
|
212
211
|
}[];
|
|
213
212
|
template_id: string;
|
|
213
|
+
target_ref: string;
|
|
214
214
|
variable_id: string;
|
|
215
215
|
}>, "many">;
|
|
216
216
|
}, "strict", z.ZodTypeAny, {
|
|
217
217
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
218
218
|
variables: {
|
|
219
219
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
220
|
-
target_ref: string;
|
|
221
220
|
evidence_refs: {
|
|
222
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
223
221
|
ref: string;
|
|
222
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
224
223
|
source_digest: string;
|
|
225
224
|
}[];
|
|
226
225
|
template_id: string;
|
|
226
|
+
target_ref: string;
|
|
227
227
|
variable_id: string;
|
|
228
228
|
}[];
|
|
229
229
|
}, {
|
|
230
230
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
231
231
|
variables: {
|
|
232
232
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
233
|
-
target_ref: string;
|
|
234
233
|
evidence_refs: {
|
|
235
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
236
234
|
ref: string;
|
|
235
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
237
236
|
source_digest: string;
|
|
238
237
|
}[];
|
|
239
238
|
template_id: string;
|
|
239
|
+
target_ref: string;
|
|
240
240
|
variable_id: string;
|
|
241
241
|
}[];
|
|
242
242
|
}>, z.ZodObject<{
|
|
@@ -244,85 +244,432 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
244
244
|
proposals: z.ZodArray<z.ZodObject<{
|
|
245
245
|
composer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
246
246
|
target_node_ref: z.ZodString;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
artifact: z.ZodDiscriminatedUnion<"representation", [z.ZodObject<{
|
|
248
|
+
representation: z.ZodLiteral<"template">;
|
|
249
|
+
template_id: z.ZodEffects<z.ZodString, string, string>;
|
|
250
|
+
variables: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
251
|
+
value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
|
|
252
|
+
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
253
|
+
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
254
|
+
}, "strict", z.ZodTypeAny, {
|
|
255
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
256
|
+
evidence_refs: string[];
|
|
257
|
+
fact_refs: string[];
|
|
258
|
+
}, {
|
|
259
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
260
|
+
evidence_refs: string[];
|
|
261
|
+
fact_refs: string[];
|
|
262
|
+
}>>;
|
|
263
|
+
section_projections: z.ZodArray<z.ZodObject<{
|
|
264
|
+
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
265
|
+
owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
266
|
+
document_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
267
|
+
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
268
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
269
|
+
}, "strict", z.ZodTypeAny, {
|
|
270
|
+
section_key: string;
|
|
271
|
+
owner_indexer_id: string;
|
|
272
|
+
document_kind: string;
|
|
273
|
+
reader_goal: string;
|
|
274
|
+
artifact_kind: string;
|
|
275
|
+
}, {
|
|
276
|
+
section_key: string;
|
|
277
|
+
owner_indexer_id: string;
|
|
278
|
+
document_kind: string;
|
|
279
|
+
reader_goal: string;
|
|
280
|
+
artifact_kind: string;
|
|
281
|
+
}>, "many">;
|
|
282
|
+
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
283
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
284
|
+
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
285
|
+
}, "strict", z.ZodTypeAny, {
|
|
286
|
+
artifact_kind: string;
|
|
287
|
+
representation: "template";
|
|
288
|
+
template_id: string;
|
|
289
|
+
variables: Record<string, {
|
|
290
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
291
|
+
evidence_refs: string[];
|
|
292
|
+
fact_refs: string[];
|
|
293
|
+
}>;
|
|
294
|
+
section_projections: {
|
|
295
|
+
section_key: string;
|
|
296
|
+
owner_indexer_id: string;
|
|
297
|
+
document_kind: string;
|
|
298
|
+
reader_goal: string;
|
|
299
|
+
artifact_kind: string;
|
|
300
|
+
}[];
|
|
301
|
+
artifact_id: string;
|
|
302
|
+
artifact_policy_variant: string;
|
|
303
|
+
}, {
|
|
304
|
+
artifact_kind: string;
|
|
305
|
+
representation: "template";
|
|
306
|
+
template_id: string;
|
|
307
|
+
variables: Record<string, {
|
|
308
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
309
|
+
evidence_refs: string[];
|
|
310
|
+
fact_refs: string[];
|
|
311
|
+
}>;
|
|
312
|
+
section_projections: {
|
|
313
|
+
section_key: string;
|
|
314
|
+
owner_indexer_id: string;
|
|
315
|
+
document_kind: string;
|
|
316
|
+
reader_goal: string;
|
|
317
|
+
artifact_kind: string;
|
|
318
|
+
}[];
|
|
319
|
+
artifact_id: string;
|
|
320
|
+
artifact_policy_variant: string;
|
|
321
|
+
}>, z.ZodObject<{
|
|
322
|
+
representation: z.ZodLiteral<"sections">;
|
|
323
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
324
|
+
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
325
|
+
owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
326
|
+
document_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
327
|
+
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
328
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
329
|
+
} & {
|
|
330
|
+
blocks: z.ZodArray<z.ZodDiscriminatedUnion<"layer", [z.ZodObject<{
|
|
331
|
+
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
332
|
+
layer: z.ZodLiteral<"deterministic-block">;
|
|
333
|
+
renderer: z.ZodEnum<["bullet-list", "key-value-table", "json-code-block"]>;
|
|
334
|
+
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
335
|
+
}, "strict", z.ZodTypeAny, {
|
|
336
|
+
block_id: string;
|
|
337
|
+
layer: "deterministic-block";
|
|
338
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
339
|
+
fact_refs: string[];
|
|
340
|
+
}, {
|
|
341
|
+
block_id: string;
|
|
342
|
+
layer: "deterministic-block";
|
|
343
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
344
|
+
fact_refs: string[];
|
|
345
|
+
}>, z.ZodObject<{
|
|
346
|
+
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
347
|
+
layer: z.ZodLiteral<"semantic-prose">;
|
|
348
|
+
markdown: z.ZodString;
|
|
349
|
+
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
350
|
+
}, "strict", z.ZodTypeAny, {
|
|
351
|
+
evidence_refs: string[];
|
|
352
|
+
block_id: string;
|
|
353
|
+
layer: "semantic-prose";
|
|
354
|
+
markdown: string;
|
|
355
|
+
}, {
|
|
356
|
+
evidence_refs: string[];
|
|
357
|
+
block_id: string;
|
|
358
|
+
layer: "semantic-prose";
|
|
359
|
+
markdown: string;
|
|
360
|
+
}>]>, "many">;
|
|
361
|
+
}, "strict", z.ZodTypeAny, {
|
|
362
|
+
section_key: string;
|
|
363
|
+
owner_indexer_id: string;
|
|
364
|
+
document_kind: string;
|
|
365
|
+
reader_goal: string;
|
|
366
|
+
artifact_kind: string;
|
|
367
|
+
blocks: ({
|
|
368
|
+
block_id: string;
|
|
369
|
+
layer: "deterministic-block";
|
|
370
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
371
|
+
fact_refs: string[];
|
|
372
|
+
} | {
|
|
373
|
+
evidence_refs: string[];
|
|
374
|
+
block_id: string;
|
|
375
|
+
layer: "semantic-prose";
|
|
376
|
+
markdown: string;
|
|
377
|
+
})[];
|
|
378
|
+
}, {
|
|
379
|
+
section_key: string;
|
|
380
|
+
owner_indexer_id: string;
|
|
381
|
+
document_kind: string;
|
|
382
|
+
reader_goal: string;
|
|
383
|
+
artifact_kind: string;
|
|
384
|
+
blocks: ({
|
|
385
|
+
block_id: string;
|
|
386
|
+
layer: "deterministic-block";
|
|
387
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
388
|
+
fact_refs: string[];
|
|
389
|
+
} | {
|
|
390
|
+
evidence_refs: string[];
|
|
391
|
+
block_id: string;
|
|
392
|
+
layer: "semantic-prose";
|
|
393
|
+
markdown: string;
|
|
394
|
+
})[];
|
|
395
|
+
}>, "many">;
|
|
396
|
+
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
397
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
398
|
+
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
399
|
+
}, "strict", z.ZodTypeAny, {
|
|
400
|
+
artifact_kind: string;
|
|
401
|
+
representation: "sections";
|
|
402
|
+
artifact_id: string;
|
|
403
|
+
artifact_policy_variant: string;
|
|
404
|
+
sections: {
|
|
405
|
+
section_key: string;
|
|
406
|
+
owner_indexer_id: string;
|
|
407
|
+
document_kind: string;
|
|
408
|
+
reader_goal: string;
|
|
409
|
+
artifact_kind: string;
|
|
410
|
+
blocks: ({
|
|
411
|
+
block_id: string;
|
|
412
|
+
layer: "deterministic-block";
|
|
413
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
414
|
+
fact_refs: string[];
|
|
415
|
+
} | {
|
|
416
|
+
evidence_refs: string[];
|
|
417
|
+
block_id: string;
|
|
418
|
+
layer: "semantic-prose";
|
|
419
|
+
markdown: string;
|
|
420
|
+
})[];
|
|
421
|
+
}[];
|
|
422
|
+
}, {
|
|
423
|
+
artifact_kind: string;
|
|
424
|
+
representation: "sections";
|
|
425
|
+
artifact_id: string;
|
|
426
|
+
artifact_policy_variant: string;
|
|
427
|
+
sections: {
|
|
428
|
+
section_key: string;
|
|
429
|
+
owner_indexer_id: string;
|
|
430
|
+
document_kind: string;
|
|
431
|
+
reader_goal: string;
|
|
432
|
+
artifact_kind: string;
|
|
433
|
+
blocks: ({
|
|
434
|
+
block_id: string;
|
|
435
|
+
layer: "deterministic-block";
|
|
436
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
437
|
+
fact_refs: string[];
|
|
438
|
+
} | {
|
|
439
|
+
evidence_refs: string[];
|
|
440
|
+
block_id: string;
|
|
441
|
+
layer: "semantic-prose";
|
|
442
|
+
markdown: string;
|
|
443
|
+
})[];
|
|
444
|
+
}[];
|
|
445
|
+
}>]>;
|
|
251
446
|
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
252
447
|
ref: z.ZodString;
|
|
253
448
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
254
449
|
source_digest: z.ZodString;
|
|
255
450
|
}, "strict", z.ZodTypeAny, {
|
|
256
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
257
451
|
ref: string;
|
|
452
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
258
453
|
source_digest: string;
|
|
259
454
|
}, {
|
|
260
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
261
455
|
ref: string;
|
|
456
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
262
457
|
source_digest: string;
|
|
263
458
|
}>, "many">, {
|
|
264
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
265
459
|
ref: string;
|
|
460
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
266
461
|
source_digest: string;
|
|
267
462
|
}[], {
|
|
268
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
269
463
|
ref: string;
|
|
464
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
270
465
|
source_digest: string;
|
|
271
466
|
}[]>;
|
|
272
467
|
}, "strict", z.ZodTypeAny, {
|
|
273
468
|
evidence_refs: {
|
|
274
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
275
469
|
ref: string;
|
|
470
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
276
471
|
source_digest: string;
|
|
277
472
|
}[];
|
|
278
473
|
composer_ref: string;
|
|
279
474
|
target_node_ref: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
475
|
+
artifact: {
|
|
476
|
+
artifact_kind: string;
|
|
477
|
+
representation: "template";
|
|
478
|
+
template_id: string;
|
|
479
|
+
variables: Record<string, {
|
|
480
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
481
|
+
evidence_refs: string[];
|
|
482
|
+
fact_refs: string[];
|
|
483
|
+
}>;
|
|
484
|
+
section_projections: {
|
|
485
|
+
section_key: string;
|
|
486
|
+
owner_indexer_id: string;
|
|
487
|
+
document_kind: string;
|
|
488
|
+
reader_goal: string;
|
|
489
|
+
artifact_kind: string;
|
|
490
|
+
}[];
|
|
491
|
+
artifact_id: string;
|
|
492
|
+
artifact_policy_variant: string;
|
|
493
|
+
} | {
|
|
494
|
+
artifact_kind: string;
|
|
495
|
+
representation: "sections";
|
|
496
|
+
artifact_id: string;
|
|
497
|
+
artifact_policy_variant: string;
|
|
498
|
+
sections: {
|
|
499
|
+
section_key: string;
|
|
500
|
+
owner_indexer_id: string;
|
|
501
|
+
document_kind: string;
|
|
502
|
+
reader_goal: string;
|
|
503
|
+
artifact_kind: string;
|
|
504
|
+
blocks: ({
|
|
505
|
+
block_id: string;
|
|
506
|
+
layer: "deterministic-block";
|
|
507
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
508
|
+
fact_refs: string[];
|
|
509
|
+
} | {
|
|
510
|
+
evidence_refs: string[];
|
|
511
|
+
block_id: string;
|
|
512
|
+
layer: "semantic-prose";
|
|
513
|
+
markdown: string;
|
|
514
|
+
})[];
|
|
515
|
+
}[];
|
|
516
|
+
};
|
|
284
517
|
}, {
|
|
285
518
|
evidence_refs: {
|
|
286
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
287
519
|
ref: string;
|
|
520
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
288
521
|
source_digest: string;
|
|
289
522
|
}[];
|
|
290
523
|
composer_ref: string;
|
|
291
524
|
target_node_ref: string;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
525
|
+
artifact: {
|
|
526
|
+
artifact_kind: string;
|
|
527
|
+
representation: "template";
|
|
528
|
+
template_id: string;
|
|
529
|
+
variables: Record<string, {
|
|
530
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
531
|
+
evidence_refs: string[];
|
|
532
|
+
fact_refs: string[];
|
|
533
|
+
}>;
|
|
534
|
+
section_projections: {
|
|
535
|
+
section_key: string;
|
|
536
|
+
owner_indexer_id: string;
|
|
537
|
+
document_kind: string;
|
|
538
|
+
reader_goal: string;
|
|
539
|
+
artifact_kind: string;
|
|
540
|
+
}[];
|
|
541
|
+
artifact_id: string;
|
|
542
|
+
artifact_policy_variant: string;
|
|
543
|
+
} | {
|
|
544
|
+
artifact_kind: string;
|
|
545
|
+
representation: "sections";
|
|
546
|
+
artifact_id: string;
|
|
547
|
+
artifact_policy_variant: string;
|
|
548
|
+
sections: {
|
|
549
|
+
section_key: string;
|
|
550
|
+
owner_indexer_id: string;
|
|
551
|
+
document_kind: string;
|
|
552
|
+
reader_goal: string;
|
|
553
|
+
artifact_kind: string;
|
|
554
|
+
blocks: ({
|
|
555
|
+
block_id: string;
|
|
556
|
+
layer: "deterministic-block";
|
|
557
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
558
|
+
fact_refs: string[];
|
|
559
|
+
} | {
|
|
560
|
+
evidence_refs: string[];
|
|
561
|
+
block_id: string;
|
|
562
|
+
layer: "semantic-prose";
|
|
563
|
+
markdown: string;
|
|
564
|
+
})[];
|
|
565
|
+
}[];
|
|
566
|
+
};
|
|
296
567
|
}>, "many">;
|
|
297
568
|
}, "strict", z.ZodTypeAny, {
|
|
298
569
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
299
570
|
proposals: {
|
|
300
571
|
evidence_refs: {
|
|
301
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
302
572
|
ref: string;
|
|
573
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
303
574
|
source_digest: string;
|
|
304
575
|
}[];
|
|
305
576
|
composer_ref: string;
|
|
306
577
|
target_node_ref: string;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
578
|
+
artifact: {
|
|
579
|
+
artifact_kind: string;
|
|
580
|
+
representation: "template";
|
|
581
|
+
template_id: string;
|
|
582
|
+
variables: Record<string, {
|
|
583
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
584
|
+
evidence_refs: string[];
|
|
585
|
+
fact_refs: string[];
|
|
586
|
+
}>;
|
|
587
|
+
section_projections: {
|
|
588
|
+
section_key: string;
|
|
589
|
+
owner_indexer_id: string;
|
|
590
|
+
document_kind: string;
|
|
591
|
+
reader_goal: string;
|
|
592
|
+
artifact_kind: string;
|
|
593
|
+
}[];
|
|
594
|
+
artifact_id: string;
|
|
595
|
+
artifact_policy_variant: string;
|
|
596
|
+
} | {
|
|
597
|
+
artifact_kind: string;
|
|
598
|
+
representation: "sections";
|
|
599
|
+
artifact_id: string;
|
|
600
|
+
artifact_policy_variant: string;
|
|
601
|
+
sections: {
|
|
602
|
+
section_key: string;
|
|
603
|
+
owner_indexer_id: string;
|
|
604
|
+
document_kind: string;
|
|
605
|
+
reader_goal: string;
|
|
606
|
+
artifact_kind: string;
|
|
607
|
+
blocks: ({
|
|
608
|
+
block_id: string;
|
|
609
|
+
layer: "deterministic-block";
|
|
610
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
611
|
+
fact_refs: string[];
|
|
612
|
+
} | {
|
|
613
|
+
evidence_refs: string[];
|
|
614
|
+
block_id: string;
|
|
615
|
+
layer: "semantic-prose";
|
|
616
|
+
markdown: string;
|
|
617
|
+
})[];
|
|
618
|
+
}[];
|
|
619
|
+
};
|
|
311
620
|
}[];
|
|
312
621
|
}, {
|
|
313
622
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
314
623
|
proposals: {
|
|
315
624
|
evidence_refs: {
|
|
316
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
317
625
|
ref: string;
|
|
626
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
318
627
|
source_digest: string;
|
|
319
628
|
}[];
|
|
320
629
|
composer_ref: string;
|
|
321
630
|
target_node_ref: string;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
631
|
+
artifact: {
|
|
632
|
+
artifact_kind: string;
|
|
633
|
+
representation: "template";
|
|
634
|
+
template_id: string;
|
|
635
|
+
variables: Record<string, {
|
|
636
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
637
|
+
evidence_refs: string[];
|
|
638
|
+
fact_refs: string[];
|
|
639
|
+
}>;
|
|
640
|
+
section_projections: {
|
|
641
|
+
section_key: string;
|
|
642
|
+
owner_indexer_id: string;
|
|
643
|
+
document_kind: string;
|
|
644
|
+
reader_goal: string;
|
|
645
|
+
artifact_kind: string;
|
|
646
|
+
}[];
|
|
647
|
+
artifact_id: string;
|
|
648
|
+
artifact_policy_variant: string;
|
|
649
|
+
} | {
|
|
650
|
+
artifact_kind: string;
|
|
651
|
+
representation: "sections";
|
|
652
|
+
artifact_id: string;
|
|
653
|
+
artifact_policy_variant: string;
|
|
654
|
+
sections: {
|
|
655
|
+
section_key: string;
|
|
656
|
+
owner_indexer_id: string;
|
|
657
|
+
document_kind: string;
|
|
658
|
+
reader_goal: string;
|
|
659
|
+
artifact_kind: string;
|
|
660
|
+
blocks: ({
|
|
661
|
+
block_id: string;
|
|
662
|
+
layer: "deterministic-block";
|
|
663
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
664
|
+
fact_refs: string[];
|
|
665
|
+
} | {
|
|
666
|
+
evidence_refs: string[];
|
|
667
|
+
block_id: string;
|
|
668
|
+
layer: "semantic-prose";
|
|
669
|
+
markdown: string;
|
|
670
|
+
})[];
|
|
671
|
+
}[];
|
|
672
|
+
};
|
|
326
673
|
}[];
|
|
327
674
|
}>]>;
|
|
328
675
|
payload_digest: z.ZodString;
|
|
@@ -353,51 +700,89 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
353
700
|
}>;
|
|
354
701
|
}, "strict", z.ZodTypeAny, {
|
|
355
702
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
356
|
-
layer_ref: string;
|
|
357
|
-
layer_integrity: string;
|
|
358
|
-
phase: "pre-authority" | "post-author";
|
|
359
|
-
target_refs: string[];
|
|
360
703
|
payload: {
|
|
361
704
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
362
705
|
facts: {
|
|
363
706
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
364
|
-
target_ref: string;
|
|
365
|
-
fact_id: string;
|
|
366
707
|
evidence_refs: {
|
|
367
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
368
708
|
ref: string;
|
|
709
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
369
710
|
source_digest: string;
|
|
370
711
|
}[];
|
|
712
|
+
target_ref: string;
|
|
713
|
+
fact_id: string;
|
|
371
714
|
}[];
|
|
372
715
|
} | {
|
|
373
716
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
374
717
|
variables: {
|
|
375
718
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
376
|
-
target_ref: string;
|
|
377
719
|
evidence_refs: {
|
|
378
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
379
720
|
ref: string;
|
|
721
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
380
722
|
source_digest: string;
|
|
381
723
|
}[];
|
|
382
724
|
template_id: string;
|
|
725
|
+
target_ref: string;
|
|
383
726
|
variable_id: string;
|
|
384
727
|
}[];
|
|
385
728
|
} | {
|
|
386
729
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
387
730
|
proposals: {
|
|
388
731
|
evidence_refs: {
|
|
389
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
390
732
|
ref: string;
|
|
733
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
391
734
|
source_digest: string;
|
|
392
735
|
}[];
|
|
393
736
|
composer_ref: string;
|
|
394
737
|
target_node_ref: string;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
738
|
+
artifact: {
|
|
739
|
+
artifact_kind: string;
|
|
740
|
+
representation: "template";
|
|
741
|
+
template_id: string;
|
|
742
|
+
variables: Record<string, {
|
|
743
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
744
|
+
evidence_refs: string[];
|
|
745
|
+
fact_refs: string[];
|
|
746
|
+
}>;
|
|
747
|
+
section_projections: {
|
|
748
|
+
section_key: string;
|
|
749
|
+
owner_indexer_id: string;
|
|
750
|
+
document_kind: string;
|
|
751
|
+
reader_goal: string;
|
|
752
|
+
artifact_kind: string;
|
|
753
|
+
}[];
|
|
754
|
+
artifact_id: string;
|
|
755
|
+
artifact_policy_variant: string;
|
|
756
|
+
} | {
|
|
757
|
+
artifact_kind: string;
|
|
758
|
+
representation: "sections";
|
|
759
|
+
artifact_id: string;
|
|
760
|
+
artifact_policy_variant: string;
|
|
761
|
+
sections: {
|
|
762
|
+
section_key: string;
|
|
763
|
+
owner_indexer_id: string;
|
|
764
|
+
document_kind: string;
|
|
765
|
+
reader_goal: string;
|
|
766
|
+
artifact_kind: string;
|
|
767
|
+
blocks: ({
|
|
768
|
+
block_id: string;
|
|
769
|
+
layer: "deterministic-block";
|
|
770
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
771
|
+
fact_refs: string[];
|
|
772
|
+
} | {
|
|
773
|
+
evidence_refs: string[];
|
|
774
|
+
block_id: string;
|
|
775
|
+
layer: "semantic-prose";
|
|
776
|
+
markdown: string;
|
|
777
|
+
})[];
|
|
778
|
+
}[];
|
|
779
|
+
};
|
|
399
780
|
}[];
|
|
400
781
|
};
|
|
782
|
+
layer_ref: string;
|
|
783
|
+
layer_integrity: string;
|
|
784
|
+
phase: "pre-authority" | "post-author";
|
|
785
|
+
target_refs: string[];
|
|
401
786
|
fragment_digest: string;
|
|
402
787
|
payload_digest: string;
|
|
403
788
|
materialization_receipt: {
|
|
@@ -412,51 +797,89 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
412
797
|
composer_ref?: string | undefined;
|
|
413
798
|
}, {
|
|
414
799
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
415
|
-
layer_ref: string;
|
|
416
|
-
layer_integrity: string;
|
|
417
|
-
phase: "pre-authority" | "post-author";
|
|
418
|
-
target_refs: string[];
|
|
419
800
|
payload: {
|
|
420
801
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
421
802
|
facts: {
|
|
422
803
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
423
|
-
target_ref: string;
|
|
424
|
-
fact_id: string;
|
|
425
804
|
evidence_refs: {
|
|
426
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
427
805
|
ref: string;
|
|
806
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
428
807
|
source_digest: string;
|
|
429
808
|
}[];
|
|
809
|
+
target_ref: string;
|
|
810
|
+
fact_id: string;
|
|
430
811
|
}[];
|
|
431
812
|
} | {
|
|
432
813
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
433
814
|
variables: {
|
|
434
815
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
435
|
-
target_ref: string;
|
|
436
816
|
evidence_refs: {
|
|
437
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
438
817
|
ref: string;
|
|
818
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
439
819
|
source_digest: string;
|
|
440
820
|
}[];
|
|
441
821
|
template_id: string;
|
|
822
|
+
target_ref: string;
|
|
442
823
|
variable_id: string;
|
|
443
824
|
}[];
|
|
444
825
|
} | {
|
|
445
826
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
446
827
|
proposals: {
|
|
447
828
|
evidence_refs: {
|
|
448
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
449
829
|
ref: string;
|
|
830
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
450
831
|
source_digest: string;
|
|
451
832
|
}[];
|
|
452
833
|
composer_ref: string;
|
|
453
834
|
target_node_ref: string;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
835
|
+
artifact: {
|
|
836
|
+
artifact_kind: string;
|
|
837
|
+
representation: "template";
|
|
838
|
+
template_id: string;
|
|
839
|
+
variables: Record<string, {
|
|
840
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
841
|
+
evidence_refs: string[];
|
|
842
|
+
fact_refs: string[];
|
|
843
|
+
}>;
|
|
844
|
+
section_projections: {
|
|
845
|
+
section_key: string;
|
|
846
|
+
owner_indexer_id: string;
|
|
847
|
+
document_kind: string;
|
|
848
|
+
reader_goal: string;
|
|
849
|
+
artifact_kind: string;
|
|
850
|
+
}[];
|
|
851
|
+
artifact_id: string;
|
|
852
|
+
artifact_policy_variant: string;
|
|
853
|
+
} | {
|
|
854
|
+
artifact_kind: string;
|
|
855
|
+
representation: "sections";
|
|
856
|
+
artifact_id: string;
|
|
857
|
+
artifact_policy_variant: string;
|
|
858
|
+
sections: {
|
|
859
|
+
section_key: string;
|
|
860
|
+
owner_indexer_id: string;
|
|
861
|
+
document_kind: string;
|
|
862
|
+
reader_goal: string;
|
|
863
|
+
artifact_kind: string;
|
|
864
|
+
blocks: ({
|
|
865
|
+
block_id: string;
|
|
866
|
+
layer: "deterministic-block";
|
|
867
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
868
|
+
fact_refs: string[];
|
|
869
|
+
} | {
|
|
870
|
+
evidence_refs: string[];
|
|
871
|
+
block_id: string;
|
|
872
|
+
layer: "semantic-prose";
|
|
873
|
+
markdown: string;
|
|
874
|
+
})[];
|
|
875
|
+
}[];
|
|
876
|
+
};
|
|
458
877
|
}[];
|
|
459
878
|
};
|
|
879
|
+
layer_ref: string;
|
|
880
|
+
layer_integrity: string;
|
|
881
|
+
phase: "pre-authority" | "post-author";
|
|
882
|
+
target_refs: string[];
|
|
460
883
|
fragment_digest: string;
|
|
461
884
|
payload_digest: string;
|
|
462
885
|
materialization_receipt: {
|
|
@@ -499,51 +922,89 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
499
922
|
};
|
|
500
923
|
fragments: {
|
|
501
924
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
502
|
-
layer_ref: string;
|
|
503
|
-
layer_integrity: string;
|
|
504
|
-
phase: "pre-authority" | "post-author";
|
|
505
|
-
target_refs: string[];
|
|
506
925
|
payload: {
|
|
507
926
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
508
927
|
facts: {
|
|
509
928
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
510
|
-
target_ref: string;
|
|
511
|
-
fact_id: string;
|
|
512
929
|
evidence_refs: {
|
|
513
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
514
930
|
ref: string;
|
|
931
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
515
932
|
source_digest: string;
|
|
516
933
|
}[];
|
|
934
|
+
target_ref: string;
|
|
935
|
+
fact_id: string;
|
|
517
936
|
}[];
|
|
518
937
|
} | {
|
|
519
938
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
520
939
|
variables: {
|
|
521
940
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
522
|
-
target_ref: string;
|
|
523
941
|
evidence_refs: {
|
|
524
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
525
942
|
ref: string;
|
|
943
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
526
944
|
source_digest: string;
|
|
527
945
|
}[];
|
|
528
946
|
template_id: string;
|
|
947
|
+
target_ref: string;
|
|
529
948
|
variable_id: string;
|
|
530
949
|
}[];
|
|
531
950
|
} | {
|
|
532
951
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
533
952
|
proposals: {
|
|
534
953
|
evidence_refs: {
|
|
535
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
536
954
|
ref: string;
|
|
955
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
537
956
|
source_digest: string;
|
|
538
957
|
}[];
|
|
539
958
|
composer_ref: string;
|
|
540
959
|
target_node_ref: string;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
960
|
+
artifact: {
|
|
961
|
+
artifact_kind: string;
|
|
962
|
+
representation: "template";
|
|
963
|
+
template_id: string;
|
|
964
|
+
variables: Record<string, {
|
|
965
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
966
|
+
evidence_refs: string[];
|
|
967
|
+
fact_refs: string[];
|
|
968
|
+
}>;
|
|
969
|
+
section_projections: {
|
|
970
|
+
section_key: string;
|
|
971
|
+
owner_indexer_id: string;
|
|
972
|
+
document_kind: string;
|
|
973
|
+
reader_goal: string;
|
|
974
|
+
artifact_kind: string;
|
|
975
|
+
}[];
|
|
976
|
+
artifact_id: string;
|
|
977
|
+
artifact_policy_variant: string;
|
|
978
|
+
} | {
|
|
979
|
+
artifact_kind: string;
|
|
980
|
+
representation: "sections";
|
|
981
|
+
artifact_id: string;
|
|
982
|
+
artifact_policy_variant: string;
|
|
983
|
+
sections: {
|
|
984
|
+
section_key: string;
|
|
985
|
+
owner_indexer_id: string;
|
|
986
|
+
document_kind: string;
|
|
987
|
+
reader_goal: string;
|
|
988
|
+
artifact_kind: string;
|
|
989
|
+
blocks: ({
|
|
990
|
+
block_id: string;
|
|
991
|
+
layer: "deterministic-block";
|
|
992
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
993
|
+
fact_refs: string[];
|
|
994
|
+
} | {
|
|
995
|
+
evidence_refs: string[];
|
|
996
|
+
block_id: string;
|
|
997
|
+
layer: "semantic-prose";
|
|
998
|
+
markdown: string;
|
|
999
|
+
})[];
|
|
1000
|
+
}[];
|
|
1001
|
+
};
|
|
545
1002
|
}[];
|
|
546
1003
|
};
|
|
1004
|
+
layer_ref: string;
|
|
1005
|
+
layer_integrity: string;
|
|
1006
|
+
phase: "pre-authority" | "post-author";
|
|
1007
|
+
target_refs: string[];
|
|
547
1008
|
fragment_digest: string;
|
|
548
1009
|
payload_digest: string;
|
|
549
1010
|
materialization_receipt: {
|
|
@@ -584,51 +1045,89 @@ export declare const indexerPostAuthorRunLedgerEntrySchema: z.ZodUnion<[z.ZodObj
|
|
|
584
1045
|
};
|
|
585
1046
|
fragments: {
|
|
586
1047
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
587
|
-
layer_ref: string;
|
|
588
|
-
layer_integrity: string;
|
|
589
|
-
phase: "pre-authority" | "post-author";
|
|
590
|
-
target_refs: string[];
|
|
591
1048
|
payload: {
|
|
592
1049
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
593
1050
|
facts: {
|
|
594
1051
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
595
|
-
target_ref: string;
|
|
596
|
-
fact_id: string;
|
|
597
1052
|
evidence_refs: {
|
|
598
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
599
1053
|
ref: string;
|
|
1054
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
600
1055
|
source_digest: string;
|
|
601
1056
|
}[];
|
|
1057
|
+
target_ref: string;
|
|
1058
|
+
fact_id: string;
|
|
602
1059
|
}[];
|
|
603
1060
|
} | {
|
|
604
1061
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
605
1062
|
variables: {
|
|
606
1063
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
607
|
-
target_ref: string;
|
|
608
1064
|
evidence_refs: {
|
|
609
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
610
1065
|
ref: string;
|
|
1066
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
611
1067
|
source_digest: string;
|
|
612
1068
|
}[];
|
|
613
1069
|
template_id: string;
|
|
1070
|
+
target_ref: string;
|
|
614
1071
|
variable_id: string;
|
|
615
1072
|
}[];
|
|
616
1073
|
} | {
|
|
617
1074
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
618
1075
|
proposals: {
|
|
619
1076
|
evidence_refs: {
|
|
620
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
621
1077
|
ref: string;
|
|
1078
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
622
1079
|
source_digest: string;
|
|
623
1080
|
}[];
|
|
624
1081
|
composer_ref: string;
|
|
625
1082
|
target_node_ref: string;
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1083
|
+
artifact: {
|
|
1084
|
+
artifact_kind: string;
|
|
1085
|
+
representation: "template";
|
|
1086
|
+
template_id: string;
|
|
1087
|
+
variables: Record<string, {
|
|
1088
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1089
|
+
evidence_refs: string[];
|
|
1090
|
+
fact_refs: string[];
|
|
1091
|
+
}>;
|
|
1092
|
+
section_projections: {
|
|
1093
|
+
section_key: string;
|
|
1094
|
+
owner_indexer_id: string;
|
|
1095
|
+
document_kind: string;
|
|
1096
|
+
reader_goal: string;
|
|
1097
|
+
artifact_kind: string;
|
|
1098
|
+
}[];
|
|
1099
|
+
artifact_id: string;
|
|
1100
|
+
artifact_policy_variant: string;
|
|
1101
|
+
} | {
|
|
1102
|
+
artifact_kind: string;
|
|
1103
|
+
representation: "sections";
|
|
1104
|
+
artifact_id: string;
|
|
1105
|
+
artifact_policy_variant: string;
|
|
1106
|
+
sections: {
|
|
1107
|
+
section_key: string;
|
|
1108
|
+
owner_indexer_id: string;
|
|
1109
|
+
document_kind: string;
|
|
1110
|
+
reader_goal: string;
|
|
1111
|
+
artifact_kind: string;
|
|
1112
|
+
blocks: ({
|
|
1113
|
+
block_id: string;
|
|
1114
|
+
layer: "deterministic-block";
|
|
1115
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1116
|
+
fact_refs: string[];
|
|
1117
|
+
} | {
|
|
1118
|
+
evidence_refs: string[];
|
|
1119
|
+
block_id: string;
|
|
1120
|
+
layer: "semantic-prose";
|
|
1121
|
+
markdown: string;
|
|
1122
|
+
})[];
|
|
1123
|
+
}[];
|
|
1124
|
+
};
|
|
630
1125
|
}[];
|
|
631
1126
|
};
|
|
1127
|
+
layer_ref: string;
|
|
1128
|
+
layer_integrity: string;
|
|
1129
|
+
phase: "pre-authority" | "post-author";
|
|
1130
|
+
target_refs: string[];
|
|
632
1131
|
fragment_digest: string;
|
|
633
1132
|
payload_digest: string;
|
|
634
1133
|
materialization_receipt: {
|
|
@@ -805,64 +1304,64 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
805
1304
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
806
1305
|
source_digest: z.ZodString;
|
|
807
1306
|
}, "strict", z.ZodTypeAny, {
|
|
808
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
809
1307
|
ref: string;
|
|
1308
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
810
1309
|
source_digest: string;
|
|
811
1310
|
}, {
|
|
812
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
813
1311
|
ref: string;
|
|
1312
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
814
1313
|
source_digest: string;
|
|
815
1314
|
}>, "many">, {
|
|
816
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
817
1315
|
ref: string;
|
|
1316
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
818
1317
|
source_digest: string;
|
|
819
1318
|
}[], {
|
|
820
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
821
1319
|
ref: string;
|
|
1320
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
822
1321
|
source_digest: string;
|
|
823
1322
|
}[]>;
|
|
824
1323
|
}, "strict", z.ZodTypeAny, {
|
|
825
1324
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
826
|
-
target_ref: string;
|
|
827
|
-
fact_id: string;
|
|
828
1325
|
evidence_refs: {
|
|
829
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
830
1326
|
ref: string;
|
|
1327
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
831
1328
|
source_digest: string;
|
|
832
1329
|
}[];
|
|
833
|
-
}, {
|
|
834
|
-
value: import("./indexerRegistry.js").IndexerJson;
|
|
835
1330
|
target_ref: string;
|
|
836
1331
|
fact_id: string;
|
|
1332
|
+
}, {
|
|
1333
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
837
1334
|
evidence_refs: {
|
|
838
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
839
1335
|
ref: string;
|
|
1336
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
840
1337
|
source_digest: string;
|
|
841
1338
|
}[];
|
|
1339
|
+
target_ref: string;
|
|
1340
|
+
fact_id: string;
|
|
842
1341
|
}>, "many">;
|
|
843
1342
|
}, "strict", z.ZodTypeAny, {
|
|
844
1343
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
845
1344
|
facts: {
|
|
846
1345
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
847
|
-
target_ref: string;
|
|
848
|
-
fact_id: string;
|
|
849
1346
|
evidence_refs: {
|
|
850
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
851
1347
|
ref: string;
|
|
1348
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
852
1349
|
source_digest: string;
|
|
853
1350
|
}[];
|
|
1351
|
+
target_ref: string;
|
|
1352
|
+
fact_id: string;
|
|
854
1353
|
}[];
|
|
855
1354
|
}, {
|
|
856
1355
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
857
1356
|
facts: {
|
|
858
1357
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
859
|
-
target_ref: string;
|
|
860
|
-
fact_id: string;
|
|
861
1358
|
evidence_refs: {
|
|
862
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
863
1359
|
ref: string;
|
|
1360
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
864
1361
|
source_digest: string;
|
|
865
1362
|
}[];
|
|
1363
|
+
target_ref: string;
|
|
1364
|
+
fact_id: string;
|
|
866
1365
|
}[];
|
|
867
1366
|
}>, z.ZodObject<{
|
|
868
1367
|
protocol: z.ZodLiteral<"context.indexer.fragment.template-variables/v1">;
|
|
@@ -876,67 +1375,67 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
876
1375
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
877
1376
|
source_digest: z.ZodString;
|
|
878
1377
|
}, "strict", z.ZodTypeAny, {
|
|
879
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
880
1378
|
ref: string;
|
|
1379
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
881
1380
|
source_digest: string;
|
|
882
1381
|
}, {
|
|
883
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
884
1382
|
ref: string;
|
|
1383
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
885
1384
|
source_digest: string;
|
|
886
1385
|
}>, "many">, {
|
|
887
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
888
1386
|
ref: string;
|
|
1387
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
889
1388
|
source_digest: string;
|
|
890
1389
|
}[], {
|
|
891
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
892
1390
|
ref: string;
|
|
1391
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
893
1392
|
source_digest: string;
|
|
894
1393
|
}[]>;
|
|
895
1394
|
}, "strict", z.ZodTypeAny, {
|
|
896
1395
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
897
|
-
target_ref: string;
|
|
898
1396
|
evidence_refs: {
|
|
899
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
900
1397
|
ref: string;
|
|
1398
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
901
1399
|
source_digest: string;
|
|
902
1400
|
}[];
|
|
903
1401
|
template_id: string;
|
|
1402
|
+
target_ref: string;
|
|
904
1403
|
variable_id: string;
|
|
905
1404
|
}, {
|
|
906
1405
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
907
|
-
target_ref: string;
|
|
908
1406
|
evidence_refs: {
|
|
909
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
910
1407
|
ref: string;
|
|
1408
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
911
1409
|
source_digest: string;
|
|
912
1410
|
}[];
|
|
913
1411
|
template_id: string;
|
|
1412
|
+
target_ref: string;
|
|
914
1413
|
variable_id: string;
|
|
915
1414
|
}>, "many">;
|
|
916
1415
|
}, "strict", z.ZodTypeAny, {
|
|
917
1416
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
918
1417
|
variables: {
|
|
919
1418
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
920
|
-
target_ref: string;
|
|
921
1419
|
evidence_refs: {
|
|
922
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
923
1420
|
ref: string;
|
|
1421
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
924
1422
|
source_digest: string;
|
|
925
1423
|
}[];
|
|
926
1424
|
template_id: string;
|
|
1425
|
+
target_ref: string;
|
|
927
1426
|
variable_id: string;
|
|
928
1427
|
}[];
|
|
929
1428
|
}, {
|
|
930
1429
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
931
1430
|
variables: {
|
|
932
1431
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
933
|
-
target_ref: string;
|
|
934
1432
|
evidence_refs: {
|
|
935
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
936
1433
|
ref: string;
|
|
1434
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
937
1435
|
source_digest: string;
|
|
938
1436
|
}[];
|
|
939
1437
|
template_id: string;
|
|
1438
|
+
target_ref: string;
|
|
940
1439
|
variable_id: string;
|
|
941
1440
|
}[];
|
|
942
1441
|
}>, z.ZodObject<{
|
|
@@ -944,85 +1443,432 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
944
1443
|
proposals: z.ZodArray<z.ZodObject<{
|
|
945
1444
|
composer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
946
1445
|
target_node_ref: z.ZodString;
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1446
|
+
artifact: z.ZodDiscriminatedUnion<"representation", [z.ZodObject<{
|
|
1447
|
+
representation: z.ZodLiteral<"template">;
|
|
1448
|
+
template_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1449
|
+
variables: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1450
|
+
value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
|
|
1451
|
+
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
1452
|
+
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
1453
|
+
}, "strict", z.ZodTypeAny, {
|
|
1454
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1455
|
+
evidence_refs: string[];
|
|
1456
|
+
fact_refs: string[];
|
|
1457
|
+
}, {
|
|
1458
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1459
|
+
evidence_refs: string[];
|
|
1460
|
+
fact_refs: string[];
|
|
1461
|
+
}>>;
|
|
1462
|
+
section_projections: z.ZodArray<z.ZodObject<{
|
|
1463
|
+
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1464
|
+
owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1465
|
+
document_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1466
|
+
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
1467
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1468
|
+
}, "strict", z.ZodTypeAny, {
|
|
1469
|
+
section_key: string;
|
|
1470
|
+
owner_indexer_id: string;
|
|
1471
|
+
document_kind: string;
|
|
1472
|
+
reader_goal: string;
|
|
1473
|
+
artifact_kind: string;
|
|
1474
|
+
}, {
|
|
1475
|
+
section_key: string;
|
|
1476
|
+
owner_indexer_id: string;
|
|
1477
|
+
document_kind: string;
|
|
1478
|
+
reader_goal: string;
|
|
1479
|
+
artifact_kind: string;
|
|
1480
|
+
}>, "many">;
|
|
1481
|
+
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1482
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1483
|
+
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
1484
|
+
}, "strict", z.ZodTypeAny, {
|
|
1485
|
+
artifact_kind: string;
|
|
1486
|
+
representation: "template";
|
|
1487
|
+
template_id: string;
|
|
1488
|
+
variables: Record<string, {
|
|
1489
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1490
|
+
evidence_refs: string[];
|
|
1491
|
+
fact_refs: string[];
|
|
1492
|
+
}>;
|
|
1493
|
+
section_projections: {
|
|
1494
|
+
section_key: string;
|
|
1495
|
+
owner_indexer_id: string;
|
|
1496
|
+
document_kind: string;
|
|
1497
|
+
reader_goal: string;
|
|
1498
|
+
artifact_kind: string;
|
|
1499
|
+
}[];
|
|
1500
|
+
artifact_id: string;
|
|
1501
|
+
artifact_policy_variant: string;
|
|
1502
|
+
}, {
|
|
1503
|
+
artifact_kind: string;
|
|
1504
|
+
representation: "template";
|
|
1505
|
+
template_id: string;
|
|
1506
|
+
variables: Record<string, {
|
|
1507
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1508
|
+
evidence_refs: string[];
|
|
1509
|
+
fact_refs: string[];
|
|
1510
|
+
}>;
|
|
1511
|
+
section_projections: {
|
|
1512
|
+
section_key: string;
|
|
1513
|
+
owner_indexer_id: string;
|
|
1514
|
+
document_kind: string;
|
|
1515
|
+
reader_goal: string;
|
|
1516
|
+
artifact_kind: string;
|
|
1517
|
+
}[];
|
|
1518
|
+
artifact_id: string;
|
|
1519
|
+
artifact_policy_variant: string;
|
|
1520
|
+
}>, z.ZodObject<{
|
|
1521
|
+
representation: z.ZodLiteral<"sections">;
|
|
1522
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1523
|
+
section_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1524
|
+
owner_indexer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1525
|
+
document_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1526
|
+
reader_goal: z.ZodEffects<z.ZodString, string, string>;
|
|
1527
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1528
|
+
} & {
|
|
1529
|
+
blocks: z.ZodArray<z.ZodDiscriminatedUnion<"layer", [z.ZodObject<{
|
|
1530
|
+
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1531
|
+
layer: z.ZodLiteral<"deterministic-block">;
|
|
1532
|
+
renderer: z.ZodEnum<["bullet-list", "key-value-table", "json-code-block"]>;
|
|
1533
|
+
fact_refs: z.ZodArray<z.ZodString, "many">;
|
|
1534
|
+
}, "strict", z.ZodTypeAny, {
|
|
1535
|
+
block_id: string;
|
|
1536
|
+
layer: "deterministic-block";
|
|
1537
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1538
|
+
fact_refs: string[];
|
|
1539
|
+
}, {
|
|
1540
|
+
block_id: string;
|
|
1541
|
+
layer: "deterministic-block";
|
|
1542
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1543
|
+
fact_refs: string[];
|
|
1544
|
+
}>, z.ZodObject<{
|
|
1545
|
+
block_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1546
|
+
layer: z.ZodLiteral<"semantic-prose">;
|
|
1547
|
+
markdown: z.ZodString;
|
|
1548
|
+
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
1549
|
+
}, "strict", z.ZodTypeAny, {
|
|
1550
|
+
evidence_refs: string[];
|
|
1551
|
+
block_id: string;
|
|
1552
|
+
layer: "semantic-prose";
|
|
1553
|
+
markdown: string;
|
|
1554
|
+
}, {
|
|
1555
|
+
evidence_refs: string[];
|
|
1556
|
+
block_id: string;
|
|
1557
|
+
layer: "semantic-prose";
|
|
1558
|
+
markdown: string;
|
|
1559
|
+
}>]>, "many">;
|
|
1560
|
+
}, "strict", z.ZodTypeAny, {
|
|
1561
|
+
section_key: string;
|
|
1562
|
+
owner_indexer_id: string;
|
|
1563
|
+
document_kind: string;
|
|
1564
|
+
reader_goal: string;
|
|
1565
|
+
artifact_kind: string;
|
|
1566
|
+
blocks: ({
|
|
1567
|
+
block_id: string;
|
|
1568
|
+
layer: "deterministic-block";
|
|
1569
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1570
|
+
fact_refs: string[];
|
|
1571
|
+
} | {
|
|
1572
|
+
evidence_refs: string[];
|
|
1573
|
+
block_id: string;
|
|
1574
|
+
layer: "semantic-prose";
|
|
1575
|
+
markdown: string;
|
|
1576
|
+
})[];
|
|
1577
|
+
}, {
|
|
1578
|
+
section_key: string;
|
|
1579
|
+
owner_indexer_id: string;
|
|
1580
|
+
document_kind: string;
|
|
1581
|
+
reader_goal: string;
|
|
1582
|
+
artifact_kind: string;
|
|
1583
|
+
blocks: ({
|
|
1584
|
+
block_id: string;
|
|
1585
|
+
layer: "deterministic-block";
|
|
1586
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1587
|
+
fact_refs: string[];
|
|
1588
|
+
} | {
|
|
1589
|
+
evidence_refs: string[];
|
|
1590
|
+
block_id: string;
|
|
1591
|
+
layer: "semantic-prose";
|
|
1592
|
+
markdown: string;
|
|
1593
|
+
})[];
|
|
1594
|
+
}>, "many">;
|
|
1595
|
+
artifact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1596
|
+
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1597
|
+
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
1598
|
+
}, "strict", z.ZodTypeAny, {
|
|
1599
|
+
artifact_kind: string;
|
|
1600
|
+
representation: "sections";
|
|
1601
|
+
artifact_id: string;
|
|
1602
|
+
artifact_policy_variant: string;
|
|
1603
|
+
sections: {
|
|
1604
|
+
section_key: string;
|
|
1605
|
+
owner_indexer_id: string;
|
|
1606
|
+
document_kind: string;
|
|
1607
|
+
reader_goal: string;
|
|
1608
|
+
artifact_kind: string;
|
|
1609
|
+
blocks: ({
|
|
1610
|
+
block_id: string;
|
|
1611
|
+
layer: "deterministic-block";
|
|
1612
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1613
|
+
fact_refs: string[];
|
|
1614
|
+
} | {
|
|
1615
|
+
evidence_refs: string[];
|
|
1616
|
+
block_id: string;
|
|
1617
|
+
layer: "semantic-prose";
|
|
1618
|
+
markdown: string;
|
|
1619
|
+
})[];
|
|
1620
|
+
}[];
|
|
1621
|
+
}, {
|
|
1622
|
+
artifact_kind: string;
|
|
1623
|
+
representation: "sections";
|
|
1624
|
+
artifact_id: string;
|
|
1625
|
+
artifact_policy_variant: string;
|
|
1626
|
+
sections: {
|
|
1627
|
+
section_key: string;
|
|
1628
|
+
owner_indexer_id: string;
|
|
1629
|
+
document_kind: string;
|
|
1630
|
+
reader_goal: string;
|
|
1631
|
+
artifact_kind: string;
|
|
1632
|
+
blocks: ({
|
|
1633
|
+
block_id: string;
|
|
1634
|
+
layer: "deterministic-block";
|
|
1635
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1636
|
+
fact_refs: string[];
|
|
1637
|
+
} | {
|
|
1638
|
+
evidence_refs: string[];
|
|
1639
|
+
block_id: string;
|
|
1640
|
+
layer: "semantic-prose";
|
|
1641
|
+
markdown: string;
|
|
1642
|
+
})[];
|
|
1643
|
+
}[];
|
|
1644
|
+
}>]>;
|
|
951
1645
|
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
952
1646
|
ref: z.ZodString;
|
|
953
1647
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
954
1648
|
source_digest: z.ZodString;
|
|
955
1649
|
}, "strict", z.ZodTypeAny, {
|
|
956
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
957
1650
|
ref: string;
|
|
1651
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
958
1652
|
source_digest: string;
|
|
959
1653
|
}, {
|
|
960
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
961
1654
|
ref: string;
|
|
1655
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
962
1656
|
source_digest: string;
|
|
963
1657
|
}>, "many">, {
|
|
964
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
965
1658
|
ref: string;
|
|
1659
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
966
1660
|
source_digest: string;
|
|
967
1661
|
}[], {
|
|
968
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
969
1662
|
ref: string;
|
|
1663
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
970
1664
|
source_digest: string;
|
|
971
1665
|
}[]>;
|
|
972
1666
|
}, "strict", z.ZodTypeAny, {
|
|
973
1667
|
evidence_refs: {
|
|
974
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
975
1668
|
ref: string;
|
|
1669
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
976
1670
|
source_digest: string;
|
|
977
1671
|
}[];
|
|
978
1672
|
composer_ref: string;
|
|
979
1673
|
target_node_ref: string;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1674
|
+
artifact: {
|
|
1675
|
+
artifact_kind: string;
|
|
1676
|
+
representation: "template";
|
|
1677
|
+
template_id: string;
|
|
1678
|
+
variables: Record<string, {
|
|
1679
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1680
|
+
evidence_refs: string[];
|
|
1681
|
+
fact_refs: string[];
|
|
1682
|
+
}>;
|
|
1683
|
+
section_projections: {
|
|
1684
|
+
section_key: string;
|
|
1685
|
+
owner_indexer_id: string;
|
|
1686
|
+
document_kind: string;
|
|
1687
|
+
reader_goal: string;
|
|
1688
|
+
artifact_kind: string;
|
|
1689
|
+
}[];
|
|
1690
|
+
artifact_id: string;
|
|
1691
|
+
artifact_policy_variant: string;
|
|
1692
|
+
} | {
|
|
1693
|
+
artifact_kind: string;
|
|
1694
|
+
representation: "sections";
|
|
1695
|
+
artifact_id: string;
|
|
1696
|
+
artifact_policy_variant: string;
|
|
1697
|
+
sections: {
|
|
1698
|
+
section_key: string;
|
|
1699
|
+
owner_indexer_id: string;
|
|
1700
|
+
document_kind: string;
|
|
1701
|
+
reader_goal: string;
|
|
1702
|
+
artifact_kind: string;
|
|
1703
|
+
blocks: ({
|
|
1704
|
+
block_id: string;
|
|
1705
|
+
layer: "deterministic-block";
|
|
1706
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1707
|
+
fact_refs: string[];
|
|
1708
|
+
} | {
|
|
1709
|
+
evidence_refs: string[];
|
|
1710
|
+
block_id: string;
|
|
1711
|
+
layer: "semantic-prose";
|
|
1712
|
+
markdown: string;
|
|
1713
|
+
})[];
|
|
1714
|
+
}[];
|
|
1715
|
+
};
|
|
984
1716
|
}, {
|
|
985
1717
|
evidence_refs: {
|
|
986
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
987
1718
|
ref: string;
|
|
1719
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
988
1720
|
source_digest: string;
|
|
989
1721
|
}[];
|
|
990
1722
|
composer_ref: string;
|
|
991
1723
|
target_node_ref: string;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1724
|
+
artifact: {
|
|
1725
|
+
artifact_kind: string;
|
|
1726
|
+
representation: "template";
|
|
1727
|
+
template_id: string;
|
|
1728
|
+
variables: Record<string, {
|
|
1729
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1730
|
+
evidence_refs: string[];
|
|
1731
|
+
fact_refs: string[];
|
|
1732
|
+
}>;
|
|
1733
|
+
section_projections: {
|
|
1734
|
+
section_key: string;
|
|
1735
|
+
owner_indexer_id: string;
|
|
1736
|
+
document_kind: string;
|
|
1737
|
+
reader_goal: string;
|
|
1738
|
+
artifact_kind: string;
|
|
1739
|
+
}[];
|
|
1740
|
+
artifact_id: string;
|
|
1741
|
+
artifact_policy_variant: string;
|
|
1742
|
+
} | {
|
|
1743
|
+
artifact_kind: string;
|
|
1744
|
+
representation: "sections";
|
|
1745
|
+
artifact_id: string;
|
|
1746
|
+
artifact_policy_variant: string;
|
|
1747
|
+
sections: {
|
|
1748
|
+
section_key: string;
|
|
1749
|
+
owner_indexer_id: string;
|
|
1750
|
+
document_kind: string;
|
|
1751
|
+
reader_goal: string;
|
|
1752
|
+
artifact_kind: string;
|
|
1753
|
+
blocks: ({
|
|
1754
|
+
block_id: string;
|
|
1755
|
+
layer: "deterministic-block";
|
|
1756
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1757
|
+
fact_refs: string[];
|
|
1758
|
+
} | {
|
|
1759
|
+
evidence_refs: string[];
|
|
1760
|
+
block_id: string;
|
|
1761
|
+
layer: "semantic-prose";
|
|
1762
|
+
markdown: string;
|
|
1763
|
+
})[];
|
|
1764
|
+
}[];
|
|
1765
|
+
};
|
|
996
1766
|
}>, "many">;
|
|
997
1767
|
}, "strict", z.ZodTypeAny, {
|
|
998
1768
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
999
1769
|
proposals: {
|
|
1000
1770
|
evidence_refs: {
|
|
1001
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1002
1771
|
ref: string;
|
|
1772
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1003
1773
|
source_digest: string;
|
|
1004
1774
|
}[];
|
|
1005
1775
|
composer_ref: string;
|
|
1006
1776
|
target_node_ref: string;
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1777
|
+
artifact: {
|
|
1778
|
+
artifact_kind: string;
|
|
1779
|
+
representation: "template";
|
|
1780
|
+
template_id: string;
|
|
1781
|
+
variables: Record<string, {
|
|
1782
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1783
|
+
evidence_refs: string[];
|
|
1784
|
+
fact_refs: string[];
|
|
1785
|
+
}>;
|
|
1786
|
+
section_projections: {
|
|
1787
|
+
section_key: string;
|
|
1788
|
+
owner_indexer_id: string;
|
|
1789
|
+
document_kind: string;
|
|
1790
|
+
reader_goal: string;
|
|
1791
|
+
artifact_kind: string;
|
|
1792
|
+
}[];
|
|
1793
|
+
artifact_id: string;
|
|
1794
|
+
artifact_policy_variant: string;
|
|
1795
|
+
} | {
|
|
1796
|
+
artifact_kind: string;
|
|
1797
|
+
representation: "sections";
|
|
1798
|
+
artifact_id: string;
|
|
1799
|
+
artifact_policy_variant: string;
|
|
1800
|
+
sections: {
|
|
1801
|
+
section_key: string;
|
|
1802
|
+
owner_indexer_id: string;
|
|
1803
|
+
document_kind: string;
|
|
1804
|
+
reader_goal: string;
|
|
1805
|
+
artifact_kind: string;
|
|
1806
|
+
blocks: ({
|
|
1807
|
+
block_id: string;
|
|
1808
|
+
layer: "deterministic-block";
|
|
1809
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1810
|
+
fact_refs: string[];
|
|
1811
|
+
} | {
|
|
1812
|
+
evidence_refs: string[];
|
|
1813
|
+
block_id: string;
|
|
1814
|
+
layer: "semantic-prose";
|
|
1815
|
+
markdown: string;
|
|
1816
|
+
})[];
|
|
1817
|
+
}[];
|
|
1818
|
+
};
|
|
1011
1819
|
}[];
|
|
1012
1820
|
}, {
|
|
1013
1821
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1014
1822
|
proposals: {
|
|
1015
1823
|
evidence_refs: {
|
|
1016
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1017
1824
|
ref: string;
|
|
1825
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1018
1826
|
source_digest: string;
|
|
1019
1827
|
}[];
|
|
1020
1828
|
composer_ref: string;
|
|
1021
1829
|
target_node_ref: string;
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1830
|
+
artifact: {
|
|
1831
|
+
artifact_kind: string;
|
|
1832
|
+
representation: "template";
|
|
1833
|
+
template_id: string;
|
|
1834
|
+
variables: Record<string, {
|
|
1835
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1836
|
+
evidence_refs: string[];
|
|
1837
|
+
fact_refs: string[];
|
|
1838
|
+
}>;
|
|
1839
|
+
section_projections: {
|
|
1840
|
+
section_key: string;
|
|
1841
|
+
owner_indexer_id: string;
|
|
1842
|
+
document_kind: string;
|
|
1843
|
+
reader_goal: string;
|
|
1844
|
+
artifact_kind: string;
|
|
1845
|
+
}[];
|
|
1846
|
+
artifact_id: string;
|
|
1847
|
+
artifact_policy_variant: string;
|
|
1848
|
+
} | {
|
|
1849
|
+
artifact_kind: string;
|
|
1850
|
+
representation: "sections";
|
|
1851
|
+
artifact_id: string;
|
|
1852
|
+
artifact_policy_variant: string;
|
|
1853
|
+
sections: {
|
|
1854
|
+
section_key: string;
|
|
1855
|
+
owner_indexer_id: string;
|
|
1856
|
+
document_kind: string;
|
|
1857
|
+
reader_goal: string;
|
|
1858
|
+
artifact_kind: string;
|
|
1859
|
+
blocks: ({
|
|
1860
|
+
block_id: string;
|
|
1861
|
+
layer: "deterministic-block";
|
|
1862
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1863
|
+
fact_refs: string[];
|
|
1864
|
+
} | {
|
|
1865
|
+
evidence_refs: string[];
|
|
1866
|
+
block_id: string;
|
|
1867
|
+
layer: "semantic-prose";
|
|
1868
|
+
markdown: string;
|
|
1869
|
+
})[];
|
|
1870
|
+
}[];
|
|
1871
|
+
};
|
|
1026
1872
|
}[];
|
|
1027
1873
|
}>]>;
|
|
1028
1874
|
payload_digest: z.ZodString;
|
|
@@ -1053,51 +1899,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1053
1899
|
}>;
|
|
1054
1900
|
}, "strict", z.ZodTypeAny, {
|
|
1055
1901
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1056
|
-
layer_ref: string;
|
|
1057
|
-
layer_integrity: string;
|
|
1058
|
-
phase: "pre-authority" | "post-author";
|
|
1059
|
-
target_refs: string[];
|
|
1060
1902
|
payload: {
|
|
1061
1903
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1062
1904
|
facts: {
|
|
1063
1905
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1064
|
-
target_ref: string;
|
|
1065
|
-
fact_id: string;
|
|
1066
1906
|
evidence_refs: {
|
|
1067
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1068
1907
|
ref: string;
|
|
1908
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1069
1909
|
source_digest: string;
|
|
1070
1910
|
}[];
|
|
1911
|
+
target_ref: string;
|
|
1912
|
+
fact_id: string;
|
|
1071
1913
|
}[];
|
|
1072
1914
|
} | {
|
|
1073
1915
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1074
1916
|
variables: {
|
|
1075
1917
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1076
|
-
target_ref: string;
|
|
1077
1918
|
evidence_refs: {
|
|
1078
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1079
1919
|
ref: string;
|
|
1920
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1080
1921
|
source_digest: string;
|
|
1081
1922
|
}[];
|
|
1082
1923
|
template_id: string;
|
|
1924
|
+
target_ref: string;
|
|
1083
1925
|
variable_id: string;
|
|
1084
1926
|
}[];
|
|
1085
1927
|
} | {
|
|
1086
1928
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1087
1929
|
proposals: {
|
|
1088
1930
|
evidence_refs: {
|
|
1089
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1090
1931
|
ref: string;
|
|
1932
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1091
1933
|
source_digest: string;
|
|
1092
1934
|
}[];
|
|
1093
1935
|
composer_ref: string;
|
|
1094
1936
|
target_node_ref: string;
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1937
|
+
artifact: {
|
|
1938
|
+
artifact_kind: string;
|
|
1939
|
+
representation: "template";
|
|
1940
|
+
template_id: string;
|
|
1941
|
+
variables: Record<string, {
|
|
1942
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1943
|
+
evidence_refs: string[];
|
|
1944
|
+
fact_refs: string[];
|
|
1945
|
+
}>;
|
|
1946
|
+
section_projections: {
|
|
1947
|
+
section_key: string;
|
|
1948
|
+
owner_indexer_id: string;
|
|
1949
|
+
document_kind: string;
|
|
1950
|
+
reader_goal: string;
|
|
1951
|
+
artifact_kind: string;
|
|
1952
|
+
}[];
|
|
1953
|
+
artifact_id: string;
|
|
1954
|
+
artifact_policy_variant: string;
|
|
1955
|
+
} | {
|
|
1956
|
+
artifact_kind: string;
|
|
1957
|
+
representation: "sections";
|
|
1958
|
+
artifact_id: string;
|
|
1959
|
+
artifact_policy_variant: string;
|
|
1960
|
+
sections: {
|
|
1961
|
+
section_key: string;
|
|
1962
|
+
owner_indexer_id: string;
|
|
1963
|
+
document_kind: string;
|
|
1964
|
+
reader_goal: string;
|
|
1965
|
+
artifact_kind: string;
|
|
1966
|
+
blocks: ({
|
|
1967
|
+
block_id: string;
|
|
1968
|
+
layer: "deterministic-block";
|
|
1969
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
1970
|
+
fact_refs: string[];
|
|
1971
|
+
} | {
|
|
1972
|
+
evidence_refs: string[];
|
|
1973
|
+
block_id: string;
|
|
1974
|
+
layer: "semantic-prose";
|
|
1975
|
+
markdown: string;
|
|
1976
|
+
})[];
|
|
1977
|
+
}[];
|
|
1978
|
+
};
|
|
1099
1979
|
}[];
|
|
1100
1980
|
};
|
|
1981
|
+
layer_ref: string;
|
|
1982
|
+
layer_integrity: string;
|
|
1983
|
+
phase: "pre-authority" | "post-author";
|
|
1984
|
+
target_refs: string[];
|
|
1101
1985
|
fragment_digest: string;
|
|
1102
1986
|
payload_digest: string;
|
|
1103
1987
|
materialization_receipt: {
|
|
@@ -1112,51 +1996,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1112
1996
|
composer_ref?: string | undefined;
|
|
1113
1997
|
}, {
|
|
1114
1998
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1115
|
-
layer_ref: string;
|
|
1116
|
-
layer_integrity: string;
|
|
1117
|
-
phase: "pre-authority" | "post-author";
|
|
1118
|
-
target_refs: string[];
|
|
1119
1999
|
payload: {
|
|
1120
2000
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1121
2001
|
facts: {
|
|
1122
2002
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1123
|
-
target_ref: string;
|
|
1124
|
-
fact_id: string;
|
|
1125
2003
|
evidence_refs: {
|
|
1126
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1127
2004
|
ref: string;
|
|
2005
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1128
2006
|
source_digest: string;
|
|
1129
2007
|
}[];
|
|
2008
|
+
target_ref: string;
|
|
2009
|
+
fact_id: string;
|
|
1130
2010
|
}[];
|
|
1131
2011
|
} | {
|
|
1132
2012
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1133
2013
|
variables: {
|
|
1134
2014
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1135
|
-
target_ref: string;
|
|
1136
2015
|
evidence_refs: {
|
|
1137
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1138
2016
|
ref: string;
|
|
2017
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1139
2018
|
source_digest: string;
|
|
1140
2019
|
}[];
|
|
1141
2020
|
template_id: string;
|
|
2021
|
+
target_ref: string;
|
|
1142
2022
|
variable_id: string;
|
|
1143
2023
|
}[];
|
|
1144
2024
|
} | {
|
|
1145
2025
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1146
2026
|
proposals: {
|
|
1147
2027
|
evidence_refs: {
|
|
1148
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1149
2028
|
ref: string;
|
|
2029
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1150
2030
|
source_digest: string;
|
|
1151
2031
|
}[];
|
|
1152
2032
|
composer_ref: string;
|
|
1153
2033
|
target_node_ref: string;
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
2034
|
+
artifact: {
|
|
2035
|
+
artifact_kind: string;
|
|
2036
|
+
representation: "template";
|
|
2037
|
+
template_id: string;
|
|
2038
|
+
variables: Record<string, {
|
|
2039
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2040
|
+
evidence_refs: string[];
|
|
2041
|
+
fact_refs: string[];
|
|
2042
|
+
}>;
|
|
2043
|
+
section_projections: {
|
|
2044
|
+
section_key: string;
|
|
2045
|
+
owner_indexer_id: string;
|
|
2046
|
+
document_kind: string;
|
|
2047
|
+
reader_goal: string;
|
|
2048
|
+
artifact_kind: string;
|
|
2049
|
+
}[];
|
|
2050
|
+
artifact_id: string;
|
|
2051
|
+
artifact_policy_variant: string;
|
|
2052
|
+
} | {
|
|
2053
|
+
artifact_kind: string;
|
|
2054
|
+
representation: "sections";
|
|
2055
|
+
artifact_id: string;
|
|
2056
|
+
artifact_policy_variant: string;
|
|
2057
|
+
sections: {
|
|
2058
|
+
section_key: string;
|
|
2059
|
+
owner_indexer_id: string;
|
|
2060
|
+
document_kind: string;
|
|
2061
|
+
reader_goal: string;
|
|
2062
|
+
artifact_kind: string;
|
|
2063
|
+
blocks: ({
|
|
2064
|
+
block_id: string;
|
|
2065
|
+
layer: "deterministic-block";
|
|
2066
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2067
|
+
fact_refs: string[];
|
|
2068
|
+
} | {
|
|
2069
|
+
evidence_refs: string[];
|
|
2070
|
+
block_id: string;
|
|
2071
|
+
layer: "semantic-prose";
|
|
2072
|
+
markdown: string;
|
|
2073
|
+
})[];
|
|
2074
|
+
}[];
|
|
2075
|
+
};
|
|
1158
2076
|
}[];
|
|
1159
2077
|
};
|
|
2078
|
+
layer_ref: string;
|
|
2079
|
+
layer_integrity: string;
|
|
2080
|
+
phase: "pre-authority" | "post-author";
|
|
2081
|
+
target_refs: string[];
|
|
1160
2082
|
fragment_digest: string;
|
|
1161
2083
|
payload_digest: string;
|
|
1162
2084
|
materialization_receipt: {
|
|
@@ -1199,51 +2121,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1199
2121
|
};
|
|
1200
2122
|
fragments: {
|
|
1201
2123
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1202
|
-
layer_ref: string;
|
|
1203
|
-
layer_integrity: string;
|
|
1204
|
-
phase: "pre-authority" | "post-author";
|
|
1205
|
-
target_refs: string[];
|
|
1206
2124
|
payload: {
|
|
1207
2125
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1208
2126
|
facts: {
|
|
1209
2127
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1210
|
-
target_ref: string;
|
|
1211
|
-
fact_id: string;
|
|
1212
2128
|
evidence_refs: {
|
|
1213
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1214
2129
|
ref: string;
|
|
2130
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1215
2131
|
source_digest: string;
|
|
1216
2132
|
}[];
|
|
2133
|
+
target_ref: string;
|
|
2134
|
+
fact_id: string;
|
|
1217
2135
|
}[];
|
|
1218
2136
|
} | {
|
|
1219
2137
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1220
2138
|
variables: {
|
|
1221
2139
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1222
|
-
target_ref: string;
|
|
1223
2140
|
evidence_refs: {
|
|
1224
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1225
2141
|
ref: string;
|
|
2142
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1226
2143
|
source_digest: string;
|
|
1227
2144
|
}[];
|
|
1228
2145
|
template_id: string;
|
|
2146
|
+
target_ref: string;
|
|
1229
2147
|
variable_id: string;
|
|
1230
2148
|
}[];
|
|
1231
2149
|
} | {
|
|
1232
2150
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1233
2151
|
proposals: {
|
|
1234
2152
|
evidence_refs: {
|
|
1235
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1236
2153
|
ref: string;
|
|
2154
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1237
2155
|
source_digest: string;
|
|
1238
2156
|
}[];
|
|
1239
2157
|
composer_ref: string;
|
|
1240
2158
|
target_node_ref: string;
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
2159
|
+
artifact: {
|
|
2160
|
+
artifact_kind: string;
|
|
2161
|
+
representation: "template";
|
|
2162
|
+
template_id: string;
|
|
2163
|
+
variables: Record<string, {
|
|
2164
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2165
|
+
evidence_refs: string[];
|
|
2166
|
+
fact_refs: string[];
|
|
2167
|
+
}>;
|
|
2168
|
+
section_projections: {
|
|
2169
|
+
section_key: string;
|
|
2170
|
+
owner_indexer_id: string;
|
|
2171
|
+
document_kind: string;
|
|
2172
|
+
reader_goal: string;
|
|
2173
|
+
artifact_kind: string;
|
|
2174
|
+
}[];
|
|
2175
|
+
artifact_id: string;
|
|
2176
|
+
artifact_policy_variant: string;
|
|
2177
|
+
} | {
|
|
2178
|
+
artifact_kind: string;
|
|
2179
|
+
representation: "sections";
|
|
2180
|
+
artifact_id: string;
|
|
2181
|
+
artifact_policy_variant: string;
|
|
2182
|
+
sections: {
|
|
2183
|
+
section_key: string;
|
|
2184
|
+
owner_indexer_id: string;
|
|
2185
|
+
document_kind: string;
|
|
2186
|
+
reader_goal: string;
|
|
2187
|
+
artifact_kind: string;
|
|
2188
|
+
blocks: ({
|
|
2189
|
+
block_id: string;
|
|
2190
|
+
layer: "deterministic-block";
|
|
2191
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2192
|
+
fact_refs: string[];
|
|
2193
|
+
} | {
|
|
2194
|
+
evidence_refs: string[];
|
|
2195
|
+
block_id: string;
|
|
2196
|
+
layer: "semantic-prose";
|
|
2197
|
+
markdown: string;
|
|
2198
|
+
})[];
|
|
2199
|
+
}[];
|
|
2200
|
+
};
|
|
1245
2201
|
}[];
|
|
1246
2202
|
};
|
|
2203
|
+
layer_ref: string;
|
|
2204
|
+
layer_integrity: string;
|
|
2205
|
+
phase: "pre-authority" | "post-author";
|
|
2206
|
+
target_refs: string[];
|
|
1247
2207
|
fragment_digest: string;
|
|
1248
2208
|
payload_digest: string;
|
|
1249
2209
|
materialization_receipt: {
|
|
@@ -1284,51 +2244,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1284
2244
|
};
|
|
1285
2245
|
fragments: {
|
|
1286
2246
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1287
|
-
layer_ref: string;
|
|
1288
|
-
layer_integrity: string;
|
|
1289
|
-
phase: "pre-authority" | "post-author";
|
|
1290
|
-
target_refs: string[];
|
|
1291
2247
|
payload: {
|
|
1292
2248
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1293
2249
|
facts: {
|
|
1294
2250
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1295
|
-
target_ref: string;
|
|
1296
|
-
fact_id: string;
|
|
1297
2251
|
evidence_refs: {
|
|
1298
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1299
2252
|
ref: string;
|
|
2253
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1300
2254
|
source_digest: string;
|
|
1301
2255
|
}[];
|
|
2256
|
+
target_ref: string;
|
|
2257
|
+
fact_id: string;
|
|
1302
2258
|
}[];
|
|
1303
2259
|
} | {
|
|
1304
2260
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1305
2261
|
variables: {
|
|
1306
2262
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1307
|
-
target_ref: string;
|
|
1308
2263
|
evidence_refs: {
|
|
1309
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1310
2264
|
ref: string;
|
|
2265
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1311
2266
|
source_digest: string;
|
|
1312
2267
|
}[];
|
|
1313
2268
|
template_id: string;
|
|
2269
|
+
target_ref: string;
|
|
1314
2270
|
variable_id: string;
|
|
1315
2271
|
}[];
|
|
1316
2272
|
} | {
|
|
1317
2273
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1318
2274
|
proposals: {
|
|
1319
2275
|
evidence_refs: {
|
|
1320
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1321
2276
|
ref: string;
|
|
2277
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1322
2278
|
source_digest: string;
|
|
1323
2279
|
}[];
|
|
1324
2280
|
composer_ref: string;
|
|
1325
2281
|
target_node_ref: string;
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
2282
|
+
artifact: {
|
|
2283
|
+
artifact_kind: string;
|
|
2284
|
+
representation: "template";
|
|
2285
|
+
template_id: string;
|
|
2286
|
+
variables: Record<string, {
|
|
2287
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2288
|
+
evidence_refs: string[];
|
|
2289
|
+
fact_refs: string[];
|
|
2290
|
+
}>;
|
|
2291
|
+
section_projections: {
|
|
2292
|
+
section_key: string;
|
|
2293
|
+
owner_indexer_id: string;
|
|
2294
|
+
document_kind: string;
|
|
2295
|
+
reader_goal: string;
|
|
2296
|
+
artifact_kind: string;
|
|
2297
|
+
}[];
|
|
2298
|
+
artifact_id: string;
|
|
2299
|
+
artifact_policy_variant: string;
|
|
2300
|
+
} | {
|
|
2301
|
+
artifact_kind: string;
|
|
2302
|
+
representation: "sections";
|
|
2303
|
+
artifact_id: string;
|
|
2304
|
+
artifact_policy_variant: string;
|
|
2305
|
+
sections: {
|
|
2306
|
+
section_key: string;
|
|
2307
|
+
owner_indexer_id: string;
|
|
2308
|
+
document_kind: string;
|
|
2309
|
+
reader_goal: string;
|
|
2310
|
+
artifact_kind: string;
|
|
2311
|
+
blocks: ({
|
|
2312
|
+
block_id: string;
|
|
2313
|
+
layer: "deterministic-block";
|
|
2314
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2315
|
+
fact_refs: string[];
|
|
2316
|
+
} | {
|
|
2317
|
+
evidence_refs: string[];
|
|
2318
|
+
block_id: string;
|
|
2319
|
+
layer: "semantic-prose";
|
|
2320
|
+
markdown: string;
|
|
2321
|
+
})[];
|
|
2322
|
+
}[];
|
|
2323
|
+
};
|
|
1330
2324
|
}[];
|
|
1331
2325
|
};
|
|
2326
|
+
layer_ref: string;
|
|
2327
|
+
layer_integrity: string;
|
|
2328
|
+
phase: "pre-authority" | "post-author";
|
|
2329
|
+
target_refs: string[];
|
|
1332
2330
|
fragment_digest: string;
|
|
1333
2331
|
payload_digest: string;
|
|
1334
2332
|
materialization_receipt: {
|
|
@@ -1434,51 +2432,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1434
2432
|
};
|
|
1435
2433
|
fragments: {
|
|
1436
2434
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1437
|
-
layer_ref: string;
|
|
1438
|
-
layer_integrity: string;
|
|
1439
|
-
phase: "pre-authority" | "post-author";
|
|
1440
|
-
target_refs: string[];
|
|
1441
2435
|
payload: {
|
|
1442
2436
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1443
2437
|
facts: {
|
|
1444
2438
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1445
|
-
target_ref: string;
|
|
1446
|
-
fact_id: string;
|
|
1447
2439
|
evidence_refs: {
|
|
1448
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1449
2440
|
ref: string;
|
|
2441
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1450
2442
|
source_digest: string;
|
|
1451
2443
|
}[];
|
|
2444
|
+
target_ref: string;
|
|
2445
|
+
fact_id: string;
|
|
1452
2446
|
}[];
|
|
1453
2447
|
} | {
|
|
1454
2448
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1455
2449
|
variables: {
|
|
1456
2450
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1457
|
-
target_ref: string;
|
|
1458
2451
|
evidence_refs: {
|
|
1459
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1460
2452
|
ref: string;
|
|
2453
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1461
2454
|
source_digest: string;
|
|
1462
2455
|
}[];
|
|
1463
2456
|
template_id: string;
|
|
2457
|
+
target_ref: string;
|
|
1464
2458
|
variable_id: string;
|
|
1465
2459
|
}[];
|
|
1466
2460
|
} | {
|
|
1467
2461
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1468
2462
|
proposals: {
|
|
1469
2463
|
evidence_refs: {
|
|
1470
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1471
2464
|
ref: string;
|
|
2465
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1472
2466
|
source_digest: string;
|
|
1473
2467
|
}[];
|
|
1474
2468
|
composer_ref: string;
|
|
1475
2469
|
target_node_ref: string;
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
2470
|
+
artifact: {
|
|
2471
|
+
artifact_kind: string;
|
|
2472
|
+
representation: "template";
|
|
2473
|
+
template_id: string;
|
|
2474
|
+
variables: Record<string, {
|
|
2475
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2476
|
+
evidence_refs: string[];
|
|
2477
|
+
fact_refs: string[];
|
|
2478
|
+
}>;
|
|
2479
|
+
section_projections: {
|
|
2480
|
+
section_key: string;
|
|
2481
|
+
owner_indexer_id: string;
|
|
2482
|
+
document_kind: string;
|
|
2483
|
+
reader_goal: string;
|
|
2484
|
+
artifact_kind: string;
|
|
2485
|
+
}[];
|
|
2486
|
+
artifact_id: string;
|
|
2487
|
+
artifact_policy_variant: string;
|
|
2488
|
+
} | {
|
|
2489
|
+
artifact_kind: string;
|
|
2490
|
+
representation: "sections";
|
|
2491
|
+
artifact_id: string;
|
|
2492
|
+
artifact_policy_variant: string;
|
|
2493
|
+
sections: {
|
|
2494
|
+
section_key: string;
|
|
2495
|
+
owner_indexer_id: string;
|
|
2496
|
+
document_kind: string;
|
|
2497
|
+
reader_goal: string;
|
|
2498
|
+
artifact_kind: string;
|
|
2499
|
+
blocks: ({
|
|
2500
|
+
block_id: string;
|
|
2501
|
+
layer: "deterministic-block";
|
|
2502
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2503
|
+
fact_refs: string[];
|
|
2504
|
+
} | {
|
|
2505
|
+
evidence_refs: string[];
|
|
2506
|
+
block_id: string;
|
|
2507
|
+
layer: "semantic-prose";
|
|
2508
|
+
markdown: string;
|
|
2509
|
+
})[];
|
|
2510
|
+
}[];
|
|
2511
|
+
};
|
|
1480
2512
|
}[];
|
|
1481
2513
|
};
|
|
2514
|
+
layer_ref: string;
|
|
2515
|
+
layer_integrity: string;
|
|
2516
|
+
phase: "pre-authority" | "post-author";
|
|
2517
|
+
target_refs: string[];
|
|
1482
2518
|
fragment_digest: string;
|
|
1483
2519
|
payload_digest: string;
|
|
1484
2520
|
materialization_receipt: {
|
|
@@ -1546,51 +2582,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1546
2582
|
};
|
|
1547
2583
|
fragments: {
|
|
1548
2584
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1549
|
-
layer_ref: string;
|
|
1550
|
-
layer_integrity: string;
|
|
1551
|
-
phase: "pre-authority" | "post-author";
|
|
1552
|
-
target_refs: string[];
|
|
1553
2585
|
payload: {
|
|
1554
2586
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1555
2587
|
facts: {
|
|
1556
2588
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1557
|
-
target_ref: string;
|
|
1558
|
-
fact_id: string;
|
|
1559
2589
|
evidence_refs: {
|
|
1560
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1561
2590
|
ref: string;
|
|
2591
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1562
2592
|
source_digest: string;
|
|
1563
2593
|
}[];
|
|
2594
|
+
target_ref: string;
|
|
2595
|
+
fact_id: string;
|
|
1564
2596
|
}[];
|
|
1565
2597
|
} | {
|
|
1566
2598
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1567
2599
|
variables: {
|
|
1568
2600
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1569
|
-
target_ref: string;
|
|
1570
2601
|
evidence_refs: {
|
|
1571
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1572
2602
|
ref: string;
|
|
2603
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1573
2604
|
source_digest: string;
|
|
1574
2605
|
}[];
|
|
1575
2606
|
template_id: string;
|
|
2607
|
+
target_ref: string;
|
|
1576
2608
|
variable_id: string;
|
|
1577
2609
|
}[];
|
|
1578
2610
|
} | {
|
|
1579
2611
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1580
2612
|
proposals: {
|
|
1581
2613
|
evidence_refs: {
|
|
1582
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1583
2614
|
ref: string;
|
|
2615
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1584
2616
|
source_digest: string;
|
|
1585
2617
|
}[];
|
|
1586
2618
|
composer_ref: string;
|
|
1587
2619
|
target_node_ref: string;
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
2620
|
+
artifact: {
|
|
2621
|
+
artifact_kind: string;
|
|
2622
|
+
representation: "template";
|
|
2623
|
+
template_id: string;
|
|
2624
|
+
variables: Record<string, {
|
|
2625
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2626
|
+
evidence_refs: string[];
|
|
2627
|
+
fact_refs: string[];
|
|
2628
|
+
}>;
|
|
2629
|
+
section_projections: {
|
|
2630
|
+
section_key: string;
|
|
2631
|
+
owner_indexer_id: string;
|
|
2632
|
+
document_kind: string;
|
|
2633
|
+
reader_goal: string;
|
|
2634
|
+
artifact_kind: string;
|
|
2635
|
+
}[];
|
|
2636
|
+
artifact_id: string;
|
|
2637
|
+
artifact_policy_variant: string;
|
|
2638
|
+
} | {
|
|
2639
|
+
artifact_kind: string;
|
|
2640
|
+
representation: "sections";
|
|
2641
|
+
artifact_id: string;
|
|
2642
|
+
artifact_policy_variant: string;
|
|
2643
|
+
sections: {
|
|
2644
|
+
section_key: string;
|
|
2645
|
+
owner_indexer_id: string;
|
|
2646
|
+
document_kind: string;
|
|
2647
|
+
reader_goal: string;
|
|
2648
|
+
artifact_kind: string;
|
|
2649
|
+
blocks: ({
|
|
2650
|
+
block_id: string;
|
|
2651
|
+
layer: "deterministic-block";
|
|
2652
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2653
|
+
fact_refs: string[];
|
|
2654
|
+
} | {
|
|
2655
|
+
evidence_refs: string[];
|
|
2656
|
+
block_id: string;
|
|
2657
|
+
layer: "semantic-prose";
|
|
2658
|
+
markdown: string;
|
|
2659
|
+
})[];
|
|
2660
|
+
}[];
|
|
2661
|
+
};
|
|
1592
2662
|
}[];
|
|
1593
2663
|
};
|
|
2664
|
+
layer_ref: string;
|
|
2665
|
+
layer_integrity: string;
|
|
2666
|
+
phase: "pre-authority" | "post-author";
|
|
2667
|
+
target_refs: string[];
|
|
1594
2668
|
fragment_digest: string;
|
|
1595
2669
|
payload_digest: string;
|
|
1596
2670
|
materialization_receipt: {
|
|
@@ -1658,51 +2732,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1658
2732
|
};
|
|
1659
2733
|
fragments: {
|
|
1660
2734
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1661
|
-
layer_ref: string;
|
|
1662
|
-
layer_integrity: string;
|
|
1663
|
-
phase: "pre-authority" | "post-author";
|
|
1664
|
-
target_refs: string[];
|
|
1665
2735
|
payload: {
|
|
1666
2736
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1667
2737
|
facts: {
|
|
1668
2738
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1669
|
-
target_ref: string;
|
|
1670
|
-
fact_id: string;
|
|
1671
2739
|
evidence_refs: {
|
|
1672
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1673
2740
|
ref: string;
|
|
2741
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1674
2742
|
source_digest: string;
|
|
1675
2743
|
}[];
|
|
2744
|
+
target_ref: string;
|
|
2745
|
+
fact_id: string;
|
|
1676
2746
|
}[];
|
|
1677
2747
|
} | {
|
|
1678
2748
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1679
2749
|
variables: {
|
|
1680
2750
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1681
|
-
target_ref: string;
|
|
1682
2751
|
evidence_refs: {
|
|
1683
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1684
2752
|
ref: string;
|
|
2753
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1685
2754
|
source_digest: string;
|
|
1686
2755
|
}[];
|
|
1687
2756
|
template_id: string;
|
|
2757
|
+
target_ref: string;
|
|
1688
2758
|
variable_id: string;
|
|
1689
2759
|
}[];
|
|
1690
2760
|
} | {
|
|
1691
2761
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1692
2762
|
proposals: {
|
|
1693
2763
|
evidence_refs: {
|
|
1694
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1695
2764
|
ref: string;
|
|
2765
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1696
2766
|
source_digest: string;
|
|
1697
2767
|
}[];
|
|
1698
2768
|
composer_ref: string;
|
|
1699
2769
|
target_node_ref: string;
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
2770
|
+
artifact: {
|
|
2771
|
+
artifact_kind: string;
|
|
2772
|
+
representation: "template";
|
|
2773
|
+
template_id: string;
|
|
2774
|
+
variables: Record<string, {
|
|
2775
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2776
|
+
evidence_refs: string[];
|
|
2777
|
+
fact_refs: string[];
|
|
2778
|
+
}>;
|
|
2779
|
+
section_projections: {
|
|
2780
|
+
section_key: string;
|
|
2781
|
+
owner_indexer_id: string;
|
|
2782
|
+
document_kind: string;
|
|
2783
|
+
reader_goal: string;
|
|
2784
|
+
artifact_kind: string;
|
|
2785
|
+
}[];
|
|
2786
|
+
artifact_id: string;
|
|
2787
|
+
artifact_policy_variant: string;
|
|
2788
|
+
} | {
|
|
2789
|
+
artifact_kind: string;
|
|
2790
|
+
representation: "sections";
|
|
2791
|
+
artifact_id: string;
|
|
2792
|
+
artifact_policy_variant: string;
|
|
2793
|
+
sections: {
|
|
2794
|
+
section_key: string;
|
|
2795
|
+
owner_indexer_id: string;
|
|
2796
|
+
document_kind: string;
|
|
2797
|
+
reader_goal: string;
|
|
2798
|
+
artifact_kind: string;
|
|
2799
|
+
blocks: ({
|
|
2800
|
+
block_id: string;
|
|
2801
|
+
layer: "deterministic-block";
|
|
2802
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2803
|
+
fact_refs: string[];
|
|
2804
|
+
} | {
|
|
2805
|
+
evidence_refs: string[];
|
|
2806
|
+
block_id: string;
|
|
2807
|
+
layer: "semantic-prose";
|
|
2808
|
+
markdown: string;
|
|
2809
|
+
})[];
|
|
2810
|
+
}[];
|
|
2811
|
+
};
|
|
1704
2812
|
}[];
|
|
1705
2813
|
};
|
|
2814
|
+
layer_ref: string;
|
|
2815
|
+
layer_integrity: string;
|
|
2816
|
+
phase: "pre-authority" | "post-author";
|
|
2817
|
+
target_refs: string[];
|
|
1706
2818
|
fragment_digest: string;
|
|
1707
2819
|
payload_digest: string;
|
|
1708
2820
|
materialization_receipt: {
|
|
@@ -1770,51 +2882,89 @@ export declare const indexerPostAuthorRunLedgerSchema: z.ZodEffects<z.ZodObject<
|
|
|
1770
2882
|
};
|
|
1771
2883
|
fragments: {
|
|
1772
2884
|
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1773
|
-
layer_ref: string;
|
|
1774
|
-
layer_integrity: string;
|
|
1775
|
-
phase: "pre-authority" | "post-author";
|
|
1776
|
-
target_refs: string[];
|
|
1777
2885
|
payload: {
|
|
1778
2886
|
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1779
2887
|
facts: {
|
|
1780
2888
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1781
|
-
target_ref: string;
|
|
1782
|
-
fact_id: string;
|
|
1783
2889
|
evidence_refs: {
|
|
1784
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1785
2890
|
ref: string;
|
|
2891
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1786
2892
|
source_digest: string;
|
|
1787
2893
|
}[];
|
|
2894
|
+
target_ref: string;
|
|
2895
|
+
fact_id: string;
|
|
1788
2896
|
}[];
|
|
1789
2897
|
} | {
|
|
1790
2898
|
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1791
2899
|
variables: {
|
|
1792
2900
|
value: import("./indexerRegistry.js").IndexerJson;
|
|
1793
|
-
target_ref: string;
|
|
1794
2901
|
evidence_refs: {
|
|
1795
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1796
2902
|
ref: string;
|
|
2903
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1797
2904
|
source_digest: string;
|
|
1798
2905
|
}[];
|
|
1799
2906
|
template_id: string;
|
|
2907
|
+
target_ref: string;
|
|
1800
2908
|
variable_id: string;
|
|
1801
2909
|
}[];
|
|
1802
2910
|
} | {
|
|
1803
2911
|
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1804
2912
|
proposals: {
|
|
1805
2913
|
evidence_refs: {
|
|
1806
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1807
2914
|
ref: string;
|
|
2915
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1808
2916
|
source_digest: string;
|
|
1809
2917
|
}[];
|
|
1810
2918
|
composer_ref: string;
|
|
1811
2919
|
target_node_ref: string;
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
2920
|
+
artifact: {
|
|
2921
|
+
artifact_kind: string;
|
|
2922
|
+
representation: "template";
|
|
2923
|
+
template_id: string;
|
|
2924
|
+
variables: Record<string, {
|
|
2925
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
2926
|
+
evidence_refs: string[];
|
|
2927
|
+
fact_refs: string[];
|
|
2928
|
+
}>;
|
|
2929
|
+
section_projections: {
|
|
2930
|
+
section_key: string;
|
|
2931
|
+
owner_indexer_id: string;
|
|
2932
|
+
document_kind: string;
|
|
2933
|
+
reader_goal: string;
|
|
2934
|
+
artifact_kind: string;
|
|
2935
|
+
}[];
|
|
2936
|
+
artifact_id: string;
|
|
2937
|
+
artifact_policy_variant: string;
|
|
2938
|
+
} | {
|
|
2939
|
+
artifact_kind: string;
|
|
2940
|
+
representation: "sections";
|
|
2941
|
+
artifact_id: string;
|
|
2942
|
+
artifact_policy_variant: string;
|
|
2943
|
+
sections: {
|
|
2944
|
+
section_key: string;
|
|
2945
|
+
owner_indexer_id: string;
|
|
2946
|
+
document_kind: string;
|
|
2947
|
+
reader_goal: string;
|
|
2948
|
+
artifact_kind: string;
|
|
2949
|
+
blocks: ({
|
|
2950
|
+
block_id: string;
|
|
2951
|
+
layer: "deterministic-block";
|
|
2952
|
+
renderer: "bullet-list" | "key-value-table" | "json-code-block";
|
|
2953
|
+
fact_refs: string[];
|
|
2954
|
+
} | {
|
|
2955
|
+
evidence_refs: string[];
|
|
2956
|
+
block_id: string;
|
|
2957
|
+
layer: "semantic-prose";
|
|
2958
|
+
markdown: string;
|
|
2959
|
+
})[];
|
|
2960
|
+
}[];
|
|
2961
|
+
};
|
|
1816
2962
|
}[];
|
|
1817
2963
|
};
|
|
2964
|
+
layer_ref: string;
|
|
2965
|
+
layer_integrity: string;
|
|
2966
|
+
phase: "pre-authority" | "post-author";
|
|
2967
|
+
target_refs: string[];
|
|
1818
2968
|
fragment_digest: string;
|
|
1819
2969
|
payload_digest: string;
|
|
1820
2970
|
materialization_receipt: {
|
|
@@ -1878,6 +3028,10 @@ export declare function failIndexerPostAuthorRun(input: {
|
|
|
1878
3028
|
reason_code: string;
|
|
1879
3029
|
dependency_digests: readonly string[];
|
|
1880
3030
|
}): IndexerPostAuthorRunLedger;
|
|
3031
|
+
export declare function retryFailedIndexerPostAuthorRuns(input: {
|
|
3032
|
+
plan: IndexerPostAuthorPlan;
|
|
3033
|
+
ledger: unknown;
|
|
3034
|
+
}): IndexerPostAuthorRunLedger;
|
|
1881
3035
|
export declare const indexerPostAuthorStatusSchema: z.ZodObject<{
|
|
1882
3036
|
protocol: z.ZodLiteral<"context.indexer.post-author-status/v1">;
|
|
1883
3037
|
workset_set_digest: z.ZodString;
|