@c4a/context 0.7.9 → 0.7.10-alpha.2

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 (78) hide show
  1. package/articleStructure.d.ts +254 -0
  2. package/docs/guides/agent-dialogue.md +1 -1
  3. package/docs/guides/code-indexer-skill-authoring.md +76 -178
  4. package/docs/guides/indexer-provider-and-customization.md +93 -453
  5. package/docs/guides/indexer-skill-creation.md +107 -97
  6. package/docs/guides/knowledge-updates.md +35 -14
  7. package/docs/guides/markdown-indexer-skill-authoring.md +57 -134
  8. package/docs/reference/indexer-provider-protocol.md +52 -102
  9. package/docs/reference/package-templates.md +39 -65
  10. package/docs/reference/template-variables.md +2 -3
  11. package/index.d.ts +6 -10
  12. package/index.js +6441 -8771
  13. package/indexerAgentStepProtocol.d.ts +0 -910
  14. package/indexerApprovedKnowledge.d.ts +98 -359
  15. package/indexerArticlePlan.d.ts +3 -26
  16. package/indexerArtifact.d.ts +201 -70
  17. package/indexerArtifactPolicy.d.ts +0 -18
  18. package/indexerArtifactResult.d.ts +240 -888
  19. package/indexerAuthoringFixture.d.ts +0 -13
  20. package/indexerBenchmark.d.ts +2 -2
  21. package/indexerCandidateCompile.d.ts +123 -167
  22. package/indexerCatalogFallback.d.ts +32 -374
  23. package/indexerCollectionMapping.d.ts +2 -2
  24. package/indexerContentLayers.d.ts +187 -41
  25. package/indexerContractOverlay.d.ts +30 -44
  26. package/indexerControlledInvocation.d.ts +6 -6
  27. package/indexerControlledProgram.d.ts +959 -3020
  28. package/indexerDependencyView.d.ts +96 -96
  29. package/indexerEffectiveArtifact.d.ts +381 -242
  30. package/indexerExampleDecision.d.ts +134 -134
  31. package/indexerExampleIdentity.d.ts +6 -6
  32. package/indexerExampleIdentityAudit.d.ts +6 -6
  33. package/indexerInventoryDisposition.d.ts +0 -39
  34. package/indexerLayerComposition.d.ts +1378 -852
  35. package/indexerLayoutChange.d.ts +24 -33
  36. package/indexerLayoutProposalSet.d.ts +143 -137
  37. package/indexerLayoutResolver.d.ts +116 -101
  38. package/indexerLayoutTransition.d.ts +6 -6
  39. package/indexerMainLifecycle.d.ts +1 -11
  40. package/indexerMainRunLedger.d.ts +0 -14
  41. package/indexerMainRunProtocol.d.ts +806 -2530
  42. package/indexerMainWorkset.d.ts +0 -1212
  43. package/indexerNavigationArtifactPlan.d.ts +2 -2
  44. package/indexerOverlayQuestionApplyProposal.d.ts +0 -4
  45. package/indexerParserCoordinate.d.ts +2 -2
  46. package/indexerParserExecutionPlan.d.ts +42 -42
  47. package/indexerPartitionPlan.d.ts +24 -354
  48. package/indexerPhysicalArtifactManifest.d.ts +12 -27
  49. package/indexerPostAuthorComposition.d.ts +2 -253
  50. package/indexerPostAuthorRunLedger.d.ts +860 -562
  51. package/indexerPrimaryProjection.d.ts +2 -2
  52. package/indexerPrimaryResultView.d.ts +0 -318
  53. package/indexerProfileContract.d.ts +200 -549
  54. package/indexerProgramExecutionAuthorization.d.ts +4 -4
  55. package/indexerProgramRunProtocol.d.ts +806 -2527
  56. package/indexerProjectProposal.d.ts +8 -8
  57. package/indexerProjectedArtifactFanOutAudit.d.ts +8 -8
  58. package/indexerProjectedArtifactPlan.d.ts +0 -9
  59. package/indexerProvider.d.ts +46 -288
  60. package/indexerProviderComposition.d.ts +16 -42
  61. package/indexerQuestionAuthority.d.ts +2 -82
  62. package/indexerReaderTargetInventory.d.ts +6 -6
  63. package/indexerRequirementLifecycle.d.ts +6 -6
  64. package/indexerResultReconciliation.d.ts +35 -149
  65. package/indexerSemanticInput.d.ts +10642 -4685
  66. package/indexerStructuredDeclaration.d.ts +24 -24
  67. package/indexerTemplateRendering.d.ts +239 -113
  68. package/knowledgeMap.d.ts +5 -5
  69. package/package.json +1 -1
  70. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +13 -16
  71. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +9 -9
  72. package/indexerArtifactDependencies.d.ts +0 -693
  73. package/indexerCompositionFactDependencies.d.ts +0 -16
  74. package/indexerExampleFactDependencies.d.ts +0 -17
  75. package/indexerIncrementalImpact.d.ts +0 -221
  76. package/indexerKnowledgeDependency.d.ts +0 -46
  77. package/indexerSubjectCatalog.d.ts +0 -230
  78. package/indexerSubjectKeyAuthority.d.ts +0 -786
