@c4a/context 0.7.5 → 0.7.9
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 +12 -4
- package/README.zh-CN.md +11 -4
- package/docs/README.md +13 -1
- package/docs/README.zh-CN.md +13 -1
- package/docs/getting-started.md +95 -69
- package/docs/guides/agent-dialogue.md +20 -9
- package/docs/guides/agent-guide.md +48 -10
- package/docs/guides/code-indexer-skill-authoring.md +42 -11
- package/docs/guides/indexer-manifest-example.md +103 -0
- package/docs/guides/indexer-provider-and-customization.md +334 -15
- package/docs/guides/indexer-skill-creation.md +99 -0
- package/docs/guides/knowledge-updates.md +422 -0
- package/docs/guides/lark-resources.md +5 -1
- package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
- package/docs/guides/note.md +37 -0
- package/docs/guides/package-outputs.md +231 -60
- package/docs/guides/sessions.md +50 -0
- package/docs/guides/workspace-commit.md +45 -0
- package/docs/guides/workspace-prepare.md +72 -0
- package/docs/guides/workspace-restore.md +59 -0
- package/docs/reference/code-extractors.md +23 -11
- package/docs/reference/indexer-provider-protocol.md +135 -22
- package/docs/reference/package-templates.md +10 -9
- package/docs/reference/project-api.md +100 -13
- package/docs/reference/template-variables.md +7 -7
- package/index.d.ts +15 -0
- package/index.js +1708 -626
- package/indexerAgentStepProtocol.d.ts +44 -0
- package/indexerApprovedKnowledge.d.ts +371 -0
- package/indexerArticlePlan.d.ts +83 -0
- package/indexerArtifact.d.ts +10 -7
- package/indexerArtifactDependencies.d.ts +5 -5
- package/indexerArtifactPolicy.d.ts +12 -12
- package/indexerArtifactResult.d.ts +76 -69
- package/indexerAuthoringFixture.d.ts +8 -8
- package/indexerAuthorizedWorksetView.d.ts +14 -14
- package/indexerBaseQuestionAmendment.d.ts +40 -0
- package/indexerCandidateCompile.d.ts +46 -36
- package/indexerCatalogFallback.d.ts +566 -48
- package/indexerContentLayers.d.ts +6 -4
- package/indexerContractDeclaration.d.ts +3 -0
- package/indexerControlledProgram.d.ts +1039 -238
- package/indexerCustomizationDraft.d.ts +188 -0
- package/indexerDependencyView.d.ts +17 -17
- package/indexerEffectiveArtifact.d.ts +26 -15
- package/indexerExampleFactDependencies.d.ts +17 -0
- package/indexerExampleIdentityAudit.d.ts +2 -2
- package/indexerInventoryDisposition.d.ts +44 -44
- package/indexerKnowledgeDependency.d.ts +46 -0
- package/indexerLayerComposition.d.ts +92 -54
- package/indexerLayoutChange.d.ts +8 -8
- package/indexerLayoutProposalSet.d.ts +15 -10
- package/indexerLayoutResolver.d.ts +15 -6
- package/indexerLayoutTransition.d.ts +8 -8
- package/indexerLifecycle.d.ts +1 -1
- package/indexerMainRunLedger.d.ts +3 -0
- package/indexerMainRunProtocol.d.ts +872 -196
- package/indexerMainWorkset.d.ts +50 -0
- package/indexerNavigationArtifactPlan.d.ts +2 -2
- package/indexerOverlayQuestionAmendment.d.ts +56 -16
- package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
- package/indexerPartitionPlan.d.ts +585 -40
- package/indexerPhysicalArtifactAudit.d.ts +2 -2
- package/indexerPhysicalArtifactManifest.d.ts +24 -24
- package/indexerPostAuthorRunLedger.d.ts +60 -34
- package/indexerPrimaryProjection.d.ts +2 -2
- package/indexerProfileContract.d.ts +28 -28
- package/indexerProgramRunProtocol.d.ts +868 -194
- package/indexerProjectProposal.d.ts +36 -8
- package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
- package/indexerProtocolHash.d.ts +2 -0
- package/indexerProvider.d.ts +102 -58
- package/indexerProviderComposition.d.ts +4 -4
- package/indexerProviderRouting.d.ts +52 -0
- package/indexerProviderSelectionProposal.d.ts +48 -0
- package/indexerPublicContractFacts.d.ts +7 -0
- package/indexerPublicContractTable.d.ts +11 -0
- package/indexerReaderTargetInventory.d.ts +6 -6
- package/indexerReferenceOnlyAudit.d.ts +2 -2
- package/indexerRegistry.d.ts +658 -0
- package/indexerRequirementConfirmation.d.ts +48 -16
- package/indexerRequirementLifecycle.d.ts +154 -42
- package/indexerResultReconciliation.d.ts +12 -11
- package/indexerSemanticInput.d.ts +27168 -3813
- package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
- package/indexerStructuredDeclaration.d.ts +8 -8
- package/indexerTemplateRendering.d.ts +7 -7
- package/indexerToolSnapshot.d.ts +16 -16
- package/knowledgeMap.d.ts +188 -0
- package/managedSources.d.ts +15 -0
- package/package.json +1 -1
- package/packageSite.d.ts +25 -0
- package/phases.d.ts +0 -3
- package/processedScopes.d.ts +75 -0
- package/sessionMetadata.d.ts +49 -0
- package/sources.d.ts +9 -3
- package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
- package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { materializeIndexerStructuredContent } from "./indexerContentLayers.js";
|
|
2
3
|
export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
3
4
|
protocol: z.ZodLiteral<"context.indexer.candidate-compile/v1">;
|
|
4
5
|
layout_proposal_set_digest: z.ZodString;
|
|
@@ -48,12 +49,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
48
49
|
workset_digest: string;
|
|
49
50
|
indexer_id: string;
|
|
50
51
|
provider_integrity: string;
|
|
51
|
-
|
|
52
|
+
binding_digest: string;
|
|
52
53
|
provider_layer_ref: string;
|
|
53
54
|
provider_bundle_digest: string;
|
|
54
55
|
config_fingerprint: string;
|
|
55
56
|
customization_fingerprint: string | null;
|
|
56
|
-
binding_digest: string;
|
|
57
57
|
shared_artifact_fingerprint: {
|
|
58
58
|
protocol: "context.indexer.shared-artifact-fingerprint/v1";
|
|
59
59
|
indexer_id: string;
|
|
@@ -65,6 +65,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
65
65
|
execution_request_digest: string;
|
|
66
66
|
run_envelope_digest: string;
|
|
67
67
|
acceptance_digest: string;
|
|
68
|
+
artifact_result_digest: string;
|
|
68
69
|
post_author_composition_fingerprint: string | null;
|
|
69
70
|
run_result_digest: string;
|
|
70
71
|
indexer_result_digest: string;
|
|
@@ -73,12 +74,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
73
74
|
workset_digest: string;
|
|
74
75
|
indexer_id: string;
|
|
75
76
|
provider_integrity: string;
|
|
76
|
-
|
|
77
|
+
binding_digest: string;
|
|
77
78
|
provider_layer_ref: string;
|
|
78
79
|
provider_bundle_digest: string;
|
|
79
80
|
config_fingerprint: string;
|
|
80
81
|
customization_fingerprint: string | null;
|
|
81
|
-
binding_digest: string;
|
|
82
82
|
shared_artifact_fingerprint: {
|
|
83
83
|
protocol: "context.indexer.shared-artifact-fingerprint/v1";
|
|
84
84
|
indexer_id: string;
|
|
@@ -90,6 +90,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
90
90
|
execution_request_digest: string;
|
|
91
91
|
run_envelope_digest: string;
|
|
92
92
|
acceptance_digest: string;
|
|
93
|
+
artifact_result_digest: string;
|
|
93
94
|
post_author_composition_fingerprint: string | null;
|
|
94
95
|
run_result_digest: string;
|
|
95
96
|
indexer_result_digest: string;
|
|
@@ -205,7 +206,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
205
206
|
collection: import("./contracts.js").TopLevelNamespace;
|
|
206
207
|
indexer_id: string;
|
|
207
208
|
node_ref: string;
|
|
208
|
-
artifact_result_digest: string;
|
|
209
209
|
evidence_bindings: {
|
|
210
210
|
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
211
211
|
source_ref: string;
|
|
@@ -221,10 +221,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
221
221
|
binding_digest: string;
|
|
222
222
|
}[];
|
|
223
223
|
artifact_ref: string;
|
|
224
|
+
section_refs: string[];
|
|
224
225
|
acceptance_digest: string;
|
|
226
|
+
artifact_result_digest: string;
|
|
225
227
|
internal_view_ref: string;
|
|
226
228
|
shared_artifact_fingerprint_digest: string;
|
|
227
|
-
section_refs: string[];
|
|
228
229
|
markdown_digest: string;
|
|
229
230
|
indexer_result_digest: string;
|
|
230
231
|
layout_proposal_digest: string;
|
|
@@ -245,7 +246,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
245
246
|
collection: import("./contracts.js").TopLevelNamespace;
|
|
246
247
|
indexer_id: string;
|
|
247
248
|
node_ref: string;
|
|
248
|
-
artifact_result_digest: string;
|
|
249
249
|
evidence_bindings: {
|
|
250
250
|
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
251
251
|
source_ref: string;
|
|
@@ -261,10 +261,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
261
261
|
binding_digest: string;
|
|
262
262
|
}[];
|
|
263
263
|
artifact_ref: string;
|
|
264
|
+
section_refs: string[];
|
|
264
265
|
acceptance_digest: string;
|
|
266
|
+
artifact_result_digest: string;
|
|
265
267
|
internal_view_ref: string;
|
|
266
268
|
shared_artifact_fingerprint_digest: string;
|
|
267
|
-
section_refs: string[];
|
|
268
269
|
markdown_digest: string;
|
|
269
270
|
indexer_result_digest: string;
|
|
270
271
|
layout_proposal_digest: string;
|
|
@@ -295,9 +296,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
295
296
|
material_state: z.ZodEnum<["ready", "blocked"]>;
|
|
296
297
|
}, "strict", z.ZodTypeAny, {
|
|
297
298
|
kind: "logical-unit";
|
|
299
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
298
300
|
artifact_kind: string;
|
|
299
301
|
artifact_id: string;
|
|
300
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
301
302
|
split_of: string | null;
|
|
302
303
|
logical_unit_ref: string;
|
|
303
304
|
bundle_digest: string;
|
|
@@ -307,9 +308,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
307
308
|
material_state: "blocked" | "ready";
|
|
308
309
|
}, {
|
|
309
310
|
kind: "logical-unit";
|
|
311
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
310
312
|
artifact_kind: string;
|
|
311
313
|
artifact_id: string;
|
|
312
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
313
314
|
split_of: string | null;
|
|
314
315
|
logical_unit_ref: string;
|
|
315
316
|
bundle_digest: string;
|
|
@@ -329,16 +330,16 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
329
330
|
kind: "navigation";
|
|
330
331
|
artifact_kind: string;
|
|
331
332
|
artifact_id: string;
|
|
332
|
-
plan_digest: string;
|
|
333
333
|
artifact_ref: string;
|
|
334
|
+
plan_digest: string;
|
|
334
335
|
navigation_ref: string;
|
|
335
336
|
child_artifact_refs: string[];
|
|
336
337
|
}, {
|
|
337
338
|
kind: "navigation";
|
|
338
339
|
artifact_kind: string;
|
|
339
340
|
artifact_id: string;
|
|
340
|
-
plan_digest: string;
|
|
341
341
|
artifact_ref: string;
|
|
342
|
+
plan_digest: string;
|
|
342
343
|
navigation_ref: string;
|
|
343
344
|
child_artifact_refs: string[];
|
|
344
345
|
}>, z.ZodObject<{
|
|
@@ -356,9 +357,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
356
357
|
empty: boolean;
|
|
357
358
|
owner: {
|
|
358
359
|
kind: "logical-unit";
|
|
360
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
359
361
|
artifact_kind: string;
|
|
360
362
|
artifact_id: string;
|
|
361
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
362
363
|
split_of: string | null;
|
|
363
364
|
logical_unit_ref: string;
|
|
364
365
|
bundle_digest: string;
|
|
@@ -370,8 +371,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
370
371
|
kind: "navigation";
|
|
371
372
|
artifact_kind: string;
|
|
372
373
|
artifact_id: string;
|
|
373
|
-
plan_digest: string;
|
|
374
374
|
artifact_ref: string;
|
|
375
|
+
plan_digest: string;
|
|
375
376
|
navigation_ref: string;
|
|
376
377
|
child_artifact_refs: string[];
|
|
377
378
|
} | {
|
|
@@ -387,9 +388,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
387
388
|
empty: boolean;
|
|
388
389
|
owner: {
|
|
389
390
|
kind: "logical-unit";
|
|
391
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
390
392
|
artifact_kind: string;
|
|
391
393
|
artifact_id: string;
|
|
392
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
393
394
|
split_of: string | null;
|
|
394
395
|
logical_unit_ref: string;
|
|
395
396
|
bundle_digest: string;
|
|
@@ -401,8 +402,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
401
402
|
kind: "navigation";
|
|
402
403
|
artifact_kind: string;
|
|
403
404
|
artifact_id: string;
|
|
404
|
-
plan_digest: string;
|
|
405
405
|
artifact_ref: string;
|
|
406
|
+
plan_digest: string;
|
|
406
407
|
navigation_ref: string;
|
|
407
408
|
child_artifact_refs: string[];
|
|
408
409
|
} | {
|
|
@@ -422,9 +423,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
422
423
|
empty: boolean;
|
|
423
424
|
owner: {
|
|
424
425
|
kind: "logical-unit";
|
|
426
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
425
427
|
artifact_kind: string;
|
|
426
428
|
artifact_id: string;
|
|
427
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
428
429
|
split_of: string | null;
|
|
429
430
|
logical_unit_ref: string;
|
|
430
431
|
bundle_digest: string;
|
|
@@ -436,8 +437,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
436
437
|
kind: "navigation";
|
|
437
438
|
artifact_kind: string;
|
|
438
439
|
artifact_id: string;
|
|
439
|
-
plan_digest: string;
|
|
440
440
|
artifact_ref: string;
|
|
441
|
+
plan_digest: string;
|
|
441
442
|
navigation_ref: string;
|
|
442
443
|
child_artifact_refs: string[];
|
|
443
444
|
} | {
|
|
@@ -458,9 +459,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
458
459
|
empty: boolean;
|
|
459
460
|
owner: {
|
|
460
461
|
kind: "logical-unit";
|
|
462
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
461
463
|
artifact_kind: string;
|
|
462
464
|
artifact_id: string;
|
|
463
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
464
465
|
split_of: string | null;
|
|
465
466
|
logical_unit_ref: string;
|
|
466
467
|
bundle_digest: string;
|
|
@@ -472,8 +473,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
472
473
|
kind: "navigation";
|
|
473
474
|
artifact_kind: string;
|
|
474
475
|
artifact_id: string;
|
|
475
|
-
plan_digest: string;
|
|
476
476
|
artifact_ref: string;
|
|
477
|
+
plan_digest: string;
|
|
477
478
|
navigation_ref: string;
|
|
478
479
|
child_artifact_refs: string[];
|
|
479
480
|
} | {
|
|
@@ -596,7 +597,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
596
597
|
artifact_ref: string | null;
|
|
597
598
|
}[];
|
|
598
599
|
state: "passed" | "failed";
|
|
599
|
-
audit_digest: string;
|
|
600
600
|
summary: {
|
|
601
601
|
logical_unit_count: number;
|
|
602
602
|
planned_bundle_artifact_count: number;
|
|
@@ -609,6 +609,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
609
609
|
missing_artifact_count: number;
|
|
610
610
|
unresolved_material_artifact_count: number;
|
|
611
611
|
};
|
|
612
|
+
audit_digest: string;
|
|
612
613
|
layout_proposal_set_digest: string;
|
|
613
614
|
artifact_manifest_digest: string;
|
|
614
615
|
logical_unit_fan_out: {
|
|
@@ -635,7 +636,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
635
636
|
artifact_ref: string | null;
|
|
636
637
|
}[];
|
|
637
638
|
state: "passed" | "failed";
|
|
638
|
-
audit_digest: string;
|
|
639
639
|
summary: {
|
|
640
640
|
logical_unit_count: number;
|
|
641
641
|
planned_bundle_artifact_count: number;
|
|
@@ -648,6 +648,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
648
648
|
missing_artifact_count: number;
|
|
649
649
|
unresolved_material_artifact_count: number;
|
|
650
650
|
};
|
|
651
|
+
audit_digest: string;
|
|
651
652
|
layout_proposal_set_digest: string;
|
|
652
653
|
artifact_manifest_digest: string;
|
|
653
654
|
logical_unit_fan_out: {
|
|
@@ -684,7 +685,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
684
685
|
collection: import("./contracts.js").TopLevelNamespace;
|
|
685
686
|
indexer_id: string;
|
|
686
687
|
node_ref: string;
|
|
687
|
-
artifact_result_digest: string;
|
|
688
688
|
evidence_bindings: {
|
|
689
689
|
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
690
690
|
source_ref: string;
|
|
@@ -700,10 +700,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
700
700
|
binding_digest: string;
|
|
701
701
|
}[];
|
|
702
702
|
artifact_ref: string;
|
|
703
|
+
section_refs: string[];
|
|
703
704
|
acceptance_digest: string;
|
|
705
|
+
artifact_result_digest: string;
|
|
704
706
|
internal_view_ref: string;
|
|
705
707
|
shared_artifact_fingerprint_digest: string;
|
|
706
|
-
section_refs: string[];
|
|
707
708
|
markdown_digest: string;
|
|
708
709
|
indexer_result_digest: string;
|
|
709
710
|
layout_proposal_digest: string;
|
|
@@ -718,12 +719,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
718
719
|
workset_digest: string;
|
|
719
720
|
indexer_id: string;
|
|
720
721
|
provider_integrity: string;
|
|
721
|
-
|
|
722
|
+
binding_digest: string;
|
|
722
723
|
provider_layer_ref: string;
|
|
723
724
|
provider_bundle_digest: string;
|
|
724
725
|
config_fingerprint: string;
|
|
725
726
|
customization_fingerprint: string | null;
|
|
726
|
-
binding_digest: string;
|
|
727
727
|
shared_artifact_fingerprint: {
|
|
728
728
|
protocol: "context.indexer.shared-artifact-fingerprint/v1";
|
|
729
729
|
indexer_id: string;
|
|
@@ -735,6 +735,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
735
735
|
execution_request_digest: string;
|
|
736
736
|
run_envelope_digest: string;
|
|
737
737
|
acceptance_digest: string;
|
|
738
|
+
artifact_result_digest: string;
|
|
738
739
|
post_author_composition_fingerprint: string | null;
|
|
739
740
|
run_result_digest: string;
|
|
740
741
|
indexer_result_digest: string;
|
|
@@ -746,9 +747,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
746
747
|
empty: boolean;
|
|
747
748
|
owner: {
|
|
748
749
|
kind: "logical-unit";
|
|
750
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
749
751
|
artifact_kind: string;
|
|
750
752
|
artifact_id: string;
|
|
751
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
752
753
|
split_of: string | null;
|
|
753
754
|
logical_unit_ref: string;
|
|
754
755
|
bundle_digest: string;
|
|
@@ -760,8 +761,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
760
761
|
kind: "navigation";
|
|
761
762
|
artifact_kind: string;
|
|
762
763
|
artifact_id: string;
|
|
763
|
-
plan_digest: string;
|
|
764
764
|
artifact_ref: string;
|
|
765
|
+
plan_digest: string;
|
|
765
766
|
navigation_ref: string;
|
|
766
767
|
child_artifact_refs: string[];
|
|
767
768
|
} | {
|
|
@@ -786,7 +787,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
786
787
|
artifact_ref: string | null;
|
|
787
788
|
}[];
|
|
788
789
|
state: "passed" | "failed";
|
|
789
|
-
audit_digest: string;
|
|
790
790
|
summary: {
|
|
791
791
|
logical_unit_count: number;
|
|
792
792
|
planned_bundle_artifact_count: number;
|
|
@@ -799,6 +799,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
799
799
|
missing_artifact_count: number;
|
|
800
800
|
unresolved_material_artifact_count: number;
|
|
801
801
|
};
|
|
802
|
+
audit_digest: string;
|
|
802
803
|
layout_proposal_set_digest: string;
|
|
803
804
|
artifact_manifest_digest: string;
|
|
804
805
|
logical_unit_fan_out: {
|
|
@@ -834,7 +835,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
834
835
|
collection: import("./contracts.js").TopLevelNamespace;
|
|
835
836
|
indexer_id: string;
|
|
836
837
|
node_ref: string;
|
|
837
|
-
artifact_result_digest: string;
|
|
838
838
|
evidence_bindings: {
|
|
839
839
|
kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
|
|
840
840
|
source_ref: string;
|
|
@@ -850,10 +850,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
850
850
|
binding_digest: string;
|
|
851
851
|
}[];
|
|
852
852
|
artifact_ref: string;
|
|
853
|
+
section_refs: string[];
|
|
853
854
|
acceptance_digest: string;
|
|
855
|
+
artifact_result_digest: string;
|
|
854
856
|
internal_view_ref: string;
|
|
855
857
|
shared_artifact_fingerprint_digest: string;
|
|
856
|
-
section_refs: string[];
|
|
857
858
|
markdown_digest: string;
|
|
858
859
|
indexer_result_digest: string;
|
|
859
860
|
layout_proposal_digest: string;
|
|
@@ -868,12 +869,11 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
868
869
|
workset_digest: string;
|
|
869
870
|
indexer_id: string;
|
|
870
871
|
provider_integrity: string;
|
|
871
|
-
|
|
872
|
+
binding_digest: string;
|
|
872
873
|
provider_layer_ref: string;
|
|
873
874
|
provider_bundle_digest: string;
|
|
874
875
|
config_fingerprint: string;
|
|
875
876
|
customization_fingerprint: string | null;
|
|
876
|
-
binding_digest: string;
|
|
877
877
|
shared_artifact_fingerprint: {
|
|
878
878
|
protocol: "context.indexer.shared-artifact-fingerprint/v1";
|
|
879
879
|
indexer_id: string;
|
|
@@ -885,6 +885,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
885
885
|
execution_request_digest: string;
|
|
886
886
|
run_envelope_digest: string;
|
|
887
887
|
acceptance_digest: string;
|
|
888
|
+
artifact_result_digest: string;
|
|
888
889
|
post_author_composition_fingerprint: string | null;
|
|
889
890
|
run_result_digest: string;
|
|
890
891
|
indexer_result_digest: string;
|
|
@@ -896,9 +897,9 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
896
897
|
empty: boolean;
|
|
897
898
|
owner: {
|
|
898
899
|
kind: "logical-unit";
|
|
900
|
+
purpose: "required" | "discretionary" | "semantic-split";
|
|
899
901
|
artifact_kind: string;
|
|
900
902
|
artifact_id: string;
|
|
901
|
-
purpose: "required" | "discretionary" | "semantic-split";
|
|
902
903
|
split_of: string | null;
|
|
903
904
|
logical_unit_ref: string;
|
|
904
905
|
bundle_digest: string;
|
|
@@ -910,8 +911,8 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
910
911
|
kind: "navigation";
|
|
911
912
|
artifact_kind: string;
|
|
912
913
|
artifact_id: string;
|
|
913
|
-
plan_digest: string;
|
|
914
914
|
artifact_ref: string;
|
|
915
|
+
plan_digest: string;
|
|
915
916
|
navigation_ref: string;
|
|
916
917
|
child_artifact_refs: string[];
|
|
917
918
|
} | {
|
|
@@ -936,7 +937,6 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
936
937
|
artifact_ref: string | null;
|
|
937
938
|
}[];
|
|
938
939
|
state: "passed" | "failed";
|
|
939
|
-
audit_digest: string;
|
|
940
940
|
summary: {
|
|
941
941
|
logical_unit_count: number;
|
|
942
942
|
planned_bundle_artifact_count: number;
|
|
@@ -949,6 +949,7 @@ export declare const indexerCandidateCompileSchema: z.ZodObject<{
|
|
|
949
949
|
missing_artifact_count: number;
|
|
950
950
|
unresolved_material_artifact_count: number;
|
|
951
951
|
};
|
|
952
|
+
audit_digest: string;
|
|
952
953
|
layout_proposal_set_digest: string;
|
|
953
954
|
artifact_manifest_digest: string;
|
|
954
955
|
logical_unit_fan_out: {
|
|
@@ -978,6 +979,15 @@ export interface IndexerAcceptedAuthorResultInput {
|
|
|
978
979
|
rendered_artifacts?: readonly unknown[];
|
|
979
980
|
}
|
|
980
981
|
export declare function buildIndexerCandidateCompile(input: {
|
|
982
|
+
/** Host presentation only, after source/section integrity checks. The Host
|
|
983
|
+
* may defer links to pages outside this delivery; accepted Results stay intact. */
|
|
984
|
+
markdown_projection?: ((input: {
|
|
985
|
+
markdown: string;
|
|
986
|
+
output_path: string;
|
|
987
|
+
artifact_ref: string;
|
|
988
|
+
}) => string) | undefined;
|
|
989
|
+
/** Command-lifetime memo of unprojected sections. All authority validation still runs. */
|
|
990
|
+
render_cache?: Map<string, ReturnType<typeof materializeIndexerStructuredContent>> | undefined;
|
|
981
991
|
layout_proposal_set: unknown;
|
|
982
992
|
layout_transition: unknown;
|
|
983
993
|
layout_change_confirmations?: readonly unknown[];
|