@c4a/context 0.7.5 → 0.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +12 -4
  2. package/README.zh-CN.md +11 -4
  3. package/docs/README.md +13 -1
  4. package/docs/README.zh-CN.md +13 -1
  5. package/docs/getting-started.md +95 -69
  6. package/docs/guides/agent-dialogue.md +20 -9
  7. package/docs/guides/agent-guide.md +48 -10
  8. package/docs/guides/code-indexer-skill-authoring.md +42 -11
  9. package/docs/guides/indexer-manifest-example.md +103 -0
  10. package/docs/guides/indexer-provider-and-customization.md +334 -15
  11. package/docs/guides/indexer-skill-creation.md +99 -0
  12. package/docs/guides/knowledge-updates.md +422 -0
  13. package/docs/guides/lark-resources.md +5 -1
  14. package/docs/guides/markdown-indexer-skill-authoring.md +16 -7
  15. package/docs/guides/note.md +37 -0
  16. package/docs/guides/package-outputs.md +231 -60
  17. package/docs/guides/sessions.md +50 -0
  18. package/docs/guides/workspace-commit.md +45 -0
  19. package/docs/guides/workspace-prepare.md +72 -0
  20. package/docs/guides/workspace-restore.md +59 -0
  21. package/docs/reference/code-extractors.md +23 -11
  22. package/docs/reference/indexer-provider-protocol.md +135 -22
  23. package/docs/reference/package-templates.md +10 -9
  24. package/docs/reference/project-api.md +100 -13
  25. package/docs/reference/template-variables.md +7 -7
  26. package/index.d.ts +15 -0
  27. package/index.js +1708 -626
  28. package/indexerAgentStepProtocol.d.ts +44 -0
  29. package/indexerApprovedKnowledge.d.ts +371 -0
  30. package/indexerArticlePlan.d.ts +83 -0
  31. package/indexerArtifact.d.ts +10 -7
  32. package/indexerArtifactDependencies.d.ts +5 -5
  33. package/indexerArtifactPolicy.d.ts +12 -12
  34. package/indexerArtifactResult.d.ts +76 -69
  35. package/indexerAuthoringFixture.d.ts +8 -8
  36. package/indexerAuthorizedWorksetView.d.ts +14 -14
  37. package/indexerBaseQuestionAmendment.d.ts +40 -0
  38. package/indexerCandidateCompile.d.ts +46 -36
  39. package/indexerCatalogFallback.d.ts +566 -48
  40. package/indexerContentLayers.d.ts +6 -4
  41. package/indexerContractDeclaration.d.ts +3 -0
  42. package/indexerControlledProgram.d.ts +1039 -238
  43. package/indexerCustomizationDraft.d.ts +188 -0
  44. package/indexerDependencyView.d.ts +17 -17
  45. package/indexerEffectiveArtifact.d.ts +26 -15
  46. package/indexerExampleFactDependencies.d.ts +17 -0
  47. package/indexerExampleIdentityAudit.d.ts +2 -2
  48. package/indexerInventoryDisposition.d.ts +44 -44
  49. package/indexerKnowledgeDependency.d.ts +46 -0
  50. package/indexerLayerComposition.d.ts +92 -54
  51. package/indexerLayoutChange.d.ts +8 -8
  52. package/indexerLayoutProposalSet.d.ts +15 -10
  53. package/indexerLayoutResolver.d.ts +15 -6
  54. package/indexerLayoutTransition.d.ts +8 -8
  55. package/indexerLifecycle.d.ts +1 -1
  56. package/indexerMainRunLedger.d.ts +3 -0
  57. package/indexerMainRunProtocol.d.ts +872 -196
  58. package/indexerMainWorkset.d.ts +50 -0
  59. package/indexerNavigationArtifactPlan.d.ts +2 -2
  60. package/indexerOverlayQuestionAmendment.d.ts +56 -16
  61. package/indexerOverlayQuestionApplyProposal.d.ts +98 -26
  62. package/indexerPartitionPlan.d.ts +585 -40
  63. package/indexerPhysicalArtifactAudit.d.ts +2 -2
  64. package/indexerPhysicalArtifactManifest.d.ts +24 -24
  65. package/indexerPostAuthorRunLedger.d.ts +60 -34
  66. package/indexerPrimaryProjection.d.ts +2 -2
  67. package/indexerProfileContract.d.ts +28 -28
  68. package/indexerProgramRunProtocol.d.ts +868 -194
  69. package/indexerProjectProposal.d.ts +36 -8
  70. package/indexerProjectedArtifactFanOutAudit.d.ts +2 -2
  71. package/indexerProtocolHash.d.ts +2 -0
  72. package/indexerProvider.d.ts +102 -58
  73. package/indexerProviderComposition.d.ts +4 -4
  74. package/indexerProviderRouting.d.ts +52 -0
  75. package/indexerProviderSelectionProposal.d.ts +48 -0
  76. package/indexerPublicContractFacts.d.ts +7 -0
  77. package/indexerPublicContractTable.d.ts +11 -0
  78. package/indexerReaderTargetInventory.d.ts +6 -6
  79. package/indexerReferenceOnlyAudit.d.ts +2 -2
  80. package/indexerRegistry.d.ts +658 -0
  81. package/indexerRequirementConfirmation.d.ts +48 -16
  82. package/indexerRequirementLifecycle.d.ts +154 -42
  83. package/indexerResultReconciliation.d.ts +12 -11
  84. package/indexerSemanticInput.d.ts +27168 -3813
  85. package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
  86. package/indexerStructuredDeclaration.d.ts +8 -8
  87. package/indexerTemplateRendering.d.ts +7 -7
  88. package/indexerToolSnapshot.d.ts +16 -16
  89. package/knowledgeMap.d.ts +188 -0
  90. package/managedSources.d.ts +15 -0
  91. package/package.json +1 -1
  92. package/packageSite.d.ts +25 -0
  93. package/phases.d.ts +0 -3
  94. package/processedScopes.d.ts +75 -0
  95. package/sessionMetadata.d.ts +49 -0
  96. package/sources.d.ts +9 -3
  97. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
  98. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
