@c4a/context 0.7.9 → 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 (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
@@ -1,181 +1,4 @@
1
1
  import { z } from "zod";
2
- export declare const indexerTargetResolutionViewSchema: z.ZodEffects<z.ZodObject<{
3
- protocol: z.ZodLiteral<"context.indexer.target-resolution-view/v1">;
4
- view_digest: z.ZodString;
5
- requirement_ref: z.ZodString;
6
- subject_key_schema_digest: z.ZodString;
7
- query_digest: z.ZodString;
8
- entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9
- query_ref: z.ZodString;
10
- state: z.ZodLiteral<"resolved">;
11
- subject_key: z.ZodObject<{
12
- protocol: z.ZodLiteral<"context.subject-key/v1">;
13
- namespace: z.ZodEffects<z.ZodString, string, string>;
14
- kind: z.ZodEffects<z.ZodString, string, string>;
15
- local_key: z.ZodEffects<z.ZodString, string, string>;
16
- }, "strict", z.ZodTypeAny, {
17
- kind: string;
18
- namespace: string;
19
- protocol: "context.subject-key/v1";
20
- local_key: string;
21
- }, {
22
- kind: string;
23
- namespace: string;
24
- protocol: "context.subject-key/v1";
25
- local_key: string;
26
- }>;
27
- node_ref: z.ZodString;
28
- }, "strict", z.ZodTypeAny, {
29
- subject_key: {
30
- kind: string;
31
- namespace: string;
32
- protocol: "context.subject-key/v1";
33
- local_key: string;
34
- };
35
- state: "resolved";
36
- query_ref: string;
37
- node_ref: string;
38
- }, {
39
- subject_key: {
40
- kind: string;
41
- namespace: string;
42
- protocol: "context.subject-key/v1";
43
- local_key: string;
44
- };
45
- state: "resolved";
46
- query_ref: string;
47
- node_ref: string;
48
- }>, z.ZodObject<{
49
- query_ref: z.ZodString;
50
- state: z.ZodLiteral<"absent">;
51
- }, "strict", z.ZodTypeAny, {
52
- state: "absent";
53
- query_ref: string;
54
- }, {
55
- state: "absent";
56
- query_ref: string;
57
- }>, z.ZodEffects<z.ZodObject<{
58
- query_ref: z.ZodString;
59
- state: z.ZodLiteral<"ambiguous">;
60
- conflicting_node_refs: z.ZodArray<z.ZodString, "many">;
61
- }, "strict", z.ZodTypeAny, {
62
- state: "ambiguous";
63
- query_ref: string;
64
- conflicting_node_refs: string[];
65
- }, {
66
- state: "ambiguous";
67
- query_ref: string;
68
- conflicting_node_refs: string[];
69
- }>, {
70
- state: "ambiguous";
71
- query_ref: string;
72
- conflicting_node_refs: string[];
73
- }, {
74
- state: "ambiguous";
75
- query_ref: string;
76
- conflicting_node_refs: string[];
77
- }>]>, "many">;
78
- }, "strict", z.ZodTypeAny, {
79
- entries: ({
80
- subject_key: {
81
- kind: string;
82
- namespace: string;
83
- protocol: "context.subject-key/v1";
84
- local_key: string;
85
- };
86
- state: "resolved";
87
- query_ref: string;
88
- node_ref: string;
89
- } | {
90
- state: "absent";
91
- query_ref: string;
92
- } | {
93
- state: "ambiguous";
94
- query_ref: string;
95
- conflicting_node_refs: string[];
96
- })[];
97
- protocol: "context.indexer.target-resolution-view/v1";
98
- requirement_ref: string;
99
- view_digest: string;
100
- subject_key_schema_digest: string;
101
- query_digest: string;
102
- }, {
103
- entries: ({
104
- subject_key: {
105
- kind: string;
106
- namespace: string;
107
- protocol: "context.subject-key/v1";
108
- local_key: string;
109
- };
110
- state: "resolved";
111
- query_ref: string;
112
- node_ref: string;
113
- } | {
114
- state: "absent";
115
- query_ref: string;
116
- } | {
117
- state: "ambiguous";
118
- query_ref: string;
119
- conflicting_node_refs: string[];
120
- })[];
121
- protocol: "context.indexer.target-resolution-view/v1";
122
- requirement_ref: string;
123
- view_digest: string;
124
- subject_key_schema_digest: string;
125
- query_digest: string;
126
- }>, {
127
- entries: ({
128
- subject_key: {
129
- kind: string;
130
- namespace: string;
131
- protocol: "context.subject-key/v1";
132
- local_key: string;
133
- };
134
- state: "resolved";
135
- query_ref: string;
136
- node_ref: string;
137
- } | {
138
- state: "absent";
139
- query_ref: string;
140
- } | {
141
- state: "ambiguous";
142
- query_ref: string;
143
- conflicting_node_refs: string[];
144
- })[];
145
- protocol: "context.indexer.target-resolution-view/v1";
146
- requirement_ref: string;
147
- view_digest: string;
148
- subject_key_schema_digest: string;
149
- query_digest: string;
150
- }, {
151
- entries: ({
152
- subject_key: {
153
- kind: string;
154
- namespace: string;
155
- protocol: "context.subject-key/v1";
156
- local_key: string;
157
- };
158
- state: "resolved";
159
- query_ref: string;
160
- node_ref: string;
161
- } | {
162
- state: "absent";
163
- query_ref: string;
164
- } | {
165
- state: "ambiguous";
166
- query_ref: string;
167
- conflicting_node_refs: string[];
168
- })[];
169
- protocol: "context.indexer.target-resolution-view/v1";
170
- requirement_ref: string;
171
- view_digest: string;
172
- subject_key_schema_digest: string;
173
- query_digest: string;
174
- }>;
175
- export type IndexerTargetResolutionView = z.infer<typeof indexerTargetResolutionViewSchema>;
176
- export declare function indexerTargetResolutionViewDigest(value: Omit<IndexerTargetResolutionView, "view_digest">): string;
177
- export declare function buildIndexerTargetResolutionView(input: Omit<IndexerTargetResolutionView, "protocol" | "view_digest">): IndexerTargetResolutionView;
178
- export declare function validateIndexerTargetResolutionView(value: unknown): IndexerTargetResolutionView;
179
2
  export declare const indexerRepairIntentSchema: z.ZodObject<{
180
3
  target_ref: z.ZodString;
181
4
  instruction: z.ZodString;
@@ -202,22 +25,6 @@ export declare function buildIndexerRepairIntent(input: {
202
25
  export declare function validateIndexerRepairIntent(value: unknown): IndexerRepairIntent;
203
26
  declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
204
27
  stage: z.ZodLiteral<"partition">;
205
- partition_subject_key: z.ZodObject<{
206
- protocol: z.ZodLiteral<"context.subject-key/v1">;
207
- namespace: z.ZodEffects<z.ZodString, string, string>;
208
- kind: z.ZodEffects<z.ZodString, string, string>;
209
- local_key: z.ZodEffects<z.ZodString, string, string>;
210
- }, "strict", z.ZodTypeAny, {
211
- kind: string;
212
- namespace: string;
213
- protocol: "context.subject-key/v1";
214
- local_key: string;
215
- }, {
216
- kind: string;
217
- namespace: string;
218
- protocol: "context.subject-key/v1";
219
- local_key: string;
220
- }>;
221
28
  strategy_set_digest: z.ZodString;
222
29
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
223
30
  partition_input_digests: z.ZodArray<z.ZodString, "many">;
@@ -235,7 +42,6 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
235
42
  requirement_set_digest: z.ZodString;
236
43
  primary_execution_fingerprint: z.ZodString;
237
44
  profile_contract_digest: z.ZodString;
238
- subject_key_schema_digest: z.ZodString;
239
45
  source_scope_digest: z.ZodString;
240
46
  source_binding_digest: z.ZodString;
241
47
  primary_resource_binding_digest: z.ZodString;
@@ -267,14 +73,7 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
267
73
  indexer_id: string;
268
74
  profile_contract_digest: string;
269
75
  reader_question_refs: string[];
270
- subject_key_schema_digest: string;
271
76
  stage: "partition";
272
- partition_subject_key: {
273
- kind: string;
274
- namespace: string;
275
- protocol: "context.subject-key/v1";
276
- local_key: string;
277
- };
278
77
  strategy_set_digest: string;
279
78
  partition_input_digests: string[];
280
79
  partition_inventory_digest: string;
@@ -303,14 +102,7 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
303
102
  indexer_id: string;
304
103
  profile_contract_digest: string;
305
104
  reader_question_refs: string[];
306
- subject_key_schema_digest: string;
307
105
  stage: "partition";
308
- partition_subject_key: {
309
- kind: string;
310
- namespace: string;
311
- protocol: "context.subject-key/v1";
312
- local_key: string;
313
- };
314
106
  strategy_set_digest: string;
315
107
  partition_input_digests: string[];
316
108
  partition_inventory_digest: string;
@@ -339,14 +131,7 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
339
131
  indexer_id: string;
340
132
  profile_contract_digest: string;
341
133
  reader_question_refs: string[];
342
- subject_key_schema_digest: string;
343
134
  stage: "partition";
344
- partition_subject_key: {
345
- kind: string;
346
- namespace: string;
347
- protocol: "context.subject-key/v1";
348
- local_key: string;
349
- };
350
135
  strategy_set_digest: string;
351
136
  partition_input_digests: string[];
352
137
  partition_inventory_digest: string;
@@ -375,14 +160,7 @@ declare const partitionWorksetSchema: z.ZodEffects<z.ZodObject<{
375
160
  indexer_id: string;
376
161
  profile_contract_digest: string;
377
162
  reader_question_refs: string[];
378
- subject_key_schema_digest: string;
379
163
  stage: "partition";
380
- partition_subject_key: {
381
- kind: string;
382
- namespace: string;
383
- protocol: "context.subject-key/v1";
384
- local_key: string;
385
- };
386
164
  strategy_set_digest: string;
387
165
  partition_input_digests: string[];
388
166
  partition_inventory_digest: string;
@@ -411,179 +189,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
411
189
  member_inventory_digest: z.ZodString;
412
190
  group_projection_digest: z.ZodString;
413
191
  group_dependency_view_digest: z.ZodString;
414
- target_resolution_view: z.ZodOptional<z.ZodEffects<z.ZodObject<{
415
- protocol: z.ZodLiteral<"context.indexer.target-resolution-view/v1">;
416
- view_digest: z.ZodString;
417
- requirement_ref: z.ZodString;
418
- subject_key_schema_digest: z.ZodString;
419
- query_digest: z.ZodString;
420
- entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
421
- query_ref: z.ZodString;
422
- state: z.ZodLiteral<"resolved">;
423
- subject_key: z.ZodObject<{
424
- protocol: z.ZodLiteral<"context.subject-key/v1">;
425
- namespace: z.ZodEffects<z.ZodString, string, string>;
426
- kind: z.ZodEffects<z.ZodString, string, string>;
427
- local_key: z.ZodEffects<z.ZodString, string, string>;
428
- }, "strict", z.ZodTypeAny, {
429
- kind: string;
430
- namespace: string;
431
- protocol: "context.subject-key/v1";
432
- local_key: string;
433
- }, {
434
- kind: string;
435
- namespace: string;
436
- protocol: "context.subject-key/v1";
437
- local_key: string;
438
- }>;
439
- node_ref: z.ZodString;
440
- }, "strict", z.ZodTypeAny, {
441
- subject_key: {
442
- kind: string;
443
- namespace: string;
444
- protocol: "context.subject-key/v1";
445
- local_key: string;
446
- };
447
- state: "resolved";
448
- query_ref: string;
449
- node_ref: string;
450
- }, {
451
- subject_key: {
452
- kind: string;
453
- namespace: string;
454
- protocol: "context.subject-key/v1";
455
- local_key: string;
456
- };
457
- state: "resolved";
458
- query_ref: string;
459
- node_ref: string;
460
- }>, z.ZodObject<{
461
- query_ref: z.ZodString;
462
- state: z.ZodLiteral<"absent">;
463
- }, "strict", z.ZodTypeAny, {
464
- state: "absent";
465
- query_ref: string;
466
- }, {
467
- state: "absent";
468
- query_ref: string;
469
- }>, z.ZodEffects<z.ZodObject<{
470
- query_ref: z.ZodString;
471
- state: z.ZodLiteral<"ambiguous">;
472
- conflicting_node_refs: z.ZodArray<z.ZodString, "many">;
473
- }, "strict", z.ZodTypeAny, {
474
- state: "ambiguous";
475
- query_ref: string;
476
- conflicting_node_refs: string[];
477
- }, {
478
- state: "ambiguous";
479
- query_ref: string;
480
- conflicting_node_refs: string[];
481
- }>, {
482
- state: "ambiguous";
483
- query_ref: string;
484
- conflicting_node_refs: string[];
485
- }, {
486
- state: "ambiguous";
487
- query_ref: string;
488
- conflicting_node_refs: string[];
489
- }>]>, "many">;
490
- }, "strict", z.ZodTypeAny, {
491
- entries: ({
492
- subject_key: {
493
- kind: string;
494
- namespace: string;
495
- protocol: "context.subject-key/v1";
496
- local_key: string;
497
- };
498
- state: "resolved";
499
- query_ref: string;
500
- node_ref: string;
501
- } | {
502
- state: "absent";
503
- query_ref: string;
504
- } | {
505
- state: "ambiguous";
506
- query_ref: string;
507
- conflicting_node_refs: string[];
508
- })[];
509
- protocol: "context.indexer.target-resolution-view/v1";
510
- requirement_ref: string;
511
- view_digest: string;
512
- subject_key_schema_digest: string;
513
- query_digest: string;
514
- }, {
515
- entries: ({
516
- subject_key: {
517
- kind: string;
518
- namespace: string;
519
- protocol: "context.subject-key/v1";
520
- local_key: string;
521
- };
522
- state: "resolved";
523
- query_ref: string;
524
- node_ref: string;
525
- } | {
526
- state: "absent";
527
- query_ref: string;
528
- } | {
529
- state: "ambiguous";
530
- query_ref: string;
531
- conflicting_node_refs: string[];
532
- })[];
533
- protocol: "context.indexer.target-resolution-view/v1";
534
- requirement_ref: string;
535
- view_digest: string;
536
- subject_key_schema_digest: string;
537
- query_digest: string;
538
- }>, {
539
- entries: ({
540
- subject_key: {
541
- kind: string;
542
- namespace: string;
543
- protocol: "context.subject-key/v1";
544
- local_key: string;
545
- };
546
- state: "resolved";
547
- query_ref: string;
548
- node_ref: string;
549
- } | {
550
- state: "absent";
551
- query_ref: string;
552
- } | {
553
- state: "ambiguous";
554
- query_ref: string;
555
- conflicting_node_refs: string[];
556
- })[];
557
- protocol: "context.indexer.target-resolution-view/v1";
558
- requirement_ref: string;
559
- view_digest: string;
560
- subject_key_schema_digest: string;
561
- query_digest: string;
562
- }, {
563
- entries: ({
564
- subject_key: {
565
- kind: string;
566
- namespace: string;
567
- protocol: "context.subject-key/v1";
568
- local_key: string;
569
- };
570
- state: "resolved";
571
- query_ref: string;
572
- node_ref: string;
573
- } | {
574
- state: "absent";
575
- query_ref: string;
576
- } | {
577
- state: "ambiguous";
578
- query_ref: string;
579
- conflicting_node_refs: string[];
580
- })[];
581
- protocol: "context.indexer.target-resolution-view/v1";
582
- requirement_ref: string;
583
- view_digest: string;
584
- subject_key_schema_digest: string;
585
- query_digest: string;
586
- }>>;
587
192
  allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
588
193
  artifact_policy_eligibility_digest: z.ZodString;
589
194
  protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
@@ -598,7 +203,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
598
203
  requirement_set_digest: z.ZodString;
599
204
  primary_execution_fingerprint: z.ZodString;
600
205
  profile_contract_digest: z.ZodString;
601
- subject_key_schema_digest: z.ZodString;
602
206
  source_scope_digest: z.ZodString;
603
207
  source_binding_digest: z.ZodString;
604
208
  primary_resource_binding_digest: z.ZodString;
@@ -630,7 +234,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
630
234
  indexer_id: string;
631
235
  profile_contract_digest: string;
632
236
  logical_unit_ref: string;
633
- subject_key_schema_digest: string;
634
237
  stage: "author";
635
238
  owner_cell_refs: string[];
636
239
  primary_registry_projection_digest: string;
@@ -654,31 +257,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
654
257
  intent_digest: string;
655
258
  current_markdown?: string | undefined;
656
259
  } | undefined;
657
- target_resolution_view?: {
658
- entries: ({
659
- subject_key: {
660
- kind: string;
661
- namespace: string;
662
- protocol: "context.subject-key/v1";
663
- local_key: string;
664
- };
665
- state: "resolved";
666
- query_ref: string;
667
- node_ref: string;
668
- } | {
669
- state: "absent";
670
- query_ref: string;
671
- } | {
672
- state: "ambiguous";
673
- query_ref: string;
674
- conflicting_node_refs: string[];
675
- })[];
676
- protocol: "context.indexer.target-resolution-view/v1";
677
- requirement_ref: string;
678
- view_digest: string;
679
- subject_key_schema_digest: string;
680
- query_digest: string;
681
- } | undefined;
682
260
  }, {
683
261
  source_ref: string;
684
262
  protocol: "context.indexer.main-workset/v2";
@@ -689,7 +267,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
689
267
  indexer_id: string;
690
268
  profile_contract_digest: string;
691
269
  logical_unit_ref: string;
692
- subject_key_schema_digest: string;
693
270
  stage: "author";
694
271
  owner_cell_refs: string[];
695
272
  primary_registry_projection_digest: string;
@@ -713,31 +290,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
713
290
  intent_digest: string;
714
291
  current_markdown?: string | undefined;
715
292
  } | undefined;
