@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
@@ -55,6 +55,91 @@ declare const partitionGroupSchema: z.ZodObject<{
55
55
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
56
56
  logical_unit_ref: z.ZodString;
57
57
  label: z.ZodString;
58
+ scope_change: z.ZodOptional<z.ZodObject<{
59
+ removed_member_ids: z.ZodArray<z.ZodString, "many">;
60
+ }, "strict", z.ZodTypeAny, {
61
+ removed_member_ids: string[];
62
+ }, {
63
+ removed_member_ids: string[];
64
+ }>>;
65
+ reader_task: z.ZodOptional<z.ZodString>;
66
+ outline: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
67
+ artifact_intent: z.ZodOptional<z.ZodString>;
68
+ template_id: z.ZodOptional<z.ZodString>;
69
+ articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
+ key: z.ZodString;
71
+ title: z.ZodString;
72
+ reader_task: z.ZodString;
73
+ artifact_intent: z.ZodString;
74
+ template_id: z.ZodOptional<z.ZodString>;
75
+ required: z.ZodBoolean;
76
+ sections: z.ZodArray<z.ZodObject<{
77
+ key: z.ZodString;
78
+ heading: z.ZodString;
79
+ required: z.ZodBoolean;
80
+ }, "strict", z.ZodTypeAny, {
81
+ key: string;
82
+ required: boolean;
83
+ heading: string;
84
+ }, {
85
+ key: string;
86
+ required: boolean;
87
+ heading: string;
88
+ }>, "many">;
89
+ question_targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
90
+ knowledge_dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ artifact_ref: z.ZodString;
92
+ section_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
93
+ required: z.ZodDefault<z.ZodBoolean>;
94
+ }, "strict", z.ZodTypeAny, {
95
+ required: boolean;
96
+ artifact_ref: string;
97
+ section_refs: string[];
98
+ }, {
99
+ artifact_ref: string;
100
+ required?: boolean | undefined;
101
+ section_refs?: string[] | undefined;
102
+ }>, "many">>;
103
+ }, "strict", z.ZodTypeAny, {
104
+ title: string;
105
+ key: string;
106
+ required: boolean;
107
+ sections: {
108
+ key: string;
109
+ required: boolean;
110
+ heading: string;
111
+ }[];
112
+ reader_task: string;
113
+ artifact_intent: string;
114
+ question_targets: string[];
115
+ template_id?: string | undefined;
116
+ knowledge_dependencies?: {
117
+ required: boolean;
118
+ artifact_ref: string;
119
+ section_refs: string[];
120
+ }[] | undefined;
121
+ }, {
122
+ title: string;
123
+ key: string;
124
+ required: boolean;
125
+ sections: {
126
+ key: string;
127
+ required: boolean;
128
+ heading: string;
129
+ }[];
130
+ reader_task: string;
131
+ artifact_intent: string;
132
+ template_id?: string | undefined;
133
+ question_targets?: string[] | undefined;
134
+ knowledge_dependencies?: {
135
+ artifact_ref: string;
136
+ required?: boolean | undefined;
137
+ section_refs?: string[] | undefined;
138
+ }[] | undefined;
139
+ }>, "many">>;
140
+ priority: z.ZodOptional<z.ZodNumber>;
141
+ delivery_boundary: z.ZodOptional<z.ZodBoolean>;
142
+ ready_for_author: z.ZodOptional<z.ZodBoolean>;
58
143
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
59
144
  question_target_bindings: z.ZodArray<z.ZodObject<{
60
145
  target_ref: z.ZodString;
@@ -74,16 +159,45 @@ declare const partitionGroupSchema: z.ZodObject<{
74
159
  protocol: "context.subject-key/v1";
75
160
  local_key: string;
76
161
  };
162
+ label: string;
77
163
  reader_question_refs: string[];
78
164
  logical_unit_ref: string;
79
165
  group_key: string;
80
166
  member_ids: string[];
81
167
  subject_intent: "primary" | "enrich-or-independent";
82
- label: string;
83
168
  question_target_bindings: {
84
169
  role: "enricher" | "primary-carrier";
85
170
  target_ref: string;
86
171
  }[];
172
+ priority?: number | undefined;
173
+ template_id?: string | undefined;
174
+ reader_task?: string | undefined;
175
+ artifact_intent?: string | undefined;
176
+ scope_change?: {
177
+ removed_member_ids: string[];
178
+ } | undefined;
179
+ outline?: string[] | undefined;
180
+ articles?: {
181
+ title: string;
182
+ key: string;
183
+ required: boolean;
184
+ sections: {
185
+ key: string;
186
+ required: boolean;
187
+ heading: string;
188
+ }[];
189
+ reader_task: string;
190
+ artifact_intent: string;
191
+ question_targets: string[];
192
+ template_id?: string | undefined;
193
+ knowledge_dependencies?: {
194
+ required: boolean;
195
+ artifact_ref: string;
196
+ section_refs: string[];
197
+ }[] | undefined;
198
+ }[] | undefined;
199
+ delivery_boundary?: boolean | undefined;
200
+ ready_for_author?: boolean | undefined;
87
201
  }, {
88
202
  subject_key: {
89
203
  kind: string;
@@ -91,16 +205,45 @@ declare const partitionGroupSchema: z.ZodObject<{
91
205
  protocol: "context.subject-key/v1";
92
206
  local_key: string;
93
207
  };
208
+ label: string;
94
209
  reader_question_refs: string[];
95
210
  logical_unit_ref: string;
96
211
  group_key: string;
97
212
  member_ids: string[];
98
213
  subject_intent: "primary" | "enrich-or-independent";
99
- label: string;
100
214
  question_target_bindings: {
101
215
  role: "enricher" | "primary-carrier";
102
216
  target_ref: string;
103
217
  }[];
218
+ priority?: number | undefined;
219
+ template_id?: string | undefined;
220
+ reader_task?: string | undefined;
221
+ artifact_intent?: string | undefined;
222
+ scope_change?: {
223
+ removed_member_ids: string[];
224
+ } | undefined;
225
+ outline?: string[] | undefined;
226
+ articles?: {
227
+ title: string;
228
+ key: string;
229
+ required: boolean;
230
+ sections: {
231
+ key: string;
232
+ required: boolean;
233
+ heading: string;
234
+ }[];
235
+ reader_task: string;
236
+ artifact_intent: string;
237
+ template_id?: string | undefined;
238
+ question_targets?: string[] | undefined;
239
+ knowledge_dependencies?: {
240
+ artifact_ref: string;
241
+ required?: boolean | undefined;
242
+ section_refs?: string[] | undefined;
243
+ }[] | undefined;
244
+ }[] | undefined;
245
+ delivery_boundary?: boolean | undefined;
246
+ ready_for_author?: boolean | undefined;
104
247
  }>;
105
248
  declare const memberDispositionSchema: z.ZodUnion<[z.ZodObject<{
106
249
  member_id: z.ZodString;
@@ -110,12 +253,12 @@ declare const memberDispositionSchema: z.ZodUnion<[z.ZodObject<{
110
253
  }, "strict", z.ZodTypeAny, {
111
254
  group_key: string;
112
255
  member_id: string;
113
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
256
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
114
257
  inventory_disposition: "owned";
115
258
  }, {
116
259
  group_key: string;
117
260
  member_id: string;
118
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
261
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
119
262
  inventory_disposition: "owned";
120
263
  }>, z.ZodObject<{
121
264
  member_id: z.ZodString;
@@ -124,12 +267,12 @@ declare const memberDispositionSchema: z.ZodUnion<[z.ZodObject<{
124
267
  reason_code: z.ZodEffects<z.ZodString, string, string>;
125
268
  }, "strict", z.ZodTypeAny, {
126
269
  member_id: string;
127
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
270
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
128
271
  inventory_disposition: "excluded-with-reason";
129
272
  reason_code: string;
130
273
  }, {
131
274
  member_id: string;
132
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
275
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
133
276
  inventory_disposition: "excluded-with-reason";
134
277
  reason_code: string;
135
278
  }>, z.ZodObject<{
@@ -139,12 +282,12 @@ declare const memberDispositionSchema: z.ZodUnion<[z.ZodObject<{
139
282
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
140
283
  }, "strict", z.ZodTypeAny, {
141
284
  member_id: string;
142
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
285
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
143
286
  inventory_disposition: "unsupported";
144
287
  missing_capabilities: string[];
145
288
  }, {
146
289
  member_id: string;
147
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
290
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
148
291
  inventory_disposition: "unsupported";
149
292
  missing_capabilities: string[];
150
293
  }>]>;
@@ -270,6 +413,91 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
270
413
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
271
414
  logical_unit_ref: z.ZodString;
272
415
  label: z.ZodString;
416
+ scope_change: z.ZodOptional<z.ZodObject<{
417
+ removed_member_ids: z.ZodArray<z.ZodString, "many">;
418
+ }, "strict", z.ZodTypeAny, {
419
+ removed_member_ids: string[];
420
+ }, {
421
+ removed_member_ids: string[];
422
+ }>>;
423
+ reader_task: z.ZodOptional<z.ZodString>;
424
+ outline: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
425
+ artifact_intent: z.ZodOptional<z.ZodString>;
426
+ template_id: z.ZodOptional<z.ZodString>;
427
+ articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
428
+ key: z.ZodString;
429
+ title: z.ZodString;
430
+ reader_task: z.ZodString;
431
+ artifact_intent: z.ZodString;
432
+ template_id: z.ZodOptional<z.ZodString>;
433
+ required: z.ZodBoolean;
434
+ sections: z.ZodArray<z.ZodObject<{
435
+ key: z.ZodString;
436
+ heading: z.ZodString;
437
+ required: z.ZodBoolean;
438
+ }, "strict", z.ZodTypeAny, {
439
+ key: string;
440
+ required: boolean;
441
+ heading: string;
442
+ }, {
443
+ key: string;
444
+ required: boolean;
445
+ heading: string;
446
+ }>, "many">;
447
+ question_targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
448
+ knowledge_dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
449
+ artifact_ref: z.ZodString;
450
+ section_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
451
+ required: z.ZodDefault<z.ZodBoolean>;
452
+ }, "strict", z.ZodTypeAny, {
453
+ required: boolean;
454
+ artifact_ref: string;
455
+ section_refs: string[];
456
+ }, {
457
+ artifact_ref: string;
458
+ required?: boolean | undefined;
459
+ section_refs?: string[] | undefined;
460
+ }>, "many">>;
461
+ }, "strict", z.ZodTypeAny, {
462
+ title: string;
463
+ key: string;
464
+ required: boolean;
465
+ sections: {
466
+ key: string;
467
+ required: boolean;
468
+ heading: string;
469
+ }[];
470
+ reader_task: string;
471
+ artifact_intent: string;
472
+ question_targets: string[];
473
+ template_id?: string | undefined;
474
+ knowledge_dependencies?: {
475
+ required: boolean;
476
+ artifact_ref: string;
477
+ section_refs: string[];
478
+ }[] | undefined;
479
+ }, {
480
+ title: string;
481
+ key: string;
482
+ required: boolean;
483
+ sections: {
484
+ key: string;
485
+ required: boolean;
486
+ heading: string;
487
+ }[];
488
+ reader_task: string;
489
+ artifact_intent: string;
490
+ template_id?: string | undefined;
491
+ question_targets?: string[] | undefined;
492
+ knowledge_dependencies?: {
493
+ artifact_ref: string;
494
+ required?: boolean | undefined;
495
+ section_refs?: string[] | undefined;
496
+ }[] | undefined;
497
+ }>, "many">>;
498
+ priority: z.ZodOptional<z.ZodNumber>;
499
+ delivery_boundary: z.ZodOptional<z.ZodBoolean>;
500
+ ready_for_author: z.ZodOptional<z.ZodBoolean>;
273
501
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
274
502
  question_target_bindings: z.ZodArray<z.ZodObject<{
275
503
  target_ref: z.ZodString;
@@ -289,16 +517,45 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
289
517
  protocol: "context.subject-key/v1";
290
518
  local_key: string;
291
519
  };
520
+ label: string;
292
521
  reader_question_refs: string[];
293
522
  logical_unit_ref: string;
294
523
  group_key: string;
295
524
  member_ids: string[];
296
525
  subject_intent: "primary" | "enrich-or-independent";
297
- label: string;
298
526
  question_target_bindings: {
299
527
  role: "enricher" | "primary-carrier";
300
528
  target_ref: string;
301
529
  }[];
530
+ priority?: number | undefined;
531
+ template_id?: string | undefined;
532
+ reader_task?: string | undefined;
533
+ artifact_intent?: string | undefined;
534
+ scope_change?: {
535
+ removed_member_ids: string[];
536
+ } | undefined;
537
+ outline?: string[] | undefined;
538
+ articles?: {
539
+ title: string;
540
+ key: string;
541
+ required: boolean;
542
+ sections: {
543
+ key: string;
544
+ required: boolean;
545
+ heading: string;
546
+ }[];
547
+ reader_task: string;
548
+ artifact_intent: string;
549
+ question_targets: string[];
550
+ template_id?: string | undefined;
551
+ knowledge_dependencies?: {
552
+ required: boolean;
553
+ artifact_ref: string;
554
+ section_refs: string[];
555
+ }[] | undefined;
556
+ }[] | undefined;
557
+ delivery_boundary?: boolean | undefined;
558
+ ready_for_author?: boolean | undefined;
302
559
  }, {
303
560
  subject_key: {
304
561
  kind: string;
@@ -306,16 +563,45 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
306
563
  protocol: "context.subject-key/v1";
307
564
  local_key: string;
308
565
  };
566
+ label: string;
309
567
  reader_question_refs: string[];
310
568
  logical_unit_ref: string;
311
569
  group_key: string;
312
570
  member_ids: string[];
313
571
  subject_intent: "primary" | "enrich-or-independent";
314
- label: string;
315
572
  question_target_bindings: {
316
573
  role: "enricher" | "primary-carrier";
317
574
  target_ref: string;
318
575
  }[];
576
+ priority?: number | undefined;
577
+ template_id?: string | undefined;
578
+ reader_task?: string | undefined;
579
+ artifact_intent?: string | undefined;
580
+ scope_change?: {
581
+ removed_member_ids: string[];
582
+ } | undefined;
583
+ outline?: string[] | undefined;
584
+ articles?: {
585
+ title: string;
586
+ key: string;
587
+ required: boolean;
588
+ sections: {
589
+ key: string;
590
+ required: boolean;
591
+ heading: string;
592
+ }[];
593
+ reader_task: string;
594
+ artifact_intent: string;
595
+ template_id?: string | undefined;
596
+ question_targets?: string[] | undefined;
597
+ knowledge_dependencies?: {
598
+ artifact_ref: string;
599
+ required?: boolean | undefined;
600
+ section_refs?: string[] | undefined;
601
+ }[] | undefined;
602
+ }[] | undefined;
603
+ delivery_boundary?: boolean | undefined;
604
+ ready_for_author?: boolean | undefined;
319
605
  }>, "many">;
320
606
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
321
607
  member_id: z.ZodString;
@@ -325,12 +611,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
325
611
  }, "strict", z.ZodTypeAny, {
326
612
  group_key: string;
327
613
  member_id: string;
328
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
614
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
329
615
  inventory_disposition: "owned";
330
616
  }, {
331
617
  group_key: string;
332
618
  member_id: string;
333
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
619
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
334
620
  inventory_disposition: "owned";
335
621
  }>, z.ZodObject<{
336
622
  member_id: z.ZodString;
@@ -339,12 +625,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
339
625
  reason_code: z.ZodEffects<z.ZodString, string, string>;
340
626
  }, "strict", z.ZodTypeAny, {
341
627
  member_id: string;
342
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
628
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
343
629
  inventory_disposition: "excluded-with-reason";
344
630
  reason_code: string;
345
631
  }, {
346
632
  member_id: string;
347
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
633
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
348
634
  inventory_disposition: "excluded-with-reason";
349
635
  reason_code: string;
350
636
  }>, z.ZodObject<{
@@ -354,12 +640,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
354
640
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
355
641
  }, "strict", z.ZodTypeAny, {
356
642
  member_id: string;
357
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
643
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
358
644
  inventory_disposition: "unsupported";
359
645
  missing_capabilities: string[];
360
646
  }, {
361
647
  member_id: string;
362
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
648
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
363
649
  inventory_disposition: "unsupported";
364
650
  missing_capabilities: string[];
365
651
  }>]>, "many">;
@@ -408,30 +694,59 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
408
694
  protocol: "context.subject-key/v1";
409
695
  local_key: string;
410
696
  };
697
+ label: string;
411
698
  reader_question_refs: string[];
412
699
  logical_unit_ref: string;
413
700
  group_key: string;
414
701
  member_ids: string[];
415
702
  subject_intent: "primary" | "enrich-or-independent";
416
- label: string;
417
703
  question_target_bindings: {
418
704
  role: "enricher" | "primary-carrier";
419
705
  target_ref: string;
420
706
  }[];
707
+ priority?: number | undefined;
708
+ template_id?: string | undefined;
709
+ reader_task?: string | undefined;
710
+ artifact_intent?: string | undefined;
711
+ scope_change?: {
712
+ removed_member_ids: string[];
713
+ } | undefined;
714
+ outline?: string[] | undefined;
715
+ articles?: {
716
+ title: string;
717
+ key: string;
718
+ required: boolean;
719
+ sections: {
720
+ key: string;
721
+ required: boolean;
722
+ heading: string;
723
+ }[];
724
+ reader_task: string;
725
+ artifact_intent: string;
726
+ question_targets: string[];
727
+ template_id?: string | undefined;
728
+ knowledge_dependencies?: {
729
+ required: boolean;
730
+ artifact_ref: string;
731
+ section_refs: string[];
732
+ }[] | undefined;
733
+ }[] | undefined;
734
+ delivery_boundary?: boolean | undefined;
735
+ ready_for_author?: boolean | undefined;
421
736
  }[];
