@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
@@ -27,20 +27,19 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
27
27
  local_key: z.ZodEffects<z.ZodString, string, string>;
28
28
  }, "strict", z.ZodTypeAny, {
29
29
  kind: string;
30
- protocol: "context.subject-key/v1";
31
30
  namespace: string;
31
+ protocol: "context.subject-key/v1";
32
32
  local_key: string;
33
33
  }, {
34
34
  kind: string;
35
- protocol: "context.subject-key/v1";
36
35
  namespace: string;
36
+ protocol: "context.subject-key/v1";
37
37
  local_key: string;
38
38
  }>;
39
39
  parent_scope_ref: z.ZodString;
40
40
  inventory_digest: z.ZodString;
41
41
  question_target_inventory_digest: z.ZodString;
42
42
  }, "strict", z.ZodTypeAny, {
43
- source_refs: string[];
44
43
  module_ref: string | null;
45
44
  requirement_digest: string;
46
45
  indexer_id: string;
@@ -48,17 +47,17 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
48
47
  subject_key_schema_digest: string;
49
48
  partition_subject_key: {
50
49
  kind: string;
51
- protocol: "context.subject-key/v1";
52
50
  namespace: string;
51
+ protocol: "context.subject-key/v1";
53
52
  local_key: string;
54
53
  };
55
54
  source_scope_digest: string;
56
55
  question_target_inventory_digest: string;
57
56
  partition_workset_digest: string;
58
57
  indexer_fingerprint: string;
58
+ source_refs: string[];
59
59
  parent_scope_ref: string;
60
60
  }, {
61
- source_refs: string[];
62
61
  module_ref: string | null;
63
62
  requirement_digest: string;
64
63
  indexer_id: string;
@@ -66,14 +65,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
66
65
  subject_key_schema_digest: string;
67
66
  partition_subject_key: {
68
67
  kind: string;
69
- protocol: "context.subject-key/v1";
70
68
  namespace: string;
69
+ protocol: "context.subject-key/v1";
71
70
  local_key: string;
72
71
  };
73
72
  source_scope_digest: string;
74
73
  question_target_inventory_digest: string;
75
74
  partition_workset_digest: string;
76
75
  indexer_fingerprint: string;
76
+ source_refs: string[];
77
77
  parent_scope_ref: string;
78
78
  }>;
79
79
  strategy_ref: z.ZodUnion<[z.ZodObject<{
@@ -117,13 +117,13 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
117
117
  local_key: z.ZodEffects<z.ZodString, string, string>;
118
118
  }, "strict", z.ZodTypeAny, {
119
119
  kind: string;
120
- protocol: "context.subject-key/v1";
121
120
  namespace: string;
121
+ protocol: "context.subject-key/v1";
122
122
  local_key: string;
123
123
  }, {
124
124
  kind: string;
125
- protocol: "context.subject-key/v1";
126
125
  namespace: string;
126
+ protocol: "context.subject-key/v1";
127
127
  local_key: string;
128
128
  }>;
129
129
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
@@ -142,14 +142,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
142
142
  }>, "many">;
143
143
  member_ids: z.ZodArray<z.ZodString, "many">;
144
144
  }, "strict", z.ZodTypeAny, {
145
- reader_question_refs: string[];
146
- logical_unit_ref: string;
147
145
  subject_key: {
148
146
  kind: string;
149
- protocol: "context.subject-key/v1";
150
147
  namespace: string;
148
+ protocol: "context.subject-key/v1";
151
149
  local_key: string;
152
150
  };
151
+ reader_question_refs: string[];
152
+ logical_unit_ref: string;
153
153
  group_key: string;
154
154
  member_ids: string[];
155
155
  subject_intent: "primary" | "enrich-or-independent";
@@ -159,14 +159,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
159
159
  target_ref: string;
160
160
  }[];
161
161
  }, {
162
- reader_question_refs: string[];
163
- logical_unit_ref: string;
164
162
  subject_key: {
165
163
  kind: string;
166
- protocol: "context.subject-key/v1";
167
164
  namespace: string;
165
+ protocol: "context.subject-key/v1";
168
166
  local_key: string;
169
167
  };
168
+ reader_question_refs: string[];
169
+ logical_unit_ref: string;
170
170
  group_key: string;
171
171
  member_ids: string[];
172
172
  subject_intent: "primary" | "enrich-or-independent";
@@ -178,58 +178,57 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
178
178
  }>, "many">;
179
179
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
180
180
  member_id: z.ZodString;