@@ -39,6 +39,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
39
39
  protocol: z.ZodLiteral<"context.indexer.registry/v1">;
40
40
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
41
41
  id: z.ZodEffects<z.ZodString, string, string>;
42
+ purpose: z.ZodOptional<z.ZodString>;
42
43
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
43
44
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
44
45
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -194,6 +195,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
194
195
  }[];
195
196
  }>;
196
197
  reason: z.ZodString;
198
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
197
199
  }, "strict", z.ZodTypeAny, {
198
200
  id: string;
199
201
  scope: {
@@ -203,6 +205,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
203
205
  }[];
204
206
  };
205
207
  reason: string;
208
+ paths?: string[] | undefined;
206
209
  }, {
207
210
  id: string;
208
211
  scope: {
@@ -212,6 +215,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
212
215
  }[];
213
216
  };
214
217
  reason: string;
218
+ paths?: string[] | undefined;
215
219
  }>, "many">>;
216
220
  }, "strict", z.ZodTypeAny, {
217
221
  id: string;
@@ -229,6 +233,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
229
233
  module_refs: string[];
230
234
  }[];
231
235
  };
236
+ purpose?: string | undefined;
232
237
  questions?: {
233
238
  ref: string;
234
239
  authority: {
@@ -248,6 +253,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
248
253
  }[];
249
254
  };
250
255
  reason: string;
256
+ paths?: string[] | undefined;
251
257
  }[] | undefined;
252
258
  }, {
253
259
  id: string;
@@ -265,6 +271,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
265
271
  module_refs?: string[] | undefined;
266
272
  }[];
267
273
  };
274
+ purpose?: string | undefined;
268
275
  questions?: {
269
276
  ref: string;
270
277
  authority: {
@@ -284,6 +291,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
284
291
  }[];
285
292
  };
286
293
  reason: string;
294
+ paths?: string[] | undefined;
287
295
  }[] | undefined;
288
296
  }>, {
289
297
  id: string;
@@ -301,6 +309,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
301
309
  module_refs: string[];
302
310
  }[];
303
311
  };
312
+ purpose?: string | undefined;
304
313
  questions?: {
305
314
  ref: string;
306
315
  authority: {
@@ -320,6 +329,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
320
329
  }[];
321
330
  };
322
331
  reason: string;
332
+ paths?: string[] | undefined;
323
333
  }[] | undefined;