422
737
  member_dispositions: ({
423
738
  group_key: string;
424
739
  member_id: string;
425
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
740
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
426
741
  inventory_disposition: "owned";
427
742
  } | {
428
743
  member_id: string;
429
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
744
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
430
745
  inventory_disposition: "excluded-with-reason";
431
746
  reason_code: string;
432
747
  } | {
433
748
  member_id: string;
434
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
749
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
435
750
  inventory_disposition: "unsupported";
436
751
  missing_capabilities: string[];
437
752
  })[];
@@ -480,30 +795,59 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
480
795
  protocol: "context.subject-key/v1";
481
796
  local_key: string;
482
797
  };
798
+ label: string;
483
799
  reader_question_refs: string[];
484
800
  logical_unit_ref: string;
485
801
  group_key: string;
486
802
  member_ids: string[];
487
803
  subject_intent: "primary" | "enrich-or-independent";
488
- label: string;
489
804
  question_target_bindings: {
490
805
  role: "enricher" | "primary-carrier";
491
806
  target_ref: string;
492
807
  }[];
808
+ priority?: number | undefined;
809
+ template_id?: string | undefined;
810
+ reader_task?: string | undefined;
811
+ artifact_intent?: string | undefined;
812
+ scope_change?: {
813
+ removed_member_ids: string[];
814
+ } | undefined;
815
+ outline?: string[] | undefined;
816
+ articles?: {
817
+ title: string;
818
+ key: string;
819
+ required: boolean;
820
+ sections: {
821
+ key: string;
822
+ required: boolean;
823
+ heading: string;
824
+ }[];
825
+ reader_task: string;
826
+ artifact_intent: string;
827
+ template_id?: string | undefined;
828
+ question_targets?: string[] | undefined;
829
+ knowledge_dependencies?: {
830
+ artifact_ref: string;
831
+ required?: boolean | undefined;
832
+ section_refs?: string[] | undefined;
833
+ }[] | undefined;
834
+ }[] | undefined;
835
+ delivery_boundary?: boolean | undefined;
836
+ ready_for_author?: boolean | undefined;
493
837
  }[];