716
- target_resolution_view?: {
717
- entries: ({
718
- subject_key: {
719
- kind: string;
720
- namespace: string;
721
- protocol: "context.subject-key/v1";
722
- local_key: string;
723
- };
724
- state: "resolved";
725
- query_ref: string;
726
- node_ref: string;
727
- } | {
728
- state: "absent";
729
- query_ref: string;
730
- } | {
731
- state: "ambiguous";
732
- query_ref: string;
733
- conflicting_node_refs: string[];
734
- })[];
735
- protocol: "context.indexer.target-resolution-view/v1";
736
- requirement_ref: string;
737
- view_digest: string;
738
- subject_key_schema_digest: string;
739
- query_digest: string;
740
- } | undefined;
741
293
  }>, {
742
294
  source_ref: string;
743
295
  protocol: "context.indexer.main-workset/v2";
@@ -748,7 +300,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
748
300
  indexer_id: string;
749
301
  profile_contract_digest: string;
750
302
  logical_unit_ref: string;
751
- subject_key_schema_digest: string;
752
303
  stage: "author";
753
304
  owner_cell_refs: string[];
754
305
  primary_registry_projection_digest: string;
@@ -772,31 +323,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
772
323
  intent_digest: string;
773
324
  current_markdown?: string | undefined;
774
325
  } | undefined;