324
334
  }, {
325
335
  id: string;
@@ -337,6 +347,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
337
347
  module_refs?: string[] | undefined;
338
348
  }[];
339
349
  };
350
+ purpose?: string | undefined;
340
351
  questions?: {
341
352
  ref: string;
342
353
  authority: {
@@ -356,6 +367,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
356
367
  }[];
357
368
  };
358
369
  reason: string;
370
+ paths?: string[] | undefined;
359
371
  }[] | undefined;
360
372
  }>, "many">;
361
373
  indexers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -1249,6 +1261,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1249
1261
  module_refs: string[];
1250
1262
  }[];
1251
1263
  };
1264
+ purpose?: string | undefined;
1252
1265
  questions?: {
1253
1266
  ref: string;
1254
1267
  authority: {
@@ -1268,6 +1281,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1268
1281
  }[];
1269
1282
  };
1270
1283
  reason: string;
1284
+ paths?: string[] | undefined;
1271
1285
  }[] | undefined;
1272
1286
  }[];
1273
1287
  indexers: {
@@ -1356,6 +1370,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1356
1370
  module_refs?: string[] | undefined;
1357
1371
  }[];
1358
1372
  };
1373
+ purpose?: string | undefined;
1359
1374
  questions?: {
1360
1375
  ref: string;
1361
1376
  authority: {
@@ -1375,6 +1390,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1375
1390
  }[];
1376
1391
  };
1377
1392
  reason: string;
1393
+ paths?: string[] | undefined;
1378
1394
  }[] | undefined;
1379
1395
  }[];
1380
1396
  indexers: {
@@ -1463,6 +1479,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1463
1479
  module_refs: string[];
1464
1480
  }[];
1465
1481
  };
1482
+ purpose?: string | undefined;
1466
1483
  questions?: {
1467
1484
  ref: string;
1468
1485
  authority: {
@@ -1482,6 +1499,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1482
1499
  }[];
1483
1500
  };
1484
1501
  reason: string;
1502
+ paths?: string[] | undefined;
1485
1503
  }[] | undefined;
1486
1504
  }[];
1487
1505
  indexers: {
@@ -1570,6 +1588,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1570
1588
  module_refs?: string[] | undefined;
1571
1589
  }[];
1572
1590
  };
1591
+ purpose?: string | undefined;
1573
1592
  questions?: {
1574
1593
  ref: string;
1575
1594
  authority: {
@@ -1589,6 +1608,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1589
1608
  }[];
1590
1609
  };
1591
1610
  reason: string;
1611
+ paths?: string[] | undefined;
1592
1612
  }[] | undefined;
1593
1613
  }[];
1594
1614
  indexers: {
@@ -1668,6 +1688,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1668
1688
  base_requirement_digest: z.ZodString;
1669
1689
  target_requirement: z.ZodEffects<z.ZodObject<{
1670
1690
  id: z.ZodEffects<z.ZodString, string, string>;
1691
+ purpose: z.ZodOptional<z.ZodString>;
1671
1692
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1672
1693
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
1673
1694
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1823,6 +1844,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1823
1844
  }[];
1824
1845
  }>;
1825
1846
  reason: z.ZodString;
1847
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1826
1848
  }, "strict", z.ZodTypeAny, {
1827
1849
  id: string;
1828
1850
  scope: {
@@ -1832,6 +1854,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1832
1854
  }[];
1833
1855
  };
1834
1856
  reason: string;
1857
+ paths?: string[] | undefined;
1835
1858
  }, {
1836
1859
  id: string;
1837
1860
  scope: {
@@ -1841,6 +1864,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1841
1864
  }[];
1842
1865
  };
1843
1866
  reason: string;
1867
+ paths?: string[] | undefined;
1844
1868
  }>, "many">>;
1845
1869
  }, "strict", z.ZodTypeAny, {
1846
1870
  id: string;
@@ -1858,6 +1882,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1858
1882
  module_refs: string[];
1859
1883
  }[];
1860
1884
  };
1885
+ purpose?: string | undefined;
1861
1886
  questions?: {
1862
1887
  ref: string;
1863
1888
  authority: {
@@ -1877,6 +1902,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1877
1902
  }[];
1878
1903
  };
1879
1904
  reason: string;