494
838
  member_dispositions: ({
495
839
  group_key: string;
496
840
  member_id: string;
497
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
841
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
498
842
  inventory_disposition: "owned";
499
843
  } | {
500
844
  member_id: string;
501
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
845
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
502
846
  inventory_disposition: "excluded-with-reason";
503
847
  reason_code: string;
504
848
  } | {
505
849
  member_id: string;
506
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
850
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
507
851
  inventory_disposition: "unsupported";
508
852
  missing_capabilities: string[];
509
853
  })[];
@@ -648,6 +992,91 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
648
992
  subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
649
993
  logical_unit_ref: z.ZodString;
650
994
  label: z.ZodString;
995
+ scope_change: z.ZodOptional<z.ZodObject<{
996
+ removed_member_ids: z.ZodArray<z.ZodString, "many">;
997
+ }, "strict", z.ZodTypeAny, {
998
+ removed_member_ids: string[];
999
+ }, {
1000
+ removed_member_ids: string[];
1001
+ }>>;
1002
+ reader_task: z.ZodOptional<z.ZodString>;
1003
+ outline: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1004
+ artifact_intent: z.ZodOptional<z.ZodString>;
1005
+ template_id: z.ZodOptional<z.ZodString>;
1006
+ articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
1007
+ key: z.ZodString;
1008
+ title: z.ZodString;
1009
+ reader_task: z.ZodString;
1010
+ artifact_intent: z.ZodString;
1011
+ template_id: z.ZodOptional<z.ZodString>;
1012
+ required: z.ZodBoolean;
1013
+ sections: z.ZodArray<z.ZodObject<{
1014
+ key: z.ZodString;
1015
+ heading: z.ZodString;
1016
+ required: z.ZodBoolean;
1017
+ }, "strict", z.ZodTypeAny, {
1018
+ key: string;
1019
+ required: boolean;
1020
+ heading: string;
1021
+ }, {
1022
+ key: string;
1023
+ required: boolean;
1024
+ heading: string;
1025
+ }>, "many">;
1026
+ question_targets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1027
+ knowledge_dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1028
+ artifact_ref: z.ZodString;
1029
+ section_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1030
+ required: z.ZodDefault<z.ZodBoolean>;
1031
+ }, "strict", z.ZodTypeAny, {
1032
+ required: boolean;
1033
+ artifact_ref: string;
1034
+ section_refs: string[];
1035
+ }, {
1036
+ artifact_ref: string;
1037
+ required?: boolean | undefined;
1038
+ section_refs?: string[] | undefined;
1039
+ }>, "many">>;
1040
+ }, "strict", z.ZodTypeAny, {
1041
+ title: string;
1042
+ key: string;
1043
+ required: boolean;
1044
+ sections: {
1045
+ key: string;
1046
+ required: boolean;
1047
+ heading: string;
1048
+ }[];
1049
+ reader_task: string;
1050
+ artifact_intent: string;
1051
+ question_targets: string[];
1052
+ template_id?: string | undefined;
1053
+ knowledge_dependencies?: {
1054
+ required: boolean;
1055
+ artifact_ref: string;
1056
+ section_refs: string[];
1057
+ }[] | undefined;
1058
+ }, {
1059
+ title: string;
1060
+ key: string;
1061
+ required: boolean;
1062
+ sections: {
1063
+ key: string;
1064
+ required: boolean;
1065
+ heading: string;
1066
+ }[];
1067
+ reader_task: string;
1068
+ artifact_intent: string;
1069
+ template_id?: string | undefined;
1070
+ question_targets?: string[] | undefined;
1071
+ knowledge_dependencies?: {
1072
+ artifact_ref: string;
1073
+ required?: boolean | undefined;
1074
+ section_refs?: string[] | undefined;
1075
+ }[] | undefined;
1076
+ }>, "many">>;
1077
+ priority: z.ZodOptional<z.ZodNumber>;
1078
+ delivery_boundary: z.ZodOptional<z.ZodBoolean>;
1079
+ ready_for_author: z.ZodOptional<z.ZodBoolean>;
651
1080
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
652
1081
  question_target_bindings: z.ZodArray<z.ZodObject<{
653
1082
  target_ref: z.ZodString;
@@ -667,16 +1096,45 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
667
1096
  protocol: "context.subject-key/v1";
668
1097
  local_key: string;
669
1098
  };