775
- target_resolution_view?: {
776
- entries: ({
777
- subject_key: {
778
- kind: string;
779
- namespace: string;
780
- protocol: "context.subject-key/v1";
781
- local_key: string;
782
- };
783
- state: "resolved";
784
- query_ref: string;
785
- node_ref: string;
786
- } | {
787
- state: "absent";
788
- query_ref: string;
789
- } | {
790
- state: "ambiguous";
791
- query_ref: string;
792
- conflicting_node_refs: string[];
793
- })[];
794
- protocol: "context.indexer.target-resolution-view/v1";
795
- requirement_ref: string;
796
- view_digest: string;
797
- subject_key_schema_digest: string;
798
- query_digest: string;
799
- } | undefined;
800
326
  }, {
801
327
  source_ref: string;
802
328
  protocol: "context.indexer.main-workset/v2";
@@ -807,7 +333,6 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
807
333
  indexer_id: string;
808
334
  profile_contract_digest: string;
809
335
  logical_unit_ref: string;
810
- subject_key_schema_digest: string;
811
336
  stage: "author";
812
337
  owner_cell_refs: string[];
813
338
  primary_registry_projection_digest: string;
@@ -831,50 +356,9 @@ declare const authorWorksetSchema: z.ZodEffects<z.ZodObject<{
831
356
  intent_digest: string;
832
357
  current_markdown?: string | undefined;
833
358
  } | undefined;
834
- target_resolution_view?: {
835
- entries: ({
836
- subject_key: {
837
- kind: string;
838
- namespace: string;
839
- protocol: "context.subject-key/v1";
840
- local_key: string;
841
- };
842
- state: "resolved";
843
- query_ref: string;
844
- node_ref: string;
845
- } | {
846
- state: "absent";
847
- query_ref: string;
848
- } | {
849
- state: "ambiguous";
850
- query_ref: string;
851
- conflicting_node_refs: string[];
852
- })[];
853
- protocol: "context.indexer.target-resolution-view/v1";
854
- requirement_ref: string;
855
- view_digest: string;
856
- subject_key_schema_digest: string;
857
- query_digest: string;
858
- } | undefined;
859
359
  }>;
860
360
  export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
861
361
  stage: z.ZodLiteral<"partition">;