1905
+ paths?: string[] | undefined;
1880
1906
  }[] | undefined;
1881
1907
  }, {
1882
1908
  id: string;
@@ -1894,6 +1920,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1894
1920
  module_refs?: string[] | undefined;
1895
1921
  }[];
1896
1922
  };
1923
+ purpose?: string | undefined;
1897
1924
  questions?: {
1898
1925
  ref: string;
1899
1926
  authority: {
@@ -1913,6 +1940,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1913
1940
  }[];
1914
1941
  };
1915
1942
  reason: string;
1943
+ paths?: string[] | undefined;
1916
1944
  }[] | undefined;
1917
1945
  }>, {
1918
1946
  id: string;
@@ -1930,6 +1958,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1930
1958
  module_refs: string[];
1931
1959
  }[];
1932
1960
  };
1961
+ purpose?: string | undefined;
1933
1962
  questions?: {
1934
1963
  ref: string;
1935
1964
  authority: {
@@ -1949,6 +1978,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1949
1978
  }[];
1950
1979
  };
1951
1980
  reason: string;
1981
+ paths?: string[] | undefined;
1952
1982
  }[] | undefined;
1953
1983
  }, {
1954
1984
  id: string;
@@ -1966,6 +1996,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1966
1996
  module_refs?: string[] | undefined;
1967
1997
  }[];
1968
1998
  };
1999
+ purpose?: string | undefined;
1969
2000
  questions?: {
1970
2001
  ref: string;
1971
2002
  authority: {
@@ -1985,6 +2016,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1985
2016
  }[];
1986
2017
  };
1987
2018
  reason: string;
2019
+ paths?: string[] | undefined;
1988
2020
  }[] | undefined;
1989
2021
  }>;
1990
2022
  target_requirement_digest: z.ZodString;
@@ -1994,6 +2026,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
1994
2026
  protocol: z.ZodLiteral<"context.indexer.registry/v1">;
1995
2027
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
1996
2028
  id: z.ZodEffects<z.ZodString, string, string>;
2029
+ purpose: z.ZodOptional<z.ZodString>;
1997
2030
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1998
2031
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
1999
2032
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2149,6 +2182,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2149
2182
  }[];
2150
2183
  }>;
2151
2184
  reason: z.ZodString;
2185
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2152
2186
  }, "strict", z.ZodTypeAny, {
2153
2187
  id: string;
2154
2188
  scope: {
@@ -2158,6 +2192,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2158
2192
  }[];
2159
2193
  };
2160
2194
  reason: string;
2195
+ paths?: string[] | undefined;
2161
2196
  }, {
2162
2197
  id: string;
2163
2198
  scope: {
@@ -2167,6 +2202,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2167
2202
  }[];
2168
2203
  };
2169
2204
  reason: string;
2205
+ paths?: string[] | undefined;
2170
2206
  }>, "many">>;
2171
2207
  }, "strict", z.ZodTypeAny, {
2172
2208
  id: string;
@@ -2184,6 +2220,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2184
2220
  module_refs: string[];
2185
2221
  }[];
2186
2222
  };
2223
+ purpose?: string | undefined;
2187
2224
  questions?: {
2188
2225
  ref: string;
2189
2226
  authority: {
@@ -2203,6 +2240,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2203
2240
  }[];
2204
2241
  };
2205
2242
  reason: string;
2243
+ paths?: string[] | undefined;
2206
2244
  }[] | undefined;
2207
2245
  }, {
2208
2246
  id: string;
@@ -2220,6 +2258,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2220
2258
  module_refs?: string[] | undefined;
2221
2259
  }[];
2222
2260
  };
2261
+ purpose?: string | undefined;
2223
2262
  questions?: {
2224
2263
  ref: string;
2225
2264
  authority: {
@@ -2239,6 +2278,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2239
2278
  }[];
2240
2279
  };
2241
2280
  reason: string;
2281
+ paths?: string[] | undefined;
2242
2282
  }[] | undefined;
2243
2283
  }>, {
2244
2284
  id: string;
@@ -2256,6 +2296,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2256
2296
  module_refs: string[];
2257
2297
  }[];
2258
2298
  };
2299
+ purpose?: string | undefined;
2259
2300
  questions?: {
2260
2301
  ref: string;
2261
2302
  authority: {
@@ -2275,6 +2316,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2275
2316
  }[];
2276
2317
  };
