@c4a/context 0.7.8 → 0.7.10-alpha.1

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 (84) hide show
  1. package/articleStructure.d.ts +254 -0
  2. package/docs/guides/agent-dialogue.md +6 -5
  3. package/docs/guides/agent-guide.md +11 -5
  4. package/docs/guides/code-indexer-skill-authoring.md +76 -178
  5. package/docs/guides/indexer-provider-and-customization.md +93 -398
  6. package/docs/guides/indexer-skill-creation.md +107 -97
  7. package/docs/guides/knowledge-updates.md +137 -18
  8. package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
  9. package/docs/guides/package-outputs.md +213 -47
  10. package/docs/reference/indexer-provider-protocol.md +71 -102
  11. package/docs/reference/package-templates.md +39 -65
  12. package/docs/reference/project-api.md +53 -0
  13. package/docs/reference/template-variables.md +2 -3
  14. package/index.d.ts +11 -11
  15. package/index.js +5826 -8062
  16. package/indexerAgentStepProtocol.d.ts +0 -910
  17. package/indexerApprovedKnowledge.d.ts +98 -359
  18. package/indexerArticlePlan.d.ts +3 -26
  19. package/indexerArtifact.d.ts +201 -70
  20. package/indexerArtifactPolicy.d.ts +4 -22
  21. package/indexerArtifactResult.d.ts +240 -888
  22. package/indexerAuthoringFixture.d.ts +0 -13
  23. package/indexerBenchmark.d.ts +2 -2
  24. package/indexerCandidateCompile.d.ts +123 -167
  25. package/indexerCatalogFallback.d.ts +32 -374
  26. package/indexerCollectionMapping.d.ts +2 -2
  27. package/indexerContentLayers.d.ts +187 -41
  28. package/indexerContractOverlay.d.ts +30 -44
  29. package/indexerControlledInvocation.d.ts +6 -6
  30. package/indexerControlledProgram.d.ts +959 -3020
  31. package/indexerDependencyView.d.ts +96 -96
  32. package/indexerEffectiveArtifact.d.ts +381 -242
  33. package/indexerExampleDecision.d.ts +134 -134
  34. package/indexerExampleIdentity.d.ts +6 -6
  35. package/indexerExampleIdentityAudit.d.ts +6 -6
  36. package/indexerInventoryDisposition.d.ts +0 -39
  37. package/indexerLayerComposition.d.ts +1378 -852
  38. package/indexerLayoutChange.d.ts +24 -33
  39. package/indexerLayoutProposalSet.d.ts +143 -137
  40. package/indexerLayoutResolver.d.ts +116 -101
  41. package/indexerLayoutTransition.d.ts +6 -6
  42. package/indexerMainLifecycle.d.ts +1 -11
  43. package/indexerMainRunLedger.d.ts +0 -14
  44. package/indexerMainRunProtocol.d.ts +806 -2530
  45. package/indexerMainWorkset.d.ts +0 -1212
  46. package/indexerNavigationArtifactPlan.d.ts +2 -2
  47. package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
  48. package/indexerParserCoordinate.d.ts +2 -2
  49. package/indexerParserExecutionPlan.d.ts +42 -42
  50. package/indexerPartitionPlan.d.ts +24 -354
  51. package/indexerPhysicalArtifactManifest.d.ts +12 -27
  52. package/indexerPostAuthorComposition.d.ts +2 -253
  53. package/indexerPostAuthorRunLedger.d.ts +860 -562
  54. package/indexerPrimaryProjection.d.ts +2 -2
  55. package/indexerPrimaryResultView.d.ts +0 -318
  56. package/indexerProfileContract.d.ts +200 -549
  57. package/indexerProgramExecutionAuthorization.d.ts +4 -4
  58. package/indexerProgramRunProtocol.d.ts +806 -2527
  59. package/indexerProjectProposal.d.ts +8 -8
  60. package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
  61. package/indexerProjectedArtifactPlan.d.ts +0 -9
  62. package/indexerProtocolHash.d.ts +2 -0
  63. package/indexerProvider.d.ts +76 -318
  64. package/indexerProviderComposition.d.ts +16 -42
  65. package/indexerQuestionAuthority.d.ts +2 -82
  66. package/indexerReaderTargetInventory.d.ts +6 -6
  67. package/indexerRegistry.d.ts +606 -0
  68. package/indexerRequirementLifecycle.d.ts +6 -6
  69. package/indexerResultReconciliation.d.ts +35 -149
  70. package/indexerSemanticInput.d.ts +10926 -5665
  71. package/indexerStructuredDeclaration.d.ts +24 -24
  72. package/indexerTemplateRendering.d.ts +239 -113
  73. package/{readingStructure.d.ts → knowledgeMap.d.ts} +21 -21
  74. package/package.json +1 -1
  75. package/packageSite.d.ts +25 -0
  76. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
  77. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
  78. package/indexerArtifactDependencies.d.ts +0 -693
  79. package/indexerCompositionFactDependencies.d.ts +0 -16
  80. package/indexerExampleFactDependencies.d.ts +0 -17
  81. package/indexerIncrementalImpact.d.ts +0 -221
  82. package/indexerKnowledgeDependency.d.ts +0 -46
  83. package/indexerSubjectCatalog.d.ts +0 -230
  84. package/indexerSubjectKeyAuthority.d.ts +0 -786