862
- partition_subject_key: z.ZodObject<{
863
- protocol: z.ZodLiteral<"context.subject-key/v1">;
864
- namespace: z.ZodEffects<z.ZodString, string, string>;
865
- kind: z.ZodEffects<z.ZodString, string, string>;
866
- local_key: z.ZodEffects<z.ZodString, string, string>;
867
- }, "strict", z.ZodTypeAny, {
868
- kind: string;
869
- namespace: string;
870
- protocol: "context.subject-key/v1";
871
- local_key: string;
872
- }, {
873
- kind: string;
874
- namespace: string;
875
- protocol: "context.subject-key/v1";
876
- local_key: string;
877
- }>;
878
362
  strategy_set_digest: z.ZodString;
879
363
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
880
364
  partition_input_digests: z.ZodArray<z.ZodString, "many">;
@@ -892,7 +376,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
892
376
  requirement_set_digest: z.ZodString;
893
377
  primary_execution_fingerprint: z.ZodString;
894
378
  profile_contract_digest: z.ZodString;
895
- subject_key_schema_digest: z.ZodString;
896
379
  source_scope_digest: z.ZodString;
897
380
  source_binding_digest: z.ZodString;
898
381
  primary_resource_binding_digest: z.ZodString;
@@ -924,14 +407,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
924
407
  indexer_id: string;
925
408
  profile_contract_digest: string;
926
409
  reader_question_refs: string[];
927
- subject_key_schema_digest: string;
928
410
  stage: "partition";
929
- partition_subject_key: {
930
- kind: string;
931
- namespace: string;
932
- protocol: "context.subject-key/v1";
933
- local_key: string;
934
- };
935
411
  strategy_set_digest: string;
936
412
  partition_input_digests: string[];
937
413
  partition_inventory_digest: string;
@@ -960,14 +436,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
960
436
  indexer_id: string;
961
437
  profile_contract_digest: string;
962
438
  reader_question_refs: string[];
963
- subject_key_schema_digest: string;
964
439
  stage: "partition";
965
- partition_subject_key: {
966
- kind: string;
967
- namespace: string;
968
- protocol: "context.subject-key/v1";
969
- local_key: string;
970
- };
971
440
  strategy_set_digest: string;
972
441
  partition_input_digests: string[];
973
442
  partition_inventory_digest: string;
@@ -996,14 +465,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
996
465
  indexer_id: string;
997
466
  profile_contract_digest: string;
998
467
  reader_question_refs: string[];
999
- subject_key_schema_digest: string;
1000
468
  stage: "partition";
1001
- partition_subject_key: {
1002
- kind: string;
1003
- namespace: string;
1004
- protocol: "context.subject-key/v1";
1005
- local_key: string;
1006
- };
1007
469
  strategy_set_digest: string;
1008
470
  partition_input_digests: string[];
1009
471
  partition_inventory_digest: string;
@@ -1032,14 +494,7 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1032
494
  indexer_id: string;
1033
495
  profile_contract_digest: string;
1034
496
  reader_question_refs: string[];
1035
- subject_key_schema_digest: string;
1036
497
  stage: "partition";
1037
- partition_subject_key: {
1038
- kind: string;
1039
- namespace: string;
1040
- protocol: "context.subject-key/v1";
1041
- local_key: string;
1042
- };
1043
498
  strategy_set_digest: string;
1044
499
  partition_input_digests: string[];
1045
500
  partition_inventory_digest: string;
@@ -1067,179 +522,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1067
522
  member_inventory_digest: z.ZodString;
1068
523
  group_projection_digest: z.ZodString;
1069
524
  group_dependency_view_digest: z.ZodString;
1070
- target_resolution_view: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1071
- protocol: z.ZodLiteral<"context.indexer.target-resolution-view/v1">;
1072
- view_digest: z.ZodString;
1073
- requirement_ref: z.ZodString;
1074
- subject_key_schema_digest: z.ZodString;
1075
- query_digest: z.ZodString;
1076
- entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1077
- query_ref: z.ZodString;
1078
- state: z.ZodLiteral<"resolved">;
1079
- subject_key: z.ZodObject<{
1080
- protocol: z.ZodLiteral<"context.subject-key/v1">;
1081
- namespace: z.ZodEffects<z.ZodString, string, string>;
1082
- kind: z.ZodEffects<z.ZodString, string, string>;
1083
- local_key: z.ZodEffects<z.ZodString, string, string>;
1084
- }, "strict", z.ZodTypeAny, {
1085
- kind: string;
1086
- namespace: string;
1087
- protocol: "context.subject-key/v1";
1088
- local_key: string;
1089
- }, {
1090
- kind: string;
1091
- namespace: string;
1092
- protocol: "context.subject-key/v1";
1093
- local_key: string;
1094
- }>;
1095
- node_ref: z.ZodString;
1096
- }, "strict", z.ZodTypeAny, {
1097
- subject_key: {
1098
- kind: string;
1099
- namespace: string;
1100
- protocol: "context.subject-key/v1";
1101
- local_key: string;
1102
- };
1103
- state: "resolved";
1104
- query_ref: string;
1105
- node_ref: string;
1106
- }, {
1107
- subject_key: {
1108
- kind: string;
1109
- namespace: string;
1110
- protocol: "context.subject-key/v1";
1111
- local_key: string;
1112
- };
1113
- state: "resolved";
1114
- query_ref: string;
1115
- node_ref: string;
1116
- }>, z.ZodObject<{
1117
- query_ref: z.ZodString;
1118
- state: z.ZodLiteral<"absent">;
1119
- }, "strict", z.ZodTypeAny, {
1120
- state: "absent";
1121
- query_ref: string;
1122
- }, {
1123
- state: "absent";
1124
- query_ref: string;
1125
- }>, z.ZodEffects<z.ZodObject<{
1126
- query_ref: z.ZodString;
1127
- state: z.ZodLiteral<"ambiguous">;
1128
- conflicting_node_refs: z.ZodArray<z.ZodString, "many">;
1129
- }, "strict", z.ZodTypeAny, {
1130
- state: "ambiguous";
1131
- query_ref: string;
1132
- conflicting_node_refs: string[];
1133
- }, {
1134
- state: "ambiguous";
1135
- query_ref: string;
1136
- conflicting_node_refs: string[];
1137
- }>, {
1138
- state: "ambiguous";
1139
- query_ref: string;
1140
- conflicting_node_refs: string[];
1141
- }, {
1142
- state: "ambiguous";
1143
- query_ref: string;
1144
- conflicting_node_refs: string[];
1145
- }>]>, "many">;
1146
- }, "strict", z.ZodTypeAny, {
1147
- entries: ({
1148
- subject_key: {
1149
- kind: string;
1150
- namespace: string;
1151
- protocol: "context.subject-key/v1";
1152
- local_key: string;
1153
- };
1154
- state: "resolved";
1155
- query_ref: string;
1156
- node_ref: string;
1157
- } | {
1158
- state: "absent";
1159
- query_ref: string;
1160
- } | {
1161
- state: "ambiguous";
1162
- query_ref: string;
1163
- conflicting_node_refs: string[];
1164
- })[];
1165
- protocol: "context.indexer.target-resolution-view/v1";
1166
- requirement_ref: string;
1167
- view_digest: string;
1168
- subject_key_schema_digest: string;
1169
- query_digest: string;
1170
- }, {
1171
- entries: ({
1172
- subject_key: {
1173
- kind: string;
1174
- namespace: string;
1175
- protocol: "context.subject-key/v1";
1176
- local_key: string;
1177
- };
1178
- state: "resolved";
1179
- query_ref: string;
1180
- node_ref: string;
1181
- } | {
1182
- state: "absent";
1183
- query_ref: string;
1184
- } | {
1185
- state: "ambiguous";
1186
- query_ref: string;
1187
- conflicting_node_refs: string[];
1188
- })[];
1189
- protocol: "context.indexer.target-resolution-view/v1";
1190
- requirement_ref: string;
1191
- view_digest: string;
1192
- subject_key_schema_digest: string;
1193
- query_digest: string;
1194
- }>, {
1195
- entries: ({
1196
- subject_key: {
1197
- kind: string;
1198
- namespace: string;
1199
- protocol: "context.subject-key/v1";
1200
- local_key: string;
1201
- };
1202
- state: "resolved";
1203
- query_ref: string;
1204
- node_ref: string;
1205
- } | {
1206
- state: "absent";
1207
- query_ref: string;
1208
- } | {
1209
- state: "ambiguous";
1210
- query_ref: string;
1211
- conflicting_node_refs: string[];
1212
- })[];
1213
- protocol: "context.indexer.target-resolution-view/v1";
1214
- requirement_ref: string;
1215
- view_digest: string;
1216
- subject_key_schema_digest: string;
1217
- query_digest: string;
1218
- }, {
1219
- entries: ({
1220
- subject_key: {
1221
- kind: string;
1222
- namespace: string;
1223
- protocol: "context.subject-key/v1";
1224
- local_key: string;
1225
- };
1226
- state: "resolved";
1227
- query_ref: string;
1228
- node_ref: string;
1229
- } | {
1230
- state: "absent";
1231
- query_ref: string;
1232
- } | {
1233
- state: "ambiguous";
1234
- query_ref: string;
1235
- conflicting_node_refs: string[];
1236
- })[];
1237
- protocol: "context.indexer.target-resolution-view/v1";
1238
- requirement_ref: string;
1239
- view_digest: string;
1240
- subject_key_schema_digest: string;
1241
- query_digest: string;
1242
- }>>;
1243
525
  allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1244