1099
+ label: string;
670
1100
  reader_question_refs: string[];
671
1101
  logical_unit_ref: string;
672
1102
  group_key: string;
673
1103
  member_ids: string[];
674
1104
  subject_intent: "primary" | "enrich-or-independent";
675
- label: string;
676
1105
  question_target_bindings: {
677
1106
  role: "enricher" | "primary-carrier";
678
1107
  target_ref: string;
679
1108
  }[];
1109
+ priority?: number | undefined;
1110
+ template_id?: string | undefined;
1111
+ reader_task?: string | undefined;
1112
+ artifact_intent?: string | undefined;
1113
+ scope_change?: {
1114
+ removed_member_ids: string[];
1115
+ } | undefined;
1116
+ outline?: string[] | undefined;
1117
+ articles?: {
1118
+ title: string;
1119
+ key: string;
1120
+ required: boolean;
1121
+ sections: {
1122
+ key: string;
1123
+ required: boolean;
1124
+ heading: string;
1125
+ }[];
1126
+ reader_task: string;
1127
+ artifact_intent: string;
1128
+ question_targets: string[];
1129
+ template_id?: string | undefined;
1130
+ knowledge_dependencies?: {
1131
+ required: boolean;
1132
+ artifact_ref: string;
1133
+ section_refs: string[];
1134
+ }[] | undefined;
1135
+ }[] | undefined;
1136
+ delivery_boundary?: boolean | undefined;
1137
+ ready_for_author?: boolean | undefined;
680
1138
  }, {
681
1139
  subject_key: {
682
1140
  kind: string;
@@ -684,16 +1142,45 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
684
1142
  protocol: "context.subject-key/v1";
685
1143
  local_key: string;
686
1144
  };
1145
+ label: string;
687
1146
  reader_question_refs: string[];
688
1147
  logical_unit_ref: string;
689
1148
  group_key: string;
690
1149
  member_ids: string[];
691
1150
  subject_intent: "primary" | "enrich-or-independent";
692
- label: string;
693
1151
  question_target_bindings: {
694
1152
  role: "enricher" | "primary-carrier";
695
1153
  target_ref: string;
696
1154
  }[];
1155
+ priority?: number | undefined;
1156
+ template_id?: string | undefined;
1157
+ reader_task?: string | undefined;
1158
+ artifact_intent?: string | undefined;
1159
+ scope_change?: {
1160
+ removed_member_ids: string[];
1161
+ } | undefined;
1162
+ outline?: string[] | undefined;
1163
+ articles?: {
1164
+ title: string;
1165
+ key: string;
1166
+ required: boolean;
1167
+ sections: {
1168
+ key: string;
1169
+ required: boolean;
1170
+ heading: string;
1171
+ }[];
1172
+ reader_task: string;
1173
+ artifact_intent: string;
1174
+ template_id?: string | undefined;
1175
+ question_targets?: string[] | undefined;
1176
+ knowledge_dependencies?: {
1177
+ artifact_ref: string;
1178
+ required?: boolean | undefined;
1179
+ section_refs?: string[] | undefined;
1180
+ }[] | undefined;
1181
+ }[] | undefined;
1182
+ delivery_boundary?: boolean | undefined;
1183
+ ready_for_author?: boolean | undefined;
697
1184
  }>, "many">;
