@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.
Files changed (117) hide show
  1. package/README.md +65 -170
  2. package/README.zh-CN.md +52 -129
  3. package/docs/README.md +9 -10
  4. package/docs/README.zh-CN.md +6 -7
  5. package/docs/getting-started.md +73 -428
  6. package/docs/guides/agent-guide.md +94 -518
  7. package/docs/guides/code-indexer-skill-authoring.md +24 -13
  8. package/docs/guides/markdown-indexer-skill-authoring.md +14 -14
  9. package/docs/reference/code-extractors.md +29 -121
  10. package/docs/reference/indexer-provider-protocol.md +43 -110
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -986
  13. package/index.d.ts +10 -8
  14. package/index.js +4739 -7103
  15. package/indexerAgentStepProtocol.d.ts +1366 -7649
  16. package/indexerArtifact.d.ts +225 -0
  17. package/indexerArtifactDependencies.d.ts +41 -39
  18. package/indexerArtifactResult.d.ts +219 -252
  19. package/indexerAuthorizedWorksetView.d.ts +368 -0
  20. package/indexerBaseQuestionAmendment.d.ts +484 -280
  21. package/indexerBenchmark.d.ts +16 -16
  22. package/indexerCandidateCompile.d.ts +66 -60
  23. package/indexerCapabilityGroupEvidence.d.ts +6 -6
  24. package/indexerCatalogFallback.d.ts +122 -128
  25. package/indexerCollectionMapping.d.ts +13 -13
  26. package/indexerContentLayers.d.ts +8 -8
  27. package/indexerContractOverlay.d.ts +10 -10
  28. package/indexerControlledInvocation.d.ts +12 -12
  29. package/indexerControlledProgram.d.ts +2467 -2797
  30. package/indexerCoreExports.d.ts +6 -6
  31. package/indexerCustomizationDraft.d.ts +3315 -2091
  32. package/indexerCustomizationLadder.d.ts +2 -2
  33. package/indexerDependencyView.d.ts +108 -108
  34. package/indexerEffectiveArtifact.d.ts +1134 -0
  35. package/indexerEvidenceAdapterAuthorityMerge.d.ts +48 -0
  36. package/indexerEvidenceAdapterResult.d.ts +52 -52
  37. package/indexerExampleDecision.d.ts +128 -128
  38. package/indexerExampleIdentity.d.ts +6 -6
  39. package/indexerGeneratedAuthoringAudit.d.ts +18 -18
  40. package/indexerIncrementalImpact.d.ts +16 -16
  41. package/indexerInspectorWorksetProjection.d.ts +6 -0
  42. package/indexerInventoryDisposition.d.ts +70 -70
  43. package/indexerLayerComposition.d.ts +2139 -373
  44. package/indexerLayoutChange.d.ts +10 -10
  45. package/indexerLayoutProposalSet.d.ts +71 -66
  46. package/indexerLayoutResolver.d.ts +53 -48
  47. package/indexerLayoutTransition.d.ts +0 -50
  48. package/indexerLifecycle.d.ts +0 -13
  49. package/indexerMainLifecycle.d.ts +10 -0
  50. package/indexerMainRunLedger.d.ts +138 -11
  51. package/indexerMainRunProtocol.d.ts +1406 -785
  52. package/indexerMainWorkset.d.ts +460 -206
  53. package/indexerMaterialGapLedger.d.ts +13 -2904
  54. package/indexerOverlayQuestionAmendment.d.ts +491 -287
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1022 -614
  56. package/indexerParserCapabilityCatalog.d.ts +136 -0
  57. package/indexerParserCoordinate.d.ts +16 -16
  58. package/indexerParserDependencyIntent.d.ts +22 -0
  59. package/indexerParserExecutionPlan.d.ts +388 -0
  60. package/indexerParserFactView.d.ts +42 -22
  61. package/indexerPartitionConvergence.d.ts +0 -3
  62. package/indexerPartitionInventory.d.ts +2 -0
  63. package/indexerPartitionPlan.d.ts +101 -99
  64. package/indexerPhysicalArtifactManifest.d.ts +8 -8
  65. package/indexerPostAuthorComposition.d.ts +116 -1156
  66. package/indexerPostAuthorRunLedger.d.ts +1434 -280
  67. package/indexerPrimaryProjection.d.ts +10 -10
  68. package/indexerPrimaryResultView.d.ts +435 -0
  69. package/indexerProfileContract.d.ts +181 -181
  70. package/indexerProgramExecutionAuthorization.d.ts +12 -12
  71. package/indexerProgramRunProtocol.d.ts +2141 -2749
  72. package/indexerProjectProposal.d.ts +496 -292
  73. package/indexerProjectedArtifactFanOutAudit.d.ts +0 -3
  74. package/indexerProtocolCommon.d.ts +4 -1
  75. package/indexerProvider.d.ts +134 -218
  76. package/indexerProviderComposition.d.ts +53 -53
  77. package/indexerProviderResolution.d.ts +12 -12
  78. package/indexerProviderResolutionAction.d.ts +14 -14
  79. package/indexerProviderRouting.d.ts +923 -515
  80. package/indexerProviderSelectionProposal.d.ts +893 -485
  81. package/indexerQuestionAuthority.d.ts +46 -47
  82. package/indexerReaderTargetInventory.d.ts +8 -8
  83. package/indexerRegistry.d.ts +765 -357
  84. package/indexerRequirementConfirmation.d.ts +98 -98
  85. package/indexerRequirementLifecycle.d.ts +224 -224
  86. package/indexerResultReconciliation.d.ts +204 -5919
  87. package/indexerResultReconciliationRun.d.ts +0 -1
  88. package/indexerRunEnvelope.d.ts +20 -20
  89. package/indexerSemanticInput.d.ts +3678 -0
  90. package/indexerStructuredDeclaration.d.ts +57 -53
  91. package/indexerSubjectCatalog.d.ts +14 -14
  92. package/indexerSubjectIdentity.d.ts +2 -2
  93. package/indexerSubjectKeyAuthority.d.ts +31 -30
  94. package/indexerTemplateRendering.d.ts +64 -64
  95. package/indexerToolSnapshot.d.ts +8 -8
  96. package/package.json +1 -1
  97. package/phases.d.ts +3 -183
  98. package/codeIndexPlan.d.ts +0 -158
  99. package/indexerAuditFacts.d.ts +0 -66
  100. package/indexerAuditOverrideReadiness.d.ts +0 -27
  101. package/indexerAuditProtocol.d.ts +0 -238
  102. package/indexerAuditRevision.d.ts +0 -726
  103. package/indexerAuditRevisionActions.d.ts +0 -236
  104. package/indexerMaterialAnswer.d.ts +0 -738
  105. package/indexerMaterialAnswerActualization.d.ts +0 -91
  106. package/indexerMaterialAnswerExecutionPlan.d.ts +0 -2887
  107. package/indexerMaterialAnswerFlow.d.ts +0 -63
  108. package/indexerMaterialAnswerLayout.d.ts +0 -76
  109. package/indexerMaterialAnswerReview.d.ts +0 -217
  110. package/indexerMaterialAnswerReviewRoute.d.ts +0 -6145
  111. package/indexerMaterialAnswerRunLedger.d.ts +0 -918
  112. package/indexerMaterialAnswerRunProtocol.d.ts +0 -1253
  113. package/indexerMaterialQuestionExclusion.d.ts +0 -129
  114. package/indexerMaterialQuestionWorkset.d.ts +0 -508
  115. package/indexerPlannedMaterialAnswer.d.ts +0 -116
  116. package/indexerProfileMetricAudit.d.ts +0 -218
  117. package/indexerWorksetRead.d.ts +0 -287
@@ -399,14 +399,14 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
399
399
  registry_digest: z.ZodString;
400
400
  }, "strict", z.ZodTypeAny, {
401
401
  requirement_set_digest: string;
402
- registry_digest: string;
403
402
  document_digest: string;
404
403
  indexer_selection_digest: string;
404
+ registry_digest: string;
405
405
  }, {
406
406
  requirement_set_digest: string;
407
- registry_digest: string;
408
407
  document_digest: string;
409
408
  indexer_selection_digest: string;
409
+ registry_digest: string;
410
410
  }>;
411
411
  target_registry: z.ZodObject<{
412
412
  document_digest: z.ZodString;
@@ -415,14 +415,14 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
415
415
  registry_digest: z.ZodString;
416
416
  }, "strict", z.ZodTypeAny, {
417
417
  requirement_set_digest: string;
418
- registry_digest: string;
419
418
  document_digest: string;
420
419
  indexer_selection_digest: string;
420
+ registry_digest: string;
421
421
  }, {
422
422
  requirement_set_digest: string;
423
- registry_digest: string;
424
423
  document_digest: string;
425
424
  indexer_selection_digest: string;
425
+ registry_digest: string;
426
426
  }>;
