@c4a/context 0.7.5 → 0.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +12 -4
  2. package/README.zh-CN.md +11 -4
  3. package/docs/README.md +13 -1
  4. package/docs/README.zh-CN.md +13 -1
  5. package/docs/getting-started.md +95 -69
  6. package/docs/guides/agent-dialogue.md +20 -9
  7. package/docs/guides/agent-guide.md +48 -10
  8. package/docs/guides/code-indexer-skill-authoring.md +42 -11
  9. package/docs/guides/indexer-manifest-example.md +103 -0
  10. package/docs/guides/indexer-provider-and-customization.md +334 -15
  11. package/docs/guides/indexer-skill-creation.md +99 -0
  12. package/docs/guides/knowledge-updates.md +422 -0
  13. package/docs/guides/lark-resources.md +5 -1
  14. package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
  15. package/docs/guides/note.md +37 -0
  16. package/docs/guides/package-outputs.md +231 -60
  17. package/docs/guides/sessions.md +50 -0
  18. package/docs/guides/workspace-commit.md +45 -0
  19. package/docs/guides/workspace-prepare.md +72 -0
  20. package/docs/guides/workspace-restore.md +59 -0
  21. package/docs/reference/code-extractors.md +23 -11
  22. package/docs/reference/indexer-provider-protocol.md +135 -22
  23. package/docs/reference/package-templates.md +10 -9
  24. package/docs/reference/project-api.md +100 -13
  25. package/docs/reference/template-variables.md +7 -7
  26. package/index.d.ts +15 -0
  27. package/index.js +1708 -626
  28. package/indexerAgentStepProtocol.d.ts +44 -0
  29. package/indexerApprovedKnowledge.d.ts +371 -0
  30. package/indexerArticlePlan.d.ts +83 -0
  31. package/indexerArtifact.d.ts +10 -7
  32. package/indexerArtifactDependencies.d.ts +5 -5
  33. package/indexerArtifactPolicy.d.ts +12 -12
  34. package/indexerArtifactResult.d.ts +76 -69
  35. package/indexerAuthoringFixture.d.ts +8 -8
  36. package/indexerAuthorizedWorksetView.d.ts +14 -14
  37. package/indexerBaseQuestionAmendment.d.ts +40 -0
  38. package/indexerCandidateCompile.d.ts +46 -36
  39. package/indexerCatalogFallback.d.ts +566 -48
  40. package/indexerContentLayers.d.ts +6 -4
  41. package/indexerContractDeclaration.d.ts +3 -0
  42. package/indexerControlledProgram.d.ts +1039 -238
  43. package/indexerCustomizationDraft.d.ts +188 -0
  44. package/indexerDependencyView.d.ts +17 -17
  45. package/indexerEffectiveArtifact.d.ts +26 -15
  46. package/indexerExampleFactDependencies.d.ts +17 -0
  47. package/indexerExampleIdentityAudit.d.ts +2 -2
  48. package/indexerInventoryDisposition.d.ts +44 -44
  49. package/indexerKnowledgeDependency.d.ts +46 -0
  50. package/indexerLayerComposition.d.ts +92 -54
  51. package/indexerLayoutChange.d.ts +8 -8
  52. package/indexerLayoutProposalSet.d.ts +15 -10
  53. package/indexerLayoutResolver.d.ts +15 -6
  54. package/indexerLayoutTransition.d.ts +8 -8
  55. package/indexerLifecycle.d.ts +1 -1
  56. package/indexerMainRunLedger.d.ts +3 -0
  57. package/indexerMainRunProtocol.d.ts +872 -196
  58. package/indexerMainWorkset.d.ts +50 -0
  59. package/indexerNavigationArtifactPlan.d.ts +2 -2
  60. package/indexerOverlayQuestionAmendment.d.ts +56 -16
  61. package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
  62. package/indexerPartitionPlan.d.ts +585 -40
  63. package/indexerPhysicalArtifactAudit.d.ts +2 -2
  64. package/indexerPhysicalArtifactManifest.d.ts +24 -24
  65. package/indexerPostAuthorRunLedger.d.ts +60 -34
  66. package/indexerPrimaryProjection.d.ts +2 -2
  67. package/indexerProfileContract.d.ts +28 -28
  68. package/indexerProgramRunProtocol.d.ts +868 -194
  69. package/indexerProjectProposal.d.ts +36 -8
  70. package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
  71. package/indexerProtocolHash.d.ts +2 -0
  72. package/indexerProvider.d.ts +102 -58
  73. package/indexerProviderComposition.d.ts +4 -4
  74. package/indexerProviderRouting.d.ts +52 -0
  75. package/indexerProviderSelectionProposal.d.ts +48 -0
  76. package/indexerPublicContractFacts.d.ts +7 -0
  77. package/indexerPublicContractTable.d.ts +11 -0
  78. package/indexerReaderTargetInventory.d.ts +6 -6
  79. package/indexerReferenceOnlyAudit.d.ts +2 -2
  80. package/indexerRegistry.d.ts +658 -0
  81. package/indexerRequirementConfirmation.d.ts +48 -16
  82. package/indexerRequirementLifecycle.d.ts +154 -42
  83. package/indexerResultReconciliation.d.ts +12 -11
  84. package/indexerSemanticInput.d.ts +27168 -3813
  85. package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
  86. package/indexerStructuredDeclaration.d.ts +8 -8
  87. package/indexerTemplateRendering.d.ts +7 -7
  88. package/indexerToolSnapshot.d.ts +16 -16
  89. package/knowledgeMap.d.ts +188 -0
  90. package/managedSources.d.ts +15 -0
  91. package/package.json +1 -1
  92. package/packageSite.d.ts +25 -0
  93. package/phases.d.ts +0 -3
  94. package/processedScopes.d.ts +75 -0
  95. package/sessionMetadata.d.ts +49 -0
  96. package/sources.d.ts +9 -3
  97. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
  98. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
