@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
@@ -2,7 +2,6 @@ import { z } from "zod";
2
2
  export declare const indexerPhysicalArtifactOwnerSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3
3
  kind: z.ZodLiteral<"logical-unit">;
4
4
  logical_unit_ref: z.ZodString;
5
- node_ref: z.ZodString;
6
5
  artifact_ref: z.ZodString;
7
6
  artifact_id: z.ZodEffects<z.ZodString, string, string>;
8
7
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
@@ -19,7 +18,6 @@ export declare const indexerPhysicalArtifactOwnerSchema: z.ZodDiscriminatedUnion
19
18
  split_of: string | null;
20
19
  logical_unit_ref: string;
21
20
  bundle_digest: string;
22
- node_ref: string;
23
21
  artifact_ref: string;
24
22
  section_refs: string[];
25
23
  material_state: "blocked" | "ready";
@@ -31,7 +29,6 @@ export declare const indexerPhysicalArtifactOwnerSchema: z.ZodDiscriminatedUnion
31
29
  split_of: string | null;
32
30
  logical_unit_ref: string;
33
31
  bundle_digest: string;
34
- node_ref: string;
35
32
  artifact_ref: string;
36
33
  section_refs: string[];
37
34
  material_state: "blocked" | "ready";
@@ -47,16 +44,16 @@ export declare const indexerPhysicalArtifactOwnerSchema: z.ZodDiscriminatedUnion
47
44
  kind: "navigation";
48
45
  artifact_kind: string;
49
46
  artifact_id: string;
50
- artifact_ref: string;
51
47
  plan_digest: string;
48
+ artifact_ref: string;
52
49
  navigation_ref: string;
53
50
  child_artifact_refs: string[];
