@c4a/context 0.7.0 → 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 -422
  6. package/docs/guides/agent-guide.md +94 -523
  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 -136
  10. package/docs/reference/indexer-provider-protocol.md +60 -138
  11. package/docs/reference/package-templates.md +2 -3
  12. package/docs/reference/project-api.md +52 -985
  13. package/index.d.ts +12 -10
  14. package/index.js +12749 -15335
  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 +221 -255
  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 +206 -16
  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/{indexerOverlayTrust.d.ts → indexerContractOverlay.d.ts} +23 -569
  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 +497 -293
  55. package/indexerOverlayQuestionApplyProposal.d.ts +1030 -622
  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 -281
  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
@@ -1,21 +1,21 @@
1
1
  import { z } from "zod";
2
2
  import type { IndexerMainAuthorWorkset } from "./indexerMainWorkset.js";
3
- export declare const INDEXER_INVENTORY_MEMBER_KINDS: readonly ["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"];
3
+ export declare const INDEXER_INVENTORY_MEMBER_KINDS: readonly ["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"];
4
4
  export type IndexerInventoryMemberKind = typeof INDEXER_INVENTORY_MEMBER_KINDS[number];
5
5
  export declare const indexerInventoryMemberSchema: z.ZodObject<{
6
6
  member_id: z.ZodString;
7
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
7
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
8
8
  }, "strict", z.ZodTypeAny, {
9
9
  member_id: string;
10
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
10
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
11
11
  }, {
12
12
  member_id: string;
13
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
13
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
14
14
  }>;
15
15
  export type IndexerInventoryMember = z.infer<typeof indexerInventoryMemberSchema>;