181
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
181
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
182
182
  inventory_disposition: z.ZodLiteral<"owned">;
183
183
  group_key: z.ZodString;
184
184
  }, "strict", z.ZodTypeAny, {
185
185
  group_key: string;
186
186
  member_id: string;
187
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
187
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
188
188
  inventory_disposition: "owned";
189
189
  }, {
190
190
  group_key: string;
191
191
  member_id: string;
192
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
192
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
193
193
  inventory_disposition: "owned";
194
194
  }>, z.ZodObject<{
195
195
  member_id: z.ZodString;
196
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
196
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
197
197
  inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
198
198
  reason_code: z.ZodEffects<z.ZodString, string, string>;
199
199
  }, "strict", z.ZodTypeAny, {
200
200
  member_id: string;
201
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
201
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
202
202
  inventory_disposition: "excluded-with-reason";
203
203
  reason_code: string;
204
204
  }, {
205
205
  member_id: string;
206
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
206
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
207
207
  inventory_disposition: "excluded-with-reason";
208
208
  reason_code: string;
209
209
  }>, z.ZodObject<{
210
210
  member_id: z.ZodString;
211
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
211
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
212
212
  inventory_disposition: z.ZodLiteral<"unsupported">;
213
213
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
214
214
  }, "strict", z.ZodTypeAny, {
215
215
  member_id: string;
216
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
216
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
217
217
  inventory_disposition: "unsupported";
218
218
  missing_capabilities: string[];
219
219
  }, {
220
220
  member_id: string;
221
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
221
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
222
222
  inventory_disposition: "unsupported";
223
223
  missing_capabilities: string[];
224
224
  }>]>, "many">;
225
225
  canonical_hash: z.ZodString;