526
  artifact_policy_eligibility_digest: z.ZodString;
1245
527
  protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
@@ -1254,7 +536,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1254
536
  requirement_set_digest: z.ZodString;
1255
537
  primary_execution_fingerprint: z.ZodString;
1256
538
  profile_contract_digest: z.ZodString;
1257
- subject_key_schema_digest: z.ZodString;
1258
539
  source_scope_digest: z.ZodString;
1259
540
  source_binding_digest: z.ZodString;
1260
541
  primary_resource_binding_digest: z.ZodString;
@@ -1286,7 +567,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1286
567
  indexer_id: string;
1287
568
  profile_contract_digest: string;
1288
569
  logical_unit_ref: string;
1289
- subject_key_schema_digest: string;
1290
570
  stage: "author";
1291
571
  owner_cell_refs: string[];
1292
572
  primary_registry_projection_digest: string;
@@ -1310,31 +590,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1310
590
  intent_digest: string;
1311
591
  current_markdown?: string | undefined;
1312
592
  } | undefined;
1313
- target_resolution_view?: {
1314
- entries: ({
1315
- subject_key: {
1316
- kind: string;
1317
- namespace: string;
1318
- protocol: "context.subject-key/v1";
1319
- local_key: string;
1320
- };
1321
- state: "resolved";
1322
- query_ref: string;
1323
- node_ref: string;
1324
- } | {
1325
- state: "absent";
1326
- query_ref: string;
1327
- } | {
1328
- state: "ambiguous";
1329
- query_ref: string;
1330
- conflicting_node_refs: string[];
1331
- })[];
1332
- protocol: "context.indexer.target-resolution-view/v1";
1333
- requirement_ref: string;
1334
- view_digest: string;
1335
- subject_key_schema_digest: string;
1336
- query_digest: string;
1337
- } | undefined;
1338
593
  }, {
1339
594
  source_ref: string;
1340
595
  protocol: "context.indexer.main-workset/v2";
@@ -1345,7 +600,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1345
600
  indexer_id: string;
1346
601
  profile_contract_digest: string;
1347
602
  logical_unit_ref: string;
1348
- subject_key_schema_digest: string;
1349
603
  stage: "author";
1350
604
  owner_cell_refs: string[];
1351
605
  primary_registry_projection_digest: string;
@@ -1369,31 +623,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1369
623
  intent_digest: string;
1370
624
  current_markdown?: string | undefined;
1371
625
  } | undefined;
1372
- target_resolution_view?: {
1373
- entries: ({
1374
- subject_key: {
1375
- kind: string;
1376
- namespace: string;
1377
- protocol: "context.subject-key/v1";
1378
- local_key: string;
1379
- };
1380
- state: "resolved";
1381
- query_ref: string;
1382
- node_ref: string;
1383
- } | {
1384
- state: "absent";
1385
- query_ref: string;
1386
- } | {
1387
- state: "ambiguous";
1388
- query_ref: string;
1389
- conflicting_node_refs: string[];
1390
- })[];
1391
- protocol: "context.indexer.target-resolution-view/v1";
1392
- requirement_ref: string;
1393
- view_digest: string;
1394
- subject_key_schema_digest: string;
1395
- query_digest: string;
1396
- } | undefined;
1397
626
  }>, {
1398
627
  source_ref: string;
1399
628
  protocol: "context.indexer.main-workset/v2";
@@ -1404,7 +633,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1404
633
  indexer_id: string;
1405
634
  profile_contract_digest: string;
1406
635
  logical_unit_ref: string;
1407
- subject_key_schema_digest: string;
1408
636
  stage: "author";
1409
637
  owner_cell_refs: string[];
1410
638
  primary_registry_projection_digest: string;
@@ -1428,31 +656,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1428
656
  intent_digest: string;
1429
657
  current_markdown?: string | undefined;
1430
658
  } | undefined;
1431
- target_resolution_view?: {
1432
- entries: ({
1433
- subject_key: {
1434
- kind: string;
1435
- namespace: string;
1436
- protocol: "context.subject-key/v1";
1437
- local_key: string;
1438
- };
1439
- state: "resolved";
1440
- query_ref: string;
1441
- node_ref: string;
1442
- } | {
1443
- state: "absent";
1444
- query_ref: string;
1445
- } | {
1446
- state: "ambiguous";
1447
- query_ref: string;
1448
- conflicting_node_refs: string[];
1449
- })[];
1450
- protocol: "context.indexer.target-resolution-view/v1";
1451
- requirement_ref: string;
1452
- view_digest: string;
1453
- subject_key_schema_digest: string;
1454
- query_digest: string;
1455
- } | undefined;
1456
659
  }, {
1457
660
  source_ref: string;
1458
661
  protocol: "context.indexer.main-workset/v2";
@@ -1463,7 +666,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1463
666
  indexer_id: string;
1464
667
  profile_contract_digest: string;
1465
668
  logical_unit_ref: string;
1466
- subject_key_schema_digest: string;
1467
669
  stage: "author";
1468
670
  owner_cell_refs: string[];
1469
671
  primary_registry_projection_digest: string;
@@ -1487,31 +689,6 @@ export declare const indexerMainWorksetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObj
1487
689
  intent_digest: string;
1488
690
  current_markdown?: string | undefined;
1489
691
  } | undefined;