16
16
  declare const inventoryDispositionSchema: z.ZodUnion<[z.ZodObject<{
17
17
  member_id: z.ZodString;
18
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
18
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
19
19
  inventory_disposition: z.ZodLiteral<"owned">;
20
20
  projection_disposition: z.ZodLiteral<"detailed">;
21
21
  section_evidence: z.ZodArray<z.ZodObject<{
@@ -24,133 +24,133 @@ declare const inventoryDispositionSchema: z.ZodUnion<[z.ZodObject<{
24
24
  evidence_refs: z.ZodArray<z.ZodString, "many">;
25
25
  }, "strict", z.ZodTypeAny, {
26
26
  evidence_refs: string[];
27
- artifact_id: string;
28
27
  section_key: string;
28
+ artifact_id: string;
29
29
  }, {
30
30
  evidence_refs: string[];
31
- artifact_id: string;
32
31
  section_key: string;
32
+ artifact_id: string;
33
33
  }>, "many">;
34
34
  }, "strict", z.ZodTypeAny, {
35
35
  member_id: string;
36
36
  section_evidence: {
37
37
  evidence_refs: string[];
38
- artifact_id: string;
39
38
  section_key: string;
39
+ artifact_id: string;
40
40
  }[];
41
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
41
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
42
42
  inventory_disposition: "owned";
43
43
  projection_disposition: "detailed";
44
44
  }, {
45
45
  member_id: string;
46
46
  section_evidence: {
47
47
  evidence_refs: string[];
48
- artifact_id: string;
49
48
  section_key: string;
49
+ artifact_id: string;
50
50
  }[];
51
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
51
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
52
52
  inventory_disposition: "owned";
53
53
  projection_disposition: "detailed";
54
54
  }>, z.ZodObject<{
55
55
  member_id: z.ZodString;
56
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
56
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
57
57
  inventory_disposition: z.ZodLiteral<"owned">;
58
58
  projection_disposition: z.ZodLiteral<"capability-group">;
59
59
  capability_group_ref: z.ZodString;
60
60
  }, "strict", z.ZodTypeAny, {
61
61
  member_id: string;
62
62
  capability_group_ref: string;
63
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
63
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
64
64
  inventory_disposition: "owned";
65
65
  projection_disposition: "capability-group";
66
66
  }, {
67
67
  member_id: string;
68
68
  capability_group_ref: string;
69
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
69
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
70
70
  inventory_disposition: "owned";
71
71
  projection_disposition: "capability-group";
72
72
  }>, z.ZodObject<{
73
73
  member_id: z.ZodString;
74
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
74
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
75
75
  inventory_disposition: z.ZodLiteral<"owned">;
76
76
  projection_disposition: z.ZodLiteral<"catalog-only">;
77
77
  fact_refs: z.ZodArray<z.ZodString, "many">;
78
78
  }, "strict", z.ZodTypeAny, {
79
79
  fact_refs: string[];
80
80
  member_id: string;
81
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
81
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
82
82
  inventory_disposition: "owned";
83
83
  projection_disposition: "catalog-only";
84
84
  }, {
85
85
  fact_refs: string[];
86
86
  member_id: string;
87
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
87
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
88
88
  inventory_disposition: "owned";
89
89
  projection_disposition: "catalog-only";
90
90
  }>, z.ZodObject<{
91
91
  member_id: z.ZodString;
92
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
92
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
93
93
  inventory_disposition: z.ZodLiteral<"owned">;
94
94
  projection_disposition: z.ZodLiteral<"boundary-only">;
95
95
  evidence_refs: z.ZodArray<z.ZodString, "many">;
96
96
  }, "strict", z.ZodTypeAny, {
97
97
  evidence_refs: string[];
98
98
  member_id: string;
99
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
99
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
100
100
  inventory_disposition: "owned";
101
101
  projection_disposition: "boundary-only";
102
102
  }, {
103
103
  evidence_refs: string[];
104
104
  member_id: string;
105
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
105
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
106
106
  inventory_disposition: "owned";
107
107
  projection_disposition: "boundary-only";
108
108
  }>, z.ZodObject<{
109
109
  member_id: z.ZodString;
110
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
110
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
111
111
  inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
112
112
  reason_code: z.ZodEffects<z.ZodString, string, string>;
113
113
  evidence_refs: z.ZodArray<z.ZodString, "many">;
114
114
  }, "strict", z.ZodTypeAny, {
115
115
  evidence_refs: string[];
116
116
  member_id: string;
117
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
117
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
118
118
  inventory_disposition: "excluded-with-reason";
119
119
  reason_code: string;
120
120
  }, {
121
121
  evidence_refs: string[];
122
122
  member_id: string;
123
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
123
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
124
124
  inventory_disposition: "excluded-with-reason";
125
125
  reason_code: string;
126
126
  }>, z.ZodObject<{
127
127
  member_id: z.ZodString;
128
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
128
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
129
129
  inventory_disposition: z.ZodLiteral<"unsupported">;
130
130
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
131
131
  }, "strict", z.ZodTypeAny, {
132
132
  member_id: string;
133
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
133
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
134
134
  inventory_disposition: "unsupported";
135
135
  missing_capabilities: string[];
136
136
  }, {
137
137
  member_id: string;
138
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
138
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
139
139
  inventory_disposition: "unsupported";
140
140
  missing_capabilities: string[];
141
141
  }>, z.ZodObject<{
142
142
  member_id: z.ZodString;
143
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
143
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
144
144
  inventory_disposition: z.ZodLiteral<"request-material">;
145
145
  material_question_proposal_ref: z.ZodString;
146
146
  }, "strict", z.ZodTypeAny, {
147
147
  member_id: string;
148
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
148
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
149
149
  inventory_disposition: "request-material";
150
150
  material_question_proposal_ref: string;
151
151
  }, {
152
152
  member_id: string;
153
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
153
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
154
154
  inventory_disposition: "request-material";
155
155
  material_question_proposal_ref: string;
156
156
  }>]>;
@@ -163,7 +163,7 @@ export declare const indexerInventoryDispositionSetSchema: z.ZodObject<{
163
163
  member_inventory_digest: z.ZodString;
164
164
  dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
165
165
  member_id: z.ZodString;
166
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
166
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
167
167
  inventory_disposition: z.ZodLiteral<"owned">;
168
168
  projection_disposition: z.ZodLiteral<"detailed">;
169
169
  section_evidence: z.ZodArray<z.ZodObject<{
@@ -172,133 +172,133 @@ export declare const indexerInventoryDispositionSetSchema: z.ZodObject<{
172
172
  evidence_refs: z.ZodArray<z.ZodString, "many">;
173
173
  }, "strict", z.ZodTypeAny, {
174
174
  evidence_refs: string[];
175
- artifact_id: string;
176
175
  section_key: string;
176
+ artifact_id: string;
177
177
  }, {
178
178
  evidence_refs: string[];
179
- artifact_id: string;
180
179
  section_key: string;
180
+ artifact_id: string;
181
181
  }>, "many">;
182
182
  }, "strict", z.ZodTypeAny, {
183
183
  member_id: string;
184
184
  section_evidence: {
185
185
  evidence_refs: string[];
186
- artifact_id: string;
187
186
  section_key: string;
187
+ artifact_id: string;
188
188
  }[];
189
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
189
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
190
190
  inventory_disposition: "owned";
191
191
  projection_disposition: "detailed";
192
192
  }, {
193
193
  member_id: string;
194
194
  section_evidence: {
195
195
  evidence_refs: string[];
196
- artifact_id: string;
197
196
  section_key: string;
197
+ artifact_id: string;
198
198
  }[];
199
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
199
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
200
200
  inventory_disposition: "owned";
201
201
  projection_disposition: "detailed";
202
202
  }>, z.ZodObject<{
203
203
  member_id: z.ZodString;
204
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
204
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
205
205
  inventory_disposition: z.ZodLiteral<"owned">;
206
206
  projection_disposition: z.ZodLiteral<"capability-group">;
207
207
  capability_group_ref: z.ZodString;
208
208
  }, "strict", z.ZodTypeAny, {
209
209
  member_id: string;
210
210
  capability_group_ref: string;
211
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
211
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
212
212
  inventory_disposition: "owned";
213
213
  projection_disposition: "capability-group";
214
214
  }, {
215
215
  member_id: string;
216
216
  capability_group_ref: string;
217
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
217
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
218
218
  inventory_disposition: "owned";
219
219
  projection_disposition: "capability-group";
220
220
  }>, z.ZodObject<{
221
221
  member_id: z.ZodString;
222
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
222
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
223
223
  inventory_disposition: z.ZodLiteral<"owned">;
224
224
  projection_disposition: z.ZodLiteral<"catalog-only">;
225
225
  fact_refs: z.ZodArray<z.ZodString, "many">;
226
226
  }, "strict", z.ZodTypeAny, {
227
227
  fact_refs: string[];
228
228
  member_id: string;
229
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
229
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
230
230
  inventory_disposition: "owned";
231
231
  projection_disposition: "catalog-only";
232
232
  }, {
233
233
  fact_refs: string[];
234
234
  member_id: string;
235
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
235
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
236
236
  inventory_disposition: "owned";
237
237
  projection_disposition: "catalog-only";
238
238
  }>, z.ZodObject<{
239
239
  member_id: z.ZodString;
240
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
240
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
241
241
  inventory_disposition: z.ZodLiteral<"owned">;
242
242
  projection_disposition: z.ZodLiteral<"boundary-only">;
243
243
  evidence_refs: z.ZodArray<z.ZodString, "many">;
244
244
  }, "strict", z.ZodTypeAny, {
245
245
  evidence_refs: string[];
246
246
  member_id: string;
247
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
247
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
248
248
  inventory_disposition: "owned";
249
249
  projection_disposition: "boundary-only";
250
250
  }, {
251
251
  evidence_refs: string[];
252
252
  member_id: string;
253
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
253
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
254
254
  inventory_disposition: "owned";
255
255
  projection_disposition: "boundary-only";
256
256
  }>, z.ZodObject<{
257
257
  member_id: z.ZodString;
258
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
258
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
259
259
  inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
260
260
  reason_code: z.ZodEffects<z.ZodString, string, string>;
261
261
  evidence_refs: z.ZodArray<z.ZodString, "many">;
262
262
  }, "strict", z.ZodTypeAny, {
263
263
  evidence_refs: string[];
264
264
  member_id: string;
265
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
265
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
266
266
  inventory_disposition: "excluded-with-reason";
267
267
  reason_code: string;
268
268
  }, {
269
269
  evidence_refs: string[];
270
270
  member_id: string;
271
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
271
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
272
272
  inventory_disposition: "excluded-with-reason";
273
273
  reason_code: string;
274
274
  }>, z.ZodObject<{
275
275
  member_id: z.ZodString;
276
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
276
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
277
277
  inventory_disposition: z.ZodLiteral<"unsupported">;
278
278
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
279
279
  }, "strict", z.ZodTypeAny, {
280
280
  member_id: string;
281
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
281
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
282
282
  inventory_disposition: "unsupported";
283
283
  missing_capabilities: string[];
284
284
  }, {
285
285
  member_id: string;
286
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
286
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
287
287
  inventory_disposition: "unsupported";
288
288
  missing_capabilities: string[];
289
289
  }>, z.ZodObject<{
290
290
  member_id: z.ZodString;
291
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
291
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
292
292
  inventory_disposition: z.ZodLiteral<"request-material">;
293
293
  material_question_proposal_ref: z.ZodString;
294
294
  }, "strict", z.ZodTypeAny, {
295
295
  member_id: string;
296
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
296
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
297
297
  inventory_disposition: "request-material";
298
298
  material_question_proposal_ref: string;
299
299
  }, {
300
300
  member_id: string;
301
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
301
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
302
302
  inventory_disposition: "request-material";
303
303
  material_question_proposal_ref: string;
304
304
  }>]>, "many">;
@@ -314,44 +314,44 @@ export declare const indexerInventoryDispositionSetSchema: z.ZodObject<{
314
314
  member_id: string;
315
315
  section_evidence: {
316
316
  evidence_refs: string[];
317
- artifact_id: string;
318
317
  section_key: string;
318
+ artifact_id: string;
319
319
  }[];
320
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
320
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
321
321
  inventory_disposition: "owned";
322
322
  projection_disposition: "detailed";
323
323
  } | {
324
324
  member_id: string;
325
325
  capability_group_ref: string;
326
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
326
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
327
327
  inventory_disposition: "owned";
328
328
  projection_disposition: "capability-group";
329
329
  } | {
330
330
  fact_refs: string[];
331
331
  member_id: string;
332
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
332
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
333
333
  inventory_disposition: "owned";
334
334
  projection_disposition: "catalog-only";
335
335
  } | {
336
336
  evidence_refs: string[];
337
337
  member_id: string;
338
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
338
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
339
339
  inventory_disposition: "owned";
340
340
  projection_disposition: "boundary-only";
341
341
  } | {
342
342
  evidence_refs: string[];
343
343
  member_id: string;
344
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
344
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
345
345
  inventory_disposition: "excluded-with-reason";
346
346
  reason_code: string;
347
347
  } | {
348
348
  member_id: string;
349
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
349
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
350
350
  inventory_disposition: "unsupported";
351
351
  missing_capabilities: string[];
352
352
  } | {
353
353
  member_id: string;
354
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
354
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
355
355
  inventory_disposition: "request-material";
356
356
  material_question_proposal_ref: string;
357
357
  })[];
@@ -367,44 +367,44 @@ export declare const indexerInventoryDispositionSetSchema: z.ZodObject<{
367
367
  member_id: string;
368
368
  section_evidence: {
369
369
  evidence_refs: string[];
370
- artifact_id: string;
371
370
  section_key: string;
371
+ artifact_id: string;
372
372
  }[];
373
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
373
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
374
374
  inventory_disposition: "owned";
375
375
  projection_disposition: "detailed";
376
376
  } | {
377
377
  member_id: string;
378
378
  capability_group_ref: string;
379
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
379
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
380
380
  inventory_disposition: "owned";
381
381
  projection_disposition: "capability-group";
382
382
  } | {
383
383
  fact_refs: string[];
384
384
  member_id: string;
385
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
385
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
386
386
  inventory_disposition: "owned";
387
387
  projection_disposition: "catalog-only";
388
388
  } | {
389
389
  evidence_refs: string[];
390
390
  member_id: string;
391
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
391
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
392
392
  inventory_disposition: "owned";
393
393
  projection_disposition: "boundary-only";
394
394
  } | {
395
395
  evidence_refs: string[];
396
396
  member_id: string;
397
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
397
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
398
398
  inventory_disposition: "excluded-with-reason";
399
399
  reason_code: string;
400
400
  } | {
401
401
  member_id: string;
402
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
402
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
403
403
  inventory_disposition: "unsupported";
404
404
  missing_capabilities: string[];
405
405
  } | {
406
406
  member_id: string;
407
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
407
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
408
408
  inventory_disposition: "request-material";
409
409
  material_question_proposal_ref: string;
410
410
  })[];