698
1185
  member_dispositions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
699
1186
  member_id: z.ZodString;
@@ -703,12 +1190,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
703
1190
  }, "strict", z.ZodTypeAny, {
704
1191
  group_key: string;
705
1192
  member_id: string;
706
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1193
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
707
1194
  inventory_disposition: "owned";
708
1195
  }, {
709
1196
  group_key: string;
710
1197
  member_id: string;
711
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1198
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
712
1199
  inventory_disposition: "owned";
713
1200
  }>, z.ZodObject<{
714
1201
  member_id: z.ZodString;
@@ -717,12 +1204,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
717
1204
  reason_code: z.ZodEffects<z.ZodString, string, string>;
718
1205
  }, "strict", z.ZodTypeAny, {
719
1206
  member_id: string;
720
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1207
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
721
1208
  inventory_disposition: "excluded-with-reason";
722
1209
  reason_code: string;
723
1210
  }, {
724
1211
  member_id: string;
725
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1212
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
726
1213
  inventory_disposition: "excluded-with-reason";
727
1214
  reason_code: string;
728
1215
  }>, z.ZodObject<{
@@ -732,12 +1219,12 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
732
1219
  missing_capabilities: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
733
1220
  }, "strict", z.ZodTypeAny, {
734
1221
  member_id: string;
735
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1222
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
736
1223
  inventory_disposition: "unsupported";
737
1224
  missing_capabilities: string[];
738
1225
  }, {
739
1226
  member_id: string;
740
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1227
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
741
1228
  inventory_disposition: "unsupported";
742
1229
  missing_capabilities: string[];
743
1230
  }>]>, "many">;