226
226
  }, "strict", z.ZodTypeAny, {
227
- protocol: "context.indexer.partition-plan/v1";
228
227
  status: "complete";
228
+ protocol: "context.indexer.partition-plan/v1";
229
229
  reader_question_refs: string[];
230
230
  failure: null;
231
231
  binding: {
232
- source_refs: string[];
233
232
  module_ref: string | null;
234
233
  requirement_digest: string;
235
234
  indexer_id: string;
@@ -237,14 +236,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
237
236
  subject_key_schema_digest: string;
238
237
  partition_subject_key: {
239
238
  kind: string;
240
- protocol: "context.subject-key/v1";
241
239
  namespace: string;
240
+ protocol: "context.subject-key/v1";
242
241
  local_key: string;
243
242
  };
244
243
  source_scope_digest: string;
245
244
  question_target_inventory_digest: string;
246
245
  partition_workset_digest: string;
247
246
  indexer_fingerprint: string;
247
+ source_refs: string[];
248
248
  parent_scope_ref: string;
249
249
  };
250
250
  strategy_ref: {
@@ -261,14 +261,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
261
261
  unit_type: string;
262
262
  partition_axis: string;
263
263
  groups: {
264
- reader_question_refs: string[];
265
- logical_unit_ref: string;
266
264
  subject_key: {
267
265
  kind: string;
268
- protocol: "context.subject-key/v1";
269
266
  namespace: string;
267
+ protocol: "context.subject-key/v1";
270
268
  local_key: string;
271
269
  };
270
+ reader_question_refs: string[];
271
+ logical_unit_ref: string;
272
272
  group_key: string;
273
273
  member_ids: string[];
274
274
  subject_intent: "primary" | "enrich-or-independent";
@@ -281,27 +281,26 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
281
281
  member_dispositions: ({
282
282
  group_key: string;
283
283
  member_id: string;
284
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
284
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
285
285
  inventory_disposition: "owned";
286
286
  } | {
287
287
  member_id: string;
288
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
288
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
289
289
  inventory_disposition: "excluded-with-reason";
290
290
  reason_code: string;
291
291
  } | {
292
292
  member_id: string;
293
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
293
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
294
294
  inventory_disposition: "unsupported";
295
295
  missing_capabilities: string[];
296
296
  })[];
297
297
  canonical_hash: string;
298
298
  }, {
299
- protocol: "context.indexer.partition-plan/v1";
300
299
  status: "complete";
300
+ protocol: "context.indexer.partition-plan/v1";
301
301
  reader_question_refs: string[];
302
302
  failure: null;
303
303
  binding: {
304
- source_refs: string[];
305
304
  module_ref: string | null;
306
305
  requirement_digest: string;
307
306
  indexer_id: string;
@@ -309,14 +308,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
309
308
  subject_key_schema_digest: string;
310
309
  partition_subject_key: {
311
310
  kind: string;
312
- protocol: "context.subject-key/v1";
313
311
  namespace: string;
312
+ protocol: "context.subject-key/v1";
314
313
  local_key: string;
315
314
  };
316
315
  source_scope_digest: string;
317
316
  question_target_inventory_digest: string;
318
317
  partition_workset_digest: string;
319
318
  indexer_fingerprint: string;
319
+ source_refs: string[];
320
320
  parent_scope_ref: string;
321
321
  };
322
322
  strategy_ref: {
@@ -333,14 +333,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
333
333
  unit_type: string;
334
334
  partition_axis: string;
335
335
  groups: {
336
- reader_question_refs: string[];
337
- logical_unit_ref: string;
338
336
  subject_key: {
339
337
  kind: string;
340
- protocol: "context.subject-key/v1";
341
338
  namespace: string;
339
+ protocol: "context.subject-key/v1";
342
340
  local_key: string;
343
341
  };
342
+ reader_question_refs: string[];
343
+ logical_unit_ref: string;
344
344
  group_key: string;
345
345
  member_ids: string[];
346
346
  subject_intent: "primary" | "enrich-or-independent";
@@ -353,16 +353,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
353
353
  member_dispositions: ({
354
354
  group_key: string;
355
355
  member_id: string;
356
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
356
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
357
357
  inventory_disposition: "owned";
358
358
  } | {
359
359
  member_id: string;
360
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
360
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
361
361
  inventory_disposition: "excluded-with-reason";
362
362
  reason_code: string;
363
363
  } | {
364
364
  member_id: string;
365
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
365
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
366
366
  inventory_disposition: "unsupported";
367
367
  missing_capabilities: string[];
368
368
  })[];
@@ -405,20 +405,19 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
405
405
  local_key: z.ZodEffects<z.ZodString, string, string>;
406
406
  }, "strict", z.ZodTypeAny, {
407
407
  kind: string;
408
- protocol: "context.subject-key/v1";
409
408
  namespace: string;
409
+ protocol: "context.subject-key/v1";
410
410
  local_key: string;
411
411
  }, {
412
412
  kind: string;
413
- protocol: "context.subject-key/v1";
414
413
  namespace: string;
414
+ protocol: "context.subject-key/v1";
415
415
  local_key: string;
416
416
  }>;
417
417
  parent_scope_ref: z.ZodString;
418
418
  inventory_digest: z.ZodString;
419
419
  question_target_inventory_digest: z.ZodString;
420
420
  }, "strict", z.ZodTypeAny, {
421
- source_refs: string[];
422
421
  module_ref: string | null;
423
422
  requirement_digest: string;
424
423
  indexer_id: string;
@@ -426,17 +425,17 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
426
425
  subject_key_schema_digest: string;
427
426
  partition_subject_key: {
428
427
  kind: string;
429
- protocol: "context.subject-key/v1";
430
428
  namespace: string;
429
+ protocol: "context.subject-key/v1";
431
430
  local_key: string;
432
431
  };
433
432
  source_scope_digest: string;
434
433
  question_target_inventory_digest: string;
435
434
  partition_workset_digest: string;
436
435
  indexer_fingerprint: string;
436
+ source_refs: string[];
437
437
  parent_scope_ref: string;
438
438
  }, {
439
- source_refs: string[];
440
439
  module_ref: string | null;
441
440
  requirement_digest: string;
442
441
  indexer_id: string;
@@ -444,14 +443,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
444
443
  subject_key_schema_digest: string;
445
444
  partition_subject_key: {
446
445
  kind: string;
447
- protocol: "context.subject-key/v1";
448
446
  namespace: string;
447
+ protocol: "context.subject-key/v1";
449
448
  local_key: string;
450
449
  };
451
450
  source_scope_digest: string;
452
451
  question_target_inventory_digest: string;
453
452
  partition_workset_digest: string;
454
453
  indexer_fingerprint: string;
454
+ source_refs: string[];
455
455
  parent_scope_ref: string;
456
456
  }>;
457
457
  strategy_ref: z.ZodUnion<[z.ZodObject<{
@@ -495,13 +495,13 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
495
495
  local_key: z.ZodEffects<z.ZodString, string, string>;
496
496
  }, "strict", z.ZodTypeAny, {
497
497
  kind: string;
498
- protocol: "context.subject-key/v1";
499
498
  namespace: string;
499
+ protocol: "context.subject-key/v1";
500
500
  local_key: string;
501
501
  }, {
502
502
  kind: string;
503
- protocol: "context.subject-key/v1";
504
503
  namespace: string;
504
+ protocol: "context.subject-key/v1";
505
505
  local_key: string;
506
506
  }>;
507
507
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
@@ -520,14 +520,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
520
520
  }>, "many">;
521
521
  member_ids: z.ZodArray<z.ZodString, "many">;
522
522
  }, "strict", z.ZodTypeAny, {
523
- reader_question_refs: string[];
524
- logical_unit_ref: string;
525
523
  subject_key: {
526
524
  kind: string;
527
- protocol: "context.subject-key/v1";
528
525
  namespace: string;
526
+ protocol: "context.subject-key/v1";
529
527
  local_key: string;
530
528
  };
529
+ reader_question_refs: string[];
530
+ logical_unit_ref: string;
531
531
  group_key: string;
532
532
  member_ids: string[];
533
533
  subject_intent: "primary" | "enrich-or-independent";
@@ -537,14 +537,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
537
537
  target_ref: string;
538
538
  }[];
539
539
  }, {
540
- reader_question_refs: string[];
541
- logical_unit_ref: string;
542
540
  subject_key: {
543
541
  kind: string;
544
- protocol: "context.subject-key/v1";
545
542
  namespace: string;
543
+ protocol: "context.subject-key/v1";
546
544
  local_key: string;
547
545
  };
546
+ reader_question_refs: string[];
547
+ logical_unit_ref: string;
548
548
  group_key: string;
549
549
  member_ids: string[];
550
550
  subject_intent: "primary" | "enrich-or-independent";
@@ -556,54 +556,54 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
556
556
  }>, "many">;
557
557
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
558
558
  member_id: z.ZodString;
559
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
559
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
560
560
  inventory_disposition: z.ZodLiteral<"owned">;
561
561
  group_key: z.ZodString;
562
562
  }, "strict", z.ZodTypeAny, {
563
563
  group_key: string;
564
564
  member_id: string;
565
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
565
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
566
566
  inventory_disposition: "owned";
567
567
  }, {
568
568
  group_key: string;
569
569
  member_id: string;
570
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
570
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
571
571
  inventory_disposition: "owned";
572
572
  }>, z.ZodObject<{
573
573
  member_id: z.ZodString;
574
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
574
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
575
575
  inventory_disposition: z.ZodLiteral<"excluded-with-reason">;
576
576
  reason_code: z.ZodEffects<z.ZodString, string, string>;
577
577
  }, "strict", z.ZodTypeAny, {
578
578
  member_id: string;
579
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
579
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
580
580
  inventory_disposition: "excluded-with-reason";
581
581
  reason_code: string;
582
582
  }, {
583
583
  member_id: string;
584
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
584
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
585
585
  inventory_disposition: "excluded-with-reason";
586
586
  reason_code: string;
587
587
  }>, z.ZodObject<{
588
588
  member_id: z.ZodString;
589
- member_kind: z.ZodEnum<["project", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
589
+ member_kind: z.ZodEnum<["project", "document", "entry", "route", "component", "service", "method", "example", "protocol-method", "handler", "event-branch", "timer-branch", "downstream-callsite", "store", "state-transition"]>;
590
590
  inventory_disposition: z.ZodLiteral<"unsupported">;
591
591
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
592
592
  }, "strict", z.ZodTypeAny, {
593
593
  member_id: string;
594
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
594
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
595
595
  inventory_disposition: "unsupported";
596
596
  missing_capabilities: string[];
597
597
  }, {
598
598
  member_id: string;
599
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
599
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
600
600
  inventory_disposition: "unsupported";
601
601
  missing_capabilities: string[];
602
602
  }>]>, "many">;