1490
- target_resolution_view?: {
1491
- entries: ({
1492
- subject_key: {
1493
- kind: string;
1494
- namespace: string;
1495
- protocol: "context.subject-key/v1";
1496
- local_key: string;
1497
- };
1498
- state: "resolved";
1499
- query_ref: string;
1500
- node_ref: string;
1501
- } | {
1502
- state: "absent";
1503
- query_ref: string;
1504
- } | {
1505
- state: "ambiguous";
1506
- query_ref: string;
1507
- conflicting_node_refs: string[];
1508
- })[];
1509
- protocol: "context.indexer.target-resolution-view/v1";
1510
- requirement_ref: string;
1511
- view_digest: string;
1512
- subject_key_schema_digest: string;
1513
- query_digest: string;
1514
- } | undefined;
1515
692
  }>]>;
1516
693
  export type IndexerMainPartitionWorkset = z.infer<typeof partitionWorksetSchema>;
1517
694
  export type IndexerMainAuthorWorkset = z.infer<typeof authorWorksetSchema>;
@@ -1589,22 +766,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1589
766
  protocol: z.ZodLiteral<"context.indexer.main-transport-batch/v2">;
1590
767
  worksets: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1591
768
  stage: z.ZodLiteral<"partition">;
1592
- partition_subject_key: z.ZodObject<{
1593
- protocol: z.ZodLiteral<"context.subject-key/v1">;
1594
- namespace: z.ZodEffects<z.ZodString, string, string>;
1595
- kind: z.ZodEffects<z.ZodString, string, string>;
1596
- local_key: z.ZodEffects<z.ZodString, string, string>;
1597
- }, "strict", z.ZodTypeAny, {
1598
- kind: string;
1599
- namespace: string;
1600
- protocol: "context.subject-key/v1";
1601
- local_key: string;
1602
- }, {
1603
- kind: string;
1604
- namespace: string;
1605
- protocol: "context.subject-key/v1";
1606
- local_key: string;
1607
- }>;
1608
769
  strategy_set_digest: z.ZodString;
1609
770
  reader_question_refs: z.ZodArray<z.ZodString, "many">;
1610
771
  partition_input_digests: z.ZodArray<z.ZodString, "many">;
@@ -1622,7 +783,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1622
783
  requirement_set_digest: z.ZodString;
1623
784
  primary_execution_fingerprint: z.ZodString;
1624
785
  profile_contract_digest: z.ZodString;
1625
- subject_key_schema_digest: z.ZodString;
1626
786
  source_scope_digest: z.ZodString;
1627
787
  source_binding_digest: z.ZodString;
1628
788
  primary_resource_binding_digest: z.ZodString;
@@ -1654,14 +814,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1654
814
  indexer_id: string;
1655
815
  profile_contract_digest: string;
1656
816
  reader_question_refs: string[];
1657
- subject_key_schema_digest: string;
1658
817
  stage: "partition";
1659
- partition_subject_key: {
1660
- kind: string;
1661
- namespace: string;
1662
- protocol: "context.subject-key/v1";
1663
- local_key: string;
1664
- };
1665
818
  strategy_set_digest: string;
1666
819
  partition_input_digests: string[];
1667
820
  partition_inventory_digest: string;
@@ -1690,14 +843,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1690
843
  indexer_id: string;
1691
844
  profile_contract_digest: string;
1692
845
  reader_question_refs: string[];
1693
- subject_key_schema_digest: string;
1694
846
  stage: "partition";
1695
- partition_subject_key: {
1696
- kind: string;
1697
- namespace: string;
1698
- protocol: "context.subject-key/v1";
1699
- local_key: string;
1700
- };
1701
847
  strategy_set_digest: string;
1702
848
  partition_input_digests: string[];
1703
849
  partition_inventory_digest: string;
@@ -1726,14 +872,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1726
872
  indexer_id: string;
1727
873
  profile_contract_digest: string;
1728
874
  reader_question_refs: string[];
1729
- subject_key_schema_digest: string;
1730
875
  stage: "partition";
1731
- partition_subject_key: {
1732
- kind: string;
1733
- namespace: string;
1734
- protocol: "context.subject-key/v1";
1735
- local_key: string;
1736
- };
1737
876
  strategy_set_digest: string;
1738
877
  partition_input_digests: string[];
1739
878
  partition_inventory_digest: string;
@@ -1762,14 +901,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1762
901
  indexer_id: string;
1763
902
  profile_contract_digest: string;
1764
903
  reader_question_refs: string[];
1765
- subject_key_schema_digest: string;
1766
904
  stage: "partition";
1767
- partition_subject_key: {
1768
- kind: string;
1769
- namespace: string;
1770
- protocol: "context.subject-key/v1";
1771
- local_key: string;
1772
- };
1773
905
  strategy_set_digest: string;
1774
906
  partition_input_digests: string[];
1775
907
  partition_inventory_digest: string;
@@ -1797,179 +929,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1797
929
  member_inventory_digest: z.ZodString;
1798
930
  group_projection_digest: z.ZodString;
1799
931
  group_dependency_view_digest: z.ZodString;