427
427
  target_document: z.ZodEffects<z.ZodObject<{
428
428
  protocol: z.ZodLiteral<"context.indexer.registry/v1">;
@@ -437,12 +437,12 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
437
437
  ref: z.ZodString;
438
438
  digest: z.ZodString;
439
439
  }, "strict", z.ZodTypeAny, {
440
- kind: "cli-base-contract" | "verified-contract-overlay";
441
440
  ref: string;
441
+ kind: "cli-base-contract" | "verified-contract-overlay";
442
442
  digest: string;
443
443
  }, {
444
- kind: "cli-base-contract" | "verified-contract-overlay";
445
444
  ref: string;
445
+ kind: "cli-base-contract" | "verified-contract-overlay";
446
446
  digest: string;
447
447
  }>;
448
448
  contract_version: z.ZodNumber;
@@ -450,8 +450,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
450
450
  }, "strict", z.ZodTypeAny, {
451
451
  ref: string;
452
452
  authority: {
453
- kind: "cli-base-contract" | "verified-contract-overlay";
454
453
  ref: string;
454
+ kind: "cli-base-contract" | "verified-contract-overlay";
455
455
  digest: string;
456
456
  };
457
457
  contract_version: number;
@@ -459,8 +459,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
459
459
  }, {
460
460
  ref: string;
461
461
  authority: {
462
- kind: "cli-base-contract" | "verified-contract-overlay";
463
462
  ref: string;
463
+ kind: "cli-base-contract" | "verified-contract-overlay";
464
464
  digest: string;
465
465
  };
466
466
  contract_version: number;
@@ -469,19 +469,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
469
469
  target_scope: z.ZodEffects<z.ZodObject<{
470
470
  targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
471
471
  source_ref: z.ZodString;
472
- module_refs: z.ZodArray<z.ZodString, "many">;
472
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
473
473
  }, "strict", z.ZodTypeAny, {
474
474
  source_ref: string;
475
475
  module_refs: string[];
476
476
  }, {
477
477
  source_ref: string;
478
- module_refs: string[];
478
+ module_refs?: string[] | undefined;
479
479
  }>, {
480
480
  source_ref: string;
481
481
  module_refs: string[];
482
482
  }, {
483
483
  source_ref: string;
484
- module_refs: string[];
484
+ module_refs?: string[] | undefined;
485
485
  }>, "many">;
486
486
  }, "strict", z.ZodTypeAny, {
487
487
  targets: {
@@ -491,7 +491,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
491
491
  }, {
492
492
  targets: {
493
493
  source_ref: string;
494
- module_refs: string[];
494
+ module_refs?: string[] | undefined;
495
495
  }[];
496
496
  }>, {
497
497
  targets: {
@@ -501,25 +501,25 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
501
501
  }, {
502
502
  targets: {
503
503
  source_ref: string;
504
- module_refs: string[];
504
+ module_refs?: string[] | undefined;
505
505
  }[];
506
506
  }>;
507
507
  evidence_source_scope: z.ZodEffects<z.ZodObject<{
508
508
  targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
509
509
  source_ref: z.ZodString;
510
- module_refs: z.ZodArray<z.ZodString, "many">;
510
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
511
511
  }, "strict", z.ZodTypeAny, {
512
512
  source_ref: string;
513
513
  module_refs: string[];
514
514
  }, {
515
515
  source_ref: string;
516
- module_refs: string[];
516
+ module_refs?: string[] | undefined;
517
517
  }>, {
518
518
  source_ref: string;
519
519
  module_refs: string[];
520
520
  }, {
521
521
  source_ref: string;
522
- module_refs: string[];
522
+ module_refs?: string[] | undefined;
523
523
  }>, "many">;
524
524
  }, "strict", z.ZodTypeAny, {
525
525
  targets: {
@@ -529,7 +529,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
529
529
  }, {
530
530
  targets: {
531
531
  source_ref: string;
532
- module_refs: string[];
532
+ module_refs?: string[] | undefined;
533
533
  }[];
534
534
  }>, {
535
535
  targets: {
@@ -539,7 +539,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
539
539
  }, {
540
540
  targets: {
541
541
  source_ref: string;
542
- module_refs: string[];
542
+ module_refs?: string[] | undefined;
543
543
  }[];
544
544
  }>;
545
545
  exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -547,19 +547,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
547
547
  scope: z.ZodEffects<z.ZodObject<{
548
548
  targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
549
549
  source_ref: z.ZodString;
550
- module_refs: z.ZodArray<z.ZodString, "many">;
550
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
551
551
  }, "strict", z.ZodTypeAny, {
552
552
  source_ref: string;
553
553
  module_refs: string[];
554
554
  }, {
555
555
  source_ref: string;
556
- module_refs: string[];
556
+ module_refs?: string[] | undefined;
557
557
  }>, {
558
558
  source_ref: string;
559
559
  module_refs: string[];
560
560
  }, {
561
561
  source_ref: string;
562
- module_refs: string[];
562
+ module_refs?: string[] | undefined;
563
563
  }>, "many">;
564
564
  }, "strict", z.ZodTypeAny, {
565
565
  targets: {
@@ -569,7 +569,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
569
569
  }, {
570
570
  targets: {
571
571
  source_ref: string;
572
- module_refs: string[];
572
+ module_refs?: string[] | undefined;
573
573
  }[];
574
574
  }>, {
575
575
  targets: {
@@ -579,7 +579,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
579
579
  }, {
580
580
  targets: {
581
581
  source_ref: string;
582
- module_refs: string[];
582
+ module_refs?: string[] | undefined;
583
583
  }[];
584
584
  }>;
585
585
  reason: z.ZodString;
@@ -597,7 +597,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
597
597
  scope: {
598
598
  targets: {
599
599
  source_ref: string;
600
- module_refs: string[];
600
+ module_refs?: string[] | undefined;
601
601
  }[];
602
602
  };
603
603
  reason: string;
@@ -621,8 +621,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
621
621
  questions?: {
622
622
  ref: string;
623
623
  authority: {
624
- kind: "cli-base-contract" | "verified-contract-overlay";
625
624
  ref: string;
625
+ kind: "cli-base-contract" | "verified-contract-overlay";
626
626
  digest: string;
627
627
  };
628
628
  contract_version: number;
@@ -645,20 +645,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
645
645
  target_scope: {
646
646
  targets: {
647
647
  source_ref: string;
648
- module_refs: string[];
648
+ module_refs?: string[] | undefined;
649
649
  }[];
650
650
  };
651
651
  evidence_source_scope: {
652
652
  targets: {
653
653
  source_ref: string;
654
- module_refs: string[];
654
+ module_refs?: string[] | undefined;
655
655
  }[];
656
656
  };
657
657
  questions?: {
658
658
  ref: string;
659
659
  authority: {
660
- kind: "cli-base-contract" | "verified-contract-overlay";
661
660
  ref: string;
661
+ kind: "cli-base-contract" | "verified-contract-overlay";
662
662
  digest: string;
663
663
  };
664
664
  contract_version: number;
@@ -669,7 +669,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
669
669
  scope: {
670
670
  targets: {
671
671
  source_ref: string;
672
- module_refs: string[];
672
+ module_refs?: string[] | undefined;
673
673
  }[];
674
674
  };
675
675
  reason: string;
@@ -693,8 +693,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
693
693
  questions?: {
694
694
  ref: string;
695
695
  authority: {
696
- kind: "cli-base-contract" | "verified-contract-overlay";
697
696
  ref: string;
697
+ kind: "cli-base-contract" | "verified-contract-overlay";
698
698
  digest: string;
699
699
  };
700
700
  contract_version: number;
@@ -717,20 +717,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
717
717
  target_scope: {
718
718
  targets: {
719
719
  source_ref: string;
720
- module_refs: string[];
720
+ module_refs?: string[] | undefined;
721
721
  }[];
722
722
  };
723
723
  evidence_source_scope: {
724
724
  targets: {
725
725
  source_ref: string;
726
- module_refs: string[];
726
+ module_refs?: string[] | undefined;
727
727
  }[];
728
728
  };
729
729
  questions?: {
730
730
  ref: string;
731
731
  authority: {
732
- kind: "cli-base-contract" | "verified-contract-overlay";
733
732
  ref: string;
733
+ kind: "cli-base-contract" | "verified-contract-overlay";
734
734
  digest: string;
735
735
  };
736
736
  contract_version: number;
@@ -741,19 +741,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
741
741
  scope: {
742
742
  targets: {
743
743
  source_ref: string;
744
- module_refs: string[];
744
+ module_refs?: string[] | undefined;
745
745
  }[];
746
746
  };
747
747
  reason: string;
748
748
  }[] | undefined;
749
749
  }>, "many">;
750
- indexers: z.ZodArray<z.ZodEffects<z.ZodObject<{
750
+ indexers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
751
751
  id: z.ZodEffects<z.ZodString, string, string>;
752
- operations: z.ZodArray<z.ZodEnum<["main-index", "material-answer"]>, "many">;
753
- requirement_bindings: z.ZodArray<z.ZodEffects<z.ZodObject<{
752
+ operations: z.ZodDefault<z.ZodArray<z.ZodEnum<["main-index"]>, "many">>;
753
+ requirement_bindings: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
754
754
  requirement_ref: z.ZodEffects<z.ZodString, string, string>;
755
755
  coverage_domains: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
756
- owned_scope: z.ZodUnion<[z.ZodObject<{
756
+ owned_scope: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
757
757
  ref: z.ZodString;
758
758
  }, "strict", z.ZodTypeAny, {
759
759
  ref: string;
@@ -762,19 +762,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
762
762
  }>, z.ZodEffects<z.ZodObject<{
763
763
  targets: z.ZodArray<z.ZodEffects<z.ZodObject<{
764
764
  source_ref: z.ZodString;
765
- module_refs: z.ZodArray<z.ZodString, "many">;
765
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
766
766
  }, "strict", z.ZodTypeAny, {
767
767
  source_ref: string;
768
768
  module_refs: string[];
769
769
  }, {
770
770
  source_ref: string;
771
- module_refs: string[];
771
+ module_refs?: string[] | undefined;
772
772
  }>, {
773
773
  source_ref: string;
774
774
  module_refs: string[];
775
775
  }, {
776
776
  source_ref: string;
777
- module_refs: string[];
777
+ module_refs?: string[] | undefined;
778
778
  }>, "many">;
779
779
  }, "strict", z.ZodTypeAny, {
780
780
  targets: {
@@ -784,7 +784,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
784
784
  }, {
785
785
  targets: {
786
786
  source_ref: string;
787
- module_refs: string[];
787
+ module_refs?: string[] | undefined;
788
788
  }[];
789
789
  }>, {
790
790
  targets: {
@@ -794,25 +794,35 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
794
794
  }, {
795
795
  targets: {
796
796
  source_ref: string;
797
- module_refs: string[];
797
+ module_refs?: string[] | undefined;
798
798
  }[];
799
- }>]>;
799
+ }>]>>;
800
800
  role: z.ZodEnum<["primary", "enricher"]>;
801
801
  }, "strict", z.ZodTypeAny, {
802
802
  coverage_domains: string[];
803
803
  requirement_ref: string;
804
- owned_scope: {
804
+ role: "primary" | "enricher";
805
+ owned_scope?: {
805
806
  targets: {
806
807
  source_ref: string;
807
808
  module_refs: string[];
808
809
  }[];
809
810
  } | {
810
811
  ref: string;
811
- };
812
- role: "primary" | "enricher";
812
+ } | undefined;
813
813
  }, {
814
814
  coverage_domains: string[];
815
815
  requirement_ref: string;
816
+ role: "primary" | "enricher";
817
+ owned_scope?: {
818
+ targets: {
819
+ source_ref: string;
820
+ module_refs?: string[] | undefined;
821
+ }[];
822
+ } | {
823
+ ref: string;
824
+ } | undefined;
825
+ }>, {
816
826
  owned_scope: {
817
827
  targets: {
818
828
  source_ref: string;
@@ -821,10 +831,22 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
821
831
  } | {
822
832
  ref: string;
823
833
  };
834
+ coverage_domains: string[];
835
+ requirement_ref: string;
824
836
  role: "primary" | "enricher";
825
- }>, {
837
+ }, {
826
838
  coverage_domains: string[];
827
839
  requirement_ref: string;
840
+ role: "primary" | "enricher";
841
+ owned_scope?: {
842
+ targets: {
843
+ source_ref: string;
844
+ module_refs?: string[] | undefined;
845
+ }[];
846
+ } | {
847
+ ref: string;
848
+ } | undefined;
849
+ }>, {
828
850
  owned_scope: {
829
851
  targets: {
830
852
  source_ref: string;
@@ -833,37 +855,39 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
833
855
  } | {
834
856
  ref: string;
835
857
  };
858
+ coverage_domains: string[];
859
+ requirement_ref: string;
836
860
  role: "primary" | "enricher";
837
861
  }, {
838
862
  coverage_domains: string[];
839
863
  requirement_ref: string;
840
- owned_scope: {
864
+ role: "primary" | "enricher";
865
+ owned_scope?: {
841
866
  targets: {
842
867
  source_ref: string;
843
- module_refs: string[];
868
+ module_refs?: string[] | undefined;
844
869
  }[];
845
870
  } | {
846
871
  ref: string;
847
- };
848
- role: "primary" | "enricher";
872
+ } | undefined;
849
873
  }>, "many">;
850
- read_scope: z.ZodEffects<z.ZodObject<{
874
+ read_scope: z.ZodOptional<z.ZodEffects<z.ZodObject<{
851
875
  refs: z.ZodArray<z.ZodString, "many">;
852
876
  extra_targets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
853
877
  source_ref: z.ZodString;
854
- module_refs: z.ZodArray<z.ZodString, "many">;
878
+ module_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
855
879
  }, "strict", z.ZodTypeAny, {
856
880
  source_ref: string;
857
881
  module_refs: string[];
858
882
  }, {
859
883
  source_ref: string;
860
- module_refs: string[];
884
+ module_refs?: string[] | undefined;
861
885
  }>, {
862
886
  source_ref: string;
863
887
  module_refs: string[];
864
888
  }, {
865
889
  source_ref: string;
866
- module_refs: string[];
890
+ module_refs?: string[] | undefined;
867
891
  }>, "many">>;
868
892
  }, "strict", z.ZodTypeAny, {
869
893
  refs: string[];
@@ -875,7 +899,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
875
899
  refs: string[];
876
900
  extra_targets?: {
877
901
  source_ref: string;
878
- module_refs: string[];
902
+ module_refs?: string[] | undefined;
879
903
  }[] | undefined;
880
904
  }>, {
881
905
  refs: string[];
@@ -887,9 +911,9 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
887
911
  refs: string[];
888
912
  extra_targets?: {
889
913
  source_ref: string;
890
- module_refs: string[];
914
+ module_refs?: string[] | undefined;
891
915
  }[] | undefined;
892
- }>;
916
+ }>>;
893
917
  profile: z.ZodObject<{
894
918
  primary: z.ZodObject<{
895
919
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -964,13 +988,13 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
964
988
  provider: string;
965
989
  }[] | undefined;
966
990
  }>;
967
- providers: z.ZodArray<z.ZodEffects<z.ZodObject<{
991
+ providers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
968
992
  id: z.ZodEffects<z.ZodString, string, string>;
969
- role: z.ZodEnum<["primary", "extension"]>;
993
+ role: z.ZodDefault<z.ZodEnum<["primary", "extension"]>>;
970
994
  skill: z.ZodEffects<z.ZodString, string, string>;
971
995
  version: z.ZodString;
972
996
  integrity: z.ZodString;
973
- distribution: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
997
+ distribution: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
974
998
  kind: z.ZodLiteral<"cli-bundled">;
975
999
  locator: z.ZodString;
976
1000
  }, "strict", z.ZodTypeAny, {
@@ -1045,7 +1069,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1045
1069
  } | {
1046
1070
  kind: "marketplace";
1047
1071
  locator: string;
1048
- }>;
1072
+ }>>;
1049
1073
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>>>;
1050
1074
  }, "strict", z.ZodTypeAny, {
1051
1075
  id: string;
@@ -1053,7 +1077,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1053
1077
  skill: string;
1054
1078
  version: string;
1055
1079
  integrity: string;
1056
- distribution: {
1080
+ distribution?: {
1057
1081
  kind: "cli-bundled";
1058
1082
  locator: string;
1059
1083
  } | {
@@ -1068,15 +1092,15 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1068
1092
  } | {
1069
1093
  kind: "marketplace";
1070
1094
  locator: string;
1071
- };
1095
+ } | undefined;
1072
1096
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1073
1097
  }, {
1074
1098
  id: string;
1075
- role: "primary" | "extension";
1076
1099
  skill: string;
1077
1100
  version: string;
1078
1101
  integrity: string;
1079
- distribution: {
1102
+ role?: "primary" | "extension" | undefined;
1103
+ distribution?: {
1080
1104
  kind: "cli-bundled";
1081
1105
  locator: string;
1082
1106
  } | {
@@ -1091,14 +1115,55 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1091
1115
  } | {
1092
1116
  kind: "marketplace";
1093
1117
  locator: string;
1094
- };
1118
+ } | undefined;
1095
1119
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1096
1120
  }>, {
1121
+ distribution: {
1122
+ kind: "cli-bundled";
1123
+ locator: string;
1124
+ } | {
1125
+ kind: "bundled";
1126
+ locator: string;
1127
+ } | {
1128
+ kind: "workspace";
1129
+ locator: string;
1130
+ } | {
1131
+ kind: "package";
1132
+ locator: string;
1133
+ } | {
1134
+ kind: "marketplace";
1135
+ locator: string;
1136
+ };
1097
1137
  id: string;
1098
1138
  role: "primary" | "extension";
1099
1139
  skill: string;
1100
1140
  version: string;
1101
1141
  integrity: string;
1142
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1143
+ }, {
1144
+ id: string;
1145
+ skill: string;
1146
+ version: string;
1147
+ integrity: string;
1148
+ role?: "primary" | "extension" | undefined;
1149
+ distribution?: {
1150
+ kind: "cli-bundled";
1151
+ locator: string;
1152
+ } | {
1153
+ kind: "bundled";
1154
+ locator: string;
1155
+ } | {
1156
+ kind: "workspace";
1157
+ locator: string;
1158
+ } | {
1159
+ kind: "package";
1160
+ locator: string;
1161
+ } | {
1162
+ kind: "marketplace";
1163
+ locator: string;
1164
+ } | undefined;
1165
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1166
+ }>, {
1102
1167
  distribution: {
1103
1168
  kind: "cli-bundled";
1104
1169
  locator: string;
@@ -1115,14 +1180,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1115
1180
  kind: "marketplace";
1116
1181
  locator: string;
1117
1182
  };
1183
+ id: string;
1184
+ role: "primary" | "extension";
1185
+ skill: string;
1186
+ version: string;
1187
+ integrity: string;
1118
1188
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1119
1189
  }, {
1120
1190
  id: string;
1121
- role: "primary" | "extension";
1122
1191
  skill: string;
1123
1192
  version: string;
1124
1193
  integrity: string;
1125
- distribution: {
1194
+ role?: "primary" | "extension" | undefined;
1195
+ distribution?: {
1126
1196
  kind: "cli-bundled";
1127
1197
  locator: string;
1128
1198
  } | {
@@ -1137,7 +1207,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1137
1207
  } | {
1138
1208
  kind: "marketplace";
1139
1209
  locator: string;
1140
- };
1210
+ } | undefined;
1141
1211
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1142
1212
  }>, "many">;
1143
1213
  customization: z.ZodOptional<z.ZodObject<{
@@ -1149,10 +1219,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1149
1219
  }>>;
1150
1220
  }, "strict", z.ZodTypeAny, {
1151
1221
  id: string;
1152
- operations: ("main-index" | "material-answer")[];
1222
+ operations: "main-index"[];
1153
1223
  requirement_bindings: {
1154
- coverage_domains: string[];
1155
- requirement_ref: string;
1156
1224
  owned_scope: {
1157
1225
  targets: {
1158
1226
  source_ref: string;
@@ -1161,15 +1229,10 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1161
1229
  } | {
1162
1230
  ref: string;
1163
1231
  };
1232
+ coverage_domains: string[];
1233
+ requirement_ref: string;
1164
1234
  role: "primary" | "enricher";
1165
1235
  }[];
1166
- read_scope: {
1167
- refs: string[];
1168
- extra_targets?: {
1169
- source_ref: string;
1170
- module_refs: string[];
1171
- }[] | undefined;
1172
- };
1173
1236
  profile: {
1174
1237
  primary: {
1175
1238
  id: string;
@@ -1188,11 +1251,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1188
1251
  }[] | undefined;
1189
1252
  };
1190
1253
  providers: {
1191
- id: string;
1192
- role: "primary" | "extension";
1193
- skill: string;
1194
- version: string;
1195
- integrity: string;
1196
1254
  distribution: {
1197
1255
  kind: "cli-bundled";
1198
1256
  locator: string;
@@ -1209,27 +1267,91 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1209
1267
  kind: "marketplace";
1210
1268
  locator: string;
1211
1269
  };
1270
+ id: string;
1271
+ role: "primary" | "extension";
1272
+ skill: string;
1273
+ version: string;
1274
+ integrity: string;
1212
1275
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1213
1276
  }[];
1277
+ read_scope?: {
1278
+ refs: string[];
1279
+ extra_targets?: {
1280
+ source_ref: string;
1281
+ module_refs: string[];
1282
+ }[] | undefined;
1283
+ } | undefined;
1214
1284
  customization?: {
1215
1285
  mode: "replace" | "extend";
1216
1286
  } | undefined;
1217
1287
  }, {
1218
1288
  id: string;
1219
- operations: ("main-index" | "material-answer")[];
1220
1289
  requirement_bindings: {
1221
1290
  coverage_domains: string[];
1222
1291
  requirement_ref: string;
1223
- owned_scope: {
1292
+ role: "primary" | "enricher";
1293
+ owned_scope?: {
1224
1294
  targets: {
1225
1295
  source_ref: string;
1226
- module_refs: string[];
1296
+ module_refs?: string[] | undefined;
1227
1297
  }[];
1228
1298
  } | {
1229
1299
  ref: string;
1300
+ } | undefined;
1301
+ }[];
1302
+ profile: {
1303
+ primary: {
1304
+ id: string;
1305
+ provider: string;
1306
+ variants?: Record<string, string> | undefined;
1230
1307
  };
1231
- role: "primary" | "enricher";
1308
+ additional?: {
1309
+ id: string;
1310
+ kind: "supporting" | "extension";
1311
+ provider: string;
1312
+ variants?: Record<string, string> | undefined;
1313
+ }[] | undefined;
1314
+ composers?: {
1315
+ id: string;
1316
+ provider: string;
1317
+ }[] | undefined;
1318
+ };
1319
+ providers: {
1320
+ id: string;
1321
+ skill: string;
1322
+ version: string;
1323
+ integrity: string;
1324
+ role?: "primary" | "extension" | undefined;
1325
+ distribution?: {
1326
+ kind: "cli-bundled";
1327
+ locator: string;
1328
+ } | {
1329
+ kind: "bundled";
1330
+ locator: string;
1331
+ } | {
1332
+ kind: "workspace";
1333
+ locator: string;
1334
+ } | {
1335
+ kind: "package";
1336
+ locator: string;
1337
+ } | {
1338
+ kind: "marketplace";
1339
+ locator: string;
1340
+ } | undefined;
1341
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1232
1342
  }[];
1343
+ operations?: "main-index"[] | undefined;
1344
+ read_scope?: {
1345
+ refs: string[];
1346
+ extra_targets?: {
1347
+ source_ref: string;
1348
+ module_refs?: string[] | undefined;
1349
+ }[] | undefined;
1350
+ } | undefined;
1351
+ customization?: {
1352
+ mode: "replace" | "extend";
1353
+ } | undefined;
1354
+ }>, {
1233
1355
  read_scope: {
1234
1356
  refs: string[];
1235
1357
  extra_targets?: {
@@ -1237,6 +1359,21 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1237
1359
  module_refs: string[];
1238
1360
  }[] | undefined;
1239
1361
  };
1362
+ id: string;
1363
+ operations: "main-index"[];
1364
+ requirement_bindings: {
1365
+ owned_scope: {
1366
+ targets: {
1367
+ source_ref: string;
1368
+ module_refs: string[];
1369
+ }[];
1370
+ } | {
1371
+ ref: string;
1372
+ };
1373
+ coverage_domains: string[];
1374
+ requirement_ref: string;
1375
+ role: "primary" | "enricher";
1376
+ }[];
1240
1377
  profile: {
1241
1378
  primary: {
1242
1379
  id: string;
@@ -1255,11 +1392,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1255
1392
  }[] | undefined;
1256
1393
  };
1257
1394
  providers: {
1258
- id: string;
1259
- role: "primary" | "extension";
1260
- skill: string;
1261
- version: string;
1262
- integrity: string;
1263
1395
  distribution: {
1264
1396
  kind: "cli-bundled";
1265
1397
  locator: string;
@@ -1276,27 +1408,84 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1276
1408
  kind: "marketplace";
1277
1409
  locator: string;
1278
1410
  };
1411
+ id: string;
1412
+ role: "primary" | "extension";
1413
+ skill: string;
1414
+ version: string;
1415
+ integrity: string;
1279
1416
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1280
1417
  }[];
1281
1418
  customization?: {
1282
1419
  mode: "replace" | "extend";
1283
1420
  } | undefined;
1284
- }>, {
1421
+ }, {
1285
1422
  id: string;
1286
- operations: ("main-index" | "material-answer")[];
1287
1423
  requirement_bindings: {
1288
1424
  coverage_domains: string[];
1289
1425
  requirement_ref: string;
1290
- owned_scope: {
1426
+ role: "primary" | "enricher";
1427
+ owned_scope?: {
1291
1428
  targets: {
1292
1429
  source_ref: string;
1293
- module_refs: string[];
1430
+ module_refs?: string[] | undefined;
1294
1431
  }[];
1295
1432
  } | {
1296
1433
  ref: string;
1434
+ } | undefined;
1435
+ }[];
1436
+ profile: {
1437
+ primary: {
1438
+ id: string;
1439
+ provider: string;
1440
+ variants?: Record<string, string> | undefined;
1297
1441
  };
1298
- role: "primary" | "enricher";
1442
+ additional?: {
1443
+ id: string;
1444
+ kind: "supporting" | "extension";
1445
+ provider: string;
1446
+ variants?: Record<string, string> | undefined;
1447
+ }[] | undefined;
1448
+ composers?: {
1449
+ id: string;
1450
+ provider: string;
1451
+ }[] | undefined;
1452
+ };
1453
+ providers: {
1454
+ id: string;
1455
+ skill: string;
1456
+ version: string;
1457
+ integrity: string;
1458
+ role?: "primary" | "extension" | undefined;
1459
+ distribution?: {
1460
+ kind: "cli-bundled";
1461
+ locator: string;
1462
+ } | {
1463
+ kind: "bundled";
1464
+ locator: string;
1465
+ } | {
1466
+ kind: "workspace";
1467
+ locator: string;
1468
+ } | {
1469
+ kind: "package";
1470
+ locator: string;
1471
+ } | {
1472
+ kind: "marketplace";
1473
+ locator: string;
1474
+ } | undefined;
1475
+ config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1299
1476
  }[];
1477
+ operations?: "main-index"[] | undefined;
1478
+ read_scope?: {
1479
+ refs: string[];
1480
+ extra_targets?: {
1481
+ source_ref: string;
1482
+ module_refs?: string[] | undefined;
1483
+ }[] | undefined;
1484
+ } | undefined;
1485
+ customization?: {
1486
+ mode: "replace" | "extend";
1487
+ } | undefined;
1488
+ }>, {
1300
1489
  read_scope: {
1301
1490
  refs: string[];
1302
1491
  extra_targets?: {
@@ -1304,6 +1493,21 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1304
1493
  module_refs: string[];
1305
1494
  }[] | undefined;
1306
1495
  };
1496
+ id: string;
1497
+ operations: "main-index"[];
1498
+ requirement_bindings: {
1499
+ owned_scope: {
1500
+ targets: {
1501
+ source_ref: string;
1502
+ module_refs: string[];
1503
+ }[];
1504
+ } | {
1505
+ ref: string;
1506
+ };
1507
+ coverage_domains: string[];
1508
+ requirement_ref: string;
1509
+ role: "primary" | "enricher";
1510
+ }[];
1307
1511
  profile: {
1308
1512
  primary: {
1309
1513
  id: string;
@@ -1322,11 +1526,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1322
1526
  }[] | undefined;
1323
1527
  };
1324
1528
  providers: {
1325
- id: string;
1326
- role: "primary" | "extension";
1327
- skill: string;
1328
- version: string;
1329
- integrity: string;
1330
1529
  distribution: {
1331
1530
  kind: "cli-bundled";
1332
1531
  locator: string;
@@ -1343,6 +1542,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1343
1542
  kind: "marketplace";
1344
1543
  locator: string;
1345
1544
  };
1545
+ id: string;
1546
+ role: "primary" | "extension";
1547
+ skill: string;
1548
+ version: string;
1549
+ integrity: string;
1346
1550
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1347
1551
  }[];
1348
1552
  customization?: {
@@ -1350,27 +1554,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1350
1554
  } | undefined;
1351
1555
  }, {
1352
1556
  id: string;
1353
- operations: ("main-index" | "material-answer")[];
1354
1557
  requirement_bindings: {
1355
1558
  coverage_domains: string[];
1356
1559
  requirement_ref: string;
1357
- owned_scope: {
1560
+ role: "primary" | "enricher";
1561
+ owned_scope?: {
1358
1562
  targets: {
1359
1563
  source_ref: string;
1360
- module_refs: string[];
1564
+ module_refs?: string[] | undefined;
1361
1565
  }[];
1362
1566
  } | {
1363
1567
  ref: string;
1364
- };
1365
- role: "primary" | "enricher";
1568
+ } | undefined;
1366
1569
  }[];
1367
- read_scope: {
1368
- refs: string[];
1369
- extra_targets?: {
1370
- source_ref: string;
1371
- module_refs: string[];
1372
- }[] | undefined;
1373
- };
1374
1570
  profile: {
1375
1571
  primary: {
1376
1572
  id: string;
@@ -1390,11 +1586,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1390
1586
  };
1391
1587
  providers: {
1392
1588
  id: string;
1393
- role: "primary" | "extension";
1394
1589
  skill: string;
1395
1590
  version: string;
1396
1591
  integrity: string;
1397
- distribution: {
1592
+ role?: "primary" | "extension" | undefined;
1593
+ distribution?: {
1398
1594
  kind: "cli-bundled";
1399
1595
  locator: string;
1400
1596
  } | {
@@ -1409,9 +1605,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1409
1605
  } | {
1410
1606
  kind: "marketplace";
1411
1607
  locator: string;
1412
- };
1608
+ } | undefined;
1413
1609
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1414
1610
  }[];
1611
+ operations?: "main-index"[] | undefined;
1612
+ read_scope?: {
1613
+ refs: string[];
1614
+ extra_targets?: {
1615
+ source_ref: string;
1616
+ module_refs?: string[] | undefined;
1617
+ }[] | undefined;
1618
+ } | undefined;
1415
1619
  customization?: {
1416
1620
  mode: "replace" | "extend";
1417
1621
  } | undefined;
@@ -1437,8 +1641,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1437
1641
  questions?: {
1438
1642
  ref: string;
1439
1643
  authority: {
1440
- kind: "cli-base-contract" | "verified-contract-overlay";
1441
1644
  ref: string;
1645
+ kind: "cli-base-contract" | "verified-contract-overlay";
1442
1646
  digest: string;
1443
1647
  };
1444
1648
  contract_version: number;
@@ -1456,11 +1660,16 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1456
1660
  }[] | undefined;
1457
1661
  }[];
1458
1662
  indexers: {
1663
+ read_scope: {
1664
+ refs: string[];
1665
+ extra_targets?: {
1666
+ source_ref: string;
1667
+ module_refs: string[];
1668
+ }[] | undefined;
1669
+ };
1459
1670
  id: string;
1460
- operations: ("main-index" | "material-answer")[];
1671
+ operations: "main-index"[];
1461
1672
  requirement_bindings: {
1462
- coverage_domains: string[];
1463
- requirement_ref: string;
1464
1673
  owned_scope: {
1465
1674
  targets: {
1466
1675
  source_ref: string;
@@ -1469,15 +1678,10 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1469
1678
  } | {
1470
1679
  ref: string;
1471
1680
  };
1681
+ coverage_domains: string[];
1682
+ requirement_ref: string;
1472
1683
  role: "primary" | "enricher";
1473
1684
  }[];
1474
- read_scope: {
1475
- refs: string[];
1476
- extra_targets?: {
1477
- source_ref: string;
1478
- module_refs: string[];
1479
- }[] | undefined;
1480
- };
1481
1685
  profile: {
1482
1686
  primary: {
1483
1687
  id: string;
@@ -1496,11 +1700,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1496
1700
  }[] | undefined;
1497
1701
  };
1498
1702
  providers: {
1499
- id: string;
1500
- role: "primary" | "extension";
1501
- skill: string;
1502
- version: string;
1503
- integrity: string;
1504
1703
  distribution: {
1505
1704
  kind: "cli-bundled";
1506
1705
  locator: string;
@@ -1517,6 +1716,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1517
1716
  kind: "marketplace";
1518
1717
  locator: string;
1519
1718
  };
1719
+ id: string;
1720
+ role: "primary" | "extension";
1721
+ skill: string;
1722
+ version: string;
1723
+ integrity: string;
1520
1724
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1521
1725
  }[];
1522
1726
  customization?: {
@@ -1532,20 +1736,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1532
1736
  target_scope: {
1533
1737
  targets: {
1534
1738
  source_ref: string;
1535
- module_refs: string[];
1739
+ module_refs?: string[] | undefined;
1536
1740
  }[];
1537
1741
  };
1538
1742
  evidence_source_scope: {
1539
1743
  targets: {
1540
1744
  source_ref: string;
1541
- module_refs: string[];
1745
+ module_refs?: string[] | undefined;
1542
1746
  }[];
1543
1747
  };
1544
1748
  questions?: {
1545
1749
  ref: string;
1546
1750
  authority: {
1547
- kind: "cli-base-contract" | "verified-contract-overlay";
1548
1751
  ref: string;
1752
+ kind: "cli-base-contract" | "verified-contract-overlay";
1549
1753
  digest: string;
1550
1754
  };
1551
1755
  contract_version: number;
@@ -1556,7 +1760,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1556
1760
  scope: {
1557
1761
  targets: {
1558
1762
  source_ref: string;
1559
- module_refs: string[];
1763
+ module_refs?: string[] | undefined;
1560
1764
  }[];
1561
1765
  };
1562
1766
  reason: string;
@@ -1564,27 +1768,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1564
1768
  }[];
1565
1769
  indexers: {
1566
1770
  id: string;
1567
- operations: ("main-index" | "material-answer")[];
1568
1771
  requirement_bindings: {
1569
1772
  coverage_domains: string[];
1570
1773
  requirement_ref: string;
1571
- owned_scope: {
1774
+ role: "primary" | "enricher";
1775
+ owned_scope?: {
1572
1776
  targets: {
1573
1777
  source_ref: string;
1574
- module_refs: string[];
1778
+ module_refs?: string[] | undefined;
1575
1779
  }[];
1576
1780
  } | {
1577
1781
  ref: string;
1578
- };
1579
- role: "primary" | "enricher";
1782
+ } | undefined;
1580
1783
  }[];
1581
- read_scope: {
1582
- refs: string[];
1583
- extra_targets?: {
1584
- source_ref: string;
1585
- module_refs: string[];
1586
- }[] | undefined;
1587
- };
1588
1784
  profile: {
1589
1785
  primary: {
1590
1786
  id: string;
@@ -1604,11 +1800,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1604
1800
  };
1605
1801
  providers: {
1606
1802
  id: string;
1607
- role: "primary" | "extension";
1608
1803
  skill: string;
1609
1804
  version: string;
1610
1805
  integrity: string;
1611
- distribution: {
1806
+ role?: "primary" | "extension" | undefined;
1807
+ distribution?: {
1612
1808
  kind: "cli-bundled";
1613
1809
  locator: string;
1614
1810
  } | {
@@ -1623,9 +1819,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1623
1819
  } | {
1624
1820
  kind: "marketplace";
1625
1821
  locator: string;
1626
- };
1822
+ } | undefined;
1627
1823
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1628
1824
  }[];
1825
+ operations?: "main-index"[] | undefined;
1826
+ read_scope?: {
1827
+ refs: string[];
1828
+ extra_targets?: {
1829
+ source_ref: string;
1830
+ module_refs?: string[] | undefined;
1831
+ }[] | undefined;
1832
+ } | undefined;
1629
1833
  customization?: {
1630
1834
  mode: "replace" | "extend";
1631
1835
  } | undefined;
@@ -1651,8 +1855,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1651
1855
  questions?: {
1652
1856
  ref: string;
1653
1857
  authority: {
1654
- kind: "cli-base-contract" | "verified-contract-overlay";
1655
1858
  ref: string;
1859
+ kind: "cli-base-contract" | "verified-contract-overlay";
1656
1860
  digest: string;
1657
1861
  };
1658
1862
  contract_version: number;
@@ -1670,11 +1874,16 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1670
1874
  }[] | undefined;
1671
1875
  }[];
1672
1876
  indexers: {
1877
+ read_scope: {
1878
+ refs: string[];
1879
+ extra_targets?: {
1880
+ source_ref: string;
1881
+ module_refs: string[];
1882
+ }[] | undefined;
1883
+ };
1673
1884
  id: string;
1674
- operations: ("main-index" | "material-answer")[];
1885
+ operations: "main-index"[];
1675
1886
  requirement_bindings: {
1676
- coverage_domains: string[];
1677
- requirement_ref: string;
1678
1887
  owned_scope: {
1679
1888
  targets: {
1680
1889
  source_ref: string;
@@ -1683,15 +1892,10 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1683
1892
  } | {
1684
1893
  ref: string;
1685
1894
  };
1895
+ coverage_domains: string[];
1896
+ requirement_ref: string;
1686
1897
  role: "primary" | "enricher";
1687
1898
  }[];
1688
- read_scope: {
1689
- refs: string[];
1690
- extra_targets?: {
1691
- source_ref: string;
1692
- module_refs: string[];
1693
- }[] | undefined;
1694
- };
1695
1899
  profile: {
1696
1900
  primary: {
1697
1901
  id: string;
@@ -1710,11 +1914,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1710
1914
  }[] | undefined;
1711
1915
  };
1712
1916
  providers: {
1713
- id: string;
1714
- role: "primary" | "extension";
1715
- skill: string;
1716
- version: string;
1717
- integrity: string;
1718
1917
  distribution: {
1719
1918
  kind: "cli-bundled";
1720
1919
  locator: string;
@@ -1731,6 +1930,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1731
1930
  kind: "marketplace";
1732
1931
  locator: string;
1733
1932
  };
1933
+ id: string;
1934
+ role: "primary" | "extension";
1935
+ skill: string;
1936
+ version: string;
1937
+ integrity: string;
1734
1938
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1735
1939
  }[];
1736
1940
  customization?: {
@@ -1746,20 +1950,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1746
1950
  target_scope: {
1747
1951
  targets: {
1748
1952
  source_ref: string;
1749
- module_refs: string[];
1953
+ module_refs?: string[] | undefined;
1750
1954
  }[];
1751
1955
  };
1752
1956
  evidence_source_scope: {
1753
1957
  targets: {
1754
1958
  source_ref: string;
1755
- module_refs: string[];
1959
+ module_refs?: string[] | undefined;
1756
1960
  }[];
1757
1961
  };
1758
1962
  questions?: {
1759
1963
  ref: string;
1760
1964
  authority: {
1761
- kind: "cli-base-contract" | "verified-contract-overlay";
1762
1965
  ref: string;
1966
+ kind: "cli-base-contract" | "verified-contract-overlay";
1763
1967
  digest: string;
1764
1968
  };
1765
1969
  contract_version: number;
@@ -1770,7 +1974,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1770
1974
  scope: {
1771
1975
  targets: {
1772
1976
  source_ref: string;
1773
- module_refs: string[];
1977
+ module_refs?: string[] | undefined;
1774
1978
  }[];
1775
1979
  };
1776
1980
  reason: string;
@@ -1778,27 +1982,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1778
1982
  }[];
1779
1983
  indexers: {
1780
1984
  id: string;
1781
- operations: ("main-index" | "material-answer")[];
1782
1985
  requirement_bindings: {
1783
1986
  coverage_domains: string[];
1784
1987
  requirement_ref: string;
1785
- owned_scope: {
1988
+ role: "primary" | "enricher";
1989
+ owned_scope?: {
1786
1990
  targets: {
1787
1991
  source_ref: string;
1788
- module_refs: string[];
1992
+ module_refs?: string[] | undefined;
1789
1993
  }[];
1790
1994
  } | {
1791
1995
  ref: string;
1792
- };
1793
- role: "primary" | "enricher";
1996
+ } | undefined;
1794
1997
  }[];
1795
- read_scope: {
1796
- refs: string[];
1797
- extra_targets?: {
1798
- source_ref: string;
1799
- module_refs: string[];
1800
- }[] | undefined;
1801
- };
1802
1998
  profile: {
1803
1999
  primary: {
1804
2000
  id: string;
@@ -1818,11 +2014,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1818
2014
  };
1819
2015
  providers: {
1820
2016
  id: string;
1821
- role: "primary" | "extension";
1822
2017
  skill: string;
1823
2018
  version: string;
1824
2019
  integrity: string;
1825
- distribution: {
2020
+ role?: "primary" | "extension" | undefined;
2021
+ distribution?: {
1826
2022
  kind: "cli-bundled";
1827
2023
  locator: string;
1828
2024
  } | {
@@ -1837,9 +2033,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1837
2033
  } | {
1838
2034
  kind: "marketplace";
1839
2035
  locator: string;
1840
- };
2036
+ } | undefined;
1841
2037
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
1842
2038
  }[];
2039
+ operations?: "main-index"[] | undefined;
2040
+ read_scope?: {
2041
+ refs: string[];
2042
+ extra_targets?: {
2043
+ source_ref: string;
2044
+ module_refs?: string[] | undefined;
2045
+ }[] | undefined;
2046
+ } | undefined;
1843
2047
  customization?: {
1844
2048
  mode: "replace" | "extend";
1845
2049
  } | undefined;
@@ -1852,26 +2056,26 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
1852
2056
  target_digest: z.ZodNullable<z.ZodString>;
1853
2057
  content: z.ZodOptional<z.ZodString>;
1854
2058
  }, "strict", z.ZodTypeAny, {
1855
- operation: "write" | "delete";
1856
2059
  path: string;
2060
+ operation: "write" | "delete";
1857
2061
  base_digest: string | null;
1858
2062
  target_digest: string | null;
1859
2063
  content?: string | undefined;
1860
2064
  }, {
1861
- operation: "write" | "delete";
1862
2065
  path: string;
2066
+ operation: "write" | "delete";
1863
2067
  base_digest: string | null;
1864
2068
  target_digest: string | null;
1865
2069
  content?: string | undefined;
1866
2070
  }>, {
1867
- operation: "write" | "delete";
1868
2071
  path: string;
2072
+ operation: "write" | "delete";
1869
2073
  base_digest: string | null;
1870
2074
  target_digest: string | null;
1871
2075
  content?: string | undefined;
1872
2076
  }, {
1873
- operation: "write" | "delete";
1874
2077
  path: string;
2078
+ operation: "write" | "delete";
1875
2079
  base_digest: string | null;
1876
2080
  target_digest: string | null;
1877
2081
  content?: string | undefined;
@@ -2124,14 +2328,14 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2124
2328
  program_execution_policy_digest: z.ZodNullable<z.ZodString>;
2125
2329
  proposal_digest: z.ZodString;
2126
2330
  }, "strict", z.ZodTypeAny, {
2127
- protocol: "context.indexer.project-proposal/v1";
2128
2331
  targets: {
2129
- operation: "write" | "delete";
2130
2332
  path: string;
2333
+ operation: "write" | "delete";
2131
2334
  base_digest: string | null;
2132
2335
  target_digest: string | null;
2133
2336
  content?: string | undefined;
2134
2337
  }[];
2338
+ protocol: "context.indexer.project-proposal/v1";
2135
2339
  mode: "customization" | "registry-only";
2136
2340
  project_ref: string;
2137
2341
  dependencies: {
@@ -2164,18 +2368,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2164
2368
  intent_set_digest: string;
2165
2369
  };
2166
2370
  requirement_set_digest: string;
2167
- capability_gap_digest: string | null;
2168
- target_registry: {
2371
+ base_registry: {
2169
2372
  requirement_set_digest: string;
2170
- registry_digest: string;
2171
2373
  document_digest: string;
2172
2374
  indexer_selection_digest: string;
2375
+ registry_digest: string;
2173
2376
  };
2174
- base_registry: {
2377
+ target_registry: {
2175
2378
  requirement_set_digest: string;
2176
- registry_digest: string;
2177
2379
  document_digest: string;
2178
2380
  indexer_selection_digest: string;
2381
+ registry_digest: string;
2179
2382
  };
2180
2383
  target_document: {
2181
2384
  protocol: "context.indexer.registry/v1";
@@ -2198,8 +2401,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2198
2401
  questions?: {
2199
2402
  ref: string;
2200
2403
  authority: {
2201
- kind: "cli-base-contract" | "verified-contract-overlay";
2202
2404
  ref: string;
2405
+ kind: "cli-base-contract" | "verified-contract-overlay";
2203
2406
  digest: string;
2204
2407
  };
2205
2408
  contract_version: number;
@@ -2217,11 +2420,16 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2217
2420
  }[] | undefined;
2218
2421
  }[];
2219
2422
  indexers: {
2423
+ read_scope: {
2424
+ refs: string[];
2425
+ extra_targets?: {
2426
+ source_ref: string;
2427
+ module_refs: string[];
2428
+ }[] | undefined;
2429
+ };
2220
2430
  id: string;
2221
- operations: ("main-index" | "material-answer")[];
2431
+ operations: "main-index"[];
2222
2432
  requirement_bindings: {
2223
- coverage_domains: string[];
2224
- requirement_ref: string;
2225
2433
  owned_scope: {
2226
2434
  targets: {
2227
2435
  source_ref: string;
@@ -2230,15 +2438,10 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2230
2438
  } | {
2231
2439
  ref: string;
2232
2440
  };
2441
+ coverage_domains: string[];
2442
+ requirement_ref: string;
2233
2443
  role: "primary" | "enricher";
2234
2444
  }[];
2235
- read_scope: {
2236
- refs: string[];
2237
- extra_targets?: {
2238
- source_ref: string;
2239
- module_refs: string[];
2240
- }[] | undefined;
2241
- };
2242
2445
  profile: {
2243
2446
  primary: {
2244
2447
  id: string;
@@ -2257,11 +2460,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2257
2460
  }[] | undefined;
2258
2461
  };
2259
2462
  providers: {
2260
- id: string;
2261
- role: "primary" | "extension";
2262
- skill: string;
2263
- version: string;
2264
- integrity: string;
2265
2463
  distribution: {
2266
2464
  kind: "cli-bundled";
2267
2465
  locator: string;
@@ -2278,6 +2476,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2278
2476
  kind: "marketplace";
2279
2477
  locator: string;
2280
2478
  };
2479
+ id: string;
2480
+ role: "primary" | "extension";
2481
+ skill: string;
2482
+ version: string;
2483
+ integrity: string;
2281
2484
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2282
2485
  }[];
2283
2486
  customization?: {
@@ -2285,18 +2488,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2285
2488
  } | undefined;
2286
2489
  }[];
2287
2490
  };
2491
+ capability_gap_digest: string | null;
2288
2492
  finalized_validation_report_digests: string[];
2289
2493
  program_execution_policy_digest: string | null;
2290
2494
  proposal_digest: string;
2291
2495
  }, {
2292
- protocol: "context.indexer.project-proposal/v1";
2293
2496
  targets: {
2294
- operation: "write" | "delete";
2295
2497
  path: string;
2498
+ operation: "write" | "delete";
2296
2499
  base_digest: string | null;
2297
2500
  target_digest: string | null;
2298
2501
  content?: string | undefined;
2299
2502
  }[];
2503
+ protocol: "context.indexer.project-proposal/v1";
2300
2504
  mode: "customization" | "registry-only";
2301
2505
  project_ref: string;
2302
2506
  dependencies: {
@@ -2329,18 +2533,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2329
2533
  intent_set_digest: string;
2330
2534
  };
2331
2535
  requirement_set_digest: string;
2332
- capability_gap_digest: string | null;
2333
- target_registry: {
2536
+ base_registry: {
2334
2537
  requirement_set_digest: string;
2335
- registry_digest: string;
2336
2538
  document_digest: string;
2337
2539
  indexer_selection_digest: string;
2540
+ registry_digest: string;
2338
2541
  };
2339
- base_registry: {
2542
+ target_registry: {
2340
2543
  requirement_set_digest: string;
2341
- registry_digest: string;
2342
2544
  document_digest: string;
2343
2545
  indexer_selection_digest: string;
2546
+ registry_digest: string;
2344
2547
  };
2345
2548
  target_document: {
2346
2549
  protocol: "context.indexer.registry/v1";
@@ -2351,20 +2554,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2351
2554
  target_scope: {
2352
2555
  targets: {
2353
2556
  source_ref: string;
2354
- module_refs: string[];
2557
+ module_refs?: string[] | undefined;
2355
2558
  }[];
2356
2559
  };
2357
2560
  evidence_source_scope: {
2358
2561
  targets: {
2359
2562
  source_ref: string;
2360
- module_refs: string[];
2563
+ module_refs?: string[] | undefined;
2361
2564
  }[];
2362
2565
  };
2363
2566
  questions?: {
2364
2567
  ref: string;
2365
2568
  authority: {
2366
- kind: "cli-base-contract" | "verified-contract-overlay";
2367
2569
  ref: string;
2570
+ kind: "cli-base-contract" | "verified-contract-overlay";
2368
2571
  digest: string;
2369
2572
  };
2370
2573
  contract_version: number;
@@ -2375,7 +2578,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2375
2578
  scope: {
2376
2579
  targets: {
2377
2580
  source_ref: string;
2378
- module_refs: string[];
2581
+ module_refs?: string[] | undefined;
2379
2582
  }[];
2380
2583
  };
2381
2584
  reason: string;
@@ -2383,27 +2586,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2383
2586
  }[];
2384
2587
  indexers: {
2385
2588
  id: string;
2386
- operations: ("main-index" | "material-answer")[];
2387
2589
  requirement_bindings: {
2388
2590
  coverage_domains: string[];
2389
2591
  requirement_ref: string;
2390
- owned_scope: {
2592
+ role: "primary" | "enricher";
2593
+ owned_scope?: {
2391
2594
  targets: {
2392
2595
  source_ref: string;
2393
- module_refs: string[];
2596
+ module_refs?: string[] | undefined;
2394
2597
  }[];
2395
2598
  } | {
2396
2599
  ref: string;
2397
- };
2398
- role: "primary" | "enricher";
2600
+ } | undefined;
2399
2601
  }[];
2400
- read_scope: {
2401
- refs: string[];
2402
- extra_targets?: {
2403
- source_ref: string;
2404
- module_refs: string[];
2405
- }[] | undefined;
2406
- };
2407
2602
  profile: {
2408
2603
  primary: {
2409
2604
  id: string;
@@ -2423,11 +2618,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2423
2618
  };
2424
2619
  providers: {
2425
2620
  id: string;
2426
- role: "primary" | "extension";
2427
2621
  skill: string;
2428
2622
  version: string;
2429
2623
  integrity: string;
2430
- distribution: {
2624
+ role?: "primary" | "extension" | undefined;
2625
+ distribution?: {
2431
2626
  kind: "cli-bundled";
2432
2627
  locator: string;
2433
2628
  } | {
@@ -2442,26 +2637,35 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2442
2637
  } | {
2443
2638
  kind: "marketplace";
2444
2639
  locator: string;
2445
- };
2640
+ } | undefined;
2446
2641
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2447
2642
  }[];
2643
+ operations?: "main-index"[] | undefined;
2644
+ read_scope?: {
2645
+ refs: string[];
2646
+ extra_targets?: {
2647
+ source_ref: string;
2648
+ module_refs?: string[] | undefined;
2649
+ }[] | undefined;
2650
+ } | undefined;
2448
2651
  customization?: {
2449
2652
  mode: "replace" | "extend";
2450
2653
  } | undefined;
2451
2654
  }[];
2452
2655
  };
2656
+ capability_gap_digest: string | null;
2453
2657
  finalized_validation_report_digests: string[];
2454
2658
  program_execution_policy_digest: string | null;
2455
2659
  proposal_digest: string;
2456
2660
  }>, {
2457
- protocol: "context.indexer.project-proposal/v1";
2458
2661
  targets: {
2459
- operation: "write" | "delete";
2460
2662
  path: string;
2663
+ operation: "write" | "delete";
2461
2664
  base_digest: string | null;
2462
2665
  target_digest: string | null;
2463
2666
  content?: string | undefined;
2464
2667
  }[];
2668
+ protocol: "context.indexer.project-proposal/v1";
2465
2669
  mode: "customization" | "registry-only";
2466
2670
  project_ref: string;
2467
2671
  dependencies: {
@@ -2494,18 +2698,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2494
2698
  intent_set_digest: string;
2495
2699
  };
2496
2700
  requirement_set_digest: string;
2497
- capability_gap_digest: string | null;
2498
- target_registry: {
2701
+ base_registry: {
2499
2702
  requirement_set_digest: string;
2500
- registry_digest: string;
2501
2703
  document_digest: string;
2502
2704
  indexer_selection_digest: string;
2705
+ registry_digest: string;
2503
2706
  };
2504
- base_registry: {
2707
+ target_registry: {
2505
2708
  requirement_set_digest: string;
2506
- registry_digest: string;
2507
2709
  document_digest: string;
2508
2710
  indexer_selection_digest: string;
2711
+ registry_digest: string;
2509
2712
  };
2510
2713
  target_document: {
2511
2714
  protocol: "context.indexer.registry/v1";
@@ -2528,8 +2731,8 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2528
2731
  questions?: {
2529
2732
  ref: string;
2530
2733
  authority: {
2531
- kind: "cli-base-contract" | "verified-contract-overlay";
2532
2734
  ref: string;
2735
+ kind: "cli-base-contract" | "verified-contract-overlay";
2533
2736
  digest: string;
2534
2737
  };
2535
2738
  contract_version: number;
@@ -2547,11 +2750,16 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2547
2750
  }[] | undefined;
2548
2751
  }[];
2549
2752
  indexers: {
2753
+ read_scope: {
2754
+ refs: string[];
2755
+ extra_targets?: {
2756
+ source_ref: string;
2757
+ module_refs: string[];
2758
+ }[] | undefined;
2759
+ };
2550
2760
  id: string;
2551
- operations: ("main-index" | "material-answer")[];
2761
+ operations: "main-index"[];
2552
2762
  requirement_bindings: {
2553
- coverage_domains: string[];
2554
- requirement_ref: string;
2555
2763
  owned_scope: {
2556
2764
  targets: {
2557
2765
  source_ref: string;
@@ -2560,15 +2768,10 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2560
2768
  } | {
2561
2769
  ref: string;
2562
2770
  };
2771
+ coverage_domains: string[];
2772
+ requirement_ref: string;
2563
2773
  role: "primary" | "enricher";
2564
2774
  }[];
2565
- read_scope: {
2566
- refs: string[];
2567
- extra_targets?: {
2568
- source_ref: string;
2569
- module_refs: string[];
2570
- }[] | undefined;
2571
- };
2572
2775
  profile: {
2573
2776
  primary: {
2574
2777
  id: string;
@@ -2587,11 +2790,6 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2587
2790
  }[] | undefined;
2588
2791
  };
2589
2792
  providers: {
2590
- id: string;
2591
- role: "primary" | "extension";
2592
- skill: string;
2593
- version: string;
2594
- integrity: string;
2595
2793
  distribution: {
2596
2794
  kind: "cli-bundled";
2597
2795
  locator: string;
@@ -2608,6 +2806,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2608
2806
  kind: "marketplace";
2609
2807
  locator: string;
2610
2808
  };
2809
+ id: string;
2810
+ role: "primary" | "extension";
2811
+ skill: string;
2812
+ version: string;
2813
+ integrity: string;
2611
2814
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2612
2815
  }[];
2613
2816
  customization?: {
@@ -2615,18 +2818,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2615
2818
  } | undefined;
2616
2819
  }[];
2617
2820
  };
2821
+ capability_gap_digest: string | null;
2618
2822
  finalized_validation_report_digests: string[];
2619
2823
  program_execution_policy_digest: string | null;
2620
2824
  proposal_digest: string;
2621
2825
  }, {
2622
- protocol: "context.indexer.project-proposal/v1";
2623
2826
  targets: {
2624
- operation: "write" | "delete";
2625
2827
  path: string;
2828
+ operation: "write" | "delete";
2626
2829
  base_digest: string | null;
2627
2830
  target_digest: string | null;
2628
2831
  content?: string | undefined;
2629
2832
  }[];
2833
+ protocol: "context.indexer.project-proposal/v1";
2630
2834
  mode: "customization" | "registry-only";
2631
2835
  project_ref: string;
2632
2836
  dependencies: {
@@ -2659,18 +2863,17 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2659
2863
  intent_set_digest: string;
2660
2864
  };
2661
2865
  requirement_set_digest: string;
2662
- capability_gap_digest: string | null;
2663
- target_registry: {
2866
+ base_registry: {
2664
2867
  requirement_set_digest: string;
2665
- registry_digest: string;
2666
2868
  document_digest: string;
2667
2869
  indexer_selection_digest: string;
2870
+ registry_digest: string;
2668
2871
  };
2669
- base_registry: {
2872
+ target_registry: {
2670
2873
  requirement_set_digest: string;
2671
- registry_digest: string;
2672
2874
  document_digest: string;
2673
2875
  indexer_selection_digest: string;
2876
+ registry_digest: string;
2674
2877
  };
2675
2878
  target_document: {
2676
2879
  protocol: "context.indexer.registry/v1";
@@ -2681,20 +2884,20 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2681
2884
  target_scope: {
2682
2885
  targets: {
2683
2886
  source_ref: string;
2684
- module_refs: string[];
2887
+ module_refs?: string[] | undefined;
2685
2888
  }[];
2686
2889
  };
2687
2890
  evidence_source_scope: {
2688
2891
  targets: {
2689
2892
  source_ref: string;
2690
- module_refs: string[];
2893
+ module_refs?: string[] | undefined;
2691
2894
  }[];
2692
2895
  };
2693
2896
  questions?: {
2694
2897
  ref: string;
2695
2898
  authority: {
2696
- kind: "cli-base-contract" | "verified-contract-overlay";
2697
2899
  ref: string;
2900
+ kind: "cli-base-contract" | "verified-contract-overlay";
2698
2901
  digest: string;
2699
2902
  };
2700
2903
  contract_version: number;
@@ -2705,7 +2908,7 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2705
2908
  scope: {
2706
2909
  targets: {
2707
2910
  source_ref: string;
2708
- module_refs: string[];
2911
+ module_refs?: string[] | undefined;
2709
2912
  }[];
2710
2913
  };
2711
2914
  reason: string;
@@ -2713,27 +2916,19 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2713
2916
  }[];
2714
2917
  indexers: {
2715
2918
  id: string;
2716
- operations: ("main-index" | "material-answer")[];
2717
2919
  requirement_bindings: {
2718
2920
  coverage_domains: string[];
2719
2921
  requirement_ref: string;
2720
- owned_scope: {
2922
+ role: "primary" | "enricher";
2923
+ owned_scope?: {
2721
2924
  targets: {
2722
2925
  source_ref: string;
2723
- module_refs: string[];
2926
+ module_refs?: string[] | undefined;
2724
2927
  }[];
2725
2928
  } | {
2726
2929
  ref: string;
2727
- };
2728
- role: "primary" | "enricher";
2930
+ } | undefined;
2729
2931
  }[];
2730
- read_scope: {
2731
- refs: string[];
2732
- extra_targets?: {
2733
- source_ref: string;
2734
- module_refs: string[];
2735
- }[] | undefined;
2736
- };
2737
2932
  profile: {
2738
2933
  primary: {
2739
2934
  id: string;
@@ -2753,11 +2948,11 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2753
2948
  };
2754
2949
  providers: {
2755
2950
  id: string;
2756
- role: "primary" | "extension";
2757
2951
  skill: string;
2758
2952
  version: string;
2759
2953
  integrity: string;
2760
- distribution: {
2954
+ role?: "primary" | "extension" | undefined;
2955
+ distribution?: {
2761
2956
  kind: "cli-bundled";
2762
2957
  locator: string;
2763
2958
  } | {
@@ -2772,14 +2967,23 @@ export declare const indexerProjectProposalSchema: z.ZodEffects<z.ZodObject<{
2772
2967
  } | {
2773
2968
  kind: "marketplace";
2774
2969
  locator: string;
2775
- };
2970
+ } | undefined;
2776
2971
  config?: Record<string, import("./indexerRegistry.js").IndexerJson> | undefined;
2777
2972
  }[];
2973
+ operations?: "main-index"[] | undefined;
2974
+ read_scope?: {
2975
+ refs: string[];
2976
+ extra_targets?: {
2977
+ source_ref: string;
2978
+ module_refs?: string[] | undefined;
2979
+ }[] | undefined;
2980
+ } | undefined;
2778
2981
  customization?: {
2779
2982
  mode: "replace" | "extend";
2780
2983
  } | undefined;
2781
2984
  }[];
2782
2985
  };
2986
+ capability_gap_digest: string | null;
2783
2987
  finalized_validation_report_digests: string[];
2784
2988
  program_execution_policy_digest: string | null;
2785
2989
  proposal_digest: string;