@c4a/context 0.7.1 → 0.7.5
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 +67 -171
- package/README.zh-CN.md +53 -130
- 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 +104 -518
- package/docs/guides/code-indexer-skill-authoring.md +38 -13
- package/docs/guides/indexer-provider-and-customization.md +32 -20
- package/docs/guides/markdown-indexer-skill-authoring.md +22 -13
- 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 +13132 -15249
- package/indexerAgentStepProtocol.d.ts +1326 -8429
- package/indexerArtifact.d.ts +225 -0
- package/indexerArtifactDependencies.d.ts +43 -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/indexerCompositionFactDependencies.d.ts +16 -0
- 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 +142 -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 +5794 -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
|
@@ -125,7 +125,6 @@ export declare const indexerResolvedSubjectKeySchema: z.ZodObject<{
|
|
|
125
125
|
schema_digest: z.ZodString;
|
|
126
126
|
resolved_digest: z.ZodString;
|
|
127
127
|
}, "strict", z.ZodTypeAny, {
|
|
128
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
129
128
|
authority: {
|
|
130
129
|
kind: "community-base";
|
|
131
130
|
profile_contract_digest: string;
|
|
@@ -139,6 +138,7 @@ export declare const indexerResolvedSubjectKeySchema: z.ZodObject<{
|
|
|
139
138
|
provider_version: string;
|
|
140
139
|
provider_layer_id: string;
|
|
141
140
|
};
|
|
141
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
142
142
|
profile: string;
|
|
143
143
|
indexer_id: string;
|
|
144
144
|
resolved_digest: string;
|
|
@@ -157,7 +157,6 @@ export declare const indexerResolvedSubjectKeySchema: z.ZodObject<{
|
|
|
157
157
|
};
|
|
158
158
|
schema_digest: string;
|
|
159
159
|
}, {
|
|
160
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
161
160
|
authority: {
|
|
162
161
|
kind: "community-base";
|
|
163
162
|
profile_contract_digest: string;
|
|
@@ -171,6 +170,7 @@ export declare const indexerResolvedSubjectKeySchema: z.ZodObject<{
|
|
|
171
170
|
provider_version: string;
|
|
172
171
|
provider_layer_id: string;
|
|
173
172
|
};
|
|
173
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
174
174
|
profile: string;
|
|
175
175
|
indexer_id: string;
|
|
176
176
|
resolved_digest: string;
|
|
@@ -315,7 +315,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
315
315
|
schema_digest: z.ZodString;
|
|
316
316
|
resolved_digest: z.ZodString;
|
|
317
317
|
}, "strict", z.ZodTypeAny, {
|
|
318
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
319
318
|
authority: {
|
|
320
319
|
kind: "community-base";
|
|
321
320
|
profile_contract_digest: string;
|
|
@@ -329,6 +328,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
329
328
|
provider_version: string;
|
|
330
329
|
provider_layer_id: string;
|
|
331
330
|
};
|
|
331
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
332
332
|
profile: string;
|
|
333
333
|
indexer_id: string;
|
|
334
334
|
resolved_digest: string;
|
|
@@ -347,7 +347,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
347
347
|
};
|
|
348
348
|
schema_digest: string;
|
|
349
349
|
}, {
|
|
350
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
351
350
|
authority: {
|
|
352
351
|
kind: "community-base";
|
|
353
352
|
profile_contract_digest: string;
|
|
@@ -361,6 +360,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
361
360
|
provider_version: string;
|
|
362
361
|
provider_layer_id: string;
|
|
363
362
|
};
|
|
363
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
364
364
|
profile: string;
|
|
365
365
|
indexer_id: string;
|
|
366
366
|
resolved_digest: string;
|
|
@@ -384,7 +384,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
384
384
|
protocol: "context.indexer.resolved-subject-key-schema-set/v1";
|
|
385
385
|
set_digest: string;
|
|
386
386
|
schemas: {
|
|
387
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
388
387
|
authority: {
|
|
389
388
|
kind: "community-base";
|
|
390
389
|
profile_contract_digest: string;
|
|
@@ -398,6 +397,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
398
397
|
provider_version: string;
|
|
399
398
|
provider_layer_id: string;
|
|
400
399
|
};
|
|
400
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
401
401
|
profile: string;
|
|
402
402
|
indexer_id: string;
|
|
403
403
|
resolved_digest: string;
|
|
@@ -420,7 +420,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
420
420
|
protocol: "context.indexer.resolved-subject-key-schema-set/v1";
|
|
421
421
|
set_digest: string;
|
|
422
422
|
schemas: {
|
|
423
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
424
423
|
authority: {
|
|
425
424
|
kind: "community-base";
|
|
426
425
|
profile_contract_digest: string;
|
|
@@ -434,6 +433,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
434
433
|
provider_version: string;
|
|
435
434
|
provider_layer_id: string;
|
|
436
435
|
};
|
|
436
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
437
437
|
profile: string;
|
|
438
438
|
indexer_id: string;
|
|
439
439
|
resolved_digest: string;
|
|
@@ -456,7 +456,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
456
456
|
protocol: "context.indexer.resolved-subject-key-schema-set/v1";
|
|
457
457
|
set_digest: string;
|
|
458
458
|
schemas: {
|
|
459
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
460
459
|
authority: {
|
|
461
460
|
kind: "community-base";
|
|
462
461
|
profile_contract_digest: string;
|
|
@@ -470,6 +469,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
470
469
|
provider_version: string;
|
|
471
470
|
provider_layer_id: string;
|
|
472
471
|
};
|
|
472
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
473
473
|
profile: string;
|
|
474
474
|
indexer_id: string;
|
|
475
475
|
resolved_digest: string;
|
|
@@ -492,7 +492,6 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
492
492
|
protocol: "context.indexer.resolved-subject-key-schema-set/v1";
|
|
493
493
|
set_digest: string;
|
|
494
494
|
schemas: {
|
|
495
|
-
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
496
495
|
authority: {
|
|
497
496
|
kind: "community-base";
|
|
498
497
|
profile_contract_digest: string;
|
|
@@ -506,6 +505,7 @@ export declare const indexerResolvedSubjectKeySchemaSetSchema: z.ZodEffects<z.Zo
|
|
|
506
505
|
provider_version: string;
|
|
507
506
|
provider_layer_id: string;
|
|
508
507
|
};
|
|
508
|
+
protocol: "context.indexer.resolved-subject-key-schema/v1";
|
|
509
509
|
profile: string;
|
|
510
510
|
indexer_id: string;
|
|
511
511
|
resolved_digest: string;
|
|
@@ -555,6 +555,7 @@ export declare function resolveIndexerSubjectKeySchemas(input: {
|
|
|
555
555
|
providers: readonly IndexerSubjectKeyProviderAuthority[];
|
|
556
556
|
}): IndexerResolvedSubjectKeySchemaSet;
|
|
557
557
|
export declare function validateIndexerSubjectKeyForSchema(value: unknown, resolvedValue: unknown): IndexerSubjectKey;
|
|
558
|
+
export declare function validateIndexerSubjectKeyForContract(value: unknown, contractValue: unknown, profile?: string): IndexerSubjectKey;
|
|
558
559
|
export declare const indexerSubjectReidentificationReportSchema: z.ZodObject<{
|
|
559
560
|
protocol: z.ZodLiteral<"context.indexer.subject-reidentification-report/v1">;
|
|
560
561
|
profile: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -575,21 +576,21 @@ export declare const indexerSubjectReidentificationReportSchema: z.ZodObject<{
|
|
|
575
576
|
local_key: z.ZodEffects<z.ZodString, string, string>;
|
|
576
577
|
}, "strict", z.ZodTypeAny, {
|
|
577
578
|
kind: string;
|
|
578
|
-
protocol: "context.subject-key/v1";
|
|
579
579
|
namespace: string;
|
|
580
|
+
protocol: "context.subject-key/v1";
|
|
580
581
|
local_key: string;
|
|
581
582
|
}, {
|
|
582
583
|
kind: string;
|
|
583
|
-
protocol: "context.subject-key/v1";
|
|
584
584
|
namespace: string;
|
|
585
|
+
protocol: "context.subject-key/v1";
|
|
585
586
|
local_key: string;
|
|
586
587
|
}>;
|
|
587
588
|
}, "strict", z.ZodTypeAny, {
|
|
588
589
|
old_node_ref: string;
|
|
589
590
|
new_subject_key: {
|
|
590
591
|
kind: string;
|
|
591
|
-
protocol: "context.subject-key/v1";
|
|
592
592
|
namespace: string;
|
|
593
|
+
protocol: "context.subject-key/v1";
|
|
593
594
|
local_key: string;
|
|
594
595
|
};
|
|
595
596
|
new_node_ref: string;
|
|
@@ -597,8 +598,8 @@ export declare const indexerSubjectReidentificationReportSchema: z.ZodObject<{
|
|
|
597
598
|
old_node_ref: string;
|
|
598
599
|
new_subject_key: {
|
|
599
600
|
kind: string;
|
|
600
|
-
protocol: "context.subject-key/v1";
|
|
601
601
|
namespace: string;
|
|
602
|
+
protocol: "context.subject-key/v1";
|
|
602
603
|
local_key: string;
|
|
603
604
|
};
|
|
604
605
|
new_node_ref: string;
|
|
@@ -640,28 +641,28 @@ export declare const indexerSubjectReidentificationReportSchema: z.ZodObject<{
|
|
|
640
641
|
activation_allowed: z.ZodBoolean;
|
|
641
642
|
report_digest: z.ZodString;
|
|
642
643
|
}, "strict", z.ZodTypeAny, {
|
|
643
|
-
protocol: "context.indexer.subject-reidentification-report/v1";
|
|
644
644
|
issues: ("schema-version-not-increased" | "authority-major-not-increased" | "missing-mapping" | "unknown-mapping-source" | "ambiguous-mapping" | "collision")[];
|
|
645
|
+
protocol: "context.indexer.subject-reidentification-report/v1";
|
|
645
646
|
profile: string;
|
|
646
647
|
mapping_digest: string;
|
|
647
648
|
report_digest: string;
|
|
648
|
-
classification: "
|
|
649
|
-
old_schema_digest: string;
|
|
650
|
-
new_schema_digest: string;
|
|
651
|
-
old_authority_version: string;
|
|
652
|
-
new_authority_version: string;
|
|
653
|
-
approved_catalog_digest: string;
|
|
654
|
-
affected_node_refs: string[];
|
|
649
|
+
classification: "equivalent" | "compatible" | "identity-breaking";
|
|
655
650
|
mappings: {
|
|
656
651
|
old_node_ref: string;
|
|
657
652
|
new_subject_key: {
|
|
658
653
|
kind: string;
|
|
659
|
-
protocol: "context.subject-key/v1";
|
|
660
654
|
namespace: string;
|
|
655
|
+
protocol: "context.subject-key/v1";
|
|
661
656
|
local_key: string;
|
|
662
657
|
};
|
|
663
658
|
new_node_ref: string;
|
|
664
659
|
}[];
|
|
660
|
+
old_schema_digest: string;
|
|
661
|
+
new_schema_digest: string;
|
|
662
|
+
old_authority_version: string;
|
|
663
|
+
new_authority_version: string;
|
|
664
|
+
approved_catalog_digest: string;
|
|
665
|
+
affected_node_refs: string[];
|
|
665
666
|
missing_node_refs: string[];
|
|
666
667
|
splits: {
|
|
667
668
|
old_node_ref: string;
|
|
@@ -678,28 +679,28 @@ export declare const indexerSubjectReidentificationReportSchema: z.ZodObject<{
|
|
|
678
679
|
gate_required: boolean;
|
|
679
680
|
activation_allowed: boolean;
|
|
680
681
|
}, {
|
|
681
|
-
protocol: "context.indexer.subject-reidentification-report/v1";
|
|
682
682
|
issues: ("schema-version-not-increased" | "authority-major-not-increased" | "missing-mapping" | "unknown-mapping-source" | "ambiguous-mapping" | "collision")[];
|
|
683
|
+
protocol: "context.indexer.subject-reidentification-report/v1";
|
|
683
684
|
profile: string;
|
|
684
685
|
mapping_digest: string;
|
|
685
686
|
report_digest: string;
|
|
686
|
-
classification: "
|
|
687
|
-
old_schema_digest: string;
|
|
688
|
-
new_schema_digest: string;
|
|
689
|
-
old_authority_version: string;
|
|
690
|
-
new_authority_version: string;
|
|
691
|
-
approved_catalog_digest: string;
|
|
692
|
-
affected_node_refs: string[];
|
|
687
|
+
classification: "equivalent" | "compatible" | "identity-breaking";
|
|
693
688
|
mappings: {
|
|
694
689
|
old_node_ref: string;
|
|
695
690
|
new_subject_key: {
|
|
696
691
|
kind: string;
|
|
697
|
-
protocol: "context.subject-key/v1";
|
|
698
692
|
namespace: string;
|
|
693
|
+
protocol: "context.subject-key/v1";
|
|
699
694
|
local_key: string;
|
|
700
695
|
};
|
|
701
696
|
new_node_ref: string;
|
|
702
697
|
}[];
|
|
698
|
+
old_schema_digest: string;
|
|
699
|
+
new_schema_digest: string;
|
|
700
|
+
old_authority_version: string;
|
|
701
|
+
new_authority_version: string;
|
|
702
|
+
approved_catalog_digest: string;
|
|
703
|
+
affected_node_refs: string[];
|
|
703
704
|
missing_node_refs: string[];
|
|
704
705
|
splits: {
|
|
705
706
|
old_node_ref: string;
|
|
@@ -23,32 +23,32 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
23
23
|
maximum_length: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
maximum_items: z.ZodOptional<z.ZodNumber>;
|
|
25
25
|
}, "strict", z.ZodTypeAny, {
|
|
26
|
-
id: string;
|
|
27
26
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
27
|
+
id: string;
|
|
28
28
|
required: boolean;
|
|
29
29
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
30
30
|
evidence_required: boolean;
|
|
31
31
|
maximum_length?: number | undefined;
|
|
32
32
|
maximum_items?: number | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
id: string;
|
|
35
34
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
35
|
+
id: string;
|
|
36
36
|
required: boolean;
|
|
37
37
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
38
38
|
evidence_required: boolean;
|
|
39
39
|
maximum_length?: number | undefined;
|
|
40
40
|
maximum_items?: number | undefined;
|
|
41
41
|
}>, {
|
|
42
|
-
id: string;
|
|
43
42
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
43
|
+
id: string;
|
|
44
44
|
required: boolean;
|
|
45
45
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
46
46
|
evidence_required: boolean;
|
|
47
47
|
maximum_length?: number | undefined;
|
|
48
48
|
maximum_items?: number | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
id: string;
|
|
51
50
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
51
|
+
id: string;
|
|
52
52
|
required: boolean;
|
|
53
53
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
54
54
|
evidence_required: boolean;
|
|
@@ -80,48 +80,48 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
80
80
|
on_missing: z.ZodEnum<["request-input", "omit"]>;
|
|
81
81
|
deletion_condition: z.ZodString;
|
|
82
82
|
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
reader_goal: string;
|
|
84
83
|
section_key: string;
|
|
84
|
+
reader_goal: string;
|
|
85
85
|
question_ref: string;
|
|
86
86
|
presence: "required" | "optional";
|
|
87
87
|
variable_ids: string[];
|
|
88
88
|
deterministic_block_ids: string[];
|
|
89
|
-
accepted_evidence_kinds: ("
|
|
89
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
90
90
|
minimum_evidence_items: number;
|
|
91
|
-
on_missing: "
|
|
91
|
+
on_missing: "omit" | "request-input";
|
|
92
92
|
deletion_condition: string;
|
|
93
93
|
}, {
|
|
94
|
-
reader_goal: string;
|
|
95
94
|
section_key: string;
|
|
95
|
+
reader_goal: string;
|
|
96
96
|
question_ref: string;
|
|
97
97
|
presence: "required" | "optional";
|
|
98
98
|
variable_ids: string[];
|
|
99
99
|
deterministic_block_ids: string[];
|
|
100
|
-
accepted_evidence_kinds: ("
|
|
100
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
101
101
|
minimum_evidence_items: number;
|
|
102
|
-
on_missing: "
|
|
102
|
+
on_missing: "omit" | "request-input";
|
|
103
103
|
deletion_condition: string;
|
|
104
104
|
}>, {
|
|
105
|
-
reader_goal: string;
|
|
106
105
|
section_key: string;
|
|
106
|
+
reader_goal: string;
|
|
107
107
|
question_ref: string;
|
|
108
108
|
presence: "required" | "optional";
|
|
109
109
|
variable_ids: string[];
|
|
110
110
|
deterministic_block_ids: string[];
|
|
111
|
-
accepted_evidence_kinds: ("
|
|
111
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
112
112
|
minimum_evidence_items: number;
|
|
113
|
-
on_missing: "
|
|
113
|
+
on_missing: "omit" | "request-input";
|
|
114
114
|
deletion_condition: string;
|
|
115
115
|
}, {
|
|
116
|
-
reader_goal: string;
|
|
117
116
|
section_key: string;
|
|
117
|
+
reader_goal: string;
|
|
118
118
|
question_ref: string;
|
|
119
119
|
presence: "required" | "optional";
|
|
120
120
|
variable_ids: string[];
|
|
121
121
|
deterministic_block_ids: string[];
|
|
122
|
-
accepted_evidence_kinds: ("
|
|
122
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
123
123
|
minimum_evidence_items: number;
|
|
124
|
-
on_missing: "
|
|
124
|
+
on_missing: "omit" | "request-input";
|
|
125
125
|
deletion_condition: string;
|
|
126
126
|
}>, "many">;
|
|
127
127
|
page_policy: z.ZodObject<{
|
|
@@ -144,27 +144,27 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
144
144
|
}, "strict", z.ZodTypeAny, {
|
|
145
145
|
protocol: "context.indexer.template/v1";
|
|
146
146
|
profile: string;
|
|
147
|
+
reader_goal: string;
|
|
147
148
|
template_id: string;
|
|
148
149
|
variables: {
|
|
149
|
-
id: string;
|
|
150
150
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
151
|
+
id: string;
|
|
151
152
|
required: boolean;
|
|
152
153
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
153
154
|
evidence_required: boolean;
|
|
154
155
|
maximum_length?: number | undefined;
|
|
155
156
|
maximum_items?: number | undefined;
|
|
156
157
|
}[];
|
|
157
|
-
reader_goal: string;
|
|
158
158
|
sections: {
|
|
159
|
-
reader_goal: string;
|
|
160
159
|
section_key: string;
|
|
160
|
+
reader_goal: string;
|
|
161
161
|
question_ref: string;
|
|
162
162
|
presence: "required" | "optional";
|
|
163
163
|
variable_ids: string[];
|
|
164
164
|
deterministic_block_ids: string[];
|
|
165
|
-
accepted_evidence_kinds: ("
|
|
165
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
166
166
|
minimum_evidence_items: number;
|
|
167
|
-
on_missing: "
|
|
167
|
+
on_missing: "omit" | "request-input";
|
|
168
168
|
deletion_condition: string;
|
|
169
169
|
}[];
|
|
170
170
|
applicability: {
|
|
@@ -188,27 +188,27 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
188
188
|
}, {
|
|
189
189
|
protocol: "context.indexer.template/v1";
|
|
190
190
|
profile: string;
|
|
191
|
+
reader_goal: string;
|
|
191
192
|
template_id: string;
|
|
192
193
|
variables: {
|
|
193
|
-
id: string;
|
|
194
194
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
195
|
+
id: string;
|
|
195
196
|
required: boolean;
|
|
196
197
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
197
198
|
evidence_required: boolean;
|
|
198
199
|
maximum_length?: number | undefined;
|
|
199
200
|
maximum_items?: number | undefined;
|
|
200
201
|
}[];
|
|
201
|
-
reader_goal: string;
|
|
202
202
|
sections: {
|
|
203
|
-
reader_goal: string;
|
|
204
203
|
section_key: string;
|
|
204
|
+
reader_goal: string;
|
|
205
205
|
question_ref: string;
|
|
206
206
|
presence: "required" | "optional";
|
|
207
207
|
variable_ids: string[];
|
|
208
208
|
deterministic_block_ids: string[];
|
|
209
|
-
accepted_evidence_kinds: ("
|
|
209
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
210
210
|
minimum_evidence_items: number;
|
|
211
|
-
on_missing: "
|
|
211
|
+
on_missing: "omit" | "request-input";
|
|
212
212
|
deletion_condition: string;
|
|
213
213
|
}[];
|
|
214
214
|
applicability: {
|
|
@@ -232,27 +232,27 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
232
232
|
}>, {
|
|
233
233
|
protocol: "context.indexer.template/v1";
|
|
234
234
|
profile: string;
|
|
235
|
+
reader_goal: string;
|
|
235
236
|
template_id: string;
|
|
236
237
|
variables: {
|
|
237
|
-
id: string;
|
|
238
238
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
239
|
+
id: string;
|
|
239
240
|
required: boolean;
|
|
240
241
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
241
242
|
evidence_required: boolean;
|
|
242
243
|
maximum_length?: number | undefined;
|
|
243
244
|
maximum_items?: number | undefined;
|
|
244
245
|
}[];
|
|
245
|
-
reader_goal: string;
|
|
246
246
|
sections: {
|
|
247
|
-
reader_goal: string;
|
|
248
247
|
section_key: string;
|
|
248
|
+
reader_goal: string;
|
|
249
249
|
question_ref: string;
|
|
250
250
|
presence: "required" | "optional";
|
|
251
251
|
variable_ids: string[];
|
|
252
252
|
deterministic_block_ids: string[];
|
|
253
|
-
accepted_evidence_kinds: ("
|
|
253
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
254
254
|
minimum_evidence_items: number;
|
|
255
|
-
on_missing: "
|
|
255
|
+
on_missing: "omit" | "request-input";
|
|
256
256
|
deletion_condition: string;
|
|
257
257
|
}[];
|
|
258
258
|
applicability: {
|
|
@@ -276,27 +276,27 @@ export declare const indexerTemplateContractSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
276
|
}, {
|
|
277
277
|
protocol: "context.indexer.template/v1";
|
|
278
278
|
profile: string;
|
|
279
|
+
reader_goal: string;
|
|
279
280
|
template_id: string;
|
|
280
281
|
variables: {
|
|
281
|
-
id: string;
|
|
282
282
|
type: "string" | "number" | "boolean" | "string-list" | "string-map" | "json";
|
|
283
|
+
id: string;
|
|
283
284
|
required: boolean;
|
|
284
285
|
content_layer: "semantic-prose" | "deterministic-fact";
|
|
285
286
|
evidence_required: boolean;
|
|
286
287
|
maximum_length?: number | undefined;
|
|
287
288
|
maximum_items?: number | undefined;
|
|
288
289
|
}[];
|
|
289
|
-
reader_goal: string;
|
|
290
290
|
sections: {
|
|
291
|
-
reader_goal: string;
|
|
292
291
|
section_key: string;
|
|
292
|
+
reader_goal: string;
|
|
293
293
|
question_ref: string;
|
|
294
294
|
presence: "required" | "optional";
|
|
295
295
|
variable_ids: string[];
|
|
296
296
|
deterministic_block_ids: string[];
|
|
297
|
-
accepted_evidence_kinds: ("
|
|
297
|
+
accepted_evidence_kinds: ("code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot")[];
|
|
298
298
|
minimum_evidence_items: number;
|
|
299
|
-
on_missing: "
|
|
299
|
+
on_missing: "omit" | "request-input";
|
|
300
300
|
deletion_condition: string;
|
|
301
301
|
}[];
|
|
302
302
|
applicability: {
|
|
@@ -344,50 +344,50 @@ export declare const indexerRenderedArtifactSchema: z.ZodObject<{
|
|
|
344
344
|
content_digest: z.ZodString;
|
|
345
345
|
}, "strict", z.ZodTypeAny, {
|
|
346
346
|
evidence_refs: string[];
|
|
347
|
-
content_digest: string;
|
|
348
347
|
layer: "deterministic-block" | "semantic-prose";
|
|
349
348
|
fact_refs: string[];
|
|
350
349
|
markdown: string;
|
|
350
|
+
content_digest: string;
|
|
351
351
|
}, {
|
|
352
352
|
evidence_refs: string[];
|
|
353
|
-
content_digest: string;
|
|
354
353
|
layer: "deterministic-block" | "semantic-prose";
|
|
355
354
|
fact_refs: string[];
|
|
356
355
|
markdown: string;
|
|
356
|
+
content_digest: string;
|
|
357
357
|
}>, "many">;
|
|
358
358
|
evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
359
359
|
content_digest: z.ZodString;
|
|
360
360
|
}, "strict", z.ZodTypeAny, {
|
|
361
361
|
evidence_refs: string[];
|
|
362
|
-
artifact_kind: string;
|
|
363
|
-
document_kind: string;
|
|
364
|
-
reader_goal: string;
|
|
365
|
-
content_digest: string;
|
|
366
362
|
markdown: string;
|
|
363
|
+
content_digest: string;
|
|
367
364
|
section_key: string;
|
|
368
365
|
owner_indexer_id: string;
|
|
366
|
+
document_kind: string;
|
|
367
|
+
reader_goal: string;
|
|
368
|
+
artifact_kind: string;
|
|
369
369
|
content_blocks: {
|
|
370
370
|
evidence_refs: string[];
|
|
371
|
-
content_digest: string;
|
|
372
371
|
layer: "deterministic-block" | "semantic-prose";
|
|
373
372
|
fact_refs: string[];
|
|
374
373
|
markdown: string;
|
|
374
|
+
content_digest: string;
|
|
375
375
|
}[];
|
|
376
376
|
}, {
|
|
377
377
|
evidence_refs: string[];
|
|
378
|
-
artifact_kind: string;
|
|
379
|
-
document_kind: string;
|
|
380
|
-
reader_goal: string;
|
|
381
|
-
content_digest: string;
|
|
382
378
|
markdown: string;
|
|
379
|
+
content_digest: string;
|
|
383
380
|
section_key: string;
|
|
384
381
|
owner_indexer_id: string;
|
|
382
|
+
document_kind: string;
|
|
383
|
+
reader_goal: string;
|
|
384
|
+
artifact_kind: string;
|
|
385
385
|
content_blocks: {
|
|
386
386
|
evidence_refs: string[];
|
|
387
|
-
content_digest: string;
|
|
388
387
|
layer: "deterministic-block" | "semantic-prose";
|
|
389
388
|
fact_refs: string[];
|
|
390
389
|
markdown: string;
|
|
390
|
+
content_digest: string;
|
|
391
391
|
}[];
|
|
392
392
|
}>, "many">;
|
|
393
393
|
material_question_gaps: z.ZodArray<z.ZodObject<{
|
|
@@ -411,28 +411,28 @@ export declare const indexerRenderedArtifactSchema: z.ZodObject<{
|
|
|
411
411
|
}, "strict", z.ZodTypeAny, {
|
|
412
412
|
protocol: "context.indexer.rendered-artifact/v1";
|
|
413
413
|
profile: string;
|
|
414
|
-
template_id: string;
|
|
415
414
|
artifact_kind: string;
|
|
416
|
-
|
|
415
|
+
template_id: string;
|
|
417
416
|
artifact_id: string;
|
|
418
|
-
|
|
417
|
+
artifact_policy_variant: string;
|
|
419
418
|
sections: {
|
|
420
419
|
evidence_refs: string[];
|
|
421
|
-
artifact_kind: string;
|
|
422
|
-
document_kind: string;
|
|
423
|
-
reader_goal: string;
|
|
424
|
-
content_digest: string;
|
|
425
420
|
markdown: string;
|
|
421
|
+
content_digest: string;
|
|
426
422
|
section_key: string;
|
|
427
423
|
owner_indexer_id: string;
|
|
424
|
+
document_kind: string;
|
|
425
|
+
reader_goal: string;
|
|
426
|
+
artifact_kind: string;
|
|
428
427
|
content_blocks: {
|
|
429
428
|
evidence_refs: string[];
|
|
430
|
-
content_digest: string;
|
|
431
429
|
layer: "deterministic-block" | "semantic-prose";
|
|
432
430
|
fact_refs: string[];
|
|
433
431
|
markdown: string;
|
|
432
|
+
content_digest: string;
|
|
434
433
|
}[];
|
|
435
434
|
}[];
|
|
435
|
+
artifact_result_digest: string;
|
|
436
436
|
template_digest: string;
|
|
437
437
|
template_origin: "provider" | "customization-override";
|
|
438
438
|
material_question_gaps: {
|
|
@@ -446,28 +446,28 @@ export declare const indexerRenderedArtifactSchema: z.ZodObject<{
|
|
|
446
446
|
}, {
|
|
447
447
|
protocol: "context.indexer.rendered-artifact/v1";
|
|
448
448
|
profile: string;
|
|
449
|
-
template_id: string;
|
|
450
449
|
artifact_kind: string;
|
|
451
|
-
|
|
450
|
+
template_id: string;
|
|
452
451
|
artifact_id: string;
|
|
453
|
-
|
|
452
|
+
artifact_policy_variant: string;
|
|
454
453
|
sections: {
|
|
455
454
|
evidence_refs: string[];
|
|
456
|
-
artifact_kind: string;
|
|
457
|
-
document_kind: string;
|
|
458
|
-
reader_goal: string;
|
|
459
|
-
content_digest: string;
|
|
460
455
|
markdown: string;
|
|
456
|
+
content_digest: string;
|
|
461
457
|
section_key: string;
|
|
462
458
|
owner_indexer_id: string;
|
|
459
|
+
document_kind: string;
|
|
460
|
+
reader_goal: string;
|
|
461
|
+
artifact_kind: string;
|
|
463
462
|
content_blocks: {
|
|
464
463
|
evidence_refs: string[];
|
|
465
|
-
content_digest: string;
|
|
466
464
|
layer: "deterministic-block" | "semantic-prose";
|
|
467
465
|
fact_refs: string[];
|
|
468
466
|
markdown: string;
|
|
467
|
+
content_digest: string;
|
|
469
468
|
}[];
|
|
470
469
|
}[];
|
|
470
|
+
artifact_result_digest: string;
|
|
471
471
|
template_digest: string;
|
|
472
472
|
template_origin: "provider" | "customization-override";
|
|
473
473
|
material_question_gaps: {
|