@@ -129,6 +129,91 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
129
129
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
130
130
  logical_unit_ref: z.ZodString;
131
131
  label: z.ZodString;
132
+ scope_change: z.ZodOptional<z.ZodObject<{
133
+ removed_member_ids: z.ZodArray<z.ZodString, "many">;
134
+ }, "strict", z.ZodTypeAny, {
135
+ removed_member_ids: string[];
136
+ }, {
137
+ removed_member_ids: string[];
138
+ }>>;
139
+ reader_task: z.ZodOptional<z.ZodString>;
140
+ outline: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
141
+ artifact_intent: z.ZodOptional<z.ZodString>;
142
+ template_id: z.ZodOptional<z.ZodString>;
143
+ articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
144
+ key: z.ZodString;
145
+ title: z.ZodString;
146
+ reader_task: z.ZodString;
147
+ artifact_intent: z.ZodString;
148
+ template_id: z.ZodOptional<z.ZodString>;
149
+ required: z.ZodBoolean;
150
+ sections: z.ZodArray<z.ZodObject<{
151
+ key: z.ZodString;
152
+ heading: z.ZodString;
153
+ required: z.ZodBoolean;
154
+ }, "strict", z.ZodTypeAny, {
155
+ key: string;
156
+ required: boolean;
157
+ heading: string;
158
+ }, {
159
+ key: string;
160
+ required: boolean;
161
+ heading: string;
162
+ }>, "many">;
163
+ question_targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
164
+ knowledge_dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
165
+ artifact_ref: z.ZodString;
166
+ section_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
167
+ required: z.ZodDefault<z.ZodBoolean>;
168
+ }, "strict", z.ZodTypeAny, {
169
+ required: boolean;
170
+ artifact_ref: string;
171
+ section_refs: string[];
172
+ }, {
173
+ artifact_ref: string;
174
+ required?: boolean | undefined;
175
+ section_refs?: string[] | undefined;
176
+ }>, "many">>;
177
+ }, "strict", z.ZodTypeAny, {
178
+ title: string;
179
+ key: string;
180
+ required: boolean;
181
+ sections: {
182
+ key: string;
183
+ required: boolean;
184
+ heading: string;
185
+ }[];
186
+ reader_task: string;
187
+ artifact_intent: string;
188
+ question_targets: string[];
189
+ template_id?: string | undefined;
190
+ knowledge_dependencies?: {
191
+ required: boolean;
192
+ artifact_ref: string;
193
+ section_refs: string[];
194
+ }[] | undefined;
195
+ }, {
196
+ title: string;
197
+ key: string;
198
+ required: boolean;
199
+ sections: {
200
+ key: string;
201
+ required: boolean;
202
+ heading: string;
203
+ }[];
204
+ reader_task: string;
205
+ artifact_intent: string;
206
+ template_id?: string | undefined;
207
+ question_targets?: string[] | undefined;
208
+ knowledge_dependencies?: {
209
+ artifact_ref: string;
210
+ required?: boolean | undefined;
211
+ section_refs?: string[] | undefined;
212
+ }[] | undefined;
213
+ }>, "many">>;
214
+ priority: z.ZodOptional<z.ZodNumber>;
215
+ delivery_boundary: z.ZodOptional<z.ZodBoolean>;
216
+ ready_for_author: z.ZodOptional<z.ZodBoolean>;
132
217
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
133
218
  question_target_bindings: z.ZodArray<z.ZodObject<{
134
219
  target_ref: z.ZodString;
@@ -148,16 +233,45 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
148
233
  protocol: "context.subject-key/v1";
149
234
  local_key: string;
150
235
  };
236
+ label: string;
151
237
  reader_question_refs: string[];
152
238
  logical_unit_ref: string;
153
239
  group_key: string;
154
240
  member_ids: string[];
155
241
  subject_intent: "primary" | "enrich-or-independent";
156
- label: string;
157
242
  question_target_bindings: {
158
243
  role: "enricher" | "primary-carrier";
159
244
  target_ref: string;
160
245
  }[];