@@ -36,23 +36,6 @@ export declare function indexerPartitionStrategySetDigest(strategies: readonly {
36
36
  }[]): string;
37
37
  declare const partitionGroupSchema: z.ZodObject<{
38
38
  group_key: z.ZodString;
39
- subject_key: z.ZodObject<{
40
- protocol: z.ZodLiteral<"context.subject-key/v1">;
41
- namespace: z.ZodEffects<z.ZodString, string, string>;
42
- kind: z.ZodEffects<z.ZodString, string, string>;
43
- local_key: z.ZodEffects<z.ZodString, string, string>;
44
- }, "strict", z.ZodTypeAny, {
45
- kind: string;
46
- namespace: string;
47
- protocol: "context.subject-key/v1";
48
- local_key: string;
49
- }, {
50
- kind: string;
51
- namespace: string;
52
- protocol: "context.subject-key/v1";
53
- local_key: string;
54
- }>;
55
- subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
56
39
  logical_unit_ref: z.ZodString;
57
40
  label: z.ZodString;
58
41
  scope_change: z.ZodOptional<z.ZodObject<{
@@ -87,55 +70,32 @@ declare const partitionGroupSchema: z.ZodObject<{
87
70
  heading: string;
88
71
  }>, "many">;
89
72
  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
73
  }, "strict", z.ZodTypeAny, {
104
74
  title: string;
105
75
  key: string;
106
- required: boolean;
107
76
  sections: {
108
77
  key: string;
109
78
  required: boolean;
110
79
  heading: string;
111
80
  }[];
81
+ required: boolean;
112
82
  reader_task: string;
113
83
  artifact_intent: string;
114
84
  question_targets: string[];
115
85
  template_id?: string | undefined;
116
- knowledge_dependencies?: {
117
- required: boolean;
118
- artifact_ref: string;
119
- section_refs: string[];
120
- }[] | undefined;
121
86
  }, {
122
87
  title: string;
123
88
  key: string;
124
- required: boolean;
125
89
  sections: {
126
90
  key: string;
127
91
  required: boolean;
128
92
  heading: string;
129
93
  }[];
94
+ required: boolean;
130
95
  reader_task: string;
131
96
  artifact_intent: string;
132
97
  template_id?: string | undefined;
133
98
  question_targets?: string[] | undefined;
134
- knowledge_dependencies?: {
135
- artifact_ref: string;
136
- required?: boolean | undefined;
137
- section_refs?: string[] | undefined;
138
- }[] | undefined;
139
99
  }>, "many">>;
140
100
  priority: z.ZodOptional<z.ZodNumber>;
141
101
  delivery_boundary: z.ZodOptional<z.ZodBoolean>;
@@ -153,18 +113,11 @@ declare const partitionGroupSchema: z.ZodObject<{
153
113
  }>, "many">;
154
114
  member_ids: z.ZodArray<z.ZodString, "many">;
155
115
  }, "strict", z.ZodTypeAny, {
156
- subject_key: {
157
- kind: string;
158
- namespace: string;
159
- protocol: "context.subject-key/v1";
160
- local_key: string;
161
- };
162
116
  label: string;
163
117
  reader_question_refs: string[];
164
118
  logical_unit_ref: string;
165
119
  group_key: string;
166
120
  member_ids: string[];
167
- subject_intent: "primary" | "enrich-or-independent";
168
121
  question_target_bindings: {
169
122
  role: "enricher" | "primary-carrier";
170
123
  target_ref: string;
@@ -180,37 +133,25 @@ declare const partitionGroupSchema: z.ZodObject<{
180
133
  articles?: {
181
134
  title: string;
182
135
  key: string;
183
- required: boolean;
184
136
  sections: {
185
137
  key: string;
186
138
  required: boolean;
187
139
  heading: string;
188
140
  }[];
141
+ required: boolean;
189
142
  reader_task: string;
190
143
  artifact_intent: string;
191
144
  question_targets: string[];
192
145
  template_id?: string | undefined;
193
- knowledge_dependencies?: {
194
- required: boolean;
195
- artifact_ref: string;
196
- section_refs: string[];
197
- }[] | undefined;
198
146
  }[] | undefined;
199
147
  delivery_boundary?: boolean | undefined;
200
148
  ready_for_author?: boolean | undefined;
201
149
  }, {
202
- subject_key: {
203
- kind: string;
204
- namespace: string;
205
- protocol: "context.subject-key/v1";
206
- local_key: string;
207
- };
208
150
  label: string;
209
151
  reader_question_refs: string[];
210
152
  logical_unit_ref: string;
211
153
  group_key: string;
212
154
  member_ids: string[];
213
- subject_intent: "primary" | "enrich-or-independent";
214
155
  question_target_bindings: {
215
156
  role: "enricher" | "primary-carrier";
216
157
  target_ref: string;
@@ -226,21 +167,16 @@ declare const partitionGroupSchema: z.ZodObject<{
226
167
  articles?: {
227
168
  title: string;
228
169
  key: string;
229
- required: boolean;
230
170
  sections: {
231
171
  key: string;
232
172
  required: boolean;
233
173
  heading: string;
234
174
  }[];
175
+ required: boolean;
235
176
  reader_task: string;
236
177
  artifact_intent: string;
237
178
  template_id?: string | undefined;
238
179
  question_targets?: string[] | undefined;
239
- knowledge_dependencies?: {
240
- artifact_ref: string;
241
- required?: boolean | undefined;
242
- section_refs?: string[] | undefined;
243
- }[] | undefined;
244
180
  }[] | undefined;
245
181
  delivery_boundary?: boolean | undefined;
246
182
  ready_for_author?: boolean | undefined;
@@ -300,41 +236,17 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
300
236
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
301
237
  indexer_fingerprint: z.ZodString;
302
238
  requirement_digest: z.ZodString;
303
- subject_key_schema_digest: z.ZodString;
304
239
  source_scope_digest: z.ZodString;
305
240
  source_refs: z.ZodArray<z.ZodString, "many">;
306
241
  module_ref: z.ZodNullable<z.ZodString>;
307
- partition_subject_key: z.ZodObject<{
308
- protocol: z.ZodLiteral<"context.subject-key/v1">;
309
- namespace: z.ZodEffects<z.ZodString, string, string>;
310
- kind: z.ZodEffects<z.ZodString, string, string>;
311
- local_key: z.ZodEffects<z.ZodString, string, string>;
312
- }, "strict", z.ZodTypeAny, {
313
- kind: string;
314
- namespace: string;
315
- protocol: "context.subject-key/v1";
316
- local_key: string;
317
- }, {
318
- kind: string;
319
- namespace: string;
320
- protocol: "context.subject-key/v1";
321
- local_key: string;
322
- }>;
323
242
  parent_scope_ref: z.ZodString;
324
243
  inventory_digest: z.ZodString;
325
244
  question_target_inventory_digest: z.ZodString;
326
245
  }, "strict", z.ZodTypeAny, {
327
246
  module_ref: string | null;
328
- requirement_digest: string;
329
247
  indexer_id: string;
330
248
  inventory_digest: string;
331
- subject_key_schema_digest: string;
332
- partition_subject_key: {
333
- kind: string;
334
- namespace: string;
335
- protocol: "context.subject-key/v1";
336
- local_key: string;
337
- };
249
+ requirement_digest: string;
338
250
  source_scope_digest: string;
339
251
  question_target_inventory_digest: string;
340
252
  partition_workset_digest: string;
@@ -343,16 +255,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
343
255
  parent_scope_ref: string;
344
256
  }, {
345
257
  module_ref: string | null;
346
- requirement_digest: string;
347
258
  indexer_id: string;
348
259
  inventory_digest: string;
349
- subject_key_schema_digest: string;
350
- partition_subject_key: {
351
- kind: string;
352
- namespace: string;
353
- protocol: "context.subject-key/v1";
354
- local_key: string;
355
- };
260
+ requirement_digest: string;
356
261
  source_scope_digest: string;
357
262
  question_target_inventory_digest: string;
358
263
  partition_workset_digest: string;
@@ -394,23 +299,6 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
394
299
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
395
300
  groups: z.ZodArray<z.ZodObject<{
396
301
  group_key: z.ZodString;
397
- subject_key: z.ZodObject<{
398
- protocol: z.ZodLiteral<"context.subject-key/v1">;
399
- namespace: z.ZodEffects<z.ZodString, string, string>;
400
- kind: z.ZodEffects<z.ZodString, string, string>;
401
- local_key: z.ZodEffects<z.ZodString, string, string>;
402
- }, "strict", z.ZodTypeAny, {
403
- kind: string;
404
- namespace: string;
405
- protocol: "context.subject-key/v1";
406
- local_key: string;
407
- }, {
408
- kind: string;
409
- namespace: string;
410
- protocol: "context.subject-key/v1";
411
- local_key: string;
412
- }>;
413
- subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
414
302
  logical_unit_ref: z.ZodString;
415
303
  label: z.ZodString;
416
304
  scope_change: z.ZodOptional<z.ZodObject<{
@@ -445,55 +333,32 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
445
333
  heading: string;
446
334
  }>, "many">;
447
335
  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
336
  }, "strict", z.ZodTypeAny, {
462
337
  title: string;
463
338
  key: string;
464
- required: boolean;
465
339
  sections: {
466
340
  key: string;
467
341
  required: boolean;
468
342
  heading: string;
469
343
  }[];
344
+ required: boolean;
470
345
  reader_task: string;
471
346
  artifact_intent: string;
472
347
  question_targets: string[];
473
348
  template_id?: string | undefined;
474
- knowledge_dependencies?: {
475
- required: boolean;
476
- artifact_ref: string;
477
- section_refs: string[];
478
- }[] | undefined;
479
349
  }, {
480
350
  title: string;
481
351
  key: string;
482
- required: boolean;
483
352
  sections: {
484
353
  key: string;
485
354
  required: boolean;
486
355
  heading: string;
487
356
  }[];
357
+ required: boolean;
488
358
  reader_task: string;
489
359
  artifact_intent: string;
490
360
  template_id?: string | undefined;
491
361
  question_targets?: string[] | undefined;
492
- knowledge_dependencies?: {
493
- artifact_ref: string;
494
- required?: boolean | undefined;
495
- section_refs?: string[] | undefined;
496
- }[] | undefined;
497
362
  }>, "many">>;
498
363
  priority: z.ZodOptional<z.ZodNumber>;
499
364
  delivery_boundary: z.ZodOptional<z.ZodBoolean>;
@@ -511,18 +376,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
511
376
  }>, "many">;
512
377
  member_ids: z.ZodArray<z.ZodString, "many">;
513
378
  }, "strict", z.ZodTypeAny, {
514
- subject_key: {
515
- kind: string;
516
- namespace: string;
517
- protocol: "context.subject-key/v1";
518
- local_key: string;
519
- };
520
379
  label: string;
521
380
  reader_question_refs: string[];
522
381
  logical_unit_ref: string;
523
382
  group_key: string;
524
383
  member_ids: string[];
525
- subject_intent: "primary" | "enrich-or-independent";
526
384
  question_target_bindings: {
527
385
  role: "enricher" | "primary-carrier";
528
386
  target_ref: string;
@@ -538,37 +396,25 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
538
396
  articles?: {
539
397
  title: string;
540
398
  key: string;
541
- required: boolean;
542
399
  sections: {
543
400
  key: string;
544
401
  required: boolean;
545
402
  heading: string;
546
403
  }[];
404
+ required: boolean;
547
405
  reader_task: string;
548
406
  artifact_intent: string;
549
407
  question_targets: string[];
550
408
  template_id?: string | undefined;
551
- knowledge_dependencies?: {
552
- required: boolean;
553
- artifact_ref: string;
554
- section_refs: string[];
555
- }[] | undefined;
556
409
  }[] | undefined;
557
410
  delivery_boundary?: boolean | undefined;
558
411
  ready_for_author?: boolean | undefined;
559
412
  }, {
560
- subject_key: {
561
- kind: string;
562
- namespace: string;
563
- protocol: "context.subject-key/v1";
564
- local_key: string;
565
- };
566
413
  label: string;
567
414
  reader_question_refs: string[];
568
415
  logical_unit_ref: string;
569
416
  group_key: string;
570
417
  member_ids: string[];
571
- subject_intent: "primary" | "enrich-or-independent";
572
418
  question_target_bindings: {
573
419
  role: "enricher" | "primary-carrier";
574
420
  target_ref: string;
@@ -584,21 +430,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
584
430
  articles?: {
585
431
  title: string;
586
432
  key: string;
587
- required: boolean;
588
433
  sections: {
589
434
  key: string;
590
435
  required: boolean;
591
436
  heading: string;
592
437
  }[];
438
+ required: boolean;
593
439
  reader_task: string;
594
440
  artifact_intent: string;
595
441
  template_id?: string | undefined;
596
442
  question_targets?: string[] | undefined;
597
- knowledge_dependencies?: {
598
- artifact_ref: string;
599
- required?: boolean | undefined;
600
- section_refs?: string[] | undefined;
601
- }[] | undefined;
602
443
  }[] | undefined;
603
444
  delivery_boundary?: boolean | undefined;
604
445
  ready_for_author?: boolean | undefined;
@@ -657,16 +498,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
657
498
  failure: null;
658
499
  binding: {
659
500
  module_ref: string | null;
660
- requirement_digest: string;
661
501
  indexer_id: string;
662
502
  inventory_digest: string;
663
- subject_key_schema_digest: string;
664
- partition_subject_key: {
665
- kind: string;
666
- namespace: string;
667
- protocol: "context.subject-key/v1";
668
- local_key: string;
669
- };
503
+ requirement_digest: string;
670
504
  source_scope_digest: string;
671
505
  question_target_inventory_digest: string;
672
506
  partition_workset_digest: string;
@@ -688,18 +522,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
688
522
  unit_type: string;
689
523
  partition_axis: string;
690
524
  groups: {
691
- subject_key: {
692
- kind: string;
693
- namespace: string;
694
- protocol: "context.subject-key/v1";
695
- local_key: string;
696
- };
697
525
  label: string;
698
526
  reader_question_refs: string[];
699
527
  logical_unit_ref: string;
700
528
  group_key: string;
701
529
  member_ids: string[];
702
- subject_intent: "primary" | "enrich-or-independent";
703
530
  question_target_bindings: {
704
531
  role: "enricher" | "primary-carrier";
705
532
  target_ref: string;
@@ -715,21 +542,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
715
542
  articles?: {
716
543
  title: string;
717
544
  key: string;
718
- required: boolean;
719
545
  sections: {
720
546
  key: string;
721
547
  required: boolean;
722
548
  heading: string;
723
549
  }[];
550
+ required: boolean;
724
551
  reader_task: string;
725
552
  artifact_intent: string;
726
553
  question_targets: string[];
727
554
  template_id?: string | undefined;
728
- knowledge_dependencies?: {
729
- required: boolean;
730
- artifact_ref: string;
731
- section_refs: string[];
732
- }[] | undefined;
733
555
  }[] | undefined;
734
556
  delivery_boundary?: boolean | undefined;
735
557
  ready_for_author?: boolean | undefined;
@@ -758,16 +580,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
758
580
  failure: null;
759
581
  binding: {
760
582
  module_ref: string | null;
761
- requirement_digest: string;
762
583
  indexer_id: string;
763
584
  inventory_digest: string;
764
- subject_key_schema_digest: string;
765
- partition_subject_key: {
766
- kind: string;
767
- namespace: string;
768
- protocol: "context.subject-key/v1";
769
- local_key: string;
770
- };
585
+ requirement_digest: string;
771
586
  source_scope_digest: string;
772
587
  question_target_inventory_digest: string;
773
588
  partition_workset_digest: string;
@@ -789,18 +604,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
789
604
  unit_type: string;
790
605
  partition_axis: string;
791
606
  groups: {
792
- subject_key: {
793
- kind: string;
794
- namespace: string;
795
- protocol: "context.subject-key/v1";
796
- local_key: string;
797
- };
798
607
  label: string;
799
608
  reader_question_refs: string[];
800
609
  logical_unit_ref: string;
801
610
  group_key: string;
802
611
  member_ids: string[];
803
- subject_intent: "primary" | "enrich-or-independent";
804
612
  question_target_bindings: {
805
613
  role: "enricher" | "primary-carrier";
806
614
  target_ref: string;
@@ -816,21 +624,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
816
624
  articles?: {
817
625
  title: string;
818
626
  key: string;
819
- required: boolean;
820
627
  sections: {
821
628
  key: string;
822
629
  required: boolean;
823
630
  heading: string;
824
631
  }[];
632
+ required: boolean;
825
633
  reader_task: string;
826
634
  artifact_intent: string;
827
635
  template_id?: string | undefined;
828
636
  question_targets?: string[] | undefined;
829
- knowledge_dependencies?: {
830
- artifact_ref: string;
831
- required?: boolean | undefined;
832
- section_refs?: string[] | undefined;
833
- }[] | undefined;
834
637
  }[] | undefined;
835
638
  delivery_boundary?: boolean | undefined;
836
639
  ready_for_author?: boolean | undefined;
@@ -879,41 +682,17 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
879
682
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
880
683
  indexer_fingerprint: z.ZodString;
881
684
  requirement_digest: z.ZodString;
882
- subject_key_schema_digest: z.ZodString;
883
685
  source_scope_digest: z.ZodString;
884
686
  source_refs: z.ZodArray<z.ZodString, "many">;
885
687
  module_ref: z.ZodNullable<z.ZodString>;
886
- partition_subject_key: z.ZodObject<{
887
- protocol: z.ZodLiteral<"context.subject-key/v1">;
888
- namespace: z.ZodEffects<z.ZodString, string, string>;
889
- kind: z.ZodEffects<z.ZodString, string, string>;
890
- local_key: z.ZodEffects<z.ZodString, string, string>;
891
- }, "strict", z.ZodTypeAny, {
892
- kind: string;
893
- namespace: string;
894
- protocol: "context.subject-key/v1";
895
- local_key: string;
896
- }, {
897
- kind: string;
898
- namespace: string;
899
- protocol: "context.subject-key/v1";
900
- local_key: string;
901
- }>;
902
688
  parent_scope_ref: z.ZodString;
903
689
  inventory_digest: z.ZodString;
904
690
  question_target_inventory_digest: z.ZodString;
905
691
  }, "strict", z.ZodTypeAny, {
906
692
  module_ref: string | null;
907
- requirement_digest: string;
908
693
  indexer_id: string;
909
694
  inventory_digest: string;
910
- subject_key_schema_digest: string;
911
- partition_subject_key: {
912
- kind: string;
913
- namespace: string;
914
- protocol: "context.subject-key/v1";
915
- local_key: string;
916
- };
695
+ requirement_digest: string;
917
696
  source_scope_digest: string;
918
697
  question_target_inventory_digest: string;
919
698
  partition_workset_digest: string;
@@ -922,16 +701,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
922
701
  parent_scope_ref: string;
923
702
  }, {
924
703
  module_ref: string | null;
925
- requirement_digest: string;
926
704
  indexer_id: string;
927
705
  inventory_digest: string;
928
- subject_key_schema_digest: string;
929
- partition_subject_key: {
930
- kind: string;
931
- namespace: string;
932
- protocol: "context.subject-key/v1";
933
- local_key: string;
934
- };
706
+ requirement_digest: string;
935
707
  source_scope_digest: string;
936
708
  question_target_inventory_digest: string;
937
709
  partition_workset_digest: string;
@@ -973,23 +745,6 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
973
745
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
974
746
  groups: z.ZodArray<z.ZodObject<{
975
747
  group_key: z.ZodString;
976
- subject_key: z.ZodObject<{
977
- protocol: z.ZodLiteral<"context.subject-key/v1">;
978
- namespace: z.ZodEffects<z.ZodString, string, string>;
979
- kind: z.ZodEffects<z.ZodString, string, string>;
980
- local_key: z.ZodEffects<z.ZodString, string, string>;
981
- }, "strict", z.ZodTypeAny, {
982
- kind: string;
983
- namespace: string;
984
- protocol: "context.subject-key/v1";
985
- local_key: string;
986
- }, {
987
- kind: string;
988
- namespace: string;
989
- protocol: "context.subject-key/v1";
990
- local_key: string;
991
- }>;
992
- subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
993
748
  logical_unit_ref: z.ZodString;
994
749
  label: z.ZodString;
995
750
  scope_change: z.ZodOptional<z.ZodObject<{
@@ -1024,55 +779,32 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1024
779
  heading: string;
1025
780
  }>, "many">;
1026
781
  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
782
  }, "strict", z.ZodTypeAny, {
1041
783
  title: string;
1042
784
  key: string;
1043
- required: boolean;
1044
785
  sections: {
1045
786
  key: string;
1046
787
  required: boolean;
1047
788
  heading: string;
1048
789
  }[];
790
+ required: boolean;
1049
791
  reader_task: string;
1050
792
  artifact_intent: string;
1051
793
  question_targets: string[];
1052
794
  template_id?: string | undefined;
1053
- knowledge_dependencies?: {
1054
- required: boolean;
1055
- artifact_ref: string;
1056
- section_refs: string[];
1057
- }[] | undefined;
1058
795
  }, {
1059
796
  title: string;
1060
797
  key: string;
1061
- required: boolean;
1062
798
  sections: {
1063
799
  key: string;
1064
800
  required: boolean;
1065
801
  heading: string;
1066
802
  }[];
803
+ required: boolean;
1067
804
  reader_task: string;
1068
805
  artifact_intent: string;
1069
806
  template_id?: string | undefined;
1070
807
  question_targets?: string[] | undefined;
1071
- knowledge_dependencies?: {
1072
- artifact_ref: string;
1073
- required?: boolean | undefined;
1074
- section_refs?: string[] | undefined;
1075
- }[] | undefined;
1076
808
  }>, "many">>;
1077
809
  priority: z.ZodOptional<z.ZodNumber>;
1078
810
  delivery_boundary: z.ZodOptional<z.ZodBoolean>;
@@ -1090,18 +822,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1090
822
  }>, "many">;
1091
823
  member_ids: z.ZodArray<z.ZodString, "many">;
1092
824
  }, "strict", z.ZodTypeAny, {
1093
- subject_key: {
1094
- kind: string;
1095
- namespace: string;
1096
- protocol: "context.subject-key/v1";
1097
- local_key: string;
1098
- };
1099
825
  label: string;
1100
826
  reader_question_refs: string[];
1101
827
  logical_unit_ref: string;
1102
828
  group_key: string;
1103
829
  member_ids: string[];
1104
- subject_intent: "primary" | "enrich-or-independent";
1105
830
  question_target_bindings: {
1106
831
  role: "enricher" | "primary-carrier";
1107
832
  target_ref: string;
@@ -1117,37 +842,25 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1117
842
  articles?: {
1118
843
  title: string;
1119
844
  key: string;
1120
- required: boolean;
1121
845
  sections: {
1122
846
  key: string;
1123
847
  required: boolean;
1124
848
  heading: string;
1125
849
  }[];
850
+ required: boolean;
1126
851
  reader_task: string;
1127
852
  artifact_intent: string;
1128
853
  question_targets: string[];
1129
854
  template_id?: string | undefined;
1130
- knowledge_dependencies?: {
1131
- required: boolean;
1132
- artifact_ref: string;
1133
- section_refs: string[];
1134
- }[] | undefined;
1135
855
  }[] | undefined;
1136
856
  delivery_boundary?: boolean | undefined;
1137
857
  ready_for_author?: boolean | undefined;
1138
858
  }, {
1139
- subject_key: {
1140
- kind: string;
1141
- namespace: string;
1142
- protocol: "context.subject-key/v1";
1143
- local_key: string;
1144
- };
1145
859
  label: string;
1146
860
  reader_question_refs: string[];
1147
861
  logical_unit_ref: string;
1148
862
  group_key: string;
1149
863
  member_ids: string[];
1150
- subject_intent: "primary" | "enrich-or-independent";
1151
864
  question_target_bindings: {
1152
865
  role: "enricher" | "primary-carrier";
1153
866
  target_ref: string;
@@ -1163,21 +876,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1163
876
  articles?: {
1164
877
  title: string;
1165
878
  key: string;
1166
- required: boolean;
1167
879
  sections: {
1168
880
  key: string;
1169
881
  required: boolean;
1170
882
  heading: string;
1171
883
  }[];
884
+ required: boolean;
1172
885
  reader_task: string;
1173
886
  artifact_intent: string;
1174
887
  template_id?: string | undefined;
1175
888
  question_targets?: string[] | undefined;
1176
- knowledge_dependencies?: {
1177
- artifact_ref: string;
1178
- required?: boolean | undefined;
1179
- section_refs?: string[] | undefined;
1180
- }[] | undefined;
1181
889
  }[] | undefined;
1182
890
  delivery_boundary?: boolean | undefined;
1183
891
  ready_for_author?: boolean | undefined;
@@ -1242,16 +950,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1242
950
  };
1243
951
  binding: {
1244
952
  module_ref: string | null;
1245
- requirement_digest: string;
1246
953
  indexer_id: string;
1247
954
  inventory_digest: string;
1248
- subject_key_schema_digest: string;
1249
- partition_subject_key: {
1250
- kind: string;
1251
- namespace: string;
1252
- protocol: "context.subject-key/v1";
1253
- local_key: string;
1254
- };
955
+ requirement_digest: string;
1255
956
  source_scope_digest: string;
1256
957
  question_target_inventory_digest: string;
1257
958
  partition_workset_digest: string;
@@ -1273,18 +974,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1273
974
  unit_type: string;
1274
975
  partition_axis: string;
1275
976
  groups: {
1276
- subject_key: {
1277
- kind: string;
1278
- namespace: string;
1279
- protocol: "context.subject-key/v1";
1280
- local_key: string;
1281
- };
1282
977
  label: string;
1283
978
  reader_question_refs: string[];
1284
979
  logical_unit_ref: string;
1285
980
  group_key: string;
1286
981
  member_ids: string[];
1287
- subject_intent: "primary" | "enrich-or-independent";
1288
982
  question_target_bindings: {
1289
983
  role: "enricher" | "primary-carrier";
1290
984
  target_ref: string;
@@ -1300,21 +994,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1300
994
  articles?: {
1301
995
  title: string;
1302
996
  key: string;
1303
- required: boolean;
1304
997
  sections: {
1305
998
  key: string;
1306
999
  required: boolean;
1307
1000
  heading: string;
1308
1001
  }[];
1002
+ required: boolean;
1309
1003
  reader_task: string;
1310
1004
  artifact_intent: string;
1311
1005
  question_targets: string[];
1312
1006
  template_id?: string | undefined;
1313
- knowledge_dependencies?: {
1314
- required: boolean;
1315
- artifact_ref: string;
1316
- section_refs: string[];
1317
- }[] | undefined;
1318
1007
  }[] | undefined;
1319
1008
  delivery_boundary?: boolean | undefined;
1320
1009
  ready_for_author?: boolean | undefined;
@@ -1349,16 +1038,9 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1349
1038
  };
1350
1039
  binding: {
1351
1040
  module_ref: string | null;
1352
- requirement_digest: string;
1353
1041
  indexer_id: string;
1354
1042
  inventory_digest: string;
1355
- subject_key_schema_digest: string;
1356
- partition_subject_key: {
1357
- kind: string;
1358
- namespace: string;
1359
- protocol: "context.subject-key/v1";
1360
- local_key: string;
1361
- };
1043
+ requirement_digest: string;
1362
1044
  source_scope_digest: string;
1363
1045
  question_target_inventory_digest: string;
1364
1046
  partition_workset_digest: string;
@@ -1380,18 +1062,11 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1380
1062
  unit_type: string;
1381
1063
  partition_axis: string;
1382
1064
  groups: {
1383
- subject_key: {
1384
- kind: string;
1385
- namespace: string;
1386
- protocol: "context.subject-key/v1";
1387
- local_key: string;
1388
- };
1389
1065
  label: string;
1390
1066
  reader_question_refs: string[];
1391
1067
  logical_unit_ref: string;
1392
1068
  group_key: string;
1393
1069
  member_ids: string[];
1394
- subject_intent: "primary" | "enrich-or-independent";
1395
1070
  question_target_bindings: {
1396
1071
  role: "enricher" | "primary-carrier";
1397
1072
  target_ref: string;
@@ -1407,21 +1082,16 @@ export declare const indexerPartitionPlanSchema: z.ZodUnion<[z.ZodObject<{
1407
1082
  articles?: {
1408
1083
  title: string;
1409
1084
  key: string;
1410
- required: boolean;
1411
1085
  sections: {
1412
1086
  key: string;
1413
1087
  required: boolean;
1414
1088
  heading: string;
1415
1089
  }[];
1090
+ required: boolean;
1416
1091
  reader_task: string;
1417
1092
  artifact_intent: string;
1418
1093
  template_id?: string | undefined;
1419
1094
  question_targets?: string[] | undefined;
1420
- knowledge_dependencies?: {
1421
- artifact_ref: string;
1422
- required?: boolean | undefined;
1423
- section_refs?: string[] | undefined;
1424
- }[] | undefined;
1425
1095
  }[] | undefined;
1426
1096
  delivery_boundary?: boolean | undefined;
1427
1097
  ready_for_author?: boolean | undefined;