@@ -792,30 +1279,59 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
792
1279
  protocol: "context.subject-key/v1";
793
1280
  local_key: string;
794
1281
  };
1282
+ label: string;
795
1283
  reader_question_refs: string[];
796
1284
  logical_unit_ref: string;
797
1285
  group_key: string;
798
1286
  member_ids: string[];
799
1287
  subject_intent: "primary" | "enrich-or-independent";
800
- label: string;
801
1288
  question_target_bindings: {
802
1289
  role: "enricher" | "primary-carrier";
803
1290
  target_ref: string;
804
1291
  }[];
1292
+ priority?: number | undefined;
1293
+ template_id?: string | undefined;
1294
+ reader_task?: string | undefined;
1295
+ artifact_intent?: string | undefined;
1296
+ scope_change?: {
1297
+ removed_member_ids: string[];
1298
+ } | undefined;
1299
+ outline?: string[] | undefined;
1300
+ articles?: {
1301
+ title: string;
1302
+ key: string;
1303
+ required: boolean;
1304
+ sections: {
1305
+ key: string;
1306
+ required: boolean;
1307
+ heading: string;
1308
+ }[];
1309
+ reader_task: string;
1310
+ artifact_intent: string;
1311
+ question_targets: string[];
1312
+ template_id?: string | undefined;
1313
+ knowledge_dependencies?: {
1314
+ required: boolean;
1315
+ artifact_ref: string;
1316
+ section_refs: string[];
1317
+ }[] | undefined;
1318
+ }[] | undefined;
1319
+ delivery_boundary?: boolean | undefined;
1320
+ ready_for_author?: boolean | undefined;
805
1321
  }[];