246
+ priority?: number | undefined;
247
+ template_id?: string | undefined;
248
+ reader_task?: string | undefined;
249
+ artifact_intent?: string | undefined;
250
+ scope_change?: {
251
+ removed_member_ids: string[];
252
+ } | undefined;
253
+ outline?: string[] | undefined;
254
+ articles?: {
255
+ title: string;
256
+ key: string;
257
+ required: boolean;
258
+ sections: {
259
+ key: string;
260
+ required: boolean;
261
+ heading: string;
262
+ }[];
263
+ reader_task: string;
264
+ artifact_intent: string;
265
+ question_targets: string[];
266
+ template_id?: string | undefined;
267
+ knowledge_dependencies?: {
268
+ required: boolean;
269
+ artifact_ref: string;
270
+ section_refs: string[];
271
+ }[] | undefined;
272
+ }[] | undefined;
273
+ delivery_boundary?: boolean | undefined;
274
+ ready_for_author?: boolean | undefined;
161
275
  }, {
162
276
  subject_key: {
163
277
  kind: string;
@@ -165,16 +279,45 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
165
279
  protocol: "context.subject-key/v1";
166
280
  local_key: string;
167
281
  };
282
+ label: string;
168
283
  reader_question_refs: string[];
169
284
  logical_unit_ref: string;
170
285
  group_key: string;
171
286
  member_ids: string[];
172
287
  subject_intent: "primary" | "enrich-or-independent";
173
- label: string;
174
288
  question_target_bindings: {
175
289
  role: "enricher" | "primary-carrier";
176
290
  target_ref: string;
177
291
  }[];
292
+ priority?: number | undefined;
293
+ template_id?: string | undefined;
294
+ reader_task?: string | undefined;
295
+ artifact_intent?: string | undefined;
296
+ scope_change?: {
297
+ removed_member_ids: string[];
298
+ } | undefined;
299
+ outline?: string[] | undefined;
300
+ articles?: {
301
+ title: string;
302
+ key: string;
303
+ required: boolean;
304
+ sections: {
305
+ key: string;
306
+ required: boolean;
307
+ heading: string;
308
+ }[];
309
+ reader_task: string;
310
+ artifact_intent: string;
311
+ template_id?: string | undefined;
312
+ question_targets?: string[] | undefined;
313
+ knowledge_dependencies?: {
314
+ artifact_ref: string;
315
+ required?: boolean | undefined;
316
+ section_refs?: string[] | undefined;
317
+ }[] | undefined;
318
+ }[] | undefined;
319
+ delivery_boundary?: boolean | undefined;
320
+ ready_for_author?: boolean | undefined;
178
321
  }>, "many">;
179
322
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
180
323
  member_id: z.ZodString;
@@ -184,12 +327,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
184
327
  }, "strict", z.ZodTypeAny, {
185
328
  group_key: string;
186
329
  member_id: string;
187
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
330
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
188
331
  inventory_disposition: "owned";
189
332
  }, {
190
333
  group_key: string;
191
334
  member_id: string;
192
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
335
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
193
336
  inventory_disposition: "owned";
194
337
  }>, z.ZodObject<{
195
338
  member_id: z.ZodString;
@@ -198,12 +341,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
198
341
  reason_code: z.ZodEffects<z.ZodString, string, string>;
199
342
  }, "strict", z.ZodTypeAny, {
200
343
  member_id: string;
201
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
344
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
202
345
  inventory_disposition: "excluded-with-reason";
203
346
  reason_code: string;
204
347
  }, {
205
348
  member_id: string;
206
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
349
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
207
350
  inventory_disposition: "excluded-with-reason";
208
351
  reason_code: string;
209
352
  }>, z.ZodObject<{
@@ -213,12 +356,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
213
356
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
214
357
  }, "strict", z.ZodTypeAny, {
215
358
  member_id: string;
216
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
359
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
217
360
  inventory_disposition: "unsupported";
218
361
  missing_capabilities: string[];
219
362
  }, {
220
363
  member_id: string;
221
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
364
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
222
365
  inventory_disposition: "unsupported";
223
366
  missing_capabilities: string[];
224
367
  }>]>, "many">;
@@ -267,30 +410,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
267
410
  protocol: "context.subject-key/v1";
268
411
  local_key: string;
269
412
  };
413
+ label: string;
270
414
  reader_question_refs: string[];
271
415
  logical_unit_ref: string;
272
416
  group_key: string;
273
417
  member_ids: string[];
274
418
  subject_intent: "primary" | "enrich-or-independent";
275
- label: string;
276
419
  question_target_bindings: {
277
420
  role: "enricher" | "primary-carrier";
278
421
  target_ref: string;
279
422
  }[];