@@ -16,41 +16,17 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
16
16
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
17
17
  indexer_fingerprint: z.ZodString;
18
18
  requirement_digest: z.ZodString;
19
- subject_key_schema_digest: z.ZodString;
20
19
  source_scope_digest: z.ZodString;
21
20
  source_refs: z.ZodArray<z.ZodString, "many">;
22
21
  module_ref: z.ZodNullable<z.ZodString>;
23
- partition_subject_key: z.ZodObject<{
24
- protocol: z.ZodLiteral<"context.subject-key/v1">;
25
- namespace: z.ZodEffects<z.ZodString, string, string>;
26
- kind: z.ZodEffects<z.ZodString, string, string>;
27
- local_key: z.ZodEffects<z.ZodString, string, string>;
28
- }, "strict", z.ZodTypeAny, {
29
- kind: string;
30
- namespace: string;
31
- protocol: "context.subject-key/v1";
32
- local_key: string;
33
- }, {
34
- kind: string;
35
- namespace: string;
36
- protocol: "context.subject-key/v1";
37
- local_key: string;
38
- }>;
39
22
  parent_scope_ref: z.ZodString;
40
23
  inventory_digest: z.ZodString;
41
24
  question_target_inventory_digest: z.ZodString;
42
25
  }, "strict", z.ZodTypeAny, {
43
26
  module_ref: string | null;
44
- requirement_digest: string;
45
27
  indexer_id: string;
46
28
  inventory_digest: string;
47
- subject_key_schema_digest: string;
48
- partition_subject_key: {
49
- kind: string;
50
- namespace: string;
51
- protocol: "context.subject-key/v1";
52
- local_key: string;
53
- };
29
+ requirement_digest: string;
54
30
  source_scope_digest: string;
55
31
  question_target_inventory_digest: string;
56
32
  partition_workset_digest: string;
@@ -59,16 +35,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
59
35
  parent_scope_ref: string;
60
36
  }, {
61
37
  module_ref: string | null;
62
- requirement_digest: string;
63
38
  indexer_id: string;
64
39
  inventory_digest: string;
65
- subject_key_schema_digest: string;
66
- partition_subject_key: {
67
- kind: string;
68
- namespace: string;
69
- protocol: "context.subject-key/v1";
70
- local_key: string;
71
- };
40
+ requirement_digest: string;
72
41
  source_scope_digest: string;
73
42
  question_target_inventory_digest: string;
74
43
  partition_workset_digest: string;
@@ -110,23 +79,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
110
79
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
111
80
  groups: z.ZodArray<z.ZodObject<{
112
81
  group_key: z.ZodString;
113
- subject_key: z.ZodObject<{
114
- protocol: z.ZodLiteral<"context.subject-key/v1">;
115
- namespace: z.ZodEffects<z.ZodString, string, string>;
116
- kind: z.ZodEffects<z.ZodString, string, string>;
117
- local_key: z.ZodEffects<z.ZodString, string, string>;
118
- }, "strict", z.ZodTypeAny, {
119
- kind: string;
120
- namespace: string;
121
- protocol: "context.subject-key/v1";
122
- local_key: string;
123
- }, {
124
- kind: string;
125
- namespace: string;
126
- protocol: "context.subject-key/v1";
127
- local_key: string;
128
- }>;
129
- subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
130
82
  logical_unit_ref: z.ZodString;
131
83
  label: z.ZodString;
132
84
  scope_change: z.ZodOptional<z.ZodObject<{
@@ -161,55 +113,32 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
161
113
  heading: string;
162
114
  }>, "many">;
163
115
  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
116
  }, "strict", z.ZodTypeAny, {
178
117
  title: string;
179
118
  key: string;
180
- required: boolean;
181
119
  sections: {
182
120
  key: string;
183
121
  required: boolean;
184
122
  heading: string;
185
123
  }[];
124
+ required: boolean;
186
125
  reader_task: string;
187
126
  artifact_intent: string;
188
127
  question_targets: string[];
189
128
  template_id?: string | undefined;
190
- knowledge_dependencies?: {
191
- required: boolean;
192
- artifact_ref: string;
193
- section_refs: string[];
194
- }[] | undefined;
195
129
  }, {
196
130
  title: string;
197
131
  key: string;
198
- required: boolean;
199
132
  sections: {
200
133
  key: string;
201
134
  required: boolean;
202
135
  heading: string;
203
136
  }[];
137
+ required: boolean;
204
138
  reader_task: string;
205
139
  artifact_intent: string;
206
140
  template_id?: string | undefined;
207
141
  question_targets?: string[] | undefined;
208
- knowledge_dependencies?: {
209
- artifact_ref: string;
210
- required?: boolean | undefined;
211
- section_refs?: string[] | undefined;
212
- }[] | undefined;
213
142
  }>, "many">>;
214
143
  priority: z.ZodOptional<z.ZodNumber>;
215
144
  delivery_boundary: z.ZodOptional<z.ZodBoolean>;
@@ -227,18 +156,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
227
156
  }>, "many">;