2277
2318
  reason: string;
2319
+ paths?: string[] | undefined;
2278
2320
  }[] | undefined;
2279
2321
  }, {
2280
2322
  id: string;
@@ -2292,6 +2334,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2292
2334
  module_refs?: string[] | undefined;
2293
2335
  }[];
2294
2336
  };
2337
+ purpose?: string | undefined;
2295
2338
  questions?: {
2296
2339
  ref: string;
2297
2340
  authority: {
@@ -2311,6 +2354,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
2311
2354
  }[];
2312
2355
  };
2313
2356
  reason: string;
2357
+ paths?: string[] | undefined;
2314
2358
  }[] | undefined;
2315
2359
  }>, "many">;
2316
2360
  indexers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -3204,6 +3248,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3204
3248
  module_refs: string[];
3205
3249
  }[];
3206
3250
  };
3251
+ purpose?: string | undefined;
3207
3252
  questions?: {
3208
3253
  ref: string;
3209
3254
  authority: {
@@ -3223,6 +3268,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3223
3268
  }[];
3224
3269
  };
3225
3270
  reason: string;
3271
+ paths?: string[] | undefined;
3226
3272
  }[] | undefined;
3227
3273
  }[];
3228
3274
  indexers: {
@@ -3311,6 +3357,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3311
3357
  module_refs?: string[] | undefined;
3312
3358
  }[];
3313
3359
  };
3360
+ purpose?: string | undefined;
3314
3361
  questions?: {
3315
3362
  ref: string;
3316
3363
  authority: {
@@ -3330,6 +3377,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3330
3377
  }[];
3331
3378
  };
3332
3379
  reason: string;
3380
+ paths?: string[] | undefined;
3333
3381
  }[] | undefined;
3334
3382
  }[];
3335
3383
  indexers: {
@@ -3418,6 +3466,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3418
3466
  module_refs: string[];
3419
3467
  }[];
3420
3468
  };
3469
+ purpose?: string | undefined;
3421
3470
  questions?: {
3422
3471
  ref: string;
3423
3472
  authority: {
@@ -3437,6 +3486,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3437
3486
  }[];
3438
3487
  };
3439
3488
  reason: string;
3489
+ paths?: string[] | undefined;
3440
3490
  }[] | undefined;
3441
3491
  }[];
3442
3492
  indexers: {
@@ -3525,6 +3575,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3525
3575
  module_refs?: string[] | undefined;
3526
3576
  }[];
3527
3577
  };
3578
+ purpose?: string | undefined;
3528
3579
  questions?: {
3529
3580
  ref: string;
3530
3581
  authority: {
@@ -3544,6 +3595,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3544
3595
  }[];
3545
3596
  };
3546
3597
  reason: string;
3598
+ paths?: string[] | undefined;
3547
3599
  }[] | undefined;
3548
3600
  }[];
3549
3601
  indexers: {
@@ -3886,29 +3938,29 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3886
3938
  detail: string;
3887
3939
  }>, "many">;
3888
3940
  }, "strict", z.ZodTypeAny, {
3889
- protocol: "context.indexer.requirement-contraction-comparison/v1";
3890
- requirementRef: string;
3891
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3892
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3893
- requiresHumanConfirmation: boolean;
3894
3941
  changes: {
3895
3942
  path: string;
3896
3943
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
3897
3944
  relation: "strengthening" | "contraction" | "incomparable";
3898
3945
  detail: string;
3899
3946
  }[];
3900
- }, {
3901
3947
  protocol: "context.indexer.requirement-contraction-comparison/v1";
3902
3948
  requirementRef: string;
3903
3949
  evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3904
3950
  relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3905
3951
  requiresHumanConfirmation: boolean;
3952
+ }, {
3906
3953
  changes: {
3907
3954
  path: string;
3908
3955
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
3909
3956
  relation: "strengthening" | "contraction" | "incomparable";
3910
3957
  detail: string;
3911
3958
  }[];
3959
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
3960
+ requirementRef: string;
3961
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3962
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3963
+ requiresHumanConfirmation: boolean;
3912
3964
  }>;
3913
3965
  comparison_digest: z.ZodString;