423
+ priority?: number | undefined;
424
+ template_id?: string | undefined;
425
+ reader_task?: string | undefined;
426
+ artifact_intent?: string | undefined;
427
+ scope_change?: {
428
+ removed_member_ids: string[];
429
+ } | undefined;
430
+ outline?: string[] | undefined;
431
+ articles?: {
432
+ title: string;
433
+ key: string;
434
+ required: boolean;
435
+ sections: {
436
+ key: string;
437
+ required: boolean;
438
+ heading: string;
439
+ }[];
440
+ reader_task: string;
441
+ artifact_intent: string;
442
+ question_targets: string[];
443
+ template_id?: string | undefined;
444
+ knowledge_dependencies?: {
445
+ required: boolean;
446
+ artifact_ref: string;
447
+ section_refs: string[];
448
+ }[] | undefined;
449
+ }[] | undefined;
450
+ delivery_boundary?: boolean | undefined;
451
+ ready_for_author?: boolean | undefined;
280
452
  }[];
281
453
  member_dispositions: ({
282
454
  group_key: string;
283
455
  member_id: string;
284
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
456
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
285
457
  inventory_disposition: "owned";
286
458
  } | {
287
459
  member_id: string;
288
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
460
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
289
461
  inventory_disposition: "excluded-with-reason";
290
462
  reason_code: string;
291
463
  } | {
292
464
  member_id: string;
293
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
465
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
294
466
  inventory_disposition: "unsupported";
295
467
  missing_capabilities: string[];
296
468
  })[];
@@ -339,30 +511,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
339
511
  protocol: "context.subject-key/v1";
340
512
  local_key: string;
341
513
  };
514
+ label: string;
342
515
  reader_question_refs: string[];
343
516
  logical_unit_ref: string;
344
517
  group_key: string;
345
518
  member_ids: string[];
346
519
  subject_intent: "primary" | "enrich-or-independent";
347
- label: string;
348
520
  question_target_bindings: {
349
521
  role: "enricher" | "primary-carrier";
350
522
  target_ref: string;
351
523
  }[];
524
+ priority?: number | undefined;
525
+ template_id?: string | undefined;
526
+ reader_task?: string | undefined;
527
+ artifact_intent?: string | undefined;
528
+ scope_change?: {
529
+ removed_member_ids: string[];
530
+ } | undefined;
531
+ outline?: string[] | undefined;
532
+ articles?: {
533
+ title: string;
534
+ key: string;
535
+ required: boolean;
536
+ sections: {
537
+ key: string;
538
+ required: boolean;
539
+ heading: string;
540
+ }[];
541
+ reader_task: string;
542
+ artifact_intent: string;
543
+ template_id?: string | undefined;
544
+ question_targets?: string[] | undefined;
545
+ knowledge_dependencies?: {
546
+ artifact_ref: string;
547
+ required?: boolean | undefined;
548
+ section_refs?: string[] | undefined;
549
+ }[] | undefined;
550
+ }[] | undefined;
551
+ delivery_boundary?: boolean | undefined;
552
+ ready_for_author?: boolean | undefined;
352
553
  }[];
353
554
  member_dispositions: ({
354
555
  group_key: string;
355
556
  member_id: string;
356
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
557
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
357
558
  inventory_disposition: "owned";
358
559
  } | {
359
560
  member_id: string;
360
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
561
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
361
562
  inventory_disposition: "excluded-with-reason";
362
563
  reason_code: string;
363
564
  } | {
364
565
  member_id: string;
365
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
566
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
366
567
  inventory_disposition: "unsupported";
367
568
  missing_capabilities: string[];
368
569
  })[];
@@ -507,6 +708,91 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
507
708
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
508
709
  logical_unit_ref: z.ZodString;
509
710
  label: z.ZodString;