1800
- target_resolution_view: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1801
- protocol: z.ZodLiteral<"context.indexer.target-resolution-view/v1">;
1802
- view_digest: z.ZodString;
1803
- requirement_ref: z.ZodString;
1804
- subject_key_schema_digest: z.ZodString;
1805
- query_digest: z.ZodString;
1806
- entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1807
- query_ref: z.ZodString;
1808
- state: z.ZodLiteral<"resolved">;
1809
- subject_key: z.ZodObject<{
1810
- protocol: z.ZodLiteral<"context.subject-key/v1">;
1811
- namespace: z.ZodEffects<z.ZodString, string, string>;
1812
- kind: z.ZodEffects<z.ZodString, string, string>;
1813
- local_key: z.ZodEffects<z.ZodString, string, string>;
1814
- }, "strict", z.ZodTypeAny, {
1815
- kind: string;
1816
- namespace: string;
1817
- protocol: "context.subject-key/v1";
1818
- local_key: string;
1819
- }, {
1820
- kind: string;
1821
- namespace: string;
1822
- protocol: "context.subject-key/v1";
1823
- local_key: string;
1824
- }>;
1825
- node_ref: z.ZodString;
1826
- }, "strict", z.ZodTypeAny, {
1827
- subject_key: {
1828
- kind: string;
1829
- namespace: string;
1830
- protocol: "context.subject-key/v1";
1831
- local_key: string;
1832
- };
1833
- state: "resolved";
1834
- query_ref: string;
1835
- node_ref: string;
1836
- }, {
1837
- subject_key: {
1838
- kind: string;
1839
- namespace: string;
1840
- protocol: "context.subject-key/v1";
1841
- local_key: string;
1842
- };
1843
- state: "resolved";
1844
- query_ref: string;
1845
- node_ref: string;
1846
- }>, z.ZodObject<{
1847
- query_ref: z.ZodString;
1848
- state: z.ZodLiteral<"absent">;
1849
- }, "strict", z.ZodTypeAny, {
1850
- state: "absent";
1851
- query_ref: string;
1852
- }, {
1853
- state: "absent";
1854
- query_ref: string;
1855
- }>, z.ZodEffects<z.ZodObject<{
1856
- query_ref: z.ZodString;
1857
- state: z.ZodLiteral<"ambiguous">;
1858
- conflicting_node_refs: z.ZodArray<z.ZodString, "many">;
1859
- }, "strict", z.ZodTypeAny, {
1860
- state: "ambiguous";
1861
- query_ref: string;
1862
- conflicting_node_refs: string[];
1863
- }, {
1864
- state: "ambiguous";
1865
- query_ref: string;
1866
- conflicting_node_refs: string[];
1867
- }>, {
1868
- state: "ambiguous";
1869
- query_ref: string;
1870
- conflicting_node_refs: string[];
1871
- }, {
1872
- state: "ambiguous";
1873
- query_ref: string;
1874
- conflicting_node_refs: string[];
1875
- }>]>, "many">;
1876
- }, "strict", z.ZodTypeAny, {
1877
- entries: ({
1878
- subject_key: {
1879
- kind: string;
1880
- namespace: string;
1881
- protocol: "context.subject-key/v1";
1882
- local_key: string;
1883
- };
1884
- state: "resolved";
1885
- query_ref: string;
1886
- node_ref: string;
1887
- } | {
1888
- state: "absent";
1889
- query_ref: string;
1890
- } | {
1891
- state: "ambiguous";
1892
- query_ref: string;
1893
- conflicting_node_refs: string[];
1894
- })[];
1895
- protocol: "context.indexer.target-resolution-view/v1";
1896
- requirement_ref: string;
1897
- view_digest: string;
1898
- subject_key_schema_digest: string;
1899
- query_digest: string;
1900
- }, {
1901
- entries: ({
1902
- subject_key: {
1903
- kind: string;
1904
- namespace: string;
1905
- protocol: "context.subject-key/v1";
1906
- local_key: string;
1907
- };
1908
- state: "resolved";
1909
- query_ref: string;
1910
- node_ref: string;
1911
- } | {
1912
- state: "absent";
1913
- query_ref: string;
1914
- } | {
1915
- state: "ambiguous";
1916
- query_ref: string;
1917
- conflicting_node_refs: string[];
1918
- })[];
1919
- protocol: "context.indexer.target-resolution-view/v1";
1920
- requirement_ref: string;
1921
- view_digest: string;
1922
- subject_key_schema_digest: string;
1923
- query_digest: string;
1924
- }>, {
1925
- entries: ({
1926
- subject_key: {
1927
- kind: string;
1928
- namespace: string;
1929
- protocol: "context.subject-key/v1";
1930
- local_key: string;
1931
- };
1932
- state: "resolved";
1933
- query_ref: string;
1934
- node_ref: string;
1935
- } | {
1936
- state: "absent";
1937
- query_ref: string;
1938
- } | {
1939
- state: "ambiguous";
1940
- query_ref: string;
1941
- conflicting_node_refs: string[];
1942
- })[];
1943
- protocol: "context.indexer.target-resolution-view/v1";
1944
- requirement_ref: string;
1945
- view_digest: string;
1946
- subject_key_schema_digest: string;
1947
- query_digest: string;
1948
- }, {
1949
- entries: ({
1950
- subject_key: {
1951
- kind: string;
1952
- namespace: string;
1953
- protocol: "context.subject-key/v1";
1954
- local_key: string;
1955
- };
1956
- state: "resolved";
1957
- query_ref: string;
1958
- node_ref: string;
1959
- } | {
1960
- state: "absent";
1961
- query_ref: string;
1962
- } | {
1963
- state: "ambiguous";
1964
- query_ref: string;
1965
- conflicting_node_refs: string[];
1966
- })[];
1967
- protocol: "context.indexer.target-resolution-view/v1";
1968
- requirement_ref: string;
1969
- view_digest: string;
1970
- subject_key_schema_digest: string;
1971
- query_digest: string;
1972
- }>>;
1973
932
  allowed_artifact_policy_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1974
933
  artifact_policy_eligibility_digest: z.ZodString;
1975
934
  protocol: z.ZodLiteral<"context.indexer.main-workset/v2">;
@@ -1984,7 +943,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
1984
943
  requirement_set_digest: z.ZodString;
1985
944
  primary_execution_fingerprint: z.ZodString;
1986
945
  profile_contract_digest: z.ZodString;
1987
- subject_key_schema_digest: z.ZodString;
1988
946
  source_scope_digest: z.ZodString;
1989
947
  source_binding_digest: z.ZodString;
1990
948
  primary_resource_binding_digest: z.ZodString;
@@ -2016,7 +974,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2016
974
  indexer_id: string;
2017
975
  profile_contract_digest: string;
2018
976
  logical_unit_ref: string;
2019
- subject_key_schema_digest: string;
2020
977
  stage: "author";
2021
978
  owner_cell_refs: string[];
2022
979
  primary_registry_projection_digest: string;
@@ -2040,31 +997,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2040
997
  intent_digest: string;
2041
998
  current_markdown?: string | undefined;
2042
999
  } | undefined;
2043
- target_resolution_view?: {
2044
- entries: ({
2045
- subject_key: {
2046
- kind: string;
2047
- namespace: string;
2048
- protocol: "context.subject-key/v1";
2049
- local_key: string;
2050
- };
2051
- state: "resolved";
2052
- query_ref: string;
2053
- node_ref: string;
2054
- } | {
2055
- state: "absent";
2056
- query_ref: string;
2057
- } | {
2058
- state: "ambiguous";
2059
- query_ref: string;
2060
- conflicting_node_refs: string[];
2061
- })[];
2062
- protocol: "context.indexer.target-resolution-view/v1";
2063
- requirement_ref: string;
2064
- view_digest: string;
2065
- subject_key_schema_digest: string;
2066
- query_digest: string;
2067
- } | undefined;
2068
1000
  }, {
2069
1001
  source_ref: string;
2070
1002
  protocol: "context.indexer.main-workset/v2";
@@ -2075,7 +1007,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2075
1007
  indexer_id: string;
2076
1008
  profile_contract_digest: string;
2077
1009
  logical_unit_ref: string;
2078
- subject_key_schema_digest: string;
2079
1010
  stage: "author";
2080
1011
  owner_cell_refs: string[];
2081
1012
  primary_registry_projection_digest: string;
@@ -2099,31 +1030,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2099
1030
  intent_digest: string;
2100
1031
  current_markdown?: string | undefined;
2101
1032
  } | undefined;