806
1322
  member_dispositions: ({
807
1323
  group_key: string;
808
1324
  member_id: string;
809
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1325
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
810
1326
  inventory_disposition: "owned";
811
1327
  } | {
812
1328
  member_id: string;
813
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1329
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
814
1330
  inventory_disposition: "excluded-with-reason";
815
1331
  reason_code: string;
816
1332
  } | {
817
1333
  member_id: string;
818
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1334
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
819
1335
  inventory_disposition: "unsupported";
820
1336
  missing_capabilities: string[];
821
1337
  })[];
@@ -870,30 +1386,59 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
870
1386
  protocol: "context.subject-key/v1";
871
1387
  local_key: string;
872
1388
  };
1389
+ label: string;
873
1390
  reader_question_refs: string[];
874
1391
  logical_unit_ref: string;
875
1392
  group_key: string;
876
1393
  member_ids: string[];
877
1394
  subject_intent: "primary" | "enrich-or-independent";
878
- label: string;
879
1395
  question_target_bindings: {
880
1396
  role: "enricher" | "primary-carrier";
881
1397
  target_ref: string;
882
1398
  }[];
1399
+ priority?: number | undefined;
1400
+ template_id?: string | undefined;
1401
+ reader_task?: string | undefined;
1402
+ artifact_intent?: string | undefined;
1403
+ scope_change?: {
1404
+ removed_member_ids: string[];
1405
+ } | undefined;
1406
+ outline?: string[] | undefined;
1407
+ articles?: {
1408
+ title: string;
1409
+ key: string;
1410
+ required: boolean;
1411
+ sections: {
1412
+ key: string;
1413
+ required: boolean;
1414
+ heading: string;
1415
+ }[];
1416
+ reader_task: string;
1417
+ artifact_intent: string;
1418
+ template_id?: string | undefined;
1419
+ question_targets?: string[] | undefined;
1420
+ knowledge_dependencies?: {
1421
+ artifact_ref: string;
1422
+ required?: boolean | undefined;
1423
+ section_refs?: string[] | undefined;
1424
+ }[] | undefined;
1425
+ }[] | undefined;
1426
+ delivery_boundary?: boolean | undefined;
1427
+ ready_for_author?: boolean | undefined;
883
1428
  }[];
884
1429
  member_dispositions: ({
885
1430
  group_key: string;
886
1431
  member_id: string;
887
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1432
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
888
1433
  inventory_disposition: "owned";
889
1434
  } | {
890
1435
  member_id: string;
891
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1436
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
892
1437
  inventory_disposition: "excluded-with-reason";
893
1438
  reason_code: string;
894
1439
  } | {
895
1440
  member_id: string;
896
- member_kind: "document" | "handler" | "entry" | "project" | "route" | "component" | "service" | "method" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
1441
+ member_kind: "document" | "component" | "handler" | "method" | "entry" | "project" | "route" | "service" | "example" | "protocol-method" | "event-branch" | "timer-branch" | "downstream-callsite" | "store" | "state-transition";
897
1442
  inventory_disposition: "unsupported";
898
1443
  missing_capabilities: string[];
899
1444
  })[];