3914
3966
  amendment_digest: z.ZodString;
@@ -3933,6 +3985,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3933
3985
  module_refs: string[];
3934
3986
  }[];
3935
3987
  };
3988
+ purpose?: string | undefined;
3936
3989
  questions?: {
3937
3990
  ref: string;
3938
3991
  authority: {
@@ -3952,6 +4005,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
3952
4005
  }[];
3953
4006
  };
3954
4007
  reason: string;
4008
+ paths?: string[] | undefined;
3955
4009
  }[] | undefined;
3956
4010
  }[];
3957
4011
  indexers: {
@@ -4024,17 +4078,17 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4024
4078
  }[];
4025
4079
  };
4026
4080
  comparison: {
4027
- protocol: "context.indexer.requirement-contraction-comparison/v1";
4028
- requirementRef: string;
4029
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4030
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4031
- requiresHumanConfirmation: boolean;
4032
4081
  changes: {
4033
4082
  path: string;
4034
4083
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
4035
4084
  relation: "strengthening" | "contraction" | "incomparable";
4036
4085
  detail: string;
4037
4086
  }[];
4087
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
4088
+ requirementRef: string;
4089
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4090
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4091
+ requiresHumanConfirmation: boolean;
4038
4092
  };
4039
4093
  comparison_digest: string;
4040
4094
  target_requirement_digest: string;
@@ -4060,6 +4114,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4060
4114
  module_refs: string[];
4061
4115
  }[];
4062
4116
  };
4117
+ purpose?: string | undefined;
4063
4118
  questions?: {
4064
4119
  ref: string;
4065
4120
  authority: {
@@ -4079,6 +4134,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4079
4134
  }[];
4080
4135
  };
4081
4136
  reason: string;
4137
+ paths?: string[] | undefined;
4082
4138
  }[] | undefined;
4083
4139
  };
4084
4140
  target_registry_digest: string;
@@ -4143,6 +4199,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4143
4199
  module_refs?: string[] | undefined;
4144
4200
  }[];
4145
4201
  };
4202
+ purpose?: string | undefined;
4146
4203
  questions?: {
4147
4204
  ref: string;
4148
4205
  authority: {
@@ -4162,6 +4219,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4162
4219
  }[];
4163
4220
  };
4164
4221
  reason: string;
4222
+ paths?: string[] | undefined;
4165
4223
  }[] | undefined;
4166
4224
  }[];
4167
4225
  indexers: {
@@ -4234,17 +4292,17 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4234
4292
  }[];
4235
4293
  };
4236
4294
  comparison: {
4237
- protocol: "context.indexer.requirement-contraction-comparison/v1";
4238
- requirementRef: string;
4239
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4240
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4241
- requiresHumanConfirmation: boolean;
4242
4295
  changes: {
4243
4296
  path: string;
4244
4297
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
4245
4298
  relation: "strengthening" | "contraction" | "incomparable";
4246
4299
  detail: string;
4247
4300
  }[];
4301
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
4302
+ requirementRef: string;
4303
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4304
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4305
+ requiresHumanConfirmation: boolean;
4248
4306
  };
4249
4307
  comparison_digest: string;
4250
4308
  target_requirement_digest: string;
@@ -4270,6 +4328,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4270
4328
  module_refs?: string[] | undefined;
4271
4329
  }[];
4272
4330
  };
4331
+ purpose?: string | undefined;
4273
4332
  questions?: {
4274
4333
  ref: string;
4275
4334
  authority: {
@@ -4289,6 +4348,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4289
4348
  }[];
4290
4349
  };
4291
4350
  reason: string;
4351
+ paths?: string[] | undefined;
4292
4352
  }[] | undefined;
4293
4353
  };
4294
4354
  target_registry_digest: string;
@@ -4410,6 +4470,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4410
4470
  module_refs: string[];
4411
4471
  }[];
4412
4472
  };
4473
+ purpose?: string | undefined;
4413
4474
  questions?: {
4414
4475
  ref: string;
4415
4476
  authority: {
@@ -4429,6 +4490,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4429
4490
  }[];
4430
4491
  };
4431
4492
  reason: string;
4493
+ paths?: string[] | undefined;
4432
4494
  }[] | undefined;
4433
4495
  }[];
