@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
|
@@ -1,431 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type IndexerMaterializedLayerFragment } from "./indexerLayerComposition.js";
|
|
3
|
-
import type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protocol: z.ZodLiteral<"context.subject-key/v1">;
|
|
8
|
-
namespace: z.ZodEffects<z.ZodString, string, string>;
|
|
9
|
-
kind: z.ZodEffects<z.ZodString, string, string>;
|
|
10
|
-
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
11
|
-
}, "strict", z.ZodTypeAny, {
|
|
12
|
-
kind: string;
|
|
13
|
-
protocol: "context.subject-key/v1";
|
|
14
|
-
namespace: string;
|
|
15
|
-
local_key: string;
|
|
16
|
-
}, {
|
|
17
|
-
kind: string;
|
|
18
|
-
protocol: "context.subject-key/v1";
|
|
19
|
-
namespace: string;
|
|
20
|
-
local_key: string;
|
|
21
|
-
}>;
|
|
22
|
-
fact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
23
|
-
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
24
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
25
|
-
ref: z.ZodString;
|
|
26
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
27
|
-
source_digest: z.ZodString;
|
|
28
|
-
}, "strict", z.ZodTypeAny, {
|
|
29
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
30
|
-
ref: string;
|
|
31
|
-
source_digest: string;
|
|
32
|
-
}, {
|
|
33
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
34
|
-
ref: string;
|
|
35
|
-
source_digest: string;
|
|
36
|
-
}>, "many">, {
|
|
37
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
38
|
-
ref: string;
|
|
39
|
-
source_digest: string;
|
|
40
|
-
}[], {
|
|
41
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
42
|
-
ref: string;
|
|
43
|
-
source_digest: string;
|
|
44
|
-
}[]>;
|
|
45
|
-
}, "strict", z.ZodTypeAny, {
|
|
46
|
-
value: IndexerJson;
|
|
47
|
-
evidence_refs: {
|
|
48
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
49
|
-
ref: string;
|
|
50
|
-
source_digest: string;
|
|
51
|
-
}[];
|
|
52
|
-
fact_ref: string;
|
|
53
|
-
fact_kind: string;
|
|
54
|
-
subject_key: {
|
|
55
|
-
kind: string;
|
|
56
|
-
protocol: "context.subject-key/v1";
|
|
57
|
-
namespace: string;
|
|
58
|
-
local_key: string;
|
|
59
|
-
};
|
|
60
|
-
}, {
|
|
61
|
-
value: IndexerJson;
|
|
62
|
-
evidence_refs: {
|
|
63
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
64
|
-
ref: string;
|
|
65
|
-
source_digest: string;
|
|
66
|
-
}[];
|
|
67
|
-
fact_ref: string;
|
|
68
|
-
fact_kind: string;
|
|
69
|
-
subject_key: {
|
|
70
|
-
kind: string;
|
|
71
|
-
protocol: "context.subject-key/v1";
|
|
72
|
-
namespace: string;
|
|
73
|
-
local_key: string;
|
|
74
|
-
};
|
|
75
|
-
}>;
|
|
76
|
-
declare const primaryArtifactSchema: z.ZodObject<{
|
|
77
|
-
artifact_ref: z.ZodString;
|
|
78
|
-
subject_key: z.ZodObject<{
|
|
79
|
-
protocol: z.ZodLiteral<"context.subject-key/v1">;
|
|
80
|
-
namespace: z.ZodEffects<z.ZodString, string, string>;
|
|
81
|
-
kind: z.ZodEffects<z.ZodString, string, string>;
|
|
82
|
-
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
83
|
-
}, "strict", z.ZodTypeAny, {
|
|
84
|
-
kind: string;
|
|
85
|
-
protocol: "context.subject-key/v1";
|
|
86
|
-
namespace: string;
|
|
87
|
-
local_key: string;
|
|
88
|
-
}, {
|
|
89
|
-
kind: string;
|
|
90
|
-
protocol: "context.subject-key/v1";
|
|
91
|
-
namespace: string;
|
|
92
|
-
local_key: string;
|
|
93
|
-
}>;
|
|
94
|
-
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
95
|
-
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
96
|
-
variables: z.ZodRecord<z.ZodString, z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>>;
|
|
97
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
98
|
-
ref: z.ZodString;
|
|
99
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
100
|
-
source_digest: z.ZodString;
|
|
101
|
-
}, "strict", z.ZodTypeAny, {
|
|
102
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
103
|
-
ref: string;
|
|
104
|
-
source_digest: string;
|
|
105
|
-
}, {
|
|
106
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
107
|
-
ref: string;
|
|
108
|
-
source_digest: string;
|
|
109
|
-
}>, "many">, {
|
|
110
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
111
|
-
ref: string;
|
|
112
|
-
source_digest: string;
|
|
113
|
-
}[], {
|
|
114
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
115
|
-
ref: string;
|
|
116
|
-
source_digest: string;
|
|
117
|
-
}[]>;
|
|
118
|
-
}, "strict", z.ZodTypeAny, {
|
|
119
|
-
evidence_refs: {
|
|
120
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
121
|
-
ref: string;
|
|
122
|
-
source_digest: string;
|
|
123
|
-
}[];
|
|
124
|
-
artifact_kind: string;
|
|
125
|
-
artifact_policy_variant: string;
|
|
126
|
-
variables: Record<string, IndexerJson>;
|
|
127
|
-
subject_key: {
|
|
128
|
-
kind: string;
|
|
129
|
-
protocol: "context.subject-key/v1";
|
|
130
|
-
namespace: string;
|
|
131
|
-
local_key: string;
|
|
132
|
-
};
|
|
133
|
-
artifact_ref: string;
|
|
134
|
-
}, {
|
|
135
|
-
evidence_refs: {
|
|
136
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
137
|
-
ref: string;
|
|
138
|
-
source_digest: string;
|
|
139
|
-
}[];
|
|
140
|
-
artifact_kind: string;
|
|
141
|
-
artifact_policy_variant: string;
|
|
142
|
-
variables: Record<string, IndexerJson>;
|
|
143
|
-
subject_key: {
|
|
144
|
-
kind: string;
|
|
145
|
-
protocol: "context.subject-key/v1";
|
|
146
|
-
namespace: string;
|
|
147
|
-
local_key: string;
|
|
148
|
-
};
|
|
149
|
-
artifact_ref: string;
|
|
150
|
-
}>;
|
|
151
|
-
export declare const indexerPrimaryResultViewSchema: z.ZodObject<{
|
|
152
|
-
protocol: z.ZodLiteral<"context.indexer.primary-result-view/v1">;
|
|
153
|
-
workset_digest: z.ZodString;
|
|
154
|
-
primary_result_digest: z.ZodString;
|
|
155
|
-
primary_result_protocol: z.ZodLiteral<"context.indexer.main-result/v1">;
|
|
156
|
-
facts: z.ZodArray<z.ZodObject<{
|
|
157
|
-
fact_ref: z.ZodString;
|
|
158
|
-
subject_key: z.ZodObject<{
|
|
159
|
-
protocol: z.ZodLiteral<"context.subject-key/v1">;
|
|
160
|
-
namespace: z.ZodEffects<z.ZodString, string, string>;
|
|
161
|
-
kind: z.ZodEffects<z.ZodString, string, string>;
|
|
162
|
-
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
163
|
-
}, "strict", z.ZodTypeAny, {
|
|
164
|
-
kind: string;
|
|
165
|
-
protocol: "context.subject-key/v1";
|
|
166
|
-
namespace: string;
|
|
167
|
-
local_key: string;
|
|
168
|
-
}, {
|
|
169
|
-
kind: string;
|
|
170
|
-
protocol: "context.subject-key/v1";
|
|
171
|
-
namespace: string;
|
|
172
|
-
local_key: string;
|
|
173
|
-
}>;
|
|
174
|
-
fact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
175
|
-
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
176
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
177
|
-
ref: z.ZodString;
|
|
178
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
179
|
-
source_digest: z.ZodString;
|
|
180
|
-
}, "strict", z.ZodTypeAny, {
|
|
181
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
182
|
-
ref: string;
|
|
183
|
-
source_digest: string;
|
|
184
|
-
}, {
|
|
185
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
186
|
-
ref: string;
|
|
187
|
-
source_digest: string;
|
|
188
|
-
}>, "many">, {
|
|
189
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
190
|
-
ref: string;
|
|
191
|
-
source_digest: string;
|
|
192
|
-
}[], {
|
|
193
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
194
|
-
ref: string;
|
|
195
|
-
source_digest: string;
|
|
196
|
-
}[]>;
|
|
197
|
-
}, "strict", z.ZodTypeAny, {
|
|
198
|
-
value: IndexerJson;
|
|
199
|
-
evidence_refs: {
|
|
200
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
201
|
-
ref: string;
|
|
202
|
-
source_digest: string;
|
|
203
|
-
}[];
|
|
204
|
-
fact_ref: string;
|
|
205
|
-
fact_kind: string;
|
|
206
|
-
subject_key: {
|
|
207
|
-
kind: string;
|
|
208
|
-
protocol: "context.subject-key/v1";
|
|
209
|
-
namespace: string;
|
|
210
|
-
local_key: string;
|
|
211
|
-
};
|
|
212
|
-
}, {
|
|
213
|
-
value: IndexerJson;
|
|
214
|
-
evidence_refs: {
|
|
215
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
216
|
-
ref: string;
|
|
217
|
-
source_digest: string;
|
|
218
|
-
}[];
|
|
219
|
-
fact_ref: string;
|
|
220
|
-
fact_kind: string;
|
|
221
|
-
subject_key: {
|
|
222
|
-
kind: string;
|
|
223
|
-
protocol: "context.subject-key/v1";
|
|
224
|
-
namespace: string;
|
|
225
|
-
local_key: string;
|
|
226
|
-
};
|
|
227
|
-
}>, "many">;
|
|
228
|
-
artifacts: z.ZodArray<z.ZodObject<{
|
|
229
|
-
artifact_ref: z.ZodString;
|
|
230
|
-
subject_key: z.ZodObject<{
|
|
231
|
-
protocol: z.ZodLiteral<"context.subject-key/v1">;
|
|
232
|
-
namespace: z.ZodEffects<z.ZodString, string, string>;
|
|
233
|
-
kind: z.ZodEffects<z.ZodString, string, string>;
|
|
234
|
-
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
235
|
-
}, "strict", z.ZodTypeAny, {
|
|
236
|
-
kind: string;
|
|
237
|
-
protocol: "context.subject-key/v1";
|
|
238
|
-
namespace: string;
|
|
239
|
-
local_key: string;
|
|
240
|
-
}, {
|
|
241
|
-
kind: string;
|
|
242
|
-
protocol: "context.subject-key/v1";
|
|
243
|
-
namespace: string;
|
|
244
|
-
local_key: string;
|
|
245
|
-
}>;
|
|
246
|
-
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
247
|
-
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
248
|
-
variables: z.ZodRecord<z.ZodString, z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>>;
|
|
249
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
250
|
-
ref: z.ZodString;
|
|
251
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
252
|
-
source_digest: z.ZodString;
|
|
253
|
-
}, "strict", z.ZodTypeAny, {
|
|
254
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
255
|
-
ref: string;
|
|
256
|
-
source_digest: string;
|
|
257
|
-
}, {
|
|
258
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
259
|
-
ref: string;
|
|
260
|
-
source_digest: string;
|
|
261
|
-
}>, "many">, {
|
|
262
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
263
|
-
ref: string;
|
|
264
|
-
source_digest: string;
|
|
265
|
-
}[], {
|
|
266
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
267
|
-
ref: string;
|
|
268
|
-
source_digest: string;
|
|
269
|
-
}[]>;
|
|
270
|
-
}, "strict", z.ZodTypeAny, {
|
|
271
|
-
evidence_refs: {
|
|
272
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
273
|
-
ref: string;
|
|
274
|
-
source_digest: string;
|
|
275
|
-
}[];
|
|
276
|
-
artifact_kind: string;
|
|
277
|
-
artifact_policy_variant: string;
|
|
278
|
-
variables: Record<string, IndexerJson>;
|
|
279
|
-
subject_key: {
|
|
280
|
-
kind: string;
|
|
281
|
-
protocol: "context.subject-key/v1";
|
|
282
|
-
namespace: string;
|
|
283
|
-
local_key: string;
|
|
284
|
-
};
|
|
285
|
-
artifact_ref: string;
|
|
286
|
-
}, {
|
|
287
|
-
evidence_refs: {
|
|
288
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
289
|
-
ref: string;
|
|
290
|
-
source_digest: string;
|
|
291
|
-
}[];
|
|
292
|
-
artifact_kind: string;
|
|
293
|
-
artifact_policy_variant: string;
|
|
294
|
-
variables: Record<string, IndexerJson>;
|
|
295
|
-
subject_key: {
|
|
296
|
-
kind: string;
|
|
297
|
-
protocol: "context.subject-key/v1";
|
|
298
|
-
namespace: string;
|
|
299
|
-
local_key: string;
|
|
300
|
-
};
|
|
301
|
-
artifact_ref: string;
|
|
302
|
-
}>, "many">;
|
|
303
|
-
view_digest: z.ZodString;
|
|
304
|
-
materialization_receipt: z.ZodObject<{
|
|
305
|
-
protocol: z.ZodLiteral<"context.indexer.primary-result-view-materialization-receipt/v1">;
|
|
306
|
-
workset_digest: z.ZodString;
|
|
307
|
-
primary_result_digest: z.ZodString;
|
|
308
|
-
view_digest: z.ZodString;
|
|
309
|
-
validator_contract_digest: z.ZodString;
|
|
310
|
-
}, "strict", z.ZodTypeAny, {
|
|
311
|
-
protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
|
|
312
|
-
workset_digest: string;
|
|
313
|
-
validator_contract_digest: string;
|
|
314
|
-
view_digest: string;
|
|
315
|
-
primary_result_digest: string;
|
|
316
|
-
}, {
|
|
317
|
-
protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
|
|
318
|
-
workset_digest: string;
|
|
319
|
-
validator_contract_digest: string;
|
|
320
|
-
view_digest: string;
|
|
321
|
-
primary_result_digest: string;
|
|
322
|
-
}>;
|
|
323
|
-
}, "strict", z.ZodTypeAny, {
|
|
324
|
-
protocol: "context.indexer.primary-result-view/v1";
|
|
325
|
-
facts: {
|
|
326
|
-
value: IndexerJson;
|
|
327
|
-
evidence_refs: {
|
|
328
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
329
|
-
ref: string;
|
|
330
|
-
source_digest: string;
|
|
331
|
-
}[];
|
|
332
|
-
fact_ref: string;
|
|
333
|
-
fact_kind: string;
|
|
334
|
-
subject_key: {
|
|
335
|
-
kind: string;
|
|
336
|
-
protocol: "context.subject-key/v1";
|
|
337
|
-
namespace: string;
|
|
338
|
-
local_key: string;
|
|
339
|
-
};
|
|
340
|
-
}[];
|
|
341
|
-
workset_digest: string;
|
|
342
|
-
materialization_receipt: {
|
|
343
|
-
protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
|
|
344
|
-
workset_digest: string;
|
|
345
|
-
validator_contract_digest: string;
|
|
346
|
-
view_digest: string;
|
|
347
|
-
primary_result_digest: string;
|
|
348
|
-
};
|
|
349
|
-
view_digest: string;
|
|
350
|
-
artifacts: {
|
|
351
|
-
evidence_refs: {
|
|
352
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
353
|
-
ref: string;
|
|
354
|
-
source_digest: string;
|
|
355
|
-
}[];
|
|
356
|
-
artifact_kind: string;
|
|
357
|
-
artifact_policy_variant: string;
|
|
358
|
-
variables: Record<string, IndexerJson>;
|
|
359
|
-
subject_key: {
|
|
360
|
-
kind: string;
|
|
361
|
-
protocol: "context.subject-key/v1";
|
|
362
|
-
namespace: string;
|
|
363
|
-
local_key: string;
|
|
364
|
-
};
|
|
365
|
-
artifact_ref: string;
|
|
366
|
-
}[];
|
|
367
|
-
primary_result_digest: string;
|
|
368
|
-
primary_result_protocol: "context.indexer.main-result/v1";
|
|
369
|
-
}, {
|
|
370
|
-
protocol: "context.indexer.primary-result-view/v1";
|
|
371
|
-
facts: {
|
|
372
|
-
value: IndexerJson;
|
|
373
|
-
evidence_refs: {
|
|
374
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
375
|
-
ref: string;
|
|
376
|
-
source_digest: string;
|
|
377
|
-
}[];
|
|
378
|
-
fact_ref: string;
|
|
379
|
-
fact_kind: string;
|
|
380
|
-
subject_key: {
|
|
381
|
-
kind: string;
|
|
382
|
-
protocol: "context.subject-key/v1";
|
|
383
|
-
namespace: string;
|
|
384
|
-
local_key: string;
|
|
385
|
-
};
|
|
386
|
-
}[];
|
|
387
|
-
workset_digest: string;
|
|
388
|
-
materialization_receipt: {
|
|
389
|
-
protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
|
|
390
|
-
workset_digest: string;
|
|
391
|
-
validator_contract_digest: string;
|
|
392
|
-
view_digest: string;
|
|
393
|
-
primary_result_digest: string;
|
|
394
|
-
};
|
|
395
|
-
view_digest: string;
|
|
396
|
-
artifacts: {
|
|
397
|
-
evidence_refs: {
|
|
398
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
399
|
-
ref: string;
|
|
400
|
-
source_digest: string;
|
|
401
|
-
}[];
|
|
402
|
-
artifact_kind: string;
|
|
403
|
-
artifact_policy_variant: string;
|
|
404
|
-
variables: Record<string, IndexerJson>;
|
|
405
|
-
subject_key: {
|
|
406
|
-
kind: string;
|
|
407
|
-
protocol: "context.subject-key/v1";
|
|
408
|
-
namespace: string;
|
|
409
|
-
local_key: string;
|
|
410
|
-
};
|
|
411
|
-
artifact_ref: string;
|
|
412
|
-
}[];
|
|
413
|
-
primary_result_digest: string;
|
|
414
|
-
primary_result_protocol: "context.indexer.main-result/v1";
|
|
415
|
-
}>;
|
|
416
|
-
export type IndexerPrimaryFactView = z.infer<typeof primaryFactSchema>;
|
|
417
|
-
export type IndexerPrimaryArtifactView = z.infer<typeof primaryArtifactSchema>;
|
|
418
|
-
export type IndexerPrimaryResultView = z.infer<typeof indexerPrimaryResultViewSchema>;
|
|
419
|
-
type PrimaryResultViewContent = Omit<IndexerPrimaryResultView, "view_digest" | "materialization_receipt">;
|
|
420
|
-
export declare function indexerPrimaryResultViewDigest(view: PrimaryResultViewContent): string;
|
|
421
|
-
export declare function materializeIndexerPrimaryResultView(input: {
|
|
422
|
-
workset_digest: string;
|
|
423
|
-
primary_result_digest: string;
|
|
424
|
-
facts: readonly IndexerPrimaryFactView[];
|
|
425
|
-
artifacts: readonly IndexerPrimaryArtifactView[];
|
|
426
|
-
validator_contract_digest: string;
|
|
427
|
-
}): IndexerPrimaryResultView;
|
|
428
|
-
export declare function validateIndexerPrimaryResultView(value: unknown): IndexerPrimaryResultView;
|
|
3
|
+
import { indexerComposedResultEnvelopeSchema, indexerComposerInvocationReceiptSchema, materializeIndexerEffectiveArtifactSet, type IndexerComposedResultEnvelope, type IndexerComposerInvocationReceipt, type IndexerEffectiveArtifactSet } from "./indexerEffectiveArtifact.js";
|
|
4
|
+
import { indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, validateIndexerPrimaryResultView, type IndexerPrimaryArtifactView, type IndexerPrimaryFactView, type IndexerPrimaryResultView } from "./indexerPrimaryResultView.js";
|
|
5
|
+
export { indexerComposedResultEnvelopeSchema, indexerComposerInvocationReceiptSchema, indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerEffectiveArtifactSet, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, validateIndexerPrimaryResultView, };
|
|
6
|
+
export type { IndexerComposedResultEnvelope, IndexerComposerInvocationReceipt, IndexerEffectiveArtifactSet, IndexerPrimaryArtifactView, IndexerPrimaryFactView, IndexerPrimaryResultView, };
|
|
429
7
|
declare const composerSelectionSchema: z.ZodObject<{
|
|
430
8
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
431
9
|
provider: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -760,10 +338,10 @@ export declare const indexerPostAuthorWorksetSchema: z.ZodObject<{
|
|
|
760
338
|
author_workset_digest: string;
|
|
761
339
|
primary_result_digest: string;
|
|
762
340
|
composer_selection_entry_digest: string;
|
|
341
|
+
primary_result_view_digest: string;
|
|
763
342
|
target_layer_ref: string;
|
|
764
343
|
target_layer_integrity: string;
|
|
765
344
|
target_bundle_digest: string;
|
|
766
|
-
primary_result_view_digest: string;
|
|
767
345
|
current_profile_binding_digest: string;
|
|
768
346
|
composer_execution_fingerprint: string;
|
|
769
347
|
allowed_target_refs: string[];
|
|
@@ -775,10 +353,10 @@ export declare const indexerPostAuthorWorksetSchema: z.ZodObject<{
|
|
|
775
353
|
author_workset_digest: string;
|
|
776
354
|
primary_result_digest: string;
|
|
777
355
|
composer_selection_entry_digest: string;
|
|
356
|
+
primary_result_view_digest: string;
|
|
778
357
|
target_layer_ref: string;
|
|
779
358
|
target_layer_integrity: string;
|
|
780
359
|
target_bundle_digest: string;
|
|
781
|
-
primary_result_view_digest: string;
|
|
782
360
|
current_profile_binding_digest: string;
|
|
783
361
|
composer_execution_fingerprint: string;
|
|
784
362
|
allowed_target_refs: string[];
|
|
@@ -789,6 +367,8 @@ export declare function indexerPostAuthorWorksetDigest(workset: Omit<IndexerPost
|
|
|
789
367
|
export declare const indexerPostAuthorWorksetSetSchema: z.ZodObject<{
|
|
790
368
|
protocol: z.ZodLiteral<"context.indexer.post-author-workset-set/v1">;
|
|
791
369
|
workset_set_digest: z.ZodString;
|
|
370
|
+
author_workset_digest: z.ZodString;
|
|
371
|
+
primary_result_digest: z.ZodString;
|
|
792
372
|
effective_composer_set_digest: z.ZodString;
|
|
793
373
|
primary_result_view_digest: z.ZodOptional<z.ZodString>;
|
|
794
374
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -812,6 +392,8 @@ export declare const indexerPostAuthorWorksetSetSchema: z.ZodObject<{
|
|
|
812
392
|
workset_digest: string;
|
|
813
393
|
composer_selection_entry_digest: string;
|
|
814
394
|
}[];
|
|
395
|
+
author_workset_digest: string;
|
|
396
|
+
primary_result_digest: string;
|
|
815
397
|
effective_composer_set_digest: string;
|
|
816
398
|
primary_result_view_digest?: string | undefined;
|
|
817
399
|
}, {
|
|
@@ -822,6 +404,8 @@ export declare const indexerPostAuthorWorksetSetSchema: z.ZodObject<{
|
|
|
822
404
|
workset_digest: string;
|
|
823
405
|
composer_selection_entry_digest: string;
|
|
824
406
|
}[];
|
|
407
|
+
author_workset_digest: string;
|
|
408
|
+
primary_result_digest: string;
|
|
825
409
|
effective_composer_set_digest: string;
|
|
826
410
|
primary_result_view_digest?: string | undefined;
|
|
827
411
|
}>;
|
|
@@ -879,10 +463,10 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
879
463
|
author_workset_digest: string;
|
|
880
464
|
primary_result_digest: string;
|
|
881
465
|
composer_selection_entry_digest: string;
|
|
466
|
+
primary_result_view_digest: string;
|
|
882
467
|
target_layer_ref: string;
|
|
883
468
|
target_layer_integrity: string;
|
|
884
469
|
target_bundle_digest: string;
|
|
885
|
-
primary_result_view_digest: string;
|
|
886
470
|
current_profile_binding_digest: string;
|
|
887
471
|
composer_execution_fingerprint: string;
|
|
888
472
|
allowed_target_refs: string[];
|
|
@@ -894,10 +478,10 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
894
478
|
author_workset_digest: string;
|
|
895
479
|
primary_result_digest: string;
|
|
896
480
|
composer_selection_entry_digest: string;
|
|
481
|
+
primary_result_view_digest: string;
|
|
897
482
|
target_layer_ref: string;
|
|
898
483
|
target_layer_integrity: string;
|
|
899
484
|
target_bundle_digest: string;
|
|
900
|
-
primary_result_view_digest: string;
|
|
901
485
|
current_profile_binding_digest: string;
|
|
902
486
|
composer_execution_fingerprint: string;
|
|
903
487
|
allowed_target_refs: string[];
|
|
@@ -920,68 +504,68 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
920
504
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
921
505
|
}, "strict", z.ZodTypeAny, {
|
|
922
506
|
kind: string;
|
|
923
|
-
protocol: "context.subject-key/v1";
|
|
924
507
|
namespace: string;
|
|
508
|
+
protocol: "context.subject-key/v1";
|
|
925
509
|
local_key: string;
|
|
926
510
|
}, {
|
|
927
511
|
kind: string;
|
|
928
|
-
protocol: "context.subject-key/v1";
|
|
929
512
|
namespace: string;
|
|
513
|
+
protocol: "context.subject-key/v1";
|
|
930
514
|
local_key: string;
|
|
931
515
|
}>;
|
|
932
516
|
fact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
933
|
-
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
517
|
+
value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
|
|
934
518
|
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
935
519
|
ref: z.ZodString;
|
|
936
520
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
937
521
|
source_digest: z.ZodString;
|
|
938
522
|
}, "strict", z.ZodTypeAny, {
|
|
939
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
940
523
|
ref: string;
|
|
524
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
941
525
|
source_digest: string;
|
|
942
526
|
}, {
|
|
943
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
944
527
|
ref: string;
|
|
528
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
945
529
|
source_digest: string;
|
|
946
530
|
}>, "many">, {
|
|
947
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
948
531
|
ref: string;
|
|
532
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
949
533
|
source_digest: string;
|
|
950
534
|
}[], {
|
|
951
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
952
535
|
ref: string;
|
|
536
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
953
537
|
source_digest: string;
|
|
954
538
|
}[]>;
|
|
955
539
|
}, "strict", z.ZodTypeAny, {
|
|
956
|
-
value: IndexerJson;
|
|
957
|
-
evidence_refs: {
|
|
958
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
959
|
-
ref: string;
|
|
960
|
-
source_digest: string;
|
|
961
|
-
}[];
|
|
540
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
962
541
|
fact_ref: string;
|
|
963
542
|
fact_kind: string;
|
|
964
543
|
subject_key: {
|
|
965
544
|
kind: string;
|
|
966
|
-
protocol: "context.subject-key/v1";
|
|
967
545
|
namespace: string;
|
|
546
|
+
protocol: "context.subject-key/v1";
|
|
968
547
|
local_key: string;
|
|
969
548
|
};
|
|
970
|
-
}, {
|
|
971
|
-
value: IndexerJson;
|
|
972
549
|
evidence_refs: {
|
|
973
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
974
550
|
ref: string;
|
|
551
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
975
552
|
source_digest: string;
|
|
976
553
|
}[];
|
|
554
|
+
}, {
|
|
555
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
977
556
|
fact_ref: string;
|
|
978
557
|
fact_kind: string;
|
|
979
558
|
subject_key: {
|
|
980
559
|
kind: string;
|
|
981
|
-
protocol: "context.subject-key/v1";
|
|
982
560
|
namespace: string;
|
|
561
|
+
protocol: "context.subject-key/v1";
|
|
983
562
|
local_key: string;
|
|
984
563
|
};
|
|
564
|
+
evidence_refs: {
|
|
565
|
+
ref: string;
|
|
566
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
567
|
+
source_digest: string;
|
|
568
|
+
}[];
|
|
985
569
|
}>, "many">;
|
|
986
570
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
987
571
|
artifact_ref: z.ZodString;
|
|
@@ -992,70 +576,70 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
992
576
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
993
577
|
}, "strict", z.ZodTypeAny, {
|
|
994
578
|
kind: string;
|
|
995
|
-
protocol: "context.subject-key/v1";
|
|
996
579
|
namespace: string;
|
|
580
|
+
protocol: "context.subject-key/v1";
|
|
997
581
|
local_key: string;
|
|
998
582
|
}, {
|
|
999
583
|
kind: string;
|
|
1000
|
-
protocol: "context.subject-key/v1";
|
|
1001
584
|
namespace: string;
|
|
585
|
+
protocol: "context.subject-key/v1";
|
|
1002
586
|
local_key: string;
|
|
1003
587
|
}>;
|
|
1004
588
|
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1005
589
|
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
1006
|
-
variables: z.ZodRecord<z.ZodString, z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>>;
|
|
590
|
+
variables: z.ZodRecord<z.ZodString, z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>>;
|
|
1007
591
|
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1008
592
|
ref: z.ZodString;
|
|
1009
593
|
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
1010
594
|
source_digest: z.ZodString;
|
|
1011
595
|
}, "strict", z.ZodTypeAny, {
|
|
1012
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1013
596
|
ref: string;
|
|
597
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1014
598
|
source_digest: string;
|
|
1015
599
|
}, {
|
|
1016
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1017
600
|
ref: string;
|
|
601
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1018
602
|
source_digest: string;
|
|
1019
603
|
}>, "many">, {
|
|
1020
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1021
604
|
ref: string;
|
|
605
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1022
606
|
source_digest: string;
|
|
1023
607
|
}[], {
|
|
1024
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1025
608
|
ref: string;
|
|
609
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1026
610
|
source_digest: string;
|
|
1027
611
|
}[]>;
|
|
1028
612
|
}, "strict", z.ZodTypeAny, {
|
|
613
|
+
subject_key: {
|
|
614
|
+
kind: string;
|
|
615
|
+
namespace: string;
|
|
616
|
+
protocol: "context.subject-key/v1";
|
|
617
|
+
local_key: string;
|
|
618
|
+
};
|
|
1029
619
|
evidence_refs: {
|
|
1030
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1031
620
|
ref: string;
|
|
621
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1032
622
|
source_digest: string;
|
|
1033
623
|
}[];
|
|
1034
624
|
artifact_kind: string;
|
|
625
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1035
626
|
artifact_policy_variant: string;
|
|
1036
|
-
|
|
627
|
+
artifact_ref: string;
|
|
628
|
+
}, {
|
|
1037
629
|
subject_key: {
|
|
1038
630
|
kind: string;
|
|
1039
|
-
protocol: "context.subject-key/v1";
|
|
1040
631
|
namespace: string;
|
|
632
|
+
protocol: "context.subject-key/v1";
|
|
1041
633
|
local_key: string;
|
|
1042
634
|
};
|
|
1043
|
-
artifact_ref: string;
|
|
1044
|
-
}, {
|
|
1045
635
|
evidence_refs: {
|
|
1046
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1047
636
|
ref: string;
|
|
637
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1048
638
|
source_digest: string;
|
|
1049
639
|
}[];
|
|
1050
640
|
artifact_kind: string;
|
|
641
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1051
642
|
artifact_policy_variant: string;
|
|
1052
|
-
variables: Record<string, IndexerJson>;
|
|
1053
|
-
subject_key: {
|
|
1054
|
-
kind: string;
|
|
1055
|
-
protocol: "context.subject-key/v1";
|
|
1056
|
-
namespace: string;
|
|
1057
|
-
local_key: string;
|
|
1058
|
-
};
|
|
1059
643
|
artifact_ref: string;
|
|
1060
644
|
}>, "many">;
|
|
1061
645
|
view_digest: z.ZodString;
|
|
@@ -1081,20 +665,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1081
665
|
}, "strict", z.ZodTypeAny, {
|
|
1082
666
|
protocol: "context.indexer.primary-result-view/v1";
|
|
1083
667
|
facts: {
|
|
1084
|
-
value: IndexerJson;
|
|
1085
|
-
evidence_refs: {
|
|
1086
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1087
|
-
ref: string;
|
|
1088
|
-
source_digest: string;
|
|
1089
|
-
}[];
|
|
668
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1090
669
|
fact_ref: string;
|
|
1091
670
|
fact_kind: string;
|
|
1092
671
|
subject_key: {
|
|
1093
672
|
kind: string;
|
|
1094
|
-
protocol: "context.subject-key/v1";
|
|
1095
673
|
namespace: string;
|
|
674
|
+
protocol: "context.subject-key/v1";
|
|
1096
675
|
local_key: string;
|
|
1097
676
|
};
|
|
677
|
+
evidence_refs: {
|
|
678
|
+
ref: string;
|
|
679
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
680
|
+
source_digest: string;
|
|
681
|
+
}[];
|
|
1098
682
|
}[];
|
|
1099
683
|
workset_digest: string;
|
|
1100
684
|
materialization_receipt: {
|
|
@@ -1106,20 +690,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1106
690
|
};
|
|
1107
691
|
view_digest: string;
|
|
1108
692
|
artifacts: {
|
|
693
|
+
subject_key: {
|
|
694
|
+
kind: string;
|
|
695
|
+
namespace: string;
|
|
696
|
+
protocol: "context.subject-key/v1";
|
|
697
|
+
local_key: string;
|
|
698
|
+
};
|
|
1109
699
|
evidence_refs: {
|
|
1110
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1111
700
|
ref: string;
|
|
701
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1112
702
|
source_digest: string;
|
|
1113
703
|
}[];
|
|
1114
704
|
artifact_kind: string;
|
|
705
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1115
706
|
artifact_policy_variant: string;
|
|
1116
|
-
variables: Record<string, IndexerJson>;
|
|
1117
|
-
subject_key: {
|
|
1118
|
-
kind: string;
|
|
1119
|
-
protocol: "context.subject-key/v1";
|
|
1120
|
-
namespace: string;
|
|
1121
|
-
local_key: string;
|
|
1122
|
-
};
|
|
1123
707
|
artifact_ref: string;
|
|
1124
708
|
}[];
|
|
1125
709
|
primary_result_digest: string;
|
|
@@ -1127,20 +711,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1127
711
|
}, {
|
|
1128
712
|
protocol: "context.indexer.primary-result-view/v1";
|
|
1129
713
|
facts: {
|
|
1130
|
-
value: IndexerJson;
|
|
1131
|
-
evidence_refs: {
|
|
1132
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1133
|
-
ref: string;
|
|
1134
|
-
source_digest: string;
|
|
1135
|
-
}[];
|
|
714
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1136
715
|
fact_ref: string;
|
|
1137
716
|
fact_kind: string;
|
|
1138
717
|
subject_key: {
|
|
1139
718
|
kind: string;
|
|
1140
|
-
protocol: "context.subject-key/v1";
|
|
1141
719
|
namespace: string;
|
|
720
|
+
protocol: "context.subject-key/v1";
|
|
1142
721
|
local_key: string;
|
|
1143
722
|
};
|
|
723
|
+
evidence_refs: {
|
|
724
|
+
ref: string;
|
|
725
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
726
|
+
source_digest: string;
|
|
727
|
+
}[];
|
|
1144
728
|
}[];
|
|
1145
729
|
workset_digest: string;
|
|
1146
730
|
materialization_receipt: {
|
|
@@ -1152,20 +736,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1152
736
|
};
|
|
1153
737
|
view_digest: string;
|
|
1154
738
|
artifacts: {
|
|
739
|
+
subject_key: {
|
|
740
|
+
kind: string;
|
|
741
|
+
namespace: string;
|
|
742
|
+
protocol: "context.subject-key/v1";
|
|
743
|
+
local_key: string;
|
|
744
|
+
};
|
|
1155
745
|
evidence_refs: {
|
|
1156
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1157
746
|
ref: string;
|
|
747
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1158
748
|
source_digest: string;
|
|
1159
749
|
}[];
|
|
1160
750
|
artifact_kind: string;
|
|
751
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1161
752
|
artifact_policy_variant: string;
|
|
1162
|
-
variables: Record<string, IndexerJson>;
|
|
1163
|
-
subject_key: {
|
|
1164
|
-
kind: string;
|
|
1165
|
-
protocol: "context.subject-key/v1";
|
|
1166
|
-
namespace: string;
|
|
1167
|
-
local_key: string;
|
|
1168
|
-
};
|
|
1169
753
|
artifact_ref: string;
|
|
1170
754
|
}[];
|
|
1171
755
|
primary_result_digest: string;
|
|
@@ -1173,10 +757,10 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1173
757
|
}>;
|
|
1174
758
|
request_digest: z.ZodString;
|
|
1175
759
|
}, "strict", z.ZodTypeAny, {
|
|
1176
|
-
operation: "main-index";
|
|
1177
760
|
protocol: "context.indexer.layer-fragment-request/v1";
|
|
1178
761
|
composer_ref: string;
|
|
1179
762
|
phase: "post-author";
|
|
763
|
+
operation: "main-index";
|
|
1180
764
|
request_digest: string;
|
|
1181
765
|
workset: {
|
|
1182
766
|
protocol: "context.indexer.post-author-workset/v1";
|
|
@@ -1185,10 +769,10 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1185
769
|
author_workset_digest: string;
|
|
1186
770
|
primary_result_digest: string;
|
|
1187
771
|
composer_selection_entry_digest: string;
|
|
772
|
+
primary_result_view_digest: string;
|
|
1188
773
|
target_layer_ref: string;
|
|
1189
774
|
target_layer_integrity: string;
|
|
1190
775
|
target_bundle_digest: string;
|
|
1191
|
-
primary_result_view_digest: string;
|
|
1192
776
|
current_profile_binding_digest: string;
|
|
1193
777
|
composer_execution_fingerprint: string;
|
|
1194
778
|
allowed_target_refs: string[];
|
|
@@ -1204,20 +788,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1204
788
|
primary_result_view: {
|
|
1205
789
|
protocol: "context.indexer.primary-result-view/v1";
|
|
1206
790
|
facts: {
|
|
1207
|
-
value: IndexerJson;
|
|
1208
|
-
evidence_refs: {
|
|
1209
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1210
|
-
ref: string;
|
|
1211
|
-
source_digest: string;
|
|
1212
|
-
}[];
|
|
791
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1213
792
|
fact_ref: string;
|
|
1214
793
|
fact_kind: string;
|
|
1215
794
|
subject_key: {
|
|
1216
795
|
kind: string;
|
|
1217
|
-
protocol: "context.subject-key/v1";
|
|
1218
796
|
namespace: string;
|
|
797
|
+
protocol: "context.subject-key/v1";
|
|
1219
798
|
local_key: string;
|
|
1220
799
|
};
|
|
800
|
+
evidence_refs: {
|
|
801
|
+
ref: string;
|
|
802
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
803
|
+
source_digest: string;
|
|
804
|
+
}[];
|
|
1221
805
|
}[];
|
|
1222
806
|
workset_digest: string;
|
|
1223
807
|
materialization_receipt: {
|
|
@@ -1229,30 +813,30 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1229
813
|
};
|
|
1230
814
|
view_digest: string;
|
|
1231
815
|
artifacts: {
|
|
816
|
+
subject_key: {
|
|
817
|
+
kind: string;
|
|
818
|
+
namespace: string;
|
|
819
|
+
protocol: "context.subject-key/v1";
|
|
820
|
+
local_key: string;
|
|
821
|
+
};
|
|
1232
822
|
evidence_refs: {
|
|
1233
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1234
823
|
ref: string;
|
|
824
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1235
825
|
source_digest: string;
|
|
1236
826
|
}[];
|
|
1237
827
|
artifact_kind: string;
|
|
828
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1238
829
|
artifact_policy_variant: string;
|
|
1239
|
-
variables: Record<string, IndexerJson>;
|
|
1240
|
-
subject_key: {
|
|
1241
|
-
kind: string;
|
|
1242
|
-
protocol: "context.subject-key/v1";
|
|
1243
|
-
namespace: string;
|
|
1244
|
-
local_key: string;
|
|
1245
|
-
};
|
|
1246
830
|
artifact_ref: string;
|
|
1247
831
|
}[];
|
|
1248
832
|
primary_result_digest: string;
|
|
1249
833
|
primary_result_protocol: "context.indexer.main-result/v1";
|
|
1250
834
|
};
|
|
1251
835
|
}, {
|
|
1252
|
-
operation: "main-index";
|
|
1253
836
|
protocol: "context.indexer.layer-fragment-request/v1";
|
|
1254
837
|
composer_ref: string;
|
|
1255
838
|
phase: "post-author";
|
|
839
|
+
operation: "main-index";
|
|
1256
840
|
request_digest: string;
|
|
1257
841
|
workset: {
|
|
1258
842
|
protocol: "context.indexer.post-author-workset/v1";
|
|
@@ -1261,10 +845,10 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1261
845
|
author_workset_digest: string;
|
|
1262
846
|
primary_result_digest: string;
|
|
1263
847
|
composer_selection_entry_digest: string;
|
|
848
|
+
primary_result_view_digest: string;
|
|
1264
849
|
target_layer_ref: string;
|
|
1265
850
|
target_layer_integrity: string;
|
|
1266
851
|
target_bundle_digest: string;
|
|
1267
|
-
primary_result_view_digest: string;
|
|
1268
852
|
current_profile_binding_digest: string;
|
|
1269
853
|
composer_execution_fingerprint: string;
|
|
1270
854
|
allowed_target_refs: string[];
|
|
@@ -1280,20 +864,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1280
864
|
primary_result_view: {
|
|
1281
865
|
protocol: "context.indexer.primary-result-view/v1";
|
|
1282
866
|
facts: {
|
|
1283
|
-
value: IndexerJson;
|
|
1284
|
-
evidence_refs: {
|
|
1285
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1286
|
-
ref: string;
|
|
1287
|
-
source_digest: string;
|
|
1288
|
-
}[];
|
|
867
|
+
value: import("./indexerRegistry.js").IndexerJson;
|
|
1289
868
|
fact_ref: string;
|
|
1290
869
|
fact_kind: string;
|
|
1291
870
|
subject_key: {
|
|
1292
871
|
kind: string;
|
|
1293
|
-
protocol: "context.subject-key/v1";
|
|
1294
872
|
namespace: string;
|
|
873
|
+
protocol: "context.subject-key/v1";
|
|
1295
874
|
local_key: string;
|
|
1296
875
|
};
|
|
876
|
+
evidence_refs: {
|
|
877
|
+
ref: string;
|
|
878
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
879
|
+
source_digest: string;
|
|
880
|
+
}[];
|
|
1297
881
|
}[];
|
|
1298
882
|
workset_digest: string;
|
|
1299
883
|
materialization_receipt: {
|
|
@@ -1305,20 +889,20 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
|
|
|
1305
889
|
};
|
|
1306
890
|
view_digest: string;
|
|
1307
891
|
artifacts: {
|
|
892
|
+
subject_key: {
|
|
893
|
+
kind: string;
|
|
894
|
+
namespace: string;
|
|
895
|
+
protocol: "context.subject-key/v1";
|
|
896
|
+
local_key: string;
|
|
897
|
+
};
|
|
1308
898
|
evidence_refs: {
|
|
1309
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1310
899
|
ref: string;
|
|
900
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1311
901
|
source_digest: string;
|
|
1312
902
|
}[];
|
|
1313
903
|
artifact_kind: string;
|
|
904
|
+
variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
|
|
1314
905
|
artifact_policy_variant: string;
|
|
1315
|
-
variables: Record<string, IndexerJson>;
|
|
1316
|
-
subject_key: {
|
|
1317
|
-
kind: string;
|
|
1318
|
-
protocol: "context.subject-key/v1";
|
|
1319
|
-
namespace: string;
|
|
1320
|
-
local_key: string;
|
|
1321
|
-
};
|
|
1322
906
|
artifact_ref: string;
|
|
1323
907
|
}[];
|
|
1324
908
|
primary_result_digest: string;
|
|
@@ -1354,41 +938,6 @@ export declare const indexerLayerFragmentRunResultSchema: z.ZodObject<{
|
|
|
1354
938
|
consumed_primary_result_view_digest?: string | undefined;
|
|
1355
939
|
}>;
|
|
1356
940
|
export type IndexerLayerFragmentRunResult = z.infer<typeof indexerLayerFragmentRunResultSchema>;
|
|
1357
|
-
export declare const indexerComposerInvocationReceiptSchema: z.ZodObject<{
|
|
1358
|
-
protocol: z.ZodLiteral<"context.indexer.composer-invocation-receipt/v1">;
|
|
1359
|
-
composer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1360
|
-
composer_selection_entry_digest: z.ZodString;
|
|
1361
|
-
layer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1362
|
-
layer_integrity: z.ZodString;
|
|
1363
|
-
request_digest: z.ZodString;
|
|
1364
|
-
primary_result_view_digest: z.ZodString;
|
|
1365
|
-
consumed_primary_result_view_digest: z.ZodString;
|
|
1366
|
-
result_digest: z.ZodString;
|
|
1367
|
-
fragment_digests: z.ZodArray<z.ZodString, "many">;
|
|
1368
|
-
}, "strict", z.ZodTypeAny, {
|
|
1369
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1370
|
-
composer_ref: string;
|
|
1371
|
-
layer_ref: string;
|
|
1372
|
-
layer_integrity: string;
|
|
1373
|
-
request_digest: string;
|
|
1374
|
-
result_digest: string;
|
|
1375
|
-
composer_selection_entry_digest: string;
|
|
1376
|
-
primary_result_view_digest: string;
|
|
1377
|
-
consumed_primary_result_view_digest: string;
|
|
1378
|
-
fragment_digests: string[];
|
|
1379
|
-
}, {
|
|
1380
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1381
|
-
composer_ref: string;
|
|
1382
|
-
layer_ref: string;
|
|
1383
|
-
layer_integrity: string;
|
|
1384
|
-
request_digest: string;
|
|
1385
|
-
result_digest: string;
|
|
1386
|
-
composer_selection_entry_digest: string;
|
|
1387
|
-
primary_result_view_digest: string;
|
|
1388
|
-
consumed_primary_result_view_digest: string;
|
|
1389
|
-
fragment_digests: string[];
|
|
1390
|
-
}>;
|
|
1391
|
-
export type IndexerComposerInvocationReceipt = z.infer<typeof indexerComposerInvocationReceiptSchema>;
|
|
1392
941
|
export declare function validateIndexerPostAuthorFragmentResult(input: {
|
|
1393
942
|
request: IndexerPostAuthorFragmentRequest;
|
|
1394
943
|
result: unknown;
|
|
@@ -1398,594 +947,6 @@ export declare function validateIndexerPostAuthorFragmentResult(input: {
|
|
|
1398
947
|
fragments: IndexerMaterializedLayerFragment[];
|
|
1399
948
|
receipt: IndexerComposerInvocationReceipt;
|
|
1400
949
|
};
|
|
1401
|
-
export declare const indexerComposedResultEnvelopeSchema: z.ZodObject<{
|
|
1402
|
-
protocol: z.ZodLiteral<"context.indexer.composed-result-envelope/v1">;
|
|
1403
|
-
workset_digest: z.ZodString;
|
|
1404
|
-
primary_result_digest: z.ZodString;
|
|
1405
|
-
primary_result_view_digest: z.ZodString;
|
|
1406
|
-
accepted_input_view_digest: z.ZodString;
|
|
1407
|
-
effective_composer_set_digest: z.ZodString;
|
|
1408
|
-
accepted_post_author_fragments: z.ZodArray<z.ZodObject<{
|
|
1409
|
-
fragment_digest: z.ZodString;
|
|
1410
|
-
layer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1411
|
-
layer_integrity: z.ZodString;
|
|
1412
|
-
composer_ref: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1413
|
-
phase: z.ZodEnum<["pre-authority", "post-author"]>;
|
|
1414
|
-
kind: z.ZodEnum<["fact-enrichment", "template-variables", "derived-artifact-proposal"]>;
|
|
1415
|
-
target_refs: z.ZodArray<z.ZodString, "many">;
|
|
1416
|
-
payload: z.ZodUnion<[z.ZodObject<{
|
|
1417
|
-
protocol: z.ZodLiteral<"context.indexer.fragment.fact-enrichment/v1">;
|
|
1418
|
-
facts: z.ZodArray<z.ZodObject<{
|
|
1419
|
-
target_ref: z.ZodString;
|
|
1420
|
-
fact_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1421
|
-
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
1422
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1423
|
-
ref: z.ZodString;
|
|
1424
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
1425
|
-
source_digest: z.ZodString;
|
|
1426
|
-
}, "strict", z.ZodTypeAny, {
|
|
1427
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1428
|
-
ref: string;
|
|
1429
|
-
source_digest: string;
|
|
1430
|
-
}, {
|
|
1431
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1432
|
-
ref: string;
|
|
1433
|
-
source_digest: string;
|
|
1434
|
-
}>, "many">, {
|
|
1435
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1436
|
-
ref: string;
|
|
1437
|
-
source_digest: string;
|
|
1438
|
-
}[], {
|
|
1439
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1440
|
-
ref: string;
|
|
1441
|
-
source_digest: string;
|
|
1442
|
-
}[]>;
|
|
1443
|
-
}, "strict", z.ZodTypeAny, {
|
|
1444
|
-
value: IndexerJson;
|
|
1445
|
-
target_ref: string;
|
|
1446
|
-
fact_id: string;
|
|
1447
|
-
evidence_refs: {
|
|
1448
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1449
|
-
ref: string;
|
|
1450
|
-
source_digest: string;
|
|
1451
|
-
}[];
|
|
1452
|
-
}, {
|
|
1453
|
-
value: IndexerJson;
|
|
1454
|
-
target_ref: string;
|
|
1455
|
-
fact_id: string;
|
|
1456
|
-
evidence_refs: {
|
|
1457
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1458
|
-
ref: string;
|
|
1459
|
-
source_digest: string;
|
|
1460
|
-
}[];
|
|
1461
|
-
}>, "many">;
|
|
1462
|
-
}, "strict", z.ZodTypeAny, {
|
|
1463
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1464
|
-
facts: {
|
|
1465
|
-
value: IndexerJson;
|
|
1466
|
-
target_ref: string;
|
|
1467
|
-
fact_id: string;
|
|
1468
|
-
evidence_refs: {
|
|
1469
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1470
|
-
ref: string;
|
|
1471
|
-
source_digest: string;
|
|
1472
|
-
}[];
|
|
1473
|
-
}[];
|
|
1474
|
-
}, {
|
|
1475
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1476
|
-
facts: {
|
|
1477
|
-
value: IndexerJson;
|
|
1478
|
-
target_ref: string;
|
|
1479
|
-
fact_id: string;
|
|
1480
|
-
evidence_refs: {
|
|
1481
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1482
|
-
ref: string;
|
|
1483
|
-
source_digest: string;
|
|
1484
|
-
}[];
|
|
1485
|
-
}[];
|
|
1486
|
-
}>, z.ZodObject<{
|
|
1487
|
-
protocol: z.ZodLiteral<"context.indexer.fragment.template-variables/v1">;
|
|
1488
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1489
|
-
target_ref: z.ZodString;
|
|
1490
|
-
template_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1491
|
-
variable_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1492
|
-
value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
|
|
1493
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1494
|
-
ref: z.ZodString;
|
|
1495
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
1496
|
-
source_digest: z.ZodString;
|
|
1497
|
-
}, "strict", z.ZodTypeAny, {
|
|
1498
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1499
|
-
ref: string;
|
|
1500
|
-
source_digest: string;
|
|
1501
|
-
}, {
|
|
1502
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1503
|
-
ref: string;
|
|
1504
|
-
source_digest: string;
|
|
1505
|
-
}>, "many">, {
|
|
1506
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1507
|
-
ref: string;
|
|
1508
|
-
source_digest: string;
|
|
1509
|
-
}[], {
|
|
1510
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1511
|
-
ref: string;
|
|
1512
|
-
source_digest: string;
|
|
1513
|
-
}[]>;
|
|
1514
|
-
}, "strict", z.ZodTypeAny, {
|
|
1515
|
-
value: IndexerJson;
|
|
1516
|
-
target_ref: string;
|
|
1517
|
-
evidence_refs: {
|
|
1518
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1519
|
-
ref: string;
|
|
1520
|
-
source_digest: string;
|
|
1521
|
-
}[];
|
|
1522
|
-
template_id: string;
|
|
1523
|
-
variable_id: string;
|
|
1524
|
-
}, {
|
|
1525
|
-
value: IndexerJson;
|
|
1526
|
-
target_ref: string;
|
|
1527
|
-
evidence_refs: {
|
|
1528
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1529
|
-
ref: string;
|
|
1530
|
-
source_digest: string;
|
|
1531
|
-
}[];
|
|
1532
|
-
template_id: string;
|
|
1533
|
-
variable_id: string;
|
|
1534
|
-
}>, "many">;
|
|
1535
|
-
}, "strict", z.ZodTypeAny, {
|
|
1536
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1537
|
-
variables: {
|
|
1538
|
-
value: IndexerJson;
|
|
1539
|
-
target_ref: string;
|
|
1540
|
-
evidence_refs: {
|
|
1541
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1542
|
-
ref: string;
|
|
1543
|
-
source_digest: string;
|
|
1544
|
-
}[];
|
|
1545
|
-
template_id: string;
|
|
1546
|
-
variable_id: string;
|
|
1547
|
-
}[];
|
|
1548
|
-
}, {
|
|
1549
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1550
|
-
variables: {
|
|
1551
|
-
value: IndexerJson;
|
|
1552
|
-
target_ref: string;
|
|
1553
|
-
evidence_refs: {
|
|
1554
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1555
|
-
ref: string;
|
|
1556
|
-
source_digest: string;
|
|
1557
|
-
}[];
|
|
1558
|
-
template_id: string;
|
|
1559
|
-
variable_id: string;
|
|
1560
|
-
}[];
|
|
1561
|
-
}>, z.ZodObject<{
|
|
1562
|
-
protocol: z.ZodLiteral<"context.indexer.fragment.derived-artifact-proposal/v1">;
|
|
1563
|
-
proposals: z.ZodArray<z.ZodObject<{
|
|
1564
|
-
composer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1565
|
-
target_node_ref: z.ZodString;
|
|
1566
|
-
artifact_kind: z.ZodEffects<z.ZodString, string, string>;
|
|
1567
|
-
artifact_key: z.ZodEffects<z.ZodString, string, string>;
|
|
1568
|
-
artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
|
|
1569
|
-
variables: z.ZodRecord<z.ZodString, z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>>;
|
|
1570
|
-
evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1571
|
-
ref: z.ZodString;
|
|
1572
|
-
kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
|
|
1573
|
-
source_digest: z.ZodString;
|
|
1574
|
-
}, "strict", z.ZodTypeAny, {
|
|
1575
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1576
|
-
ref: string;
|
|
1577
|
-
source_digest: string;
|
|
1578
|
-
}, {
|
|
1579
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1580
|
-
ref: string;
|
|
1581
|
-
source_digest: string;
|
|
1582
|
-
}>, "many">, {
|
|
1583
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1584
|
-
ref: string;
|
|
1585
|
-
source_digest: string;
|
|
1586
|
-
}[], {
|
|
1587
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1588
|
-
ref: string;
|
|
1589
|
-
source_digest: string;
|
|
1590
|
-
}[]>;
|
|
1591
|
-
}, "strict", z.ZodTypeAny, {
|
|
1592
|
-
evidence_refs: {
|
|
1593
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1594
|
-
ref: string;
|
|
1595
|
-
source_digest: string;
|
|
1596
|
-
}[];
|
|
1597
|
-
composer_ref: string;
|
|
1598
|
-
target_node_ref: string;
|
|
1599
|
-
artifact_kind: string;
|
|
1600
|
-
artifact_key: string;
|
|
1601
|
-
artifact_policy_variant: string;
|
|
1602
|
-
variables: Record<string, IndexerJson>;
|
|
1603
|
-
}, {
|
|
1604
|
-
evidence_refs: {
|
|
1605
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1606
|
-
ref: string;
|
|
1607
|
-
source_digest: string;
|
|
1608
|
-
}[];
|
|
1609
|
-
composer_ref: string;
|
|
1610
|
-
target_node_ref: string;
|
|
1611
|
-
artifact_kind: string;
|
|
1612
|
-
artifact_key: string;
|
|
1613
|
-
artifact_policy_variant: string;
|
|
1614
|
-
variables: Record<string, IndexerJson>;
|
|
1615
|
-
}>, "many">;
|
|
1616
|
-
}, "strict", z.ZodTypeAny, {
|
|
1617
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1618
|
-
proposals: {
|
|
1619
|
-
evidence_refs: {
|
|
1620
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1621
|
-
ref: string;
|
|
1622
|
-
source_digest: string;
|
|
1623
|
-
}[];
|
|
1624
|
-
composer_ref: string;
|
|
1625
|
-
target_node_ref: string;
|
|
1626
|
-
artifact_kind: string;
|
|
1627
|
-
artifact_key: string;
|
|
1628
|
-
artifact_policy_variant: string;
|
|
1629
|
-
variables: Record<string, IndexerJson>;
|
|
1630
|
-
}[];
|
|
1631
|
-
}, {
|
|
1632
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1633
|
-
proposals: {
|
|
1634
|
-
evidence_refs: {
|
|
1635
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1636
|
-
ref: string;
|
|
1637
|
-
source_digest: string;
|
|
1638
|
-
}[];
|
|
1639
|
-
composer_ref: string;
|
|
1640
|
-
target_node_ref: string;
|
|
1641
|
-
artifact_kind: string;
|
|
1642
|
-
artifact_key: string;
|
|
1643
|
-
artifact_policy_variant: string;
|
|
1644
|
-
variables: Record<string, IndexerJson>;
|
|
1645
|
-
}[];
|
|
1646
|
-
}>]>;
|
|
1647
|
-
payload_digest: z.ZodString;
|
|
1648
|
-
materialization_receipt: z.ZodObject<{
|
|
1649
|
-
protocol: z.ZodLiteral<"context.indexer.layer-fragment-materialization-receipt/v1">;
|
|
1650
|
-
fragment_digest: z.ZodString;
|
|
1651
|
-
payload_digest: z.ZodString;
|
|
1652
|
-
layer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1653
|
-
layer_integrity: z.ZodString;
|
|
1654
|
-
composer_ref: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1655
|
-
validator_contract_digest: z.ZodString;
|
|
1656
|
-
}, "strict", z.ZodTypeAny, {
|
|
1657
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1658
|
-
layer_ref: string;
|
|
1659
|
-
layer_integrity: string;
|
|
1660
|
-
fragment_digest: string;
|
|
1661
|
-
payload_digest: string;
|
|
1662
|
-
validator_contract_digest: string;
|
|
1663
|
-
composer_ref?: string | undefined;
|
|
1664
|
-
}, {
|
|
1665
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1666
|
-
layer_ref: string;
|
|
1667
|
-
layer_integrity: string;
|
|
1668
|
-
fragment_digest: string;
|
|
1669
|
-
payload_digest: string;
|
|
1670
|
-
validator_contract_digest: string;
|
|
1671
|
-
composer_ref?: string | undefined;
|
|
1672
|
-
}>;
|
|
1673
|
-
}, "strict", z.ZodTypeAny, {
|
|
1674
|
-
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1675
|
-
layer_ref: string;
|
|
1676
|
-
layer_integrity: string;
|
|
1677
|
-
phase: "pre-authority" | "post-author";
|
|
1678
|
-
target_refs: string[];
|
|
1679
|
-
payload: {
|
|
1680
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1681
|
-
facts: {
|
|
1682
|
-
value: IndexerJson;
|
|
1683
|
-
target_ref: string;
|
|
1684
|
-
fact_id: string;
|
|
1685
|
-
evidence_refs: {
|
|
1686
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1687
|
-
ref: string;
|
|
1688
|
-
source_digest: string;
|
|
1689
|
-
}[];
|
|
1690
|
-
}[];
|
|
1691
|
-
} | {
|
|
1692
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1693
|
-
variables: {
|
|
1694
|
-
value: IndexerJson;
|
|
1695
|
-
target_ref: string;
|
|
1696
|
-
evidence_refs: {
|
|
1697
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1698
|
-
ref: string;
|
|
1699
|
-
source_digest: string;
|
|
1700
|
-
}[];
|
|
1701
|
-
template_id: string;
|
|
1702
|
-
variable_id: string;
|
|
1703
|
-
}[];
|
|
1704
|
-
} | {
|
|
1705
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1706
|
-
proposals: {
|
|
1707
|
-
evidence_refs: {
|
|
1708
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1709
|
-
ref: string;
|
|
1710
|
-
source_digest: string;
|
|
1711
|
-
}[];
|
|
1712
|
-
composer_ref: string;
|
|
1713
|
-
target_node_ref: string;
|
|
1714
|
-
artifact_kind: string;
|
|
1715
|
-
artifact_key: string;
|
|
1716
|
-
artifact_policy_variant: string;
|
|
1717
|
-
variables: Record<string, IndexerJson>;
|
|
1718
|
-
}[];
|
|
1719
|
-
};
|
|
1720
|
-
fragment_digest: string;
|
|
1721
|
-
payload_digest: string;
|
|
1722
|
-
materialization_receipt: {
|
|
1723
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1724
|
-
layer_ref: string;
|
|
1725
|
-
layer_integrity: string;
|
|
1726
|
-
fragment_digest: string;
|
|
1727
|
-
payload_digest: string;
|
|
1728
|
-
validator_contract_digest: string;
|
|
1729
|
-
composer_ref?: string | undefined;
|
|
1730
|
-
};
|
|
1731
|
-
composer_ref?: string | undefined;
|
|
1732
|
-
}, {
|
|
1733
|
-
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1734
|
-
layer_ref: string;
|
|
1735
|
-
layer_integrity: string;
|
|
1736
|
-
phase: "pre-authority" | "post-author";
|
|
1737
|
-
target_refs: string[];
|
|
1738
|
-
payload: {
|
|
1739
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1740
|
-
facts: {
|
|
1741
|
-
value: IndexerJson;
|
|
1742
|
-
target_ref: string;
|
|
1743
|
-
fact_id: string;
|
|
1744
|
-
evidence_refs: {
|
|
1745
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1746
|
-
ref: string;
|
|
1747
|
-
source_digest: string;
|
|
1748
|
-
}[];
|
|
1749
|
-
}[];
|
|
1750
|
-
} | {
|
|
1751
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1752
|
-
variables: {
|
|
1753
|
-
value: IndexerJson;
|
|
1754
|
-
target_ref: string;
|
|
1755
|
-
evidence_refs: {
|
|
1756
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1757
|
-
ref: string;
|
|
1758
|
-
source_digest: string;
|
|
1759
|
-
}[];
|
|
1760
|
-
template_id: string;
|
|
1761
|
-
variable_id: string;
|
|
1762
|
-
}[];
|
|
1763
|
-
} | {
|
|
1764
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1765
|
-
proposals: {
|
|
1766
|
-
evidence_refs: {
|
|
1767
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1768
|
-
ref: string;
|
|
1769
|
-
source_digest: string;
|
|
1770
|
-
}[];
|
|
1771
|
-
composer_ref: string;
|
|
1772
|
-
target_node_ref: string;
|
|
1773
|
-
artifact_kind: string;
|
|
1774
|
-
artifact_key: string;
|
|
1775
|
-
artifact_policy_variant: string;
|
|
1776
|
-
variables: Record<string, IndexerJson>;
|
|
1777
|
-
}[];
|
|
1778
|
-
};
|
|
1779
|
-
fragment_digest: string;
|
|
1780
|
-
payload_digest: string;
|
|
1781
|
-
materialization_receipt: {
|
|
1782
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1783
|
-
layer_ref: string;
|
|
1784
|
-
layer_integrity: string;
|
|
1785
|
-
fragment_digest: string;
|
|
1786
|
-
payload_digest: string;
|
|
1787
|
-
validator_contract_digest: string;
|
|
1788
|
-
composer_ref?: string | undefined;
|
|
1789
|
-
};
|
|
1790
|
-
composer_ref?: string | undefined;
|
|
1791
|
-
}>, "many">;
|
|
1792
|
-
composer_invocation_receipts: z.ZodArray<z.ZodObject<{
|
|
1793
|
-
protocol: z.ZodLiteral<"context.indexer.composer-invocation-receipt/v1">;
|
|
1794
|
-
composer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1795
|
-
composer_selection_entry_digest: z.ZodString;
|
|
1796
|
-
layer_ref: z.ZodEffects<z.ZodString, string, string>;
|
|
1797
|
-
layer_integrity: z.ZodString;
|
|
1798
|
-
request_digest: z.ZodString;
|
|
1799
|
-
primary_result_view_digest: z.ZodString;
|
|
1800
|
-
consumed_primary_result_view_digest: z.ZodString;
|
|
1801
|
-
result_digest: z.ZodString;
|
|
1802
|
-
fragment_digests: z.ZodArray<z.ZodString, "many">;
|
|
1803
|
-
}, "strict", z.ZodTypeAny, {
|
|
1804
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1805
|
-
composer_ref: string;
|
|
1806
|
-
layer_ref: string;
|
|
1807
|
-
layer_integrity: string;
|
|
1808
|
-
request_digest: string;
|
|
1809
|
-
result_digest: string;
|
|
1810
|
-
composer_selection_entry_digest: string;
|
|
1811
|
-
primary_result_view_digest: string;
|
|
1812
|
-
consumed_primary_result_view_digest: string;
|
|
1813
|
-
fragment_digests: string[];
|
|
1814
|
-
}, {
|
|
1815
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1816
|
-
composer_ref: string;
|
|
1817
|
-
layer_ref: string;
|
|
1818
|
-
layer_integrity: string;
|
|
1819
|
-
request_digest: string;
|
|
1820
|
-
result_digest: string;
|
|
1821
|
-
composer_selection_entry_digest: string;
|
|
1822
|
-
primary_result_view_digest: string;
|
|
1823
|
-
consumed_primary_result_view_digest: string;
|
|
1824
|
-
fragment_digests: string[];
|
|
1825
|
-
}>, "many">;
|
|
1826
|
-
composition_fingerprint: z.ZodString;
|
|
1827
|
-
}, "strict", z.ZodTypeAny, {
|
|
1828
|
-
protocol: "context.indexer.composed-result-envelope/v1";
|
|
1829
|
-
workset_digest: string;
|
|
1830
|
-
primary_result_digest: string;
|
|
1831
|
-
effective_composer_set_digest: string;
|
|
1832
|
-
primary_result_view_digest: string;
|
|
1833
|
-
accepted_input_view_digest: string;
|
|
1834
|
-
accepted_post_author_fragments: {
|
|
1835
|
-
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1836
|
-
layer_ref: string;
|
|
1837
|
-
layer_integrity: string;
|
|
1838
|
-
phase: "pre-authority" | "post-author";
|
|
1839
|
-
target_refs: string[];
|
|
1840
|
-
payload: {
|
|
1841
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1842
|
-
facts: {
|
|
1843
|
-
value: IndexerJson;
|
|
1844
|
-
target_ref: string;
|
|
1845
|
-
fact_id: string;
|
|
1846
|
-
evidence_refs: {
|
|
1847
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1848
|
-
ref: string;
|
|
1849
|
-
source_digest: string;
|
|
1850
|
-
}[];
|
|
1851
|
-
}[];
|
|
1852
|
-
} | {
|
|
1853
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1854
|
-
variables: {
|
|
1855
|
-
value: IndexerJson;
|
|
1856
|
-
target_ref: string;
|
|
1857
|
-
evidence_refs: {
|
|
1858
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1859
|
-
ref: string;
|
|
1860
|
-
source_digest: string;
|
|
1861
|
-
}[];
|
|
1862
|
-
template_id: string;
|
|
1863
|
-
variable_id: string;
|
|
1864
|
-
}[];
|
|
1865
|
-
} | {
|
|
1866
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1867
|
-
proposals: {
|
|
1868
|
-
evidence_refs: {
|
|
1869
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1870
|
-
ref: string;
|
|
1871
|
-
source_digest: string;
|
|
1872
|
-
}[];
|
|
1873
|
-
composer_ref: string;
|
|
1874
|
-
target_node_ref: string;
|
|
1875
|
-
artifact_kind: string;
|
|
1876
|
-
artifact_key: string;
|
|
1877
|
-
artifact_policy_variant: string;
|
|
1878
|
-
variables: Record<string, IndexerJson>;
|
|
1879
|
-
}[];
|
|
1880
|
-
};
|
|
1881
|
-
fragment_digest: string;
|
|
1882
|
-
payload_digest: string;
|
|
1883
|
-
materialization_receipt: {
|
|
1884
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1885
|
-
layer_ref: string;
|
|
1886
|
-
layer_integrity: string;
|
|
1887
|
-
fragment_digest: string;
|
|
1888
|
-
payload_digest: string;
|
|
1889
|
-
validator_contract_digest: string;
|
|
1890
|
-
composer_ref?: string | undefined;
|
|
1891
|
-
};
|
|
1892
|
-
composer_ref?: string | undefined;
|
|
1893
|
-
}[];
|
|
1894
|
-
composer_invocation_receipts: {
|
|
1895
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1896
|
-
composer_ref: string;
|
|
1897
|
-
layer_ref: string;
|
|
1898
|
-
layer_integrity: string;
|
|
1899
|
-
request_digest: string;
|
|
1900
|
-
result_digest: string;
|
|
1901
|
-
composer_selection_entry_digest: string;
|
|
1902
|
-
primary_result_view_digest: string;
|
|
1903
|
-
consumed_primary_result_view_digest: string;
|
|
1904
|
-
fragment_digests: string[];
|
|
1905
|
-
}[];
|
|
1906
|
-
composition_fingerprint: string;
|
|
1907
|
-
}, {
|
|
1908
|
-
protocol: "context.indexer.composed-result-envelope/v1";
|
|
1909
|
-
workset_digest: string;
|
|
1910
|
-
primary_result_digest: string;
|
|
1911
|
-
effective_composer_set_digest: string;
|
|
1912
|
-
primary_result_view_digest: string;
|
|
1913
|
-
accepted_input_view_digest: string;
|
|
1914
|
-
accepted_post_author_fragments: {
|
|
1915
|
-
kind: "fact-enrichment" | "template-variables" | "derived-artifact-proposal";
|
|
1916
|
-
layer_ref: string;
|
|
1917
|
-
layer_integrity: string;
|
|
1918
|
-
phase: "pre-authority" | "post-author";
|
|
1919
|
-
target_refs: string[];
|
|
1920
|
-
payload: {
|
|
1921
|
-
protocol: "context.indexer.fragment.fact-enrichment/v1";
|
|
1922
|
-
facts: {
|
|
1923
|
-
value: IndexerJson;
|
|
1924
|
-
target_ref: string;
|
|
1925
|
-
fact_id: string;
|
|
1926
|
-
evidence_refs: {
|
|
1927
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1928
|
-
ref: string;
|
|
1929
|
-
source_digest: string;
|
|
1930
|
-
}[];
|
|
1931
|
-
}[];
|
|
1932
|
-
} | {
|
|
1933
|
-
protocol: "context.indexer.fragment.template-variables/v1";
|
|
1934
|
-
variables: {
|
|
1935
|
-
value: IndexerJson;
|
|
1936
|
-
target_ref: string;
|
|
1937
|
-
evidence_refs: {
|
|
1938
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1939
|
-
ref: string;
|
|
1940
|
-
source_digest: string;
|
|
1941
|
-
}[];
|
|
1942
|
-
template_id: string;
|
|
1943
|
-
variable_id: string;
|
|
1944
|
-
}[];
|
|
1945
|
-
} | {
|
|
1946
|
-
protocol: "context.indexer.fragment.derived-artifact-proposal/v1";
|
|
1947
|
-
proposals: {
|
|
1948
|
-
evidence_refs: {
|
|
1949
|
-
kind: "contract" | "code" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
1950
|
-
ref: string;
|
|
1951
|
-
source_digest: string;
|
|
1952
|
-
}[];
|
|
1953
|
-
composer_ref: string;
|
|
1954
|
-
target_node_ref: string;
|
|
1955
|
-
artifact_kind: string;
|
|
1956
|
-
artifact_key: string;
|
|
1957
|
-
artifact_policy_variant: string;
|
|
1958
|
-
variables: Record<string, IndexerJson>;
|
|
1959
|
-
}[];
|
|
1960
|
-
};
|
|
1961
|
-
fragment_digest: string;
|
|
1962
|
-
payload_digest: string;
|
|
1963
|
-
materialization_receipt: {
|
|
1964
|
-
protocol: "context.indexer.layer-fragment-materialization-receipt/v1";
|
|
1965
|
-
layer_ref: string;
|
|
1966
|
-
layer_integrity: string;
|
|
1967
|
-
fragment_digest: string;
|
|
1968
|
-
payload_digest: string;
|
|
1969
|
-
validator_contract_digest: string;
|
|
1970
|
-
composer_ref?: string | undefined;
|
|
1971
|
-
};
|
|
1972
|
-
composer_ref?: string | undefined;
|
|
1973
|
-
}[];
|
|
1974
|
-
composer_invocation_receipts: {
|
|
1975
|
-
protocol: "context.indexer.composer-invocation-receipt/v1";
|
|
1976
|
-
composer_ref: string;
|
|
1977
|
-
layer_ref: string;
|
|
1978
|
-
layer_integrity: string;
|
|
1979
|
-
request_digest: string;
|
|
1980
|
-
result_digest: string;
|
|
1981
|
-
composer_selection_entry_digest: string;
|
|
1982
|
-
primary_result_view_digest: string;
|
|
1983
|
-
consumed_primary_result_view_digest: string;
|
|
1984
|
-
fragment_digests: string[];
|
|
1985
|
-
}[];
|
|
1986
|
-
composition_fingerprint: string;
|
|
1987
|
-
}>;
|
|
1988
|
-
export type IndexerComposedResultEnvelope = z.infer<typeof indexerComposedResultEnvelopeSchema>;
|
|
1989
950
|
export declare function composeIndexerPostAuthorEnvelope(input: {
|
|
1990
951
|
workset_digest: string;
|
|
1991
952
|
primary_result_digest: string;
|
|
@@ -1997,4 +958,3 @@ export declare function composeIndexerPostAuthorEnvelope(input: {
|
|
|
1997
958
|
fragments: readonly IndexerMaterializedLayerFragment[];
|
|
1998
959
|
}[];
|
|
1999
960
|
}): IndexerComposedResultEnvelope;
|
|
2000
|
-
export {};
|