711
+ scope_change: z.ZodOptional<z.ZodObject<{
712
+ removed_member_ids: z.ZodArray<z.ZodString, "many">;
713
+ }, "strict", z.ZodTypeAny, {
714
+ removed_member_ids: string[];
715
+ }, {
716
+ removed_member_ids: string[];
717
+ }>>;
718
+ reader_task: z.ZodOptional<z.ZodString>;
719
+ outline: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
720
+ artifact_intent: z.ZodOptional<z.ZodString>;
721
+ template_id: z.ZodOptional<z.ZodString>;
722
+ articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
+ key: z.ZodString;
724
+ title: z.ZodString;
725
+ reader_task: z.ZodString;
726
+ artifact_intent: z.ZodString;
727
+ template_id: z.ZodOptional<z.ZodString>;
728
+ required: z.ZodBoolean;
729
+ sections: z.ZodArray<z.ZodObject<{
730
+ key: z.ZodString;
731
+ heading: z.ZodString;
732
+ required: z.ZodBoolean;
733
+ }, "strict", z.ZodTypeAny, {
734
+ key: string;
735
+ required: boolean;
736
+ heading: string;
737
+ }, {
738
+ key: string;
739
+ required: boolean;
740
+ heading: string;
741
+ }>, "many">;
742
+ question_targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
743
+ knowledge_dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
+ artifact_ref: z.ZodString;
745
+ section_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
746
+ required: z.ZodDefault<z.ZodBoolean>;
747
+ }, "strict", z.ZodTypeAny, {
748
+ required: boolean;
749
+ artifact_ref: string;
750
+ section_refs: string[];
751
+ }, {
752
+ artifact_ref: string;
753
+ required?: boolean | undefined;
754
+ section_refs?: string[] | undefined;
755
+ }>, "many">>;
756
+ }, "strict", z.ZodTypeAny, {
757
+ title: string;
758
+ key: string;
759
+ required: boolean;
760
+ sections: {
761
+ key: string;
762
+ required: boolean;
763
+ heading: string;
764
+ }[];
765
+ reader_task: string;
766
+ artifact_intent: string;
767
+ question_targets: string[];
768
+ template_id?: string | undefined;
769
+ knowledge_dependencies?: {
770
+ required: boolean;
771
+ artifact_ref: string;
772
+ section_refs: string[];
773
+ }[] | undefined;
774
+ }, {
775
+ title: string;
776
+ key: string;
777
+ required: boolean;
778
+ sections: {
779
+ key: string;
780
+ required: boolean;
781
+ heading: string;
782
+ }[];
783
+ reader_task: string;
784
+ artifact_intent: string;
785
+ template_id?: string | undefined;
786
+ question_targets?: string[] | undefined;
787
+ knowledge_dependencies?: {
788
+ artifact_ref: string;
789
+ required?: boolean | undefined;
790
+ section_refs?: string[] | undefined;
791
+ }[] | undefined;
792
+ }>, "many">>;
793
+ priority: z.ZodOptional<z.ZodNumber>;
794
+ delivery_boundary: z.ZodOptional<z.ZodBoolean>;
795
+ ready_for_author: z.ZodOptional<z.ZodBoolean>;
510
796
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
511
797
  question_target_bindings: z.ZodArray<z.ZodObject<{
512
798
  target_ref: z.ZodString;
@@ -526,16 +812,45 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
526
812
  protocol: "context.subject-key/v1";
527
813
  local_key: string;
528
814
  };
815
+ label: string;
529
816
  reader_question_refs: string[];
530
817
  logical_unit_ref: string;
531
818
  group_key: string;
532
819
  member_ids: string[];
533
820
  subject_intent: "primary" | "enrich-or-independent";
534
- label: string;
535
821
  question_target_bindings: {
536
822
  role: "enricher" | "primary-carrier";
537
823
  target_ref: string;
538
824
  }[];
825
+ priority?: number | undefined;
826
+ template_id?: string | undefined;
827
+ reader_task?: string | undefined;
828
+ artifact_intent?: string | undefined;
829
+ scope_change?: {
830
+ removed_member_ids: string[];
831
+ } | undefined;
832
+ outline?: string[] | undefined;
833
+ articles?: {
834
+ title: string;
835
+ key: string;
836
+ required: boolean;
837
+ sections: {
838
+ key: string;
839
+ required: boolean;
840
+ heading: string;
841
+ }[];
842
+ reader_task: string;
843
+ artifact_intent: string;
844
+ question_targets: string[];
845
+ template_id?: string | undefined;
846
+ knowledge_dependencies?: {
847
+ required: boolean;
848
+ artifact_ref: string;
849
+ section_refs: string[];
850
+ }[] | undefined;
851
+ }[] | undefined;
852
+ delivery_boundary?: boolean | undefined;
853
+ ready_for_author?: boolean | undefined;
539
854
  }, {
540
855
  subject_key: {
541
856
  kind: string;
@@ -543,16 +858,45 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
543
858
  protocol: "context.subject-key/v1";
544
859
  local_key: string;
545
860
  };
861
+ label: string;
546
862
  reader_question_refs: string[];
547
863
  logical_unit_ref: string;
548
864
  group_key: string;
549
865
  member_ids: string[];
550
866
  subject_intent: "primary" | "enrich-or-independent";
551
- label: string;
552
867
  question_target_bindings: {
553
868
  role: "enricher" | "primary-carrier";
554
869
  target_ref: string;
555
870
  }[];
871
+ priority?: number | undefined;
872
+ template_id?: string | undefined;
873
+ reader_task?: string | undefined;
874
+ artifact_intent?: string | undefined;
875
+ scope_change?: {
876
+ removed_member_ids: string[];
877
+ } | undefined;
878
+ outline?: string[] | undefined;
879
+ articles?: {
880
+ title: string;
881
+ key: string;
882
+ required: boolean;
883
+ sections: {
884
+ key: string;
885
+ required: boolean;
886
+ heading: string;
887
+ }[];
888
+ reader_task: string;
889
+ artifact_intent: string;
890
+ template_id?: string | undefined;
891
+ question_targets?: string[] | undefined;
892
+ knowledge_dependencies?: {
893
+ artifact_ref: string;
894
+ required?: boolean | undefined;
895
+ section_refs?: string[] | undefined;
896
+ }[] | undefined;
897
+ }[] | undefined;
898
+ delivery_boundary?: boolean | undefined;
899
+ ready_for_author?: boolean | undefined;
556
900
  }>, "many">;