2102
- target_resolution_view?: {
2103
- entries: ({
2104
- subject_key: {
2105
- kind: string;
2106
- namespace: string;
2107
- protocol: "context.subject-key/v1";
2108
- local_key: string;
2109
- };
2110
- state: "resolved";
2111
- query_ref: string;
2112
- node_ref: string;
2113
- } | {
2114
- state: "absent";
2115
- query_ref: string;
2116
- } | {
2117
- state: "ambiguous";
2118
- query_ref: string;
2119
- conflicting_node_refs: string[];
2120
- })[];
2121
- protocol: "context.indexer.target-resolution-view/v1";
2122
- requirement_ref: string;
2123
- view_digest: string;
2124
- subject_key_schema_digest: string;
2125
- query_digest: string;
2126
- } | undefined;
2127
1033
  }>, {
2128
1034
  source_ref: string;
2129
1035
  protocol: "context.indexer.main-workset/v2";
@@ -2134,7 +1040,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2134
1040
  indexer_id: string;
2135
1041
  profile_contract_digest: string;
2136
1042
  logical_unit_ref: string;
2137
- subject_key_schema_digest: string;
2138
1043
  stage: "author";
2139
1044
  owner_cell_refs: string[];
2140
1045
  primary_registry_projection_digest: string;
@@ -2158,31 +1063,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2158
1063
  intent_digest: string;
2159
1064
  current_markdown?: string | undefined;
2160
1065
  } | undefined;
2161
- target_resolution_view?: {
2162
- entries: ({
2163
- subject_key: {
2164
- kind: string;
2165
- namespace: string;
2166
- protocol: "context.subject-key/v1";
2167
- local_key: string;
2168
- };
2169
- state: "resolved";
2170
- query_ref: string;
2171
- node_ref: string;
2172
- } | {
2173
- state: "absent";
2174
- query_ref: string;
2175
- } | {
2176
- state: "ambiguous";
2177
- query_ref: string;
2178
- conflicting_node_refs: string[];
2179
- })[];
2180
- protocol: "context.indexer.target-resolution-view/v1";
2181
- requirement_ref: string;
2182
- view_digest: string;
2183
- subject_key_schema_digest: string;
2184
- query_digest: string;
2185
- } | undefined;
2186
1066
  }, {
2187
1067
  source_ref: string;
2188
1068
  protocol: "context.indexer.main-workset/v2";
@@ -2193,7 +1073,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2193
1073
  indexer_id: string;
2194
1074
  profile_contract_digest: string;
2195
1075
  logical_unit_ref: string;
2196
- subject_key_schema_digest: string;
2197
1076
  stage: "author";
2198
1077
  owner_cell_refs: string[];
2199
1078
  primary_registry_projection_digest: string;
@@ -2217,31 +1096,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2217
1096
  intent_digest: string;
2218
1097
  current_markdown?: string | undefined;
2219
1098
  } | undefined;
2220
- target_resolution_view?: {
2221
- entries: ({
2222
- subject_key: {
2223
- kind: string;
2224
- namespace: string;
2225
- protocol: "context.subject-key/v1";
2226
- local_key: string;
2227
- };
2228
- state: "resolved";
2229
- query_ref: string;
2230
- node_ref: string;
2231
- } | {
2232
- state: "absent";
2233
- query_ref: string;
2234
- } | {
2235
- state: "ambiguous";
2236
- query_ref: string;
2237
- conflicting_node_refs: string[];
2238
- })[];
2239
- protocol: "context.indexer.target-resolution-view/v1";
2240
- requirement_ref: string;
2241
- view_digest: string;
2242
- subject_key_schema_digest: string;
2243
- query_digest: string;
2244
- } | undefined;
2245
1099
  }>]>, "many">;
2246
1100
  }, "strict", z.ZodTypeAny, {
2247
1101
  protocol: "context.indexer.main-transport-batch/v2";
@@ -2255,14 +1109,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2255
1109
  indexer_id: string;
2256
1110
  profile_contract_digest: string;
2257
1111
  reader_question_refs: string[];
2258
- subject_key_schema_digest: string;
2259
1112
  stage: "partition";
2260
- partition_subject_key: {
2261
- kind: string;
2262
- namespace: string;
2263
- protocol: "context.subject-key/v1";
2264
- local_key: string;
2265
- };
2266
1113
  strategy_set_digest: string;
2267
1114
  partition_input_digests: string[];
2268
1115
  partition_inventory_digest: string;
@@ -2291,7 +1138,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2291
1138
  indexer_id: string;
2292
1139
  profile_contract_digest: string;
2293
1140
  logical_unit_ref: string;
2294
- subject_key_schema_digest: string;
2295
1141
  stage: "author";
2296
1142
  owner_cell_refs: string[];
2297
1143
  primary_registry_projection_digest: string;
@@ -2315,31 +1161,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2315
1161
  intent_digest: string;
2316
1162
  current_markdown?: string | undefined;
2317
1163
  } | undefined;
2318
- target_resolution_view?: {
2319
- entries: ({
2320
- subject_key: {
2321
- kind: string;
2322
- namespace: string;
2323
- protocol: "context.subject-key/v1";
2324
- local_key: string;
2325
- };
2326
- state: "resolved";
2327
- query_ref: string;
2328
- node_ref: string;
2329
- } | {
2330
- state: "absent";
2331
- query_ref: string;
2332
- } | {
2333
- state: "ambiguous";
2334
- query_ref: string;
2335
- conflicting_node_refs: string[];
2336
- })[];
2337
- protocol: "context.indexer.target-resolution-view/v1";
2338
- requirement_ref: string;
2339
- view_digest: string;
2340
- subject_key_schema_digest: string;
2341
- query_digest: string;
2342
- } | undefined;
2343
1164
  })[];
2344
1165
  }, {
2345
1166
  protocol: "context.indexer.main-transport-batch/v2";
@@ -2353,14 +1174,7 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2353
1174
  indexer_id: string;
2354
1175
  profile_contract_digest: string;
2355
1176
  reader_question_refs: string[];
2356
- subject_key_schema_digest: string;
2357
1177
  stage: "partition";
2358
- partition_subject_key: {
2359
- kind: string;
2360
- namespace: string;
2361
- protocol: "context.subject-key/v1";
2362
- local_key: string;
2363
- };
2364
1178
  strategy_set_digest: string;
2365
1179
  partition_input_digests: string[];
2366
1180
  partition_inventory_digest: string;
@@ -2389,7 +1203,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2389
1203
  indexer_id: string;
2390
1204
  profile_contract_digest: string;
2391
1205
  logical_unit_ref: string;
2392
- subject_key_schema_digest: string;
2393
1206
  stage: "author";
2394
1207
  owner_cell_refs: string[];
2395
1208
  primary_registry_projection_digest: string;
@@ -2413,31 +1226,6 @@ export declare const indexerMainTransportBatchSchema: z.ZodObject<{
2413
1226
  intent_digest: string;
2414
1227
  current_markdown?: string | undefined;
2415
1228
  } | undefined;
2416
- target_resolution_view?: {
2417
- entries: ({
2418
- subject_key: {
2419
- kind: string;
2420
- namespace: string;
2421
- protocol: "context.subject-key/v1";
2422
- local_key: string;
2423
- };
2424
- state: "resolved";
2425
- query_ref: string;
2426
- node_ref: string;
2427
- } | {
2428
- state: "absent";
2429
- query_ref: string;
2430
- } | {
2431
- state: "ambiguous";
2432
- query_ref: string;
2433
- conflicting_node_refs: string[];
2434
- })[];
2435
- protocol: "context.indexer.target-resolution-view/v1";
2436
- requirement_ref: string;
2437
- view_digest: string;
2438
- subject_key_schema_digest: string;
2439
- query_digest: string;
2440
- } | undefined;
2441
1229
  })[];
2442
1230
  }>;
2443
1231
  export type IndexerMainTransportBatch = z.infer<typeof indexerMainTransportBatchSchema>;