4434
4496
  indexers: {
@@ -4525,6 +4587,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4525
4587
  module_refs: string[];
4526
4588
  }[];
4527
4589
  };
4590
+ purpose?: string | undefined;
4528
4591
  questions?: {
4529
4592
  ref: string;
4530
4593
  authority: {
@@ -4544,6 +4607,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4544
4607
  }[];
4545
4608
  };
4546
4609
  reason: string;
4610
+ paths?: string[] | undefined;
4547
4611
  }[] | undefined;
4548
4612
  }[];
4549
4613
  indexers: {
@@ -4616,17 +4680,17 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4616
4680
  }[];
4617
4681
  };
4618
4682
  comparison: {
4619
- protocol: "context.indexer.requirement-contraction-comparison/v1";
4620
- requirementRef: string;
4621
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4622
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4623
- requiresHumanConfirmation: boolean;
4624
4683
  changes: {
4625
4684
  path: string;
4626
4685
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
4627
4686
  relation: "strengthening" | "contraction" | "incomparable";
4628
4687
  detail: string;
4629
4688
  }[];
4689
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
4690
+ requirementRef: string;
4691
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4692
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4693
+ requiresHumanConfirmation: boolean;
4630
4694
  };
4631
4695
  comparison_digest: string;
4632
4696
  target_requirement_digest: string;
@@ -4652,6 +4716,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4652
4716
  module_refs: string[];
4653
4717
  }[];
4654
4718
  };
4719
+ purpose?: string | undefined;
4655
4720
  questions?: {
4656
4721
  ref: string;
4657
4722
  authority: {
@@ -4671,6 +4736,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4671
4736
  }[];
4672
4737
  };
4673
4738
  reason: string;
4739
+ paths?: string[] | undefined;
4674
4740
  }[] | undefined;
4675
4741
  };
4676
4742
  target_registry_digest: string;
@@ -4765,6 +4831,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4765
4831
  module_refs?: string[] | undefined;
4766
4832
  }[];
4767
4833
  };
4834
+ purpose?: string | undefined;
4768
4835
  questions?: {
4769
4836
  ref: string;
4770
4837
  authority: {
@@ -4784,6 +4851,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4784
4851
  }[];
4785
4852
  };
4786
4853
  reason: string;
4854
+ paths?: string[] | undefined;
4787
4855
  }[] | undefined;
4788
4856
  }[];
4789
4857
  indexers: {
@@ -4880,6 +4948,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4880
4948
  module_refs?: string[] | undefined;
4881
4949
  }[];
4882
4950
  };
4951
+ purpose?: string | undefined;
4883
4952
  questions?: {
4884
4953
  ref: string;
4885
4954
  authority: {
@@ -4899,6 +4968,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4899
4968
  }[];
4900
4969
  };
4901
4970
  reason: string;
4971
+ paths?: string[] | undefined;
4902
4972
  }[] | undefined;
4903
4973
  }[];
4904
4974
  indexers: {
@@ -4971,17 +5041,17 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
4971
5041
  }[];
4972
5042
  };
4973
5043
  comparison: {
4974
- protocol: "context.indexer.requirement-contraction-comparison/v1";
4975
- requirementRef: string;
4976
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
4977
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
4978
- requiresHumanConfirmation: boolean;
4979
5044
  changes: {
4980
5045
  path: string;
4981
5046
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
4982
5047
  relation: "strengthening" | "contraction" | "incomparable";
4983
5048
  detail: string;
4984
5049
  }[];
5050
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
5051
+ requirementRef: string;
5052
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
5053
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
5054
+ requiresHumanConfirmation: boolean;
4985
5055
  };
4986
5056
  comparison_digest: string;
4987
5057
  target_requirement_digest: string;
@@ -5007,6 +5077,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
5007
5077
  module_refs?: string[] | undefined;
5008
5078
  }[];
5009
5079
  };
5080
+ purpose?: string | undefined;
5010
5081
  questions?: {
5011
5082
  ref: string;
5012
5083
  authority: {
@@ -5026,6 +5097,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
5026
5097
  }[];
5027
5098
  };
5028
5099
  reason: string;
5100
+ paths?: string[] | undefined;
5029
5101
  }[] | undefined;
5030
5102
  };
5031
5103
  target_registry_digest: string;