557
901
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
558
902
  member_id: z.ZodString;
@@ -562,12 +906,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
562
906
  }, "strict", z.ZodTypeAny, {
563
907
  group_key: string;
564
908
  member_id: string;
565
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
909
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
566
910
  inventory_disposition: "owned";
567
911
  }, {
568
912
  group_key: string;
569
913
  member_id: string;
570
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
914
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
571
915
  inventory_disposition: "owned";
572
916
  }>, z.ZodObject<{
573
917
  member_id: z.ZodString;
@@ -576,12 +920,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
576
920
  reason_code: z.ZodEffects<z.ZodString, string, string>;
577
921
  }, "strict", z.ZodTypeAny, {
578
922
  member_id: string;
579
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
923
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
580
924
  inventory_disposition: "excluded-with-reason";
581
925
  reason_code: string;
582
926
  }, {
583
927
  member_id: string;
584
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
928
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
585
929
  inventory_disposition: "excluded-with-reason";
586
930
  reason_code: string;
587
931
  }>, z.ZodObject<{
@@ -591,12 +935,12 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
591
935
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
592
936
  }, "strict", z.ZodTypeAny, {
593
937
  member_id: string;
594
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
938
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
595
939
  inventory_disposition: "unsupported";
596
940
  missing_capabilities: string[];
597
941
  }, {
598
942
  member_id: string;
599
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
943
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
600
944
  inventory_disposition: "unsupported";
601
945
  missing_capabilities: string[];
602
946
  }>]>, "many">;
@@ -651,30 +995,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
651
995
  protocol: "context.subject-key/v1";
652
996
  local_key: string;
653
997
  };
998
+ label: string;
654
999
  reader_question_refs: string[];
655
1000
  logical_unit_ref: string;
656
1001
  group_key: string;
657
1002
  member_ids: string[];
658
1003
  subject_intent: "primary" | "enrich-or-independent";
659
- label: string;
660
1004
  question_target_bindings: {
661
1005
  role: "enricher" | "primary-carrier";
662
1006
  target_ref: string;
663
1007
  }[];
1008
+ priority?: number | undefined;
1009
+ template_id?: string | undefined;
1010
+ reader_task?: string | undefined;
1011
+ artifact_intent?: string | undefined;
1012
+ scope_change?: {
1013
+ removed_member_ids: string[];
1014
+ } | undefined;
1015
+ outline?: string[] | undefined;
1016
+ articles?: {
1017
+ title: string;
1018
+ key: string;
1019
+ required: boolean;
1020
+ sections: {
1021
+ key: string;
1022
+ required: boolean;
1023
+ heading: string;
1024
+ }[];
1025
+ reader_task: string;
1026
+ artifact_intent: string;
1027
+ question_targets: string[];
1028
+ template_id?: string | undefined;
1029
+ knowledge_dependencies?: {
1030
+ required: boolean;
1031
+ artifact_ref: string;
1032
+ section_refs: string[];
1033
+ }[] | undefined;
1034
+ }[] | undefined;
1035
+ delivery_boundary?: boolean | undefined;
1036
+ ready_for_author?: boolean | undefined;
664
1037
  }[];
665
1038
  member_dispositions: ({
666
1039
  group_key: string;
667
1040
  member_id: string;
668
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1041
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
669
1042
  inventory_disposition: "owned";
670
1043
  } | {
671
1044
  member_id: string;
672
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1045
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
673
1046
  inventory_disposition: "excluded-with-reason";
674
1047
  reason_code: string;
675
1048
  } | {
676
1049
  member_id: string;
677
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1050
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
678
1051
  inventory_disposition: "unsupported";
679
1052
  missing_capabilities: string[];
680
1053
  })[];
@@ -729,30 +1102,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
729
1102
  protocol: "context.subject-key/v1";
730
1103
  local_key: string;
731
1104
  };
1105
+ label: string;
732
1106
  reader_question_refs: string[];
733
1107
  logical_unit_ref: string;
734
1108
  group_key: string;
735
1109
  member_ids: string[];
736
1110
  subject_intent: "primary" | "enrich-or-independent";
737
- label: string;
738
1111
  question_target_bindings: {
739
1112
  role: "enricher" | "primary-carrier";
740
1113
  target_ref: string;
741
1114
  }[];
1115
+ priority?: number | undefined;
1116
+ template_id?: string | undefined;
1117
+ reader_task?: string | undefined;
1118
+ artifact_intent?: string | undefined;
1119
+ scope_change?: {
1120
+ removed_member_ids: string[];
1121
+ } | undefined;
1122
+ outline?: string[] | undefined;
1123
+ articles?: {
1124
+ title: string;
1125
+ key: string;
1126
+ required: boolean;
1127
+ sections: {
1128
+ key: string;
1129
+ required: boolean;
1130
+ heading: string;
1131
+ }[];
1132
+ reader_task: string;
1133
+ artifact_intent: string;
1134
+ template_id?: string | undefined;
1135
+ question_targets?: string[] | undefined;
1136
+ knowledge_dependencies?: {
1137
+ artifact_ref: string;
1138
+ required?: boolean | undefined;
1139
+ section_refs?: string[] | undefined;
1140
+ }[] | undefined;
1141
+ }[] | undefined;
1142
+ delivery_boundary?: boolean | undefined;
1143
+ ready_for_author?: boolean | undefined;
742
1144
  }[];