54
51
  }, {
55
52
  kind: "navigation";
56
53
  artifact_kind: string;
57
54
  artifact_id: string;
58
- artifact_ref: string;
59
55
  plan_digest: string;
56
+ artifact_ref: string;
60
57
  navigation_ref: string;
61
58
  child_artifact_refs: string[];
62
59
  }>, z.ZodObject<{
@@ -79,7 +76,6 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
79
76
  owner: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
80
77
  kind: z.ZodLiteral<"logical-unit">;
81
78
  logical_unit_ref: z.ZodString;
82
- node_ref: z.ZodString;
83
79
  artifact_ref: z.ZodString;
84
80
  artifact_id: z.ZodEffects<z.ZodString, string, string>;
85
81
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
@@ -96,7 +92,6 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
96
92
  split_of: string | null;
97
93
  logical_unit_ref: string;
98
94
  bundle_digest: string;
99
- node_ref: string;
100
95
  artifact_ref: string;
101
96
  section_refs: string[];
102
97
  material_state: "blocked" | "ready";
@@ -108,7 +103,6 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
108
103
  split_of: string | null;
109
104
  logical_unit_ref: string;
110
105
  bundle_digest: string;
111
- node_ref: string;
112
106
  artifact_ref: string;
113
107
  section_refs: string[];
114
108
  material_state: "blocked" | "ready";
@@ -124,16 +118,16 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
124
118
  kind: "navigation";
125
119
  artifact_kind: string;
126
120
  artifact_id: string;
127
- artifact_ref: string;
128
121
  plan_digest: string;
122
+ artifact_ref: string;
129
123
  navigation_ref: string;
130
124
  child_artifact_refs: string[];
131
125
  }, {
132
126
  kind: "navigation";
133
127
  artifact_kind: string;
134
128
  artifact_id: string;
135
- artifact_ref: string;
136
129
  plan_digest: string;
130
+ artifact_ref: string;
137
131
  navigation_ref: string;
138
132
  child_artifact_refs: string[];
139
133
  }>, z.ZodObject<{
@@ -157,7 +151,6 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
157
151
  split_of: string | null;
158
152
  logical_unit_ref: string;
159
153
  bundle_digest: string;
160
- node_ref: string;
161
154
  artifact_ref: string;
162
155
  section_refs: string[];
163
156
  material_state: "blocked" | "ready";
@@ -165,8 +158,8 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
165
158
  kind: "navigation";
166
159
  artifact_kind: string;
167
160
  artifact_id: string;
168
- artifact_ref: string;
169
161
  plan_digest: string;
162
+ artifact_ref: string;
170
163
  navigation_ref: string;
171
164
  child_artifact_refs: string[];
172
165
  } | {
@@ -188,7 +181,6 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
188
181
  split_of: string | null;
189
182
  logical_unit_ref: string;
190
183
  bundle_digest: string;
191
- node_ref: string;
192
184
  artifact_ref: string;
193
185
  section_refs: string[];
194
186
  material_state: "blocked" | "ready";
@@ -196,8 +188,8 @@ declare const physicalArtifactManifestEntrySchema: z.ZodObject<{
196
188
  kind: "navigation";
197
189
  artifact_kind: string;
198
190
  artifact_id: string;
199
- artifact_ref: string;
200
191
  plan_digest: string;
192
+ artifact_ref: string;
201
193
  navigation_ref: string;
202
194
  child_artifact_refs: string[];
203
195
  } | {
@@ -222,7 +214,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
222
214
  owner: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
223
215
  kind: z.ZodLiteral<"logical-unit">;
224
216
  logical_unit_ref: z.ZodString;
225
- node_ref: z.ZodString;
226
217
  artifact_ref: z.ZodString;
227
218
  artifact_id: z.ZodEffects<z.ZodString, string, string>;
228
219
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
@@ -239,7 +230,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
239
230
  split_of: string | null;
240
231
  logical_unit_ref: string;
241
232
  bundle_digest: string;
242
- node_ref: string;
243
233
  artifact_ref: string;
244
234
  section_refs: string[];
245
235
  material_state: "blocked" | "ready";
@@ -251,7 +241,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
251
241
  split_of: string | null;
252
242
  logical_unit_ref: string;
253
243
  bundle_digest: string;
254
- node_ref: string;
255
244
  artifact_ref: string;
256
245
  section_refs: string[];
257
246
  material_state: "blocked" | "ready";
@@ -267,16 +256,16 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
267
256
  kind: "navigation";
268
257
  artifact_kind: string;
269
258
  artifact_id: string;
270
- artifact_ref: string;
271
259
  plan_digest: string;
260
+ artifact_ref: string;
272
261
  navigation_ref: string;
273
262
  child_artifact_refs: string[];
274
263
  }, {
275
264
  kind: "navigation";
276
265
  artifact_kind: string;
277
266
  artifact_id: string;
278
- artifact_ref: string;
279
267
  plan_digest: string;
268
+ artifact_ref: string;
280
269
  navigation_ref: string;
281
270
  child_artifact_refs: string[];
282
271
  }>, z.ZodObject<{
@@ -300,7 +289,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
300
289
  split_of: string | null;
301
290
  logical_unit_ref: string;
302
291
  bundle_digest: string;
303
- node_ref: string;
304
292
  artifact_ref: string;
305
293
  section_refs: string[];
306
294
  material_state: "blocked" | "ready";
@@ -308,8 +296,8 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
308
296
  kind: "navigation";
309
297
  artifact_kind: string;
310
298
  artifact_id: string;
311
- artifact_ref: string;
312
299
  plan_digest: string;
300
+ artifact_ref: string;
313
301
  navigation_ref: string;
314
302
  child_artifact_refs: string[];
315
303
  } | {
@@ -331,7 +319,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
331
319
  split_of: string | null;
332
320
  logical_unit_ref: string;
333
321
  bundle_digest: string;
334
- node_ref: string;
335
322
  artifact_ref: string;
336
323
  section_refs: string[];
337
324
  material_state: "blocked" | "ready";
@@ -339,8 +326,8 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
339
326
  kind: "navigation";
340
327
  artifact_kind: string;
341
328
  artifact_id: string;
342
- artifact_ref: string;
343
329
  plan_digest: string;
330
+ artifact_ref: string;
344
331
  navigation_ref: string;
345
332
  child_artifact_refs: string[];
346
333
  } | {
@@ -366,7 +353,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
366
353
  split_of: string | null;
367
354
  logical_unit_ref: string;
368
355
  bundle_digest: string;
369
- node_ref: string;
370
356
  artifact_ref: string;
371
357
  section_refs: string[];
372
358
  material_state: "blocked" | "ready";
@@ -374,8 +360,8 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
374
360
  kind: "navigation";
375
361
  artifact_kind: string;
376
362
  artifact_id: string;
377
- artifact_ref: string;
378
363
  plan_digest: string;
364
+ artifact_ref: string;
379
365
  navigation_ref: string;
380
366
  child_artifact_refs: string[];
381
367
  } | {
@@ -402,7 +388,6 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
402
388
  split_of: string | null;
403
389
  logical_unit_ref: string;
404
390
  bundle_digest: string;
405
- node_ref: string;
406
391
  artifact_ref: string;
407
392
  section_refs: string[];
408
393
  material_state: "blocked" | "ready";
@@ -410,8 +395,8 @@ export declare const indexerArtifactManifestSchema: z.ZodObject<{
410
395
  kind: "navigation";
411
396
  artifact_kind: string;
412
397
  artifact_id: string;
413
- artifact_ref: string;
414
398
  plan_digest: string;
399
+ artifact_ref: string;
415
400
  navigation_ref: string;
416
401
  child_artifact_refs: string[];
417
402
  } | {
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
  import { type IndexerMaterializedLayerFragment } from "./indexerLayerComposition.js";
3
3
  import { indexerComposedResultEnvelopeSchema, indexerComposerInvocationReceiptSchema, materializeIndexerEffectiveArtifactSet, type IndexerComposedResultEnvelope, type IndexerComposerInvocationReceipt, type IndexerEffectiveArtifactSet } from "./indexerEffectiveArtifact.js";
4
- import { indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, validateIndexerPrimaryResultView, type IndexerPrimaryArtifactView, type IndexerPrimaryFactView, type IndexerPrimaryResultView } from "./indexerPrimaryResultView.js";
4
+ import { indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, validateIndexerPrimaryResultView, type IndexerPrimaryArtifactView, type IndexerPrimaryResultView } from "./indexerPrimaryResultView.js";
5
5
  export { indexerComposedResultEnvelopeSchema, indexerComposerInvocationReceiptSchema, indexerPrimaryResultViewDigest, indexerPrimaryResultViewSchema, materializeIndexerEffectiveArtifactSet, materializeIndexerPrimaryResultView, materializeIndexerPrimaryResultViewFromArtifactResult, validateIndexerPrimaryResultView, };
6
- export type { IndexerComposedResultEnvelope, IndexerComposerInvocationReceipt, IndexerEffectiveArtifactSet, IndexerPrimaryArtifactView, IndexerPrimaryFactView, IndexerPrimaryResultView, };
6
+ export type { IndexerComposedResultEnvelope, IndexerComposerInvocationReceipt, IndexerEffectiveArtifactSet, IndexerPrimaryArtifactView, IndexerPrimaryResultView, };
7
7
  declare const composerSelectionSchema: z.ZodObject<{
8
8
  id: z.ZodEffects<z.ZodString, string, string>;
9
9
  provider: z.ZodEffects<z.ZodString, string, string>;
@@ -28,14 +28,11 @@ declare const composerManifestLayerSchema: z.ZodObject<{
28
28
  contract: z.ZodOptional<z.ZodEffects<z.ZodObject<{
29
29
  instruction: z.ZodEffects<z.ZodString, string, string>;
30
30
  primary_requirements: z.ZodObject<{
31
- fact_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
32
31
  artifact_kinds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
33
32
  }, "strict", z.ZodTypeAny, {
34
33
  artifact_kinds: string[];
35
- fact_kinds: string[];
36
34
  }, {
37
35
  artifact_kinds: string[];
38
- fact_kinds: string[];
39
36
  }>;
40
37
  derived_artifact_policy: z.ZodObject<{
41
38
  fragment_protocol: z.ZodLiteral<"context.indexer.layer-fragment/v1">;
@@ -67,7 +64,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
67
64
  instruction: string;
68
65
  primary_requirements: {
69
66
  artifact_kinds: string[];
70
- fact_kinds: string[];
71
67
  };
72
68
  derived_artifact_policy: {
73
69
  artifact_policy_variant: string;
@@ -83,7 +79,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
83
79
  instruction: string;
84
80
  primary_requirements: {
85
81
  artifact_kinds: string[];
86
- fact_kinds: string[];
87
82
  };
88
83
  derived_artifact_policy: {
89
84
  artifact_policy_variant: string;
@@ -99,7 +94,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
99
94
  instruction: string;
100
95
  primary_requirements: {
101
96
  artifact_kinds: string[];
102
- fact_kinds: string[];
103
97
  };
104
98
  derived_artifact_policy: {
105
99
  artifact_policy_variant: string;
@@ -115,7 +109,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
115
109
  instruction: string;
116
110
  primary_requirements: {
117
111
  artifact_kinds: string[];
118
- fact_kinds: string[];
119
112
  };
120
113
  derived_artifact_policy: {
121
114
  artifact_policy_variant: string;
@@ -135,7 +128,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
135
128
  instruction: string;
136
129
  primary_requirements: {
137
130
  artifact_kinds: string[];
138
- fact_kinds: string[];
139
131
  };
140
132
  derived_artifact_policy: {
141
133
  artifact_policy_variant: string;
@@ -155,7 +147,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
155
147
  instruction: string;
156
148
  primary_requirements: {
157
149
  artifact_kinds: string[];
158
- fact_kinds: string[];
159
150
  };
160
151
  derived_artifact_policy: {
161
152
  artifact_policy_variant: string;
@@ -178,7 +169,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
178
169
  instruction: string;
179
170
  primary_requirements: {
180
171
  artifact_kinds: string[];
181
- fact_kinds: string[];
182
172
  };
183
173
  derived_artifact_policy: {
184
174
  artifact_policy_variant: string;
@@ -204,7 +194,6 @@ declare const composerManifestLayerSchema: z.ZodObject<{
204
194
  instruction: string;
205
195
  primary_requirements: {
206
196
  artifact_kinds: string[];
207
- fact_kinds: string[];
208
197
  };
209
198
  derived_artifact_policy: {
210
199
  artifact_policy_variant: string;
@@ -426,7 +415,6 @@ export declare function planIndexerPostAuthorComposition(input: {
426
415
  effective_composer_set: IndexerEffectiveComposerSet;
427
416
  author_workset_digest: string;
428
417
  primary_result_digest: string;
429
- primary_facts: readonly IndexerPrimaryFactView[];
430
418
  primary_artifacts: readonly IndexerPrimaryArtifactView[];
431
419
  validator_contract_digest: string;
432
420
  current_profile_binding_digest: string;
@@ -495,148 +483,17 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
495
483
  workset_digest: z.ZodString;
496
484
  primary_result_digest: z.ZodString;
497
485
  primary_result_protocol: z.ZodLiteral<"context.indexer.main-result/v1">;
498
- facts: z.ZodArray<z.ZodObject<{
499
- fact_ref: z.ZodString;
500
- subject_key: z.ZodObject<{
501
- protocol: z.ZodLiteral<"context.subject-key/v1">;
502
- namespace: z.ZodEffects<z.ZodString, string, string>;
503
- kind: z.ZodEffects<z.ZodString, string, string>;
504
- local_key: z.ZodEffects<z.ZodString, string, string>;
505
- }, "strict", z.ZodTypeAny, {
506
- kind: string;
507
- namespace: string;
508
- protocol: "context.subject-key/v1";
509
- local_key: string;
510
- }, {
511
- kind: string;
512
- namespace: string;
513
- protocol: "context.subject-key/v1";
514
- local_key: string;
515
- }>;
516
- fact_kind: z.ZodEffects<z.ZodString, string, string>;
517
- value: z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>;
518
- evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
519
- ref: z.ZodString;
520
- kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
521
- source_digest: z.ZodString;
522
- }, "strict", z.ZodTypeAny, {
523
- ref: string;
524
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
525
- source_digest: string;
526
- }, {
527
- ref: string;
528
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
529
- source_digest: string;
530
- }>, "many">, {
531
- ref: string;
532
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
533
- source_digest: string;
534
- }[], {
535
- ref: string;
536
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
537
- source_digest: string;
538
- }[]>;
539
- }, "strict", z.ZodTypeAny, {
540
- value: import("./indexerRegistry.js").IndexerJson;
541
- fact_ref: string;
542
- fact_kind: string;
543
- subject_key: {
544
- kind: string;
545
- namespace: string;
546
- protocol: "context.subject-key/v1";
547
- local_key: string;
548
- };
549
- evidence_refs: {
550
- ref: string;
551
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
552
- source_digest: string;
553
- }[];
554
- }, {
555
- value: import("./indexerRegistry.js").IndexerJson;
556
- fact_ref: string;
557
- fact_kind: string;
558
- subject_key: {
559
- kind: string;
560
- namespace: string;
561
- protocol: "context.subject-key/v1";
562
- local_key: string;
563
- };
564
- evidence_refs: {
565
- ref: string;
566
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
567
- source_digest: string;
568
- }[];
569
- }>, "many">;
570
486
  artifacts: z.ZodArray<z.ZodObject<{
571
487
  artifact_ref: z.ZodString;
572
- subject_key: z.ZodObject<{
573
- protocol: z.ZodLiteral<"context.subject-key/v1">;
574
- namespace: z.ZodEffects<z.ZodString, string, string>;
575
- kind: z.ZodEffects<z.ZodString, string, string>;
576
- local_key: z.ZodEffects<z.ZodString, string, string>;
577
- }, "strict", z.ZodTypeAny, {
578
- kind: string;
579
- namespace: string;
580
- protocol: "context.subject-key/v1";
581
- local_key: string;
582
- }, {
583
- kind: string;
584
- namespace: string;
585
- protocol: "context.subject-key/v1";
586
- local_key: string;
587
- }>;
588
488
  artifact_kind: z.ZodEffects<z.ZodString, string, string>;
589
489
  artifact_policy_variant: z.ZodEffects<z.ZodString, string, string>;
590
490
  variables: z.ZodRecord<z.ZodString, z.ZodType<import("./indexerRegistry.js").IndexerJson, z.ZodTypeDef, import("./indexerRegistry.js").IndexerJson>>;
591
- evidence_refs: z.ZodEffects<z.ZodArray<z.ZodObject<{
592
- ref: z.ZodString;
593
- kind: z.ZodEnum<["code", "contract", "configuration", "documentation", "runbook", "decision-record", "test-result", "runtime-observation", "tool-snapshot"]>;
594
- source_digest: z.ZodString;
595
- }, "strict", z.ZodTypeAny, {
596
- ref: string;
597
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
598
- source_digest: string;
599
- }, {
600
- ref: string;
601
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
602
- source_digest: string;
603
- }>, "many">, {
604
- ref: string;
605
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
606
- source_digest: string;
607
- }[], {
608
- ref: string;
609
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
610
- source_digest: string;
611
- }[]>;
612
491
  }, "strict", z.ZodTypeAny, {
613
- subject_key: {
614
- kind: string;
615
- namespace: string;
616
- protocol: "context.subject-key/v1";
617
- local_key: string;
618
- };
619
- evidence_refs: {
620
- ref: string;
621
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
622
- source_digest: string;
623
- }[];
624
492
  artifact_kind: string;
625
493
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
626
494
  artifact_policy_variant: string;
627
495
  artifact_ref: string;
628
496
  }, {
629
- subject_key: {
630
- kind: string;
631
- namespace: string;
632
- protocol: "context.subject-key/v1";
633
- local_key: string;
634
- };
635
- evidence_refs: {
636
- ref: string;
637
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
638
- source_digest: string;
639
- }[];
640
497
  artifact_kind: string;
641
498
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
642
499
  artifact_policy_variant: string;
@@ -664,22 +521,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
664
521
  }>;
665
522
  }, "strict", z.ZodTypeAny, {
666
523
  protocol: "context.indexer.primary-result-view/v1";
667
- facts: {
668
- value: import("./indexerRegistry.js").IndexerJson;
669
- fact_ref: string;
670
- fact_kind: string;
671
- subject_key: {
672
- kind: string;
673
- namespace: string;
674
- protocol: "context.subject-key/v1";
675
- local_key: string;
676
- };
677
- evidence_refs: {
678
- ref: string;
679
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
680
- source_digest: string;
681
- }[];
682
- }[];
683
524
  workset_digest: string;
684
525
  materialization_receipt: {
685
526
  protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
@@ -690,17 +531,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
690
531
  };
691
532
  view_digest: string;
692
533
  artifacts: {
693
- subject_key: {
694
- kind: string;
695
- namespace: string;
696
- protocol: "context.subject-key/v1";
697
- local_key: string;
698
- };
699
- evidence_refs: {
700
- ref: string;
701
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
702
- source_digest: string;
703
- }[];
704
534
  artifact_kind: string;
705
535
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
706
536
  artifact_policy_variant: string;
@@ -710,22 +540,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
710
540
  primary_result_protocol: "context.indexer.main-result/v1";
711
541
  }, {
712
542
  protocol: "context.indexer.primary-result-view/v1";
713
- facts: {
714
- value: import("./indexerRegistry.js").IndexerJson;
715
- fact_ref: string;
716
- fact_kind: string;
717
- subject_key: {
718
- kind: string;
719
- namespace: string;
720
- protocol: "context.subject-key/v1";
721
- local_key: string;
722
- };
723
- evidence_refs: {
724
- ref: string;
725
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
726
- source_digest: string;
727
- }[];
728
- }[];
729
543
  workset_digest: string;
730
544
  materialization_receipt: {
731
545
  protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
@@ -736,17 +550,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
736
550
  };
737
551
  view_digest: string;
738
552
  artifacts: {
739
- subject_key: {
740
- kind: string;
741
- namespace: string;
742
- protocol: "context.subject-key/v1";
743
- local_key: string;
744
- };
745
- evidence_refs: {
746
- ref: string;
747
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
748
- source_digest: string;
749
- }[];
750
553
  artifact_kind: string;
751
554
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
752
555
  artifact_policy_variant: string;
@@ -787,22 +590,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
787
590
  allowed_fragment_kinds: ["derived-artifact-proposal"];
788
591
  primary_result_view: {
789
592
  protocol: "context.indexer.primary-result-view/v1";
790
- facts: {
791
- value: import("./indexerRegistry.js").IndexerJson;
792
- fact_ref: string;
793
- fact_kind: string;
794
- subject_key: {
795
- kind: string;
796
- namespace: string;
797
- protocol: "context.subject-key/v1";
798
- local_key: string;
799
- };
800
- evidence_refs: {
801
- ref: string;
802
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
803
- source_digest: string;
804
- }[];
805
- }[];
806
593
  workset_digest: string;
807
594
  materialization_receipt: {
808
595
  protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
@@ -813,17 +600,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
813
600
  };
814
601
  view_digest: string;
815
602
  artifacts: {
816
- subject_key: {
817
- kind: string;
818
- namespace: string;
819
- protocol: "context.subject-key/v1";
820
- local_key: string;
821
- };
822
- evidence_refs: {
823
- ref: string;
824
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
825
- source_digest: string;
826
- }[];
827
603
  artifact_kind: string;
828
604
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
829
605
  artifact_policy_variant: string;
@@ -863,22 +639,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
863
639
  allowed_fragment_kinds: ["derived-artifact-proposal"];
864
640
  primary_result_view: {
865
641
  protocol: "context.indexer.primary-result-view/v1";
866
- facts: {
867
- value: import("./indexerRegistry.js").IndexerJson;
868
- fact_ref: string;
869
- fact_kind: string;
870
- subject_key: {
871
- kind: string;
872
- namespace: string;
873
- protocol: "context.subject-key/v1";
874
- local_key: string;
875
- };
876
- evidence_refs: {
877
- ref: string;
878
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
879
- source_digest: string;
880
- }[];
881
- }[];
882
642
  workset_digest: string;
883
643
  materialization_receipt: {
884
644
  protocol: "context.indexer.primary-result-view-materialization-receipt/v1";
@@ -889,17 +649,6 @@ export declare const indexerPostAuthorFragmentRequestSchema: z.ZodObject<{
889
649
  };
890
650
  view_digest: string;
891
651
  artifacts: {
892
- subject_key: {
893
- kind: string;
894
- namespace: string;
895
- protocol: "context.subject-key/v1";
896
- local_key: string;
897
- };
898
- evidence_refs: {
899
- ref: string;
900
- kind: "code" | "contract" | "configuration" | "documentation" | "runbook" | "decision-record" | "test-result" | "runtime-observation" | "tool-snapshot";
901
- source_digest: string;
902
- }[];
903
652
  artifact_kind: string;
904
653
  variables: Record<string, import("./indexerRegistry.js").IndexerJson>;
905
654
  artifact_policy_variant: string;