603
603
  canonical_hash: z.ZodString;
604
604
  }, "strict", z.ZodTypeAny, {
605
- protocol: "context.indexer.partition-plan/v1";
606
605
  status: "failed";
606
+ protocol: "context.indexer.partition-plan/v1";
607
607
  reader_question_refs: string[];
608
608
  failure: {
609
609
  code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
@@ -613,7 +613,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
613
613
  missing_source_refs?: string[] | undefined;
614
614
  };
615
615
  binding: {
616
- source_refs: string[];
617
616
  module_ref: string | null;
618
617
  requirement_digest: string;
619
618
  indexer_id: string;
@@ -621,14 +620,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
621
620
  subject_key_schema_digest: string;
622
621
  partition_subject_key: {
623
622
  kind: string;
624
- protocol: "context.subject-key/v1";
625
623
  namespace: string;
624
+ protocol: "context.subject-key/v1";
626
625
  local_key: string;
627
626
  };
628
627
  source_scope_digest: string;
629
628
  question_target_inventory_digest: string;
630
629
  partition_workset_digest: string;
631
630
  indexer_fingerprint: string;
631
+ source_refs: string[];
632
632
  parent_scope_ref: string;
633
633
  };
634
634
  strategy_ref: {
@@ -645,14 +645,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
645
645
  unit_type: string;
646
646
  partition_axis: string;
647
647
  groups: {
648
- reader_question_refs: string[];
649
- logical_unit_ref: string;
650
648
  subject_key: {
651
649
  kind: string;
652
- protocol: "context.subject-key/v1";
653
650
  namespace: string;
651
+ protocol: "context.subject-key/v1";
654
652
  local_key: string;
655
653
  };
654
+ reader_question_refs: string[];
655
+ logical_unit_ref: string;
656
656
  group_key: string;
657
657
  member_ids: string[];
658
658
  subject_intent: "primary" | "enrich-or-independent";
@@ -665,23 +665,23 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
665
665
  member_dispositions: ({
666
666
  group_key: string;
667
667
  member_id: string;
668
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
668
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
669
669
  inventory_disposition: "owned";
670
670
  } | {
671
671
  member_id: string;
672
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
672
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
673
673
  inventory_disposition: "excluded-with-reason";
674
674
  reason_code: string;
675
675
  } | {
676
676
  member_id: string;
677
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
677
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
678
678
  inventory_disposition: "unsupported";
679
679
  missing_capabilities: string[];
680
680
  })[];
681
681
  canonical_hash: string;
682
682
  }, {
683
- protocol: "context.indexer.partition-plan/v1";
684
683
  status: "failed";
684
+ protocol: "context.indexer.partition-plan/v1";
685
685
  reader_question_refs: string[];
686
686
  failure: {
687
687
  code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
@@ -691,7 +691,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
691
691
  missing_source_refs?: string[] | undefined;
692
692
  };
693
693
  binding: {
694
- source_refs: string[];
695
694
  module_ref: string | null;
696
695
  requirement_digest: string;
697
696
  indexer_id: string;
@@ -699,14 +698,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
699
698
  subject_key_schema_digest: string;
700
699
  partition_subject_key: {
701
700
  kind: string;
702
- protocol: "context.subject-key/v1";
703
701
  namespace: string;
702
+ protocol: "context.subject-key/v1";
704
703
  local_key: string;
705
704
  };
706
705
  source_scope_digest: string;
707
706
  question_target_inventory_digest: string;
708
707
  partition_workset_digest: string;
709
708
  indexer_fingerprint: string;
709
+ source_refs: string[];
710
710
  parent_scope_ref: string;
711
711
  };
712
712
  strategy_ref: {
@@ -723,14 +723,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
723
723
  unit_type: string;
724
724
  partition_axis: string;
725
725
  groups: {
726
- reader_question_refs: string[];
727
- logical_unit_ref: string;
728
726
  subject_key: {
729
727
  kind: string;
730
- protocol: "context.subject-key/v1";
731
728
  namespace: string;
729
+ protocol: "context.subject-key/v1";
732
730
  local_key: string;
733
731
  };
732
+ reader_question_refs: string[];
733
+ logical_unit_ref: string;
734
734
  group_key: string;
735
735
  member_ids: string[];
736
736
  subject_intent: "primary" | "enrich-or-independent";
@@ -743,16 +743,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
743
743
  member_dispositions: ({
744
744
  group_key: string;
745
745
  member_id: string;
746
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
746
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
747
747
  inventory_disposition: "owned";
748
748
  } | {
749
749
  member_id: string;
750
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
750
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
751
751
  inventory_disposition: "excluded-with-reason";
752
752
  reason_code: string;
753
753
  } | {
754
754
  member_id: string;
755
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
755
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
756
756
  inventory_disposition: "unsupported";
757
757
  missing_capabilities: string[];
758
758
  })[];
@@ -764,13 +764,13 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
764
764
  member_ids: z.ZodArray<z.ZodString, "many">;
765
765
  member_ids_digest: z.ZodString;
766
766
  }, "strict", z.ZodTypeAny, {
767
- logical_unit_ref: string;
768
767
  renderer: "context.indexer.deterministic-catalog/v1";
768
+ logical_unit_ref: string;
769
769
  member_ids_digest: string;
770
770
  member_ids: string[];
771
771
  }, {
772
- logical_unit_ref: string;
773
772
  renderer: "context.indexer.deterministic-catalog/v1";
773
+ logical_unit_ref: string;
774
774
  member_ids_digest: string;
775
775
  member_ids: string[];
776
776
  }>;
@@ -797,22 +797,19 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
797
797
  review_identity: string;
798
798
  }>;
799
799
  user_gate_required: z.ZodLiteral<false>;
800
- profile_revision_ledger_consumed: z.ZodLiteral<false>;
801
800
  fallback_digest: z.ZodString;
802
801
  }, "strict", z.ZodTypeAny, {
803
802
  protocol: "context.indexer.catalog-fallback/v1";
804
803
  strategy_set_digest: string;
805
804
  partition_workset_digest: string;
806
805
  user_gate_required: false;
807
- profile_revision_ledger_consumed: false;
808
806
  convergence_digest: string;
809
807
  partition_plan: {
810
- protocol: "context.indexer.partition-plan/v1";
811
808
  status: "complete";
809
+ protocol: "context.indexer.partition-plan/v1";
812
810
  reader_question_refs: string[];
813
811
  failure: null;
814
812
  binding: {
815
- source_refs: string[];
816
813
  module_ref: string | null;
817
814
  requirement_digest: string;
818
815
  indexer_id: string;
@@ -820,14 +817,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
820
817
  subject_key_schema_digest: string;
821
818
  partition_subject_key: {
822
819
  kind: string;
823
- protocol: "context.subject-key/v1";
824
820
  namespace: string;
821
+ protocol: "context.subject-key/v1";
825
822
  local_key: string;
826
823
  };
827
824
  source_scope_digest: string;
828
825
  question_target_inventory_digest: string;
829
826
  partition_workset_digest: string;
830
827
  indexer_fingerprint: string;
828
+ source_refs: string[];
831
829
  parent_scope_ref: string;
832
830
  };
833
831
  strategy_ref: {
@@ -844,14 +842,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
844
842
  unit_type: string;
845
843
  partition_axis: string;
846
844
  groups: {
847
- reader_question_refs: string[];
848
- logical_unit_ref: string;
849
845
  subject_key: {
850
846
  kind: string;
851
- protocol: "context.subject-key/v1";
852
847
  namespace: string;
848
+ protocol: "context.subject-key/v1";
853
849
  local_key: string;
854
850
  };
851
+ reader_question_refs: string[];
852
+ logical_unit_ref: string;
855
853
  group_key: string;
856
854
  member_ids: string[];
857
855
  subject_intent: "primary" | "enrich-or-independent";
@@ -864,23 +862,23 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
864
862
  member_dispositions: ({
865
863
  group_key: string;
866
864
  member_id: string;
867
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
865
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
868
866
  inventory_disposition: "owned";
869
867
  } | {
870
868
  member_id: string;
871
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
869
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
872
870
  inventory_disposition: "excluded-with-reason";
873
871
  reason_code: string;
874
872
  } | {
875
873
  member_id: string;
876
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
874
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
877
875
  inventory_disposition: "unsupported";
878
876
  missing_capabilities: string[];
879
877
  })[];
880
878
  canonical_hash: string;
881
879
  } | {
882
- protocol: "context.indexer.partition-plan/v1";
883
880
  status: "failed";
881
+ protocol: "context.indexer.partition-plan/v1";
884
882
  reader_question_refs: string[];
885
883
  failure: {
886
884
  code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
@@ -890,7 +888,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
890
888
  missing_source_refs?: string[] | undefined;
891
889
  };
892
890
  binding: {
893
- source_refs: string[];
894
891
  module_ref: string | null;
895
892
  requirement_digest: string;
896
893
  indexer_id: string;
@@ -898,14 +895,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
898
895
  subject_key_schema_digest: string;
899
896
  partition_subject_key: {
900
897
  kind: string;
901
- protocol: "context.subject-key/v1";
902
898
  namespace: string;
899
+ protocol: "context.subject-key/v1";
903
900
  local_key: string;
904
901
  };
905
902
  source_scope_digest: string;
906
903
  question_target_inventory_digest: string;
907
904
  partition_workset_digest: string;
908
905
  indexer_fingerprint: string;
906
+ source_refs: string[];
909
907
  parent_scope_ref: string;
910
908
  };
911
909
  strategy_ref: {
@@ -922,14 +920,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
922
920
  unit_type: string;
923
921
  partition_axis: string;
924
922
  groups: {
925
- reader_question_refs: string[];
926
- logical_unit_ref: string;
927
923
  subject_key: {
928
924
  kind: string;
929
- protocol: "context.subject-key/v1";
930
925
  namespace: string;
926
+ protocol: "context.subject-key/v1";
931
927
  local_key: string;
932
928
  };
929
+ reader_question_refs: string[];
930
+ logical_unit_ref: string;
933
931
  group_key: string;
934
932
  member_ids: string[];
935
933
  subject_intent: "primary" | "enrich-or-independent";
@@ -942,24 +940,24 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
942
940
  member_dispositions: ({
943
941
  group_key: string;
944
942
  member_id: string;
945
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
943
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
946
944
  inventory_disposition: "owned";
947
945
  } | {
948
946
  member_id: string;
949
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
947
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
950
948
  inventory_disposition: "excluded-with-reason";
951
949
  reason_code: string;
952
950
  } | {
953
951
  member_id: string;
954
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
952
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
955
953
  inventory_disposition: "unsupported";
956
954
  missing_capabilities: string[];
957
955
  })[];
958
956
  canonical_hash: string;
959
957
  };
960
958
  catalog_block: {
961
- logical_unit_ref: string;
962
959
  renderer: "context.indexer.deterministic-catalog/v1";
960
+ logical_unit_ref: string;
963
961
  member_ids_digest: string;
964
962
  member_ids: string[];
965
963
  };
@@ -977,15 +975,13 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
977
975
  strategy_set_digest: string;
978
976
  partition_workset_digest: string;
979
977
  user_gate_required: false;
980
- profile_revision_ledger_consumed: false;
981
978
  convergence_digest: string;
982
979
  partition_plan: {
983
- protocol: "context.indexer.partition-plan/v1";
984
980
  status: "complete";
981
+ protocol: "context.indexer.partition-plan/v1";
985
982
  reader_question_refs: string[];
986
983
  failure: null;
987
984
  binding: {
988
- source_refs: string[];
989
985
  module_ref: string | null;
990
986
  requirement_digest: string;
991
987
  indexer_id: string;
@@ -993,14 +989,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
993
989
  subject_key_schema_digest: string;
994
990
  partition_subject_key: {
995
991
  kind: string;
996
- protocol: "context.subject-key/v1";
997
992
  namespace: string;
993
+ protocol: "context.subject-key/v1";
998
994
  local_key: string;
999
995
  };
1000
996
  source_scope_digest: string;
1001
997
  question_target_inventory_digest: string;
1002
998
  partition_workset_digest: string;
1003
999
  indexer_fingerprint: string;
1000
+ source_refs: string[];
1004
1001
  parent_scope_ref: string;
1005
1002
  };
1006
1003
  strategy_ref: {
@@ -1017,14 +1014,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1017
1014
  unit_type: string;
1018
1015
  partition_axis: string;
1019
1016
  groups: {
1020
- reader_question_refs: string[];
1021
- logical_unit_ref: string;
1022
1017
  subject_key: {
1023
1018
  kind: string;
1024
- protocol: "context.subject-key/v1";
1025
1019
  namespace: string;
1020
+ protocol: "context.subject-key/v1";
1026
1021
  local_key: string;
1027
1022
  };
1023
+ reader_question_refs: string[];
1024
+ logical_unit_ref: string;
1028
1025
  group_key: string;
1029
1026
  member_ids: string[];
1030
1027
  subject_intent: "primary" | "enrich-or-independent";
@@ -1037,23 +1034,23 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1037
1034
  member_dispositions: ({
1038
1035
  group_key: string;
1039
1036
  member_id: string;
1040
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1037
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1041
1038
  inventory_disposition: "owned";
1042
1039
  } | {
1043
1040
  member_id: string;
1044
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1041
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1045
1042
  inventory_disposition: "excluded-with-reason";
1046
1043
  reason_code: string;
1047
1044
  } | {
1048
1045
  member_id: string;
1049
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1046
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1050
1047
  inventory_disposition: "unsupported";
1051
1048
  missing_capabilities: string[];
1052
1049
  })[];
1053
1050
  canonical_hash: string;
1054
1051
  } | {
1055
- protocol: "context.indexer.partition-plan/v1";
1056
1052
  status: "failed";
1053
+ protocol: "context.indexer.partition-plan/v1";
1057
1054
  reader_question_refs: string[];
1058
1055
  failure: {
1059
1056
  code: "unsupported-domain" | "no-stable-axis" | "insufficient-identity-facts" | "invalid-input" | "strategy-failed";
@@ -1063,7 +1060,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1063
1060
  missing_source_refs?: string[] | undefined;
1064
1061
  };
1065
1062
  binding: {
1066
- source_refs: string[];
1067
1063
  module_ref: string | null;
1068
1064
  requirement_digest: string;
1069
1065
  indexer_id: string;
@@ -1071,14 +1067,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1071
1067
  subject_key_schema_digest: string;
1072
1068
  partition_subject_key: {
1073
1069
  kind: string;
1074
- protocol: "context.subject-key/v1";
1075
1070
  namespace: string;
1071
+ protocol: "context.subject-key/v1";
1076
1072
  local_key: string;
1077
1073
  };
1078
1074
  source_scope_digest: string;
1079
1075
  question_target_inventory_digest: string;
1080
1076
  partition_workset_digest: string;
1081
1077
  indexer_fingerprint: string;
1078
+ source_refs: string[];
1082
1079
  parent_scope_ref: string;
1083
1080
  };
1084
1081
  strategy_ref: {
@@ -1095,14 +1092,14 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1095
1092
  unit_type: string;
1096
1093
  partition_axis: string;
1097
1094
  groups: {
1098
- reader_question_refs: string[];
1099
- logical_unit_ref: string;
1100
1095
  subject_key: {
1101
1096
  kind: string;
1102
- protocol: "context.subject-key/v1";
1103
1097
  namespace: string;
1098
+ protocol: "context.subject-key/v1";
1104
1099
  local_key: string;
1105
1100
  };
1101
+ reader_question_refs: string[];
1102
+ logical_unit_ref: string;
1106
1103
  group_key: string;
1107
1104
  member_ids: string[];
1108
1105
  subject_intent: "primary" | "enrich-or-independent";
@@ -1115,24 +1112,24 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1115
1112
  member_dispositions: ({
1116
1113
  group_key: string;
1117
1114
  member_id: string;
1118
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1115
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1119
1116
  inventory_disposition: "owned";
1120
1117
  } | {
1121
1118
  member_id: string;
1122
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1119
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1123
1120
  inventory_disposition: "excluded-with-reason";
1124
1121
  reason_code: string;
1125
1122
  } | {
1126
1123
  member_id: string;
1127
- member_kind: "service" | "entry" | "route" | "handler" | "project" | "component" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1124
+ member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1128
1125
  inventory_disposition: "unsupported";
1129
1126
  missing_capabilities: string[];
1130
1127
  })[];
1131
1128
  canonical_hash: string;
1132
1129
  };
1133
1130
  catalog_block: {
1134
- logical_unit_ref: string;
1135
1131
  renderer: "context.indexer.deterministic-catalog/v1";
1132
+ logical_unit_ref: string;
1136
1133
  member_ids_digest: string;
1137
1134
  member_ids: string[];
1138
1135
  };
@@ -1178,7 +1175,6 @@ export declare const indexerCatalogContinuationPlanSchema: z.ZodObject<{
1178
1175
  readability_advisory: z.ZodBoolean;
1179
1176
  blocking: z.ZodLiteral<false>;
1180
1177
  user_gate_required: z.ZodLiteral<false>;
1181
- profile_revision_ledger_consumed: z.ZodLiteral<false>;
1182
1178
  fragments: z.ZodArray<z.ZodObject<{
1183
1179
  boundary_ref: z.ZodNullable<z.ZodString>;
1184
1180
  member_ids: z.ZodArray<z.ZodString, "many">;
@@ -1213,7 +1209,6 @@ export declare const indexerCatalogContinuationPlanSchema: z.ZodObject<{
1213
1209
  protocol: "context.indexer.catalog-continuation-plan/v1";
1214
1210
  logical_unit_ref: string;
1215
1211
  user_gate_required: false;
1216
- profile_revision_ledger_consumed: false;
1217
1212
  blocking: false;
1218
1213
  readability_advisory: boolean;
1219
1214
  fragments: {
@@ -1234,7 +1229,6 @@ export declare const indexerCatalogContinuationPlanSchema: z.ZodObject<{
1234
1229
  protocol: "context.indexer.catalog-continuation-plan/v1";
1235
1230
  logical_unit_ref: string;
1236
1231
  user_gate_required: false;
1237
- profile_revision_ledger_consumed: false;
1238
1232
  blocking: false;
1239
1233
  readability_advisory: boolean;
1240
1234
  fragments: {