743
1145
  member_dispositions: ({
744
1146
  group_key: string;
745
1147
  member_id: string;
746
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1148
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
747
1149
  inventory_disposition: "owned";
748
1150
  } | {
749
1151
  member_id: string;
750
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1152
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
751
1153
  inventory_disposition: "excluded-with-reason";
752
1154
  reason_code: string;
753
1155
  } | {
754
1156
  member_id: string;
755
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1157
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
756
1158
  inventory_disposition: "unsupported";
757
1159
  missing_capabilities: string[];
758
1160
  })[];
@@ -848,30 +1250,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
848
1250
  protocol: "context.subject-key/v1";
849
1251
  local_key: string;
850
1252
  };
1253
+ label: string;
851
1254
  reader_question_refs: string[];
852
1255
  logical_unit_ref: string;
853
1256
  group_key: string;
854
1257
  member_ids: string[];
855
1258
  subject_intent: "primary" | "enrich-or-independent";
856
- label: string;
857
1259
  question_target_bindings: {
858
1260
  role: "enricher" | "primary-carrier";
859
1261
  target_ref: string;
860
1262
  }[];
1263
+ priority?: number | undefined;
1264
+ template_id?: string | undefined;
1265
+ reader_task?: string | undefined;
1266
+ artifact_intent?: string | undefined;
1267
+ scope_change?: {
1268
+ removed_member_ids: string[];
1269
+ } | undefined;
1270
+ outline?: string[] | undefined;
1271
+ articles?: {
1272
+ title: string;
1273
+ key: string;
1274
+ required: boolean;
1275
+ sections: {
1276
+ key: string;
1277
+ required: boolean;
1278
+ heading: string;
1279
+ }[];
1280
+ reader_task: string;
1281
+ artifact_intent: string;
1282
+ question_targets: string[];
1283
+ template_id?: string | undefined;
1284
+ knowledge_dependencies?: {
1285
+ required: boolean;
1286
+ artifact_ref: string;
1287
+ section_refs: string[];
1288
+ }[] | undefined;
1289
+ }[] | undefined;
1290
+ delivery_boundary?: boolean | undefined;
1291
+ ready_for_author?: boolean | undefined;
861
1292
  }[];
862
1293
  member_dispositions: ({
863
1294
  group_key: string;
864
1295
  member_id: string;
865
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1296
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
866
1297
  inventory_disposition: "owned";
867
1298
  } | {
868
1299
  member_id: string;
869
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1300
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
870
1301
  inventory_disposition: "excluded-with-reason";
871
1302
  reason_code: string;
872
1303
  } | {
873
1304
  member_id: string;
874
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1305
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
875
1306
  inventory_disposition: "unsupported";
876
1307
  missing_capabilities: string[];
877
1308
  })[];
@@ -926,30 +1357,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
926
1357
  protocol: "context.subject-key/v1";
927
1358
  local_key: string;
928
1359
  };
1360
+ label: string;
929
1361
  reader_question_refs: string[];
930
1362
  logical_unit_ref: string;
931
1363
  group_key: string;
932
1364
  member_ids: string[];
933
1365
  subject_intent: "primary" | "enrich-or-independent";
934
- label: string;
935
1366
  question_target_bindings: {
936
1367
  role: "enricher" | "primary-carrier";
937
1368
  target_ref: string;
938
1369
  }[];
1370
+ priority?: number | undefined;
1371
+ template_id?: string | undefined;
1372
+ reader_task?: string | undefined;
1373
+ artifact_intent?: string | undefined;
1374
+ scope_change?: {
1375
+ removed_member_ids: string[];
1376
+ } | undefined;
1377
+ outline?: string[] | undefined;
1378
+ articles?: {
1379
+ title: string;
1380
+ key: string;
1381
+ required: boolean;
1382
+ sections: {
1383
+ key: string;
1384
+ required: boolean;
1385
+ heading: string;
1386
+ }[];
1387
+ reader_task: string;
1388
+ artifact_intent: string;
1389
+ question_targets: string[];
1390
+ template_id?: string | undefined;
1391
+ knowledge_dependencies?: {
1392
+ required: boolean;
1393
+ artifact_ref: string;
1394
+ section_refs: string[];
1395
+ }[] | undefined;
1396
+ }[] | undefined;
1397
+ delivery_boundary?: boolean | undefined;
1398
+ ready_for_author?: boolean | undefined;
939
1399
  }[];