228
157
  member_ids: z.ZodArray<z.ZodString, "many">;
229
158
  }, "strict", z.ZodTypeAny, {
230
- subject_key: {
231
- kind: string;
232
- namespace: string;
233
- protocol: "context.subject-key/v1";
234
- local_key: string;
235
- };
236
159
  label: string;
237
160
  reader_question_refs: string[];
238
161
  logical_unit_ref: string;
239
162
  group_key: string;
240
163
  member_ids: string[];
241
- subject_intent: "primary" | "enrich-or-independent";
242
164
  question_target_bindings: {
243
165
  role: "enricher" | "primary-carrier";
244
166
  target_ref: string;
@@ -254,37 +176,25 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
254
176
  articles?: {
255
177
  title: string;
256
178
  key: string;
257
- required: boolean;
258
179
  sections: {
259
180
  key: string;
260
181
  required: boolean;
261
182
  heading: string;
262
183
  }[];
184
+ required: boolean;
263
185
  reader_task: string;
264
186
  artifact_intent: string;
265
187
  question_targets: string[];
266
188
  template_id?: string | undefined;
267
- knowledge_dependencies?: {
268
- required: boolean;
269
- artifact_ref: string;
270
- section_refs: string[];
271
- }[] | undefined;
272
189
  }[] | undefined;
273
190
  delivery_boundary?: boolean | undefined;
274
191
  ready_for_author?: boolean | undefined;
275
192
  }, {
276
- subject_key: {
277
- kind: string;
278
- namespace: string;
279
- protocol: "context.subject-key/v1";
280
- local_key: string;
281
- };
282
193
  label: string;
283
194
  reader_question_refs: string[];
284
195
  logical_unit_ref: string;
285
196
  group_key: string;
286
197
  member_ids: string[];
287
- subject_intent: "primary" | "enrich-or-independent";
288
198
  question_target_bindings: {
289
199
  role: "enricher" | "primary-carrier";
290
200
  target_ref: string;
@@ -300,21 +210,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
300
210
  articles?: {
301
211
  title: string;
302
212
  key: string;
303
- required: boolean;
304
213
  sections: {
305
214
  key: string;
306
215
  required: boolean;
307
216
  heading: string;
308
217
  }[];
218
+ required: boolean;
309
219
  reader_task: string;
310
220
  artifact_intent: string;
311
221
  template_id?: string | undefined;
312
222
  question_targets?: string[] | undefined;
313
- knowledge_dependencies?: {
314
- artifact_ref: string;
315
- required?: boolean | undefined;
316
- section_refs?: string[] | undefined;
317
- }[] | undefined;
318
223
  }[] | undefined;
319
224
  delivery_boundary?: boolean | undefined;
320
225
  ready_for_author?: boolean | undefined;
@@ -373,16 +278,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
373
278
  failure: null;
374
279
  binding: {
375
280
  module_ref: string | null;
376
- requirement_digest: string;
377
281
  indexer_id: string;
378
282
  inventory_digest: string;
379
- subject_key_schema_digest: string;
380
- partition_subject_key: {
381
- kind: string;
382
- namespace: string;
383
- protocol: "context.subject-key/v1";
384
- local_key: string;
385
- };
283
+ requirement_digest: string;
386
284
  source_scope_digest: string;
387
285
  question_target_inventory_digest: string;
388
286
  partition_workset_digest: string;
@@ -404,18 +302,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
404
302
  unit_type: string;
405
303
  partition_axis: string;
406
304
  groups: {
407
- subject_key: {
408
- kind: string;
409
- namespace: string;
410
- protocol: "context.subject-key/v1";
411
- local_key: string;
412
- };
413
305
  label: string;
414
306
  reader_question_refs: string[];
415
307
  logical_unit_ref: string;
416
308
  group_key: string;
417
309
  member_ids: string[];
418
- subject_intent: "primary" | "enrich-or-independent";
419
310
  question_target_bindings: {
420
311
  role: "enricher" | "primary-carrier";
421
312
  target_ref: string;
@@ -431,21 +322,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
431
322
  articles?: {
432
323
  title: string;
433
324
  key: string;
434
- required: boolean;
435
325
  sections: {
436
326
  key: string;
437
327
  required: boolean;
438
328
  heading: string;
439
329
  }[];
330
+ required: boolean;
440
331
  reader_task: string;
441
332
  artifact_intent: string;
442
333
  question_targets: string[];
443
334
  template_id?: string | undefined;
444
- knowledge_dependencies?: {
445
- required: boolean;
446
- artifact_ref: string;
447
- section_refs: string[];
448
- }[] | undefined;
449
335
  }[] | undefined;
450
336
  delivery_boundary?: boolean | undefined;
451
337
  ready_for_author?: boolean | undefined;
@@ -474,16 +360,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
474
360
  failure: null;
475
361
  binding: {
476
362
  module_ref: string | null;
477
- requirement_digest: string;
478
363
  indexer_id: string;
479
364
  inventory_digest: string;
480
- subject_key_schema_digest: string;
481
- partition_subject_key: {
482
- kind: string;
483
- namespace: string;
484
- protocol: "context.subject-key/v1";
485
- local_key: string;
486
- };
365
+ requirement_digest: string;
487
366
  source_scope_digest: string;
488
367
  question_target_inventory_digest: string;
489
368
  partition_workset_digest: string;
@@ -505,18 +384,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
505
384
  unit_type: string;
506
385
  partition_axis: string;
507
386
  groups: {
508
- subject_key: {
509
- kind: string;
510
- namespace: string;
511
- protocol: "context.subject-key/v1";
512
- local_key: string;
513
- };
514
387
  label: string;
515
388
  reader_question_refs: string[];
516
389
  logical_unit_ref: string;
517
390
  group_key: string;
518
391
  member_ids: string[];
519
- subject_intent: "primary" | "enrich-or-independent";
520
392
  question_target_bindings: {
521
393
  role: "enricher" | "primary-carrier";
522
394
  target_ref: string;
@@ -532,21 +404,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
532
404
  articles?: {
533
405
  title: string;
534
406
  key: string;
535
- required: boolean;
536
407
  sections: {
537
408
  key: string;
538
409
  required: boolean;
539
410
  heading: string;
540
411
  }[];
412
+ required: boolean;
541
413
  reader_task: string;
542
414
  artifact_intent: string;
543
415
  template_id?: string | undefined;
544
416
  question_targets?: string[] | undefined;
545
- knowledge_dependencies?: {
546
- artifact_ref: string;
547
- required?: boolean | undefined;
548
- section_refs?: string[] | undefined;
549
- }[] | undefined;
550
417
  }[] | undefined;
551
418
  delivery_boundary?: boolean | undefined;
552
419
  ready_for_author?: boolean | undefined;
@@ -595,41 +462,17 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
595
462
  indexer_id: z.ZodEffects<z.ZodString, string, string>;
596
463
  indexer_fingerprint: z.ZodString;
597
464
  requirement_digest: z.ZodString;
598
- subject_key_schema_digest: z.ZodString;
599
465
  source_scope_digest: z.ZodString;
600
466
  source_refs: z.ZodArray<z.ZodString, "many">;
601
467
  module_ref: z.ZodNullable<z.ZodString>;
602
- partition_subject_key: z.ZodObject<{
603
- protocol: z.ZodLiteral<"context.subject-key/v1">;
604
- namespace: z.ZodEffects<z.ZodString, string, string>;
605
- kind: z.ZodEffects<z.ZodString, string, string>;
606
- local_key: z.ZodEffects<z.ZodString, string, string>;
607
- }, "strict", z.ZodTypeAny, {
608
- kind: string;
609
- namespace: string;
610
- protocol: "context.subject-key/v1";
611
- local_key: string;
612
- }, {
613
- kind: string;
614
- namespace: string;
615
- protocol: "context.subject-key/v1";
616
- local_key: string;
617
- }>;
618
468
  parent_scope_ref: z.ZodString;
619
469
  inventory_digest: z.ZodString;
620
470
  question_target_inventory_digest: z.ZodString;
621
471
  }, "strict", z.ZodTypeAny, {
622
472
  module_ref: string | null;
623
- requirement_digest: string;
624
473
  indexer_id: string;
625
474
  inventory_digest: string;
626
- subject_key_schema_digest: string;
627
- partition_subject_key: {
628
- kind: string;
629
- namespace: string;
630
- protocol: "context.subject-key/v1";
631
- local_key: string;
632
- };
475
+ requirement_digest: string;
633
476
  source_scope_digest: string;
634
477
  question_target_inventory_digest: string;
635
478
  partition_workset_digest: string;
@@ -638,16 +481,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
638
481
  parent_scope_ref: string;
639
482
  }, {
640
483
  module_ref: string | null;
641
- requirement_digest: string;
642
484
  indexer_id: string;
643
485
  inventory_digest: string;
644
- subject_key_schema_digest: string;
645
- partition_subject_key: {
646
- kind: string;
647
- namespace: string;
648
- protocol: "context.subject-key/v1";
649
- local_key: string;
650
- };
486
+ requirement_digest: string;
651
487
  source_scope_digest: string;
652
488
  question_target_inventory_digest: string;
653
489
  partition_workset_digest: string;
@@ -689,23 +525,6 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
689
525
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
690
526
  groups: z.ZodArray<z.ZodObject<{
691
527
  group_key: z.ZodString;
692
- subject_key: z.ZodObject<{
693
- protocol: z.ZodLiteral<"context.subject-key/v1">;
694
- namespace: z.ZodEffects<z.ZodString, string, string>;
695
- kind: z.ZodEffects<z.ZodString, string, string>;
696
- local_key: z.ZodEffects<z.ZodString, string, string>;
697
- }, "strict", z.ZodTypeAny, {
698
- kind: string;
699
- namespace: string;
700
- protocol: "context.subject-key/v1";
701
- local_key: string;
702
- }, {
703
- kind: string;
704
- namespace: string;
705
- protocol: "context.subject-key/v1";
706
- local_key: string;
707
- }>;
708
- subject_intent: z.ZodEnum<["primary", "enrich-or-independent"]>;
709
528
  logical_unit_ref: z.ZodString;
710
529
  label: z.ZodString;
711
530
  scope_change: z.ZodOptional<z.ZodObject<{
@@ -740,55 +559,32 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
740
559
  heading: string;
741
560
  }>, "many">;
742
561
  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
562
  }, "strict", z.ZodTypeAny, {
757
563
  title: string;
758
564
  key: string;
759
- required: boolean;
760
565
  sections: {
761
566
  key: string;
762
567
  required: boolean;
763
568
  heading: string;
764
569
  }[];
570
+ required: boolean;
765
571
  reader_task: string;
766
572
  artifact_intent: string;
767
573
  question_targets: string[];
768
574
  template_id?: string | undefined;
769
- knowledge_dependencies?: {
770
- required: boolean;
771
- artifact_ref: string;
772
- section_refs: string[];
773
- }[] | undefined;
774
575
  }, {
775
576
  title: string;
776
577
  key: string;
777
- required: boolean;
778
578
  sections: {
779
579
  key: string;
780
580
  required: boolean;
781
581
  heading: string;
782
582
  }[];
583
+ required: boolean;
783
584
  reader_task: string;
784
585
  artifact_intent: string;
785
586
  template_id?: string | undefined;
786
587
  question_targets?: string[] | undefined;
787
- knowledge_dependencies?: {
788
- artifact_ref: string;
789
- required?: boolean | undefined;
790
- section_refs?: string[] | undefined;
791
- }[] | undefined;
792
588
  }>, "many">>;
793
589
  priority: z.ZodOptional<z.ZodNumber>;
794
590
  delivery_boundary: z.ZodOptional<z.ZodBoolean>;
@@ -806,18 +602,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
806
602
  }>, "many">;
807
603
  member_ids: z.ZodArray<z.ZodString, "many">;
808
604
  }, "strict", z.ZodTypeAny, {
809
- subject_key: {
810
- kind: string;
811
- namespace: string;
812
- protocol: "context.subject-key/v1";
813
- local_key: string;
814
- };
815
605
  label: string;
816
606
  reader_question_refs: string[];
817
607
  logical_unit_ref: string;
818
608
  group_key: string;
819
609
  member_ids: string[];
820
- subject_intent: "primary" | "enrich-or-independent";
821
610
  question_target_bindings: {
822
611
  role: "enricher" | "primary-carrier";
823
612
  target_ref: string;
@@ -833,37 +622,25 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
833
622
  articles?: {
834
623
  title: string;
835
624
  key: string;
836
- required: boolean;
837
625
  sections: {
838
626
  key: string;
839
627
  required: boolean;
840
628
  heading: string;
841
629
  }[];
630
+ required: boolean;
842
631
  reader_task: string;
843
632
  artifact_intent: string;
844
633
  question_targets: string[];
845
634
  template_id?: string | undefined;
846
- knowledge_dependencies?: {
847
- required: boolean;
848
- artifact_ref: string;
849
- section_refs: string[];
850
- }[] | undefined;
851
635
  }[] | undefined;
852
636
  delivery_boundary?: boolean | undefined;
853
637
  ready_for_author?: boolean | undefined;
854
638
  }, {
855
- subject_key: {
856
- kind: string;
857
- namespace: string;
858
- protocol: "context.subject-key/v1";
859
- local_key: string;
860
- };
861
639
  label: string;
862
640
  reader_question_refs: string[];
863
641
  logical_unit_ref: string;
864
642
  group_key: string;
865
643
  member_ids: string[];
866
- subject_intent: "primary" | "enrich-or-independent";
867
644
  question_target_bindings: {
868
645
  role: "enricher" | "primary-carrier";
869
646
  target_ref: string;
@@ -879,21 +656,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
879
656
  articles?: {
880
657
  title: string;
881
658
  key: string;
882
- required: boolean;
883
659
  sections: {
884
660
  key: string;
885
661
  required: boolean;
886
662
  heading: string;
887
663
  }[];
664
+ required: boolean;
888
665
  reader_task: string;
889
666
  artifact_intent: string;
890
667
  template_id?: string | undefined;
891
668
  question_targets?: string[] | undefined;
892
- knowledge_dependencies?: {
893
- artifact_ref: string;
894
- required?: boolean | undefined;
895
- section_refs?: string[] | undefined;
896
- }[] | undefined;
897
669
  }[] | undefined;
898
670
  delivery_boundary?: boolean | undefined;
899
671
  ready_for_author?: boolean | undefined;
@@ -958,16 +730,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
958
730
  };
959
731
  binding: {
960
732
  module_ref: string | null;
961
- requirement_digest: string;
962
733
  indexer_id: string;
963
734
  inventory_digest: string;
964
- subject_key_schema_digest: string;
965
- partition_subject_key: {
966
- kind: string;
967
- namespace: string;
968
- protocol: "context.subject-key/v1";
969
- local_key: string;
970
- };
735
+ requirement_digest: string;
971
736
  source_scope_digest: string;
972
737
  question_target_inventory_digest: string;
973
738
  partition_workset_digest: string;
@@ -989,18 +754,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
989
754
  unit_type: string;
990
755
  partition_axis: string;
991
756
  groups: {
992
- subject_key: {
993
- kind: string;
994
- namespace: string;
995
- protocol: "context.subject-key/v1";
996
- local_key: string;
997
- };
998
757
  label: string;
999
758
  reader_question_refs: string[];
1000
759
  logical_unit_ref: string;
1001
760
  group_key: string;
1002
761
  member_ids: string[];
1003
- subject_intent: "primary" | "enrich-or-independent";
1004
762
  question_target_bindings: {
1005
763
  role: "enricher" | "primary-carrier";
1006
764
  target_ref: string;
@@ -1016,21 +774,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1016
774
  articles?: {
1017
775
  title: string;
1018
776
  key: string;
1019
- required: boolean;
1020
777
  sections: {
1021
778
  key: string;
1022
779
  required: boolean;
1023
780
  heading: string;
1024
781
  }[];
782
+ required: boolean;
1025
783
  reader_task: string;
1026
784
  artifact_intent: string;
1027
785
  question_targets: string[];
1028
786
  template_id?: string | undefined;
1029
- knowledge_dependencies?: {
1030
- required: boolean;
1031
- artifact_ref: string;
1032
- section_refs: string[];
1033
- }[] | undefined;
1034
787
  }[] | undefined;
1035
788
  delivery_boundary?: boolean | undefined;
1036
789
  ready_for_author?: boolean | undefined;
@@ -1065,16 +818,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1065
818
  };
1066
819
  binding: {
1067
820
  module_ref: string | null;
1068
- requirement_digest: string;
1069
821
  indexer_id: string;
1070
822
  inventory_digest: string;
1071
- subject_key_schema_digest: string;
1072
- partition_subject_key: {
1073
- kind: string;
1074
- namespace: string;
1075
- protocol: "context.subject-key/v1";
1076
- local_key: string;
1077
- };
823
+ requirement_digest: string;
1078
824
  source_scope_digest: string;
1079
825
  question_target_inventory_digest: string;
1080
826
  partition_workset_digest: string;
@@ -1096,18 +842,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1096
842
  unit_type: string;
1097
843
  partition_axis: string;
1098
844
  groups: {
1099
- subject_key: {
1100
- kind: string;
1101
- namespace: string;
1102
- protocol: "context.subject-key/v1";
1103
- local_key: string;
1104
- };
1105
845
  label: string;
1106
846
  reader_question_refs: string[];
1107
847
  logical_unit_ref: string;
1108
848
  group_key: string;
1109
849
  member_ids: string[];
1110
- subject_intent: "primary" | "enrich-or-independent";
1111
850
  question_target_bindings: {
1112
851
  role: "enricher" | "primary-carrier";
1113
852
  target_ref: string;
@@ -1123,21 +862,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1123
862
  articles?: {
1124
863
  title: string;
1125
864
  key: string;
1126
- required: boolean;
1127
865
  sections: {
1128
866
  key: string;
1129
867
  required: boolean;
1130
868
  heading: string;
1131
869
  }[];
870
+ required: boolean;
1132
871
  reader_task: string;
1133
872
  artifact_intent: string;
1134
873
  template_id?: string | undefined;
1135
874
  question_targets?: string[] | undefined;
1136
- knowledge_dependencies?: {
1137
- artifact_ref: string;
1138
- required?: boolean | undefined;
1139
- section_refs?: string[] | undefined;
1140
- }[] | undefined;
1141
875
  }[] | undefined;
1142
876
  delivery_boundary?: boolean | undefined;
1143
877
  ready_for_author?: boolean | undefined;
@@ -1166,15 +900,15 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1166
900
  member_ids: z.ZodArray<z.ZodString, "many">;
1167
901
  member_ids_digest: z.ZodString;
1168
902
  }, "strict", z.ZodTypeAny, {
1169
- renderer: "context.indexer.deterministic-catalog/v1";
1170
903
  logical_unit_ref: string;
1171
904
  member_ids_digest: string;
1172
905
  member_ids: string[];
1173
- }, {
1174
906
  renderer: "context.indexer.deterministic-catalog/v1";
907
+ }, {
1175
908
  logical_unit_ref: string;
1176
909
  member_ids_digest: string;
1177
910
  member_ids: string[];
911
+ renderer: "context.indexer.deterministic-catalog/v1";
1178
912
  }>;
1179
913
  continuation_policy: z.ZodObject<{
1180
914
  advisory_line_threshold: z.ZodLiteral<1500>;
@@ -1213,16 +947,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1213
947
  failure: null;
1214
948
  binding: {
1215
949
  module_ref: string | null;
1216
- requirement_digest: string;
1217
950
  indexer_id: string;
1218
951
  inventory_digest: string;
1219
- subject_key_schema_digest: string;
1220
- partition_subject_key: {
1221
- kind: string;
1222
- namespace: string;
1223
- protocol: "context.subject-key/v1";
1224
- local_key: string;
1225
- };
952
+ requirement_digest: string;
1226
953
  source_scope_digest: string;
1227
954
  question_target_inventory_digest: string;
1228
955
  partition_workset_digest: string;
@@ -1244,18 +971,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1244
971
  unit_type: string;
1245
972
  partition_axis: string;
1246
973
  groups: {
1247
- subject_key: {
1248
- kind: string;
1249
- namespace: string;
1250
- protocol: "context.subject-key/v1";
1251
- local_key: string;
1252
- };
1253
974
  label: string;
1254
975
  reader_question_refs: string[];
1255
976
  logical_unit_ref: string;
1256
977
  group_key: string;
1257
978
  member_ids: string[];
1258
- subject_intent: "primary" | "enrich-or-independent";
1259
979
  question_target_bindings: {
1260
980
  role: "enricher" | "primary-carrier";
1261
981
  target_ref: string;
@@ -1271,21 +991,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1271
991
  articles?: {
1272
992
  title: string;
1273
993
  key: string;
1274
- required: boolean;
1275
994
  sections: {
1276
995
  key: string;
1277
996
  required: boolean;
1278
997
  heading: string;
1279
998
  }[];
999
+ required: boolean;
1280
1000
  reader_task: string;
1281
1001
  artifact_intent: string;
1282
1002
  question_targets: string[];
1283
1003
  template_id?: string | undefined;
1284
- knowledge_dependencies?: {
1285
- required: boolean;
1286
- artifact_ref: string;
1287
- section_refs: string[];
1288
- }[] | undefined;
1289
1004
  }[] | undefined;
1290
1005
  delivery_boundary?: boolean | undefined;
1291
1006
  ready_for_author?: boolean | undefined;
@@ -1320,16 +1035,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1320
1035
  };
1321
1036
  binding: {
1322
1037
  module_ref: string | null;
1323
- requirement_digest: string;
1324
1038
  indexer_id: string;
1325
1039
  inventory_digest: string;
1326
- subject_key_schema_digest: string;
1327
- partition_subject_key: {
1328
- kind: string;
1329
- namespace: string;
1330
- protocol: "context.subject-key/v1";
1331
- local_key: string;
1332
- };
1040
+ requirement_digest: string;
1333
1041
  source_scope_digest: string;
1334
1042
  question_target_inventory_digest: string;
1335
1043
  partition_workset_digest: string;
@@ -1351,18 +1059,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1351
1059
  unit_type: string;
1352
1060
  partition_axis: string;
1353
1061
  groups: {
1354
- subject_key: {
1355
- kind: string;
1356
- namespace: string;
1357
- protocol: "context.subject-key/v1";
1358
- local_key: string;
1359
- };
1360
1062
  label: string;
1361
1063
  reader_question_refs: string[];
1362
1064
  logical_unit_ref: string;
1363
1065
  group_key: string;
1364
1066
  member_ids: string[];
1365
- subject_intent: "primary" | "enrich-or-independent";
1366
1067
  question_target_bindings: {
1367
1068
  role: "enricher" | "primary-carrier";
1368
1069
  target_ref: string;
@@ -1378,21 +1079,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1378
1079
  articles?: {
1379
1080
  title: string;
1380
1081
  key: string;
1381
- required: boolean;
1382
1082
  sections: {
1383
1083
  key: string;
1384
1084
  required: boolean;
1385
1085
  heading: string;
1386
1086
  }[];
1087
+ required: boolean;
1387
1088
  reader_task: string;
1388
1089
  artifact_intent: string;
1389
1090
  question_targets: string[];
1390
1091
  template_id?: string | undefined;
1391
- knowledge_dependencies?: {
1392
- required: boolean;
1393
- artifact_ref: string;
1394
- section_refs: string[];
1395
- }[] | undefined;
1396
1092
  }[] | undefined;
1397
1093
  delivery_boundary?: boolean | undefined;
1398
1094
  ready_for_author?: boolean | undefined;
@@ -1416,10 +1112,10 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1416
1112
  canonical_hash: string;
1417
1113
  };
1418
1114
  catalog_block: {
1419
- renderer: "context.indexer.deterministic-catalog/v1";
1420
1115
  logical_unit_ref: string;
1421
1116
  member_ids_digest: string;
1422
1117
  member_ids: string[];
1118
+ renderer: "context.indexer.deterministic-catalog/v1";
1423
1119
  };
1424
1120
  continuation_policy: {
1425
1121
  split_of: string;
@@ -1443,16 +1139,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1443
1139
  failure: null;
1444
1140
  binding: {
1445
1141
  module_ref: string | null;
1446
- requirement_digest: string;
1447
1142
  indexer_id: string;
1448
1143
  inventory_digest: string;
1449
- subject_key_schema_digest: string;
1450
- partition_subject_key: {
1451
- kind: string;
1452
- namespace: string;
1453
- protocol: "context.subject-key/v1";
1454
- local_key: string;
1455
- };
1144
+ requirement_digest: string;
1456
1145
  source_scope_digest: string;
1457
1146
  question_target_inventory_digest: string;
1458
1147
  partition_workset_digest: string;
@@ -1474,18 +1163,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1474
1163
  unit_type: string;
1475
1164
  partition_axis: string;
1476
1165
  groups: {
1477
- subject_key: {
1478
- kind: string;
1479
- namespace: string;
1480
- protocol: "context.subject-key/v1";
1481
- local_key: string;
1482
- };
1483
1166
  label: string;
1484
1167
  reader_question_refs: string[];
1485
1168
  logical_unit_ref: string;
1486
1169
  group_key: string;
1487
1170
  member_ids: string[];
1488
- subject_intent: "primary" | "enrich-or-independent";
1489
1171
  question_target_bindings: {
1490
1172
  role: "enricher" | "primary-carrier";
1491
1173
  target_ref: string;
@@ -1501,21 +1183,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1501
1183
  articles?: {
1502
1184
  title: string;
1503
1185
  key: string;
1504
- required: boolean;
1505
1186
  sections: {
1506
1187
  key: string;
1507
1188
  required: boolean;
1508
1189
  heading: string;
1509
1190
  }[];
1191
+ required: boolean;
1510
1192
  reader_task: string;
1511
1193
  artifact_intent: string;
1512
1194
  template_id?: string | undefined;
1513
1195
  question_targets?: string[] | undefined;
1514
- knowledge_dependencies?: {
1515
- artifact_ref: string;
1516
- required?: boolean | undefined;
1517
- section_refs?: string[] | undefined;
1518
- }[] | undefined;
1519
1196
  }[] | undefined;
1520
1197
  delivery_boundary?: boolean | undefined;
1521
1198
  ready_for_author?: boolean | undefined;
@@ -1550,16 +1227,9 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1550
1227
  };
1551
1228
  binding: {
1552
1229
  module_ref: string | null;
1553
- requirement_digest: string;
1554
1230
  indexer_id: string;
1555
1231
  inventory_digest: string;
1556
- subject_key_schema_digest: string;
1557
- partition_subject_key: {
1558
- kind: string;
1559
- namespace: string;
1560
- protocol: "context.subject-key/v1";
1561
- local_key: string;
1562
- };
1232
+ requirement_digest: string;
1563
1233
  source_scope_digest: string;
1564
1234
  question_target_inventory_digest: string;
1565
1235
  partition_workset_digest: string;
@@ -1581,18 +1251,11 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1581
1251
  unit_type: string;
1582
1252
  partition_axis: string;
1583
1253
  groups: {
1584
- subject_key: {
1585
- kind: string;
1586
- namespace: string;
1587
- protocol: "context.subject-key/v1";
1588
- local_key: string;
1589
- };
1590
1254
  label: string;
1591
1255
  reader_question_refs: string[];
1592
1256
  logical_unit_ref: string;
1593
1257
  group_key: string;
1594
1258
  member_ids: string[];
1595
- subject_intent: "primary" | "enrich-or-independent";
1596
1259
  question_target_bindings: {
1597
1260
  role: "enricher" | "primary-carrier";
1598
1261
  target_ref: string;
@@ -1608,21 +1271,16 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1608
1271
  articles?: {
1609
1272
  title: string;
1610
1273
  key: string;
1611
- required: boolean;
1612
1274
  sections: {
1613
1275
  key: string;
1614
1276
  required: boolean;
1615
1277
  heading: string;
1616
1278
  }[];
1279
+ required: boolean;
1617
1280
  reader_task: string;
1618
1281
  artifact_intent: string;
1619
1282
  template_id?: string | undefined;
1620
1283
  question_targets?: string[] | undefined;
1621
- knowledge_dependencies?: {
1622
- artifact_ref: string;
1623
- required?: boolean | undefined;
1624
- section_refs?: string[] | undefined;
1625
- }[] | undefined;
1626
1284
  }[] | undefined;
1627
1285
  delivery_boundary?: boolean | undefined;
1628
1286
  ready_for_author?: boolean | undefined;
@@ -1646,10 +1304,10 @@ export declare const indexerCatalogFallbackRecordSchema: z.ZodObject<{
1646
1304
  canonical_hash: string;
1647
1305
  };
1648
1306
  catalog_block: {
1649
- renderer: "context.indexer.deterministic-catalog/v1";
1650
1307
  logical_unit_ref: string;
1651
1308
  member_ids_digest: string;
1652
1309
  member_ids: string[];
1310
+ renderer: "context.indexer.deterministic-catalog/v1";
1653
1311
  };
1654
1312
  continuation_policy: {
1655
1313
  split_of: string;