@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
package/indexerBenchmark.d.ts
CHANGED
|
@@ -217,15 +217,15 @@ export declare const indexerBenchmarkObservationSchema: z.ZodObject<{
|
|
|
217
217
|
actual_count: z.ZodNumber;
|
|
218
218
|
reason_codes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
219
219
|
}, "strict", z.ZodTypeAny, {
|
|
220
|
-
reason_codes: string[];
|
|
221
220
|
expected_min: number | null;
|
|
222
221
|
expected_max: number | null;
|
|
223
222
|
actual_count: number;
|
|
224
|
-
}, {
|
|
225
223
|
reason_codes: string[];
|
|
224
|
+
}, {
|
|
226
225
|
expected_min: number | null;
|
|
227
226
|
expected_max: number | null;
|
|
228
227
|
actual_count: number;
|
|
228
|
+
reason_codes: string[];
|
|
229
229
|
}>;
|
|
230
230
|
quality_negative_samples: z.ZodArray<z.ZodObject<{
|
|
231
231
|
category: z.ZodEnum<["missing", "duplicate", "placeholder", "representative-only-coverage", "fabricated-call-chain"]>;
|
|
@@ -368,10 +368,10 @@ export declare const indexerBenchmarkObservationSchema: z.ZodObject<{
|
|
|
368
368
|
actual_path: string | null;
|
|
369
369
|
}[];
|
|
370
370
|
page_deviation: {
|
|
371
|
-
reason_codes: string[];
|
|
372
371
|
expected_min: number | null;
|
|
373
372
|
expected_max: number | null;
|
|
374
373
|
actual_count: number;
|
|
374
|
+
reason_codes: string[];
|
|
375
375
|
};
|
|
376
376
|
quality_negative_samples: {
|
|
377
377
|
disposition: "blocking" | "cleared" | "review-required";
|
|
@@ -439,10 +439,10 @@ export declare const indexerBenchmarkObservationSchema: z.ZodObject<{
|
|
|
439
439
|
actual_path: string | null;
|
|
440
440
|
}[];
|
|
441
441
|
page_deviation: {
|
|
442
|
-
reason_codes: string[];
|
|
443
442
|
expected_min: number | null;
|
|
444
443
|
expected_max: number | null;
|
|
445
444
|
actual_count: number;
|
|
445
|
+
reason_codes: string[];
|
|
446
446
|
};
|
|
447
447
|
quality_negative_samples: {
|
|
448
448
|
disposition: "blocking" | "cleared" | "review-required";
|
|
@@ -602,16 +602,16 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
602
602
|
state: z.ZodEnum<["not-estimated", "below", "within", "above"]>;
|
|
603
603
|
}, "strict", z.ZodTypeAny, {
|
|
604
604
|
state: "not-estimated" | "below" | "within" | "above";
|
|
605
|
-
reason_codes: string[];
|
|
606
605
|
expected_min: number | null;
|
|
607
606
|
expected_max: number | null;
|
|
608
607
|
actual_count: number;
|
|
608
|
+
reason_codes: string[];
|
|
609
609
|
}, {
|
|
610
610
|
state: "not-estimated" | "below" | "within" | "above";
|
|
611
|
-
reason_codes: string[];
|
|
612
611
|
expected_min: number | null;
|
|
613
612
|
expected_max: number | null;
|
|
614
613
|
actual_count: number;
|
|
614
|
+
reason_codes: string[];
|
|
615
615
|
}>;
|
|
616
616
|
quality_negative_samples: z.ZodArray<z.ZodObject<{
|
|
617
617
|
category: z.ZodEnum<["missing", "duplicate", "placeholder", "representative-only-coverage", "fabricated-call-chain"]>;
|
|
@@ -724,14 +724,14 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
724
724
|
severity: z.ZodEnum<["advisory", "blocking"]>;
|
|
725
725
|
}, "strict", z.ZodTypeAny, {
|
|
726
726
|
severity: "blocking" | "advisory";
|
|
727
|
-
difference_ref: string;
|
|
728
727
|
category: string;
|
|
728
|
+
difference_ref: string;
|
|
729
729
|
expected_digest: string | null;
|
|
730
730
|
actual_digest: string | null;
|
|
731
731
|
}, {
|
|
732
732
|
severity: "blocking" | "advisory";
|
|
733
|
-
difference_ref: string;
|
|
734
733
|
category: string;
|
|
734
|
+
difference_ref: string;
|
|
735
735
|
expected_digest: string | null;
|
|
736
736
|
actual_digest: string | null;
|
|
737
737
|
}>, "many">;
|
|
@@ -768,10 +768,10 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
768
768
|
}[];
|
|
769
769
|
page_deviation: {
|
|
770
770
|
state: "not-estimated" | "below" | "within" | "above";
|
|
771
|
-
reason_codes: string[];
|
|
772
771
|
expected_min: number | null;
|
|
773
772
|
expected_max: number | null;
|
|
774
773
|
actual_count: number;
|
|
774
|
+
reason_codes: string[];
|
|
775
775
|
};
|
|
776
776
|
quality_negative_samples: {
|
|
777
777
|
disposition: "blocking" | "cleared" | "review-required";
|
|
@@ -827,8 +827,8 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
827
827
|
}[];
|
|
828
828
|
oracle_differences: {
|
|
829
829
|
severity: "blocking" | "advisory";
|
|
830
|
-
difference_ref: string;
|
|
831
830
|
category: string;
|
|
831
|
+
difference_ref: string;
|
|
832
832
|
expected_digest: string | null;
|
|
833
833
|
actual_digest: string | null;
|
|
834
834
|
}[];
|
|
@@ -863,10 +863,10 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
863
863
|
}[];
|
|
864
864
|
page_deviation: {
|
|
865
865
|
state: "not-estimated" | "below" | "within" | "above";
|
|
866
|
-
reason_codes: string[];
|
|
867
866
|
expected_min: number | null;
|
|
868
867
|
expected_max: number | null;
|
|
869
868
|
actual_count: number;
|
|
869
|
+
reason_codes: string[];
|
|
870
870
|
};
|
|
871
871
|
quality_negative_samples: {
|
|
872
872
|
disposition: "blocking" | "cleared" | "review-required";
|
|
@@ -922,8 +922,8 @@ export declare const indexerBenchmarkReportSchema: z.ZodObject<{
|
|
|
922
922
|
}[];
|
|
923
923
|
oracle_differences: {
|
|
924
924
|
severity: "blocking" | "advisory";
|
|
925
|
-
difference_ref: string;
|
|
926
925
|
category: string;
|
|
926
|
+
difference_ref: string;
|
|
927
927
|
expected_digest: string | null;
|
|
928
928
|
actual_digest: string | null;
|
|
929
929
|
}[];
|
|
@@ -1004,14 +1004,14 @@ export declare const indexerBenchmarkOracleEvaluationSchema: z.ZodObject<{
|
|
|
1004
1004
|
severity: z.ZodEnum<["advisory", "blocking"]>;
|
|
1005
1005
|
}, "strict", z.ZodTypeAny, {
|
|
1006
1006
|
severity: "blocking" | "advisory";
|
|
1007
|
-
difference_ref: string;
|
|
1008
1007
|
category: string;
|
|
1008
|
+
difference_ref: string;
|
|
1009
1009
|
expected_digest: string | null;
|
|
1010
1010
|
actual_digest: string | null;
|
|
1011
1011
|
}, {
|
|
1012
1012
|
severity: "blocking" | "advisory";
|
|
1013
|
-
difference_ref: string;
|
|
1014
1013
|
category: string;
|
|
1014
|
+
difference_ref: string;
|
|
1015
1015
|
expected_digest: string | null;
|
|
1016
1016
|
actual_digest: string | null;
|
|
1017
1017
|
}>, "many">;
|
|
@@ -1019,8 +1019,8 @@ export declare const indexerBenchmarkOracleEvaluationSchema: z.ZodObject<{
|
|
|
1019
1019
|
oracle_ref: string;
|
|
1020
1020
|
differences: {
|
|
1021
1021
|
severity: "blocking" | "advisory";
|
|
1022
|
-
difference_ref: string;
|
|
1023
1022
|
category: string;
|
|
1023
|
+
difference_ref: string;
|
|
1024
1024
|
expected_digest: string | null;
|
|
1025
1025
|
actual_digest: string | null;
|
|
1026
1026
|
}[];
|
|
@@ -1028,8 +1028,8 @@ export declare const indexerBenchmarkOracleEvaluationSchema: z.ZodObject<{
|
|
|
1028
1028
|
oracle_ref: string;
|
|
1029
1029
|
differences: {
|
|
1030
1030
|
severity: "blocking" | "advisory";
|
|
1031
|
-
difference_ref: string;
|
|
1032
1031
|
category: string;
|
|
1032
|
+
difference_ref: string;
|
|
1033
1033
|
expected_digest: string | null;
|
|
1034
1034
|
actual_digest: string | null;
|
|
1035
1035
|
}[];
|
|
@@ -11,6 +11,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
11
11
|
run_result_digest: z.ZodString;
|
|
12
12
|
indexer_result_digest: z.ZodString;
|
|
13
13
|
artifact_result_digest: z.ZodString;
|
|
14
|
+
post_author_composition_fingerprint: z.ZodNullable<z.ZodString>;
|
|
14
15
|
layout_proposal_digest: z.ZodString;
|
|
15
16
|
run_envelope_digest: z.ZodString;
|
|
16
17
|
shared_artifact_fingerprint: z.ZodObject<{
|
|
@@ -64,6 +65,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
64
65
|
execution_request_digest: string;
|
|
65
66
|
run_envelope_digest: string;
|
|
66
67
|
acceptance_digest: string;
|
|
68
|
+
post_author_composition_fingerprint: string | null;
|
|
67
69
|
run_result_digest: string;
|
|
68
70
|
indexer_result_digest: string;
|
|
69
71
|
layout_proposal_digest: string;
|
|
@@ -88,6 +90,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
88
90
|
execution_request_digest: string;
|
|
89
91
|
run_envelope_digest: string;
|
|
90
92
|
acceptance_digest: string;
|
|
93
|
+
post_author_composition_fingerprint: string | null;
|
|
91
94
|
run_result_digest: string;
|
|
92
95
|
indexer_result_digest: string;
|
|
93
96
|
layout_proposal_digest: string;
|
|
@@ -131,29 +134,29 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
131
134
|
coverage_tier: z.ZodEnum<["ast-catalog", "lightweight-evidence"]>;
|
|
132
135
|
binding_digest: z.ZodString;
|
|
133
136
|
}, "strict", z.ZodTypeAny, {
|
|
134
|
-
kind: "
|
|
137
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
135
138
|
source_ref: string;
|
|
136
139
|
locator: {
|
|
137
140
|
path: string;
|
|
138
141
|
start_line: number;
|
|
139
142
|
end_line: number;
|
|
140
143
|
};
|
|
144
|
+
content_digest: string;
|
|
141
145
|
module_ref: string | null;
|
|
142
146
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
143
|
-
content_digest: string;
|
|
144
147
|
evidence_ref: string;
|
|
145
148
|
binding_digest: string;
|
|
146
149
|
}, {
|
|
147
|
-
kind: "
|
|
150
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
148
151
|
source_ref: string;
|
|
149
152
|
locator: {
|
|
150
153
|
path: string;
|
|
151
154
|
start_line: number;
|
|
152
155
|
end_line: number;
|
|
153
156
|
};
|
|
157
|
+
content_digest: string;
|
|
154
158
|
module_ref: string | null;
|
|
155
159
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
156
|
-
content_digest: string;
|
|
157
160
|
evidence_ref: string;
|
|
158
161
|
binding_digest: string;
|
|
159
162
|
}>, "many">;
|
|
@@ -189,34 +192,34 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
189
192
|
file_digest: z.ZodString;
|
|
190
193
|
}, "strict", z.ZodTypeAny, {
|
|
191
194
|
source_ref: string;
|
|
192
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
193
195
|
output_path: string;
|
|
196
|
+
markdown: string;
|
|
194
197
|
artifact_kind: string;
|
|
198
|
+
sections: {
|
|
199
|
+
evidence_refs: string[];
|
|
200
|
+
markdown: string;
|
|
201
|
+
section_key: string;
|
|
202
|
+
section_ref: string;
|
|
203
|
+
markdown_digest: string;
|
|
204
|
+
}[];
|
|
205
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
195
206
|
indexer_id: string;
|
|
196
|
-
markdown: string;
|
|
197
207
|
node_ref: string;
|
|
198
208
|
artifact_result_digest: string;
|
|
199
209
|
evidence_bindings: {
|
|
200
|
-
kind: "
|
|
210
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
201
211
|
source_ref: string;
|
|
202
212
|
locator: {
|
|
203
213
|
path: string;
|
|
204
214
|
start_line: number;
|
|
205
215
|
end_line: number;
|
|
206
216
|
};
|
|
217
|
+
content_digest: string;
|
|
207
218
|
module_ref: string | null;
|
|
208
219
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
209
|
-
content_digest: string;
|
|
210
220
|
evidence_ref: string;
|
|
211
221
|
binding_digest: string;
|
|
212
222
|
}[];
|
|
213
|
-
sections: {
|
|
214
|
-
evidence_refs: string[];
|
|
215
|
-
markdown: string;
|
|
216
|
-
section_key: string;
|
|
217
|
-
section_ref: string;
|
|
218
|
-
markdown_digest: string;
|
|
219
|
-
}[];
|
|
220
223
|
artifact_ref: string;
|
|
221
224
|
acceptance_digest: string;
|
|
222
225
|
internal_view_ref: string;
|
|
@@ -229,34 +232,34 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
229
232
|
file_digest: string;
|
|
230
233
|
}, {
|
|
231
234
|
source_ref: string;
|
|
232
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
233
235
|
output_path: string;
|
|
236
|
+
markdown: string;
|
|
234
237
|
artifact_kind: string;
|
|
238
|
+
sections: {
|
|
239
|
+
evidence_refs: string[];
|
|
240
|
+
markdown: string;
|
|
241
|
+
section_key: string;
|
|
242
|
+
section_ref: string;
|
|
243
|
+
markdown_digest: string;
|
|
244
|
+
}[];
|
|
245
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
235
246
|
indexer_id: string;
|
|
236
|
-
markdown: string;
|
|
237
247
|
node_ref: string;
|
|
238
248
|
artifact_result_digest: string;
|
|
239
249
|
evidence_bindings: {
|
|
240
|
-
kind: "
|
|
250
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
241
251
|
source_ref: string;
|
|
242
252
|
locator: {
|
|
243
253
|
path: string;
|
|
244
254
|
start_line: number;
|
|
245
255
|
end_line: number;
|
|
246
256
|
};
|
|
257
|
+
content_digest: string;
|
|
247
258
|
module_ref: string | null;
|
|
248
259
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
249
|
-
content_digest: string;
|
|
250
260
|
evidence_ref: string;
|
|
251
261
|
binding_digest: string;
|
|
252
262
|
}[];
|
|
253
|
-
sections: {
|
|
254
|
-
evidence_refs: string[];
|
|
255
|
-
markdown: string;
|
|
256
|
-
section_key: string;
|
|
257
|
-
section_ref: string;
|
|
258
|
-
markdown_digest: string;
|
|
259
|
-
}[];
|
|
260
263
|
artifact_ref: string;
|
|
261
264
|
acceptance_digest: string;
|
|
262
265
|
internal_view_ref: string;
|
|
@@ -349,8 +352,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
349
352
|
reason: "unregistered-output-path";
|
|
350
353
|
}>]>;
|
|
351
354
|
}, "strict", z.ZodTypeAny, {
|
|
352
|
-
empty: boolean;
|
|
353
355
|
output_path: string;
|
|
356
|
+
empty: boolean;
|
|
354
357
|
owner: {
|
|
355
358
|
kind: "logical-unit";
|
|
356
359
|
artifact_kind: string;
|
|
@@ -380,8 +383,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
380
383
|
byte_count: number;
|
|
381
384
|
reader_body_line_count: number;
|
|
382
385
|
}, {
|
|
383
|
-
empty: boolean;
|
|
384
386
|
output_path: string;
|
|
387
|
+
empty: boolean;
|
|
385
388
|
owner: {
|
|
386
389
|
kind: "logical-unit";
|
|
387
390
|
artifact_kind: string;
|
|
@@ -414,10 +417,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
414
417
|
} & {
|
|
415
418
|
manifest_digest: z.ZodString;
|
|
416
419
|
}, "strict", z.ZodTypeAny, {
|
|
417
|
-
protocol: "context.indexer.artifact-manifest/v1";
|
|
418
420
|
files: {
|
|
419
|
-
empty: boolean;
|
|
420
421
|
output_path: string;
|
|
422
|
+
empty: boolean;
|
|
421
423
|
owner: {
|
|
422
424
|
kind: "logical-unit";
|
|
423
425
|
artifact_kind: string;
|
|
@@ -447,13 +449,13 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
447
449
|
byte_count: number;
|
|
448
450
|
reader_body_line_count: number;
|
|
449
451
|
}[];
|
|
452
|
+
protocol: "context.indexer.artifact-manifest/v1";
|
|
450
453
|
manifest_digest: string;
|
|
451
454
|
layout_proposal_set_digest: string;
|
|
452
455
|
}, {
|
|
453
|
-
protocol: "context.indexer.artifact-manifest/v1";
|
|
454
456
|
files: {
|
|
455
|
-
empty: boolean;
|
|
456
457
|
output_path: string;
|
|
458
|
+
empty: boolean;
|
|
457
459
|
owner: {
|
|
458
460
|
kind: "logical-unit";
|
|
459
461
|
artifact_kind: string;
|
|
@@ -483,6 +485,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
483
485
|
byte_count: number;
|
|
484
486
|
reader_body_line_count: number;
|
|
485
487
|
}[];
|
|
488
|
+
protocol: "context.indexer.artifact-manifest/v1";
|
|
486
489
|
manifest_digest: string;
|
|
487
490
|
layout_proposal_set_digest: string;
|
|
488
491
|
}>;
|
|
@@ -666,37 +669,36 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
666
669
|
} & {
|
|
667
670
|
compile_digest: z.ZodString;
|
|
668
671
|
}, "strict", z.ZodTypeAny, {
|
|
669
|
-
protocol: "context.indexer.candidate-compile/v1";
|
|
670
672
|
files: {
|
|
671
673
|
source_ref: string;
|
|
672
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
673
674
|
output_path: string;
|
|
675
|
+
markdown: string;
|
|
674
676
|
artifact_kind: string;
|
|
677
|
+
sections: {
|
|
678
|
+
evidence_refs: string[];
|
|
679
|
+
markdown: string;
|
|
680
|
+
section_key: string;
|
|
681
|
+
section_ref: string;
|
|
682
|
+
markdown_digest: string;
|
|
683
|
+
}[];
|
|
684
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
675
685
|
indexer_id: string;
|
|
676
|
-
markdown: string;
|
|
677
686
|
node_ref: string;
|
|
678
687
|
artifact_result_digest: string;
|
|
679
688
|
evidence_bindings: {
|
|
680
|
-
kind: "
|
|
689
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
681
690
|
source_ref: string;
|
|
682
691
|
locator: {
|
|
683
692
|
path: string;
|
|
684
693
|
start_line: number;
|
|
685
694
|
end_line: number;
|
|
686
695
|
};
|
|
696
|
+
content_digest: string;
|
|
687
697
|
module_ref: string | null;
|
|
688
698
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
689
|
-
content_digest: string;
|
|
690
699
|
evidence_ref: string;
|
|
691
700
|
binding_digest: string;
|
|
692
701
|
}[];
|
|
693
|
-
sections: {
|
|
694
|
-
evidence_refs: string[];
|
|
695
|
-
markdown: string;
|
|
696
|
-
section_key: string;
|
|
697
|
-
section_ref: string;
|
|
698
|
-
markdown_digest: string;
|
|
699
|
-
}[];
|
|
700
702
|
artifact_ref: string;
|
|
701
703
|
acceptance_digest: string;
|
|
702
704
|
internal_view_ref: string;
|
|
@@ -708,6 +710,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
708
710
|
result_binding_digest: string;
|
|
709
711
|
file_digest: string;
|
|
710
712
|
}[];
|
|
713
|
+
protocol: "context.indexer.candidate-compile/v1";
|
|
711
714
|
accepted_result_set_digest: string;
|
|
712
715
|
layout_proposal_set_digest: string;
|
|
713
716
|
layout_transition_digest: string;
|
|
@@ -732,15 +735,15 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
732
735
|
execution_request_digest: string;
|
|
733
736
|
run_envelope_digest: string;
|
|
734
737
|
acceptance_digest: string;
|
|
738
|
+
post_author_composition_fingerprint: string | null;
|
|
735
739
|
run_result_digest: string;
|
|
736
740
|
indexer_result_digest: string;
|
|
737
741
|
layout_proposal_digest: string;
|
|
738
742
|
}[];
|
|
739
743
|
artifact_manifest: {
|
|
740
|
-
protocol: "context.indexer.artifact-manifest/v1";
|
|
741
744
|
files: {
|
|
742
|
-
empty: boolean;
|
|
743
745
|
output_path: string;
|
|
746
|
+
empty: boolean;
|
|
744
747
|
owner: {
|
|
745
748
|
kind: "logical-unit";
|
|
746
749
|
artifact_kind: string;
|
|
@@ -770,6 +773,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
770
773
|
byte_count: number;
|
|
771
774
|
reader_body_line_count: number;
|
|
772
775
|
}[];
|
|
776
|
+
protocol: "context.indexer.artifact-manifest/v1";
|
|
773
777
|
manifest_digest: string;
|
|
774
778
|
layout_proposal_set_digest: string;
|
|
775
779
|
};
|
|
@@ -815,37 +819,36 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
815
819
|
};
|
|
816
820
|
compile_digest: string;
|
|
817
821
|
}, {
|
|
818
|
-
protocol: "context.indexer.candidate-compile/v1";
|
|
819
822
|
files: {
|
|
820
823
|
source_ref: string;
|
|
821
|
-
collection: import("./contracts.js").TopLevelNamespace;
|
|
822
824
|
output_path: string;
|
|
825
|
+
markdown: string;
|
|
823
826
|
artifact_kind: string;
|
|
827
|
+
sections: {
|
|
828
|
+
evidence_refs: string[];
|
|
829
|
+
markdown: string;
|
|
830
|
+
section_key: string;
|
|
831
|
+
section_ref: string;
|
|
832
|
+
markdown_digest: string;
|
|
833
|
+
}[];
|
|
834
|
+
collection: import("./contracts.js").TopLevelNamespace;
|
|
824
835
|
indexer_id: string;
|
|
825
|
-
markdown: string;
|
|
826
836
|
node_ref: string;
|
|
827
837
|
artifact_result_digest: string;
|
|
828
838
|
evidence_bindings: {
|
|
829
|
-
kind: "
|
|
839
|
+
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
830
840
|
source_ref: string;
|
|
831
841
|
locator: {
|
|
832
842
|
path: string;
|
|
833
843
|
start_line: number;
|
|
834
844
|
end_line: number;
|
|
835
845
|
};
|
|
846
|
+
content_digest: string;
|
|
836
847
|
module_ref: string | null;
|
|
837
848
|
coverage_tier: "ast-catalog" | "lightweight-evidence";
|
|
838
|
-
content_digest: string;
|
|
839
849
|
evidence_ref: string;
|
|
840
850
|
binding_digest: string;
|
|
841
851
|
}[];
|
|
842
|
-
sections: {
|
|
843
|
-
evidence_refs: string[];
|
|
844
|
-
markdown: string;
|
|
845
|
-
section_key: string;
|
|
846
|
-
section_ref: string;
|
|
847
|
-
markdown_digest: string;
|
|
848
|
-
}[];
|
|
849
852
|
artifact_ref: string;
|
|
850
853
|
acceptance_digest: string;
|
|
851
854
|
internal_view_ref: string;
|
|
@@ -857,6 +860,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
857
860
|
result_binding_digest: string;
|
|
858
861
|
file_digest: string;
|
|
859
862
|
}[];
|
|
863
|
+
protocol: "context.indexer.candidate-compile/v1";
|
|
860
864
|
accepted_result_set_digest: string;
|
|
861
865
|
layout_proposal_set_digest: string;
|
|
862
866
|
layout_transition_digest: string;
|
|
@@ -881,15 +885,15 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
881
885
|
execution_request_digest: string;
|
|
882
886
|
run_envelope_digest: string;
|
|
883
887
|
acceptance_digest: string;
|
|
888
|
+
post_author_composition_fingerprint: string | null;
|
|
884
889
|
run_result_digest: string;
|
|
885
890
|
indexer_result_digest: string;
|
|
886
891
|
layout_proposal_digest: string;
|
|
887
892
|
}[];
|
|
888
893
|
artifact_manifest: {
|
|
889
|
-
protocol: "context.indexer.artifact-manifest/v1";
|
|
890
894
|
files: {
|
|
891
|
-
empty: boolean;
|
|
892
895
|
output_path: string;
|
|
896
|
+
empty: boolean;
|
|
893
897
|
owner: {
|
|
894
898
|
kind: "logical-unit";
|
|
895
899
|
artifact_kind: string;
|
|
@@ -919,6 +923,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
919
923
|
byte_count: number;
|
|
920
924
|
reader_body_line_count: number;
|
|
921
925
|
}[];
|
|
926
|
+
protocol: "context.indexer.artifact-manifest/v1";
|
|
922
927
|
manifest_digest: string;
|
|
923
928
|
layout_proposal_set_digest: string;
|
|
924
929
|
};
|
|
@@ -969,6 +974,7 @@ export interface IndexerAcceptedAuthorResultInput {
|
|
|
969
974
|
run_result: unknown;
|
|
970
975
|
accepted_record: unknown;
|
|
971
976
|
run_envelope: unknown;
|
|
977
|
+
post_author_envelope?: unknown | null;
|
|
972
978
|
rendered_artifacts?: readonly unknown[];
|
|
973
979
|
}
|
|
974
980
|
export declare function buildIndexerCandidateCompile(input: {
|
|
@@ -26,12 +26,12 @@ export declare const indexerCapabilityGroupEvidenceSchema: z.ZodObject<{
|
|
|
26
26
|
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
27
27
|
}, "strict", z.ZodTypeAny, {
|
|
28
28
|
evidence_refs: string[];
|
|
29
|
-
artifact_id: string;
|
|
30
29
|
section_key: string;
|
|
30
|
+
artifact_id: string;
|
|
31
31
|
}, {
|
|
32
32
|
evidence_refs: string[];
|
|
33
|
-
artifact_id: string;
|
|
34
33
|
section_key: string;
|
|
34
|
+
artifact_id: string;
|
|
35
35
|
}>, "many">;
|
|
36
36
|
}, "strict", z.ZodTypeAny, {
|
|
37
37
|
capability_group_ref: string;
|
|
@@ -42,8 +42,8 @@ export declare const indexerCapabilityGroupEvidenceSchema: z.ZodObject<{
|
|
|
42
42
|
}[];
|
|
43
43
|
section_evidence: {
|
|
44
44
|
evidence_refs: string[];
|
|
45
|
-
artifact_id: string;
|
|
46
45
|
section_key: string;
|
|
46
|
+
artifact_id: string;
|
|
47
47
|
}[];
|
|
48
48
|
}, {
|
|
49
49
|
capability_group_ref: string;
|
|
@@ -54,8 +54,8 @@ export declare const indexerCapabilityGroupEvidenceSchema: z.ZodObject<{
|
|
|
54
54
|
}[];
|
|
55
55
|
section_evidence: {
|
|
56
56
|
evidence_refs: string[];
|
|
57
|
-
artifact_id: string;
|
|
58
57
|
section_key: string;
|
|
58
|
+
artifact_id: string;
|
|
59
59
|
}[];
|
|
60
60
|
}>, "many">;
|
|
61
61
|
evidence_digest: z.ZodString;
|
|
@@ -75,8 +75,8 @@ export declare const indexerCapabilityGroupEvidenceSchema: z.ZodObject<{
|
|
|
75
75
|
}[];
|
|
76
76
|
section_evidence: {
|
|
77
77
|
evidence_refs: string[];
|
|
78
|
-
artifact_id: string;
|
|
79
78
|
section_key: string;
|
|
79
|
+
artifact_id: string;
|
|
80
80
|
}[];
|
|
81
81
|
}[];
|
|
82
82
|
evidence_digest: string;
|
|
@@ -96,8 +96,8 @@ export declare const indexerCapabilityGroupEvidenceSchema: z.ZodObject<{
|
|
|
96
96
|
}[];
|
|
97
97
|
section_evidence: {
|
|
98
98
|
evidence_refs: string[];
|
|
99
|
-
artifact_id: string;
|
|
100
99
|
section_key: string;
|
|
100
|
+
artifact_id: string;
|
|
101
101
|
}[];
|
|
102
102
|
}[];
|
|
103
103
|
evidence_digest: string;
|