940
1400
  member_dispositions: ({
941
1401
  group_key: string;
942
1402
  member_id: string;
943
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1403
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
944
1404
  inventory_disposition: "owned";
945
1405
  } | {
946
1406
  member_id: string;
947
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1407
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
948
1408
  inventory_disposition: "excluded-with-reason";
949
1409
  reason_code: string;
950
1410
  } | {
951
1411
  member_id: string;
952
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1412
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
953
1413
  inventory_disposition: "unsupported";
954
1414
  missing_capabilities: string[];
955
1415
  })[];
@@ -1020,30 +1480,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1020
1480
  protocol: "context.subject-key/v1";
1021
1481
  local_key: string;
1022
1482
  };
1483
+ label: string;
1023
1484
  reader_question_refs: string[];
1024
1485
  logical_unit_ref: string;
1025
1486
  group_key: string;
1026
1487
  member_ids: string[];
1027
1488
  subject_intent: "primary" | "enrich-or-independent";
1028
- label: string;
1029
1489
  question_target_bindings: {
1030
1490
  role: "enricher" | "primary-carrier";
1031
1491
  target_ref: string;
1032
1492
  }[];
1493
+ priority?: number | undefined;
1494
+ template_id?: string | undefined;
1495
+ reader_task?: string | undefined;
1496
+ artifact_intent?: string | undefined;
1497
+ scope_change?: {
1498
+ removed_member_ids: string[];
1499
+ } | undefined;
1500
+ outline?: string[] | undefined;
1501
+ articles?: {
1502
+ title: string;
1503
+ key: string;
1504
+ required: boolean;
1505
+ sections: {
1506
+ key: string;
1507
+ required: boolean;
1508
+ heading: string;
1509
+ }[];
1510
+ reader_task: string;
1511
+ artifact_intent: string;
1512
+ template_id?: string | undefined;
1513
+ question_targets?: string[] | undefined;
1514
+ knowledge_dependencies?: {
1515
+ artifact_ref: string;
1516
+ required?: boolean | undefined;
1517
+ section_refs?: string[] | undefined;
1518
+ }[] | undefined;
1519
+ }[] | undefined;
1520
+ delivery_boundary?: boolean | undefined;
1521
+ ready_for_author?: boolean | undefined;
1033
1522
  }[];
1034
1523
  member_dispositions: ({
1035
1524
  group_key: string;
1036
1525
  member_id: string;
1037
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1526
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1038
1527
  inventory_disposition: "owned";
1039
1528
  } | {
1040
1529
  member_id: string;
1041
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1530
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1042
1531
  inventory_disposition: "excluded-with-reason";
1043
1532
  reason_code: string;
1044
1533
  } | {
1045
1534
  member_id: string;
1046
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1535
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1047
1536
  inventory_disposition: "unsupported";
1048
1537
  missing_capabilities: string[];
1049
1538
  })[];
@@ -1098,30 +1587,59 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1098
1587
  protocol: "context.subject-key/v1";
1099
1588
  local_key: string;
1100
1589
  };
1590
+ label: string;
1101
1591
  reader_question_refs: string[];
1102
1592
  logical_unit_ref: string;
1103
1593
  group_key: string;
1104
1594
  member_ids: string[];
1105
1595
  subject_intent: "primary" | "enrich-or-independent";
1106
- label: string;
1107
1596
  question_target_bindings: {
1108
1597
  role: "enricher" | "primary-carrier";
1109
1598
  target_ref: string;
1110
1599
  }[];
1600
+ priority?: number | undefined;
1601
+ template_id?: string | undefined;
1602
+ reader_task?: string | undefined;
1603
+ artifact_intent?: string | undefined;
1604
+ scope_change?: {
1605
+ removed_member_ids: string[];
1606
+ } | undefined;
1607
+ outline?: string[] | undefined;
1608
+ articles?: {
1609
+ title: string;
1610
+ key: string;
1611
+ required: boolean;
1612
+ sections: {
1613
+ key: string;
1614
+ required: boolean;
1615
+ heading: string;
1616
+ }[];
1617
+ reader_task: string;
1618
+ artifact_intent: string;
1619
+ template_id?: string | undefined;
1620
+ question_targets?: string[] | undefined;
1621
+ knowledge_dependencies?: {
1622
+ artifact_ref: string;
1623
+ required?: boolean | undefined;
1624
+ section_refs?: string[] | undefined;
1625
+ }[] | undefined;
1626
+ }[] | undefined;
1627
+ delivery_boundary?: boolean | undefined;
1628
+ ready_for_author?: boolean | undefined;
1111
1629
  }[];
1112
1630
  member_dispositions: ({
1113
1631
  group_key: string;
1114
1632
  member_id: string;
1115
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1633
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1116
1634
  inventory_disposition: "owned";
1117
1635
  } | {
1118
1636
  member_id: string;
1119
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1637
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1120
1638
  inventory_disposition: "excluded-with-reason";
1121
1639
  reason_code: string;
1122
1640
  } | {
1123
1641
  member_id: string;
1124
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1642
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1125
1643
  inventory_disposition: "unsupported";
1126
1644
  missing_capabilities: string[];
1127
1645
  })[];