@c4a/context 0.7.5 → 0.7.8

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 (96) 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 +19 -9
  7. package/docs/guides/agent-guide.md +42 -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 +277 -13
  11. package/docs/guides/indexer-skill-creation.md +99 -0
  12. package/docs/guides/knowledge-updates.md +324 -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 +22 -17
  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 +116 -22
  23. package/docs/reference/package-templates.md +10 -9
  24. package/docs/reference/project-api.md +47 -13
  25. package/docs/reference/template-variables.md +7 -7
  26. package/index.d.ts +11 -0
  27. package/index.js +1560 -572
  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 +16 -16
  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/indexerProvider.d.ts +72 -28
  72. package/indexerProviderComposition.d.ts +4 -4
  73. package/indexerProviderRouting.d.ts +52 -0
  74. package/indexerProviderSelectionProposal.d.ts +48 -0
  75. package/indexerPublicContractFacts.d.ts +7 -0
  76. package/indexerPublicContractTable.d.ts +11 -0
  77. package/indexerReaderTargetInventory.d.ts +6 -6
  78. package/indexerReferenceOnlyAudit.d.ts +2 -2
  79. package/indexerRegistry.d.ts +52 -0
  80. package/indexerRequirementConfirmation.d.ts +48 -16
  81. package/indexerRequirementLifecycle.d.ts +154 -42
  82. package/indexerResultReconciliation.d.ts +12 -11
  83. package/indexerSemanticInput.d.ts +27522 -3471
  84. package/{indexerGeneratedAuthoringAudit.d.ts → indexerStructuredClaims.d.ts} +0 -84
  85. package/indexerStructuredDeclaration.d.ts +8 -8
  86. package/indexerTemplateRendering.d.ts +7 -7
  87. package/indexerToolSnapshot.d.ts +16 -16
  88. package/managedSources.d.ts +15 -0
  89. package/package.json +1 -1
  90. package/phases.d.ts +0 -3
  91. package/processedScopes.d.ts +75 -0
  92. package/readingStructure.d.ts +188 -0
  93. package/sessionMetadata.d.ts +49 -0
  94. package/sources.d.ts +9 -3
  95. package/templates/package-templates/kb/skills/knowledge-query/SKILL.md +15 -10
  96. package/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md +8 -8
@@ -43,6 +43,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
43
43
  project_ref: z.ZodString;
44
44
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
45
45
  id: z.ZodEffects<z.ZodString, string, string>;
46
+ purpose: z.ZodOptional<z.ZodString>;
46
47
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
47
48
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
48
49
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -198,6 +199,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
198
199
  }[];
199
200
  }>;
200
201
  reason: z.ZodString;
202
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
201
203
  }, "strict", z.ZodTypeAny, {
202
204
  id: string;
203
205
  scope: {
@@ -207,6 +209,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
207
209
  }[];
208
210
  };
209
211
  reason: string;
212
+ paths?: string[] | undefined;
210
213
  }, {
211
214
  id: string;
212
215
  scope: {
@@ -216,6 +219,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
216
219
  }[];
217
220
  };
218
221
  reason: string;
222
+ paths?: string[] | undefined;
219
223
  }>, "many">>;
220
224
  }, "strict", z.ZodTypeAny, {
221
225
  id: string;
@@ -233,6 +237,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
233
237
  module_refs: string[];
234
238
  }[];
235
239
  };
240
+ purpose?: string | undefined;
236
241
  questions?: {
237
242
  ref: string;
238
243
  authority: {
@@ -252,6 +257,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
252
257
  }[];
253
258
  };
254
259
  reason: string;
260
+ paths?: string[] | undefined;
255
261
  }[] | undefined;
256
262
  }, {
257
263
  id: string;
@@ -269,6 +275,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
269
275
  module_refs?: string[] | undefined;
270
276
  }[];
271
277
  };
278
+ purpose?: string | undefined;
272
279
  questions?: {
273
280
  ref: string;
274
281
  authority: {
@@ -288,6 +295,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
288
295
  }[];
289
296
  };
290
297
  reason: string;
298
+ paths?: string[] | undefined;
291
299
  }[] | undefined;
292
300
  }>, {
293
301
  id: string;
@@ -305,6 +313,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
305
313
  module_refs: string[];
306
314
  }[];
307
315
  };
316
+ purpose?: string | undefined;
308
317
  questions?: {
309
318
  ref: string;
310
319
  authority: {
@@ -324,6 +333,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
324
333
  }[];
325
334
  };
326
335
  reason: string;
336
+ paths?: string[] | undefined;
327
337
  }[] | undefined;
328
338
  }, {
329
339
  id: string;
@@ -341,6 +351,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
341
351
  module_refs?: string[] | undefined;
342
352
  }[];
343
353
  };
354
+ purpose?: string | undefined;
344
355
  questions?: {
345
356
  ref: string;
346
357
  authority: {
@@ -360,6 +371,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
360
371
  }[];
361
372
  };
362
373
  reason: string;
374
+ paths?: string[] | undefined;
363
375
  }[] | undefined;
364
376
  }>, "many">;
365
377
  question_contracts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -433,6 +445,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
433
445
  module_refs: string[];
434
446
  }[];
435
447
  };
448
+ purpose?: string | undefined;
436
449
  questions?: {
437
450
  ref: string;
438
451
  authority: {
@@ -452,6 +465,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
452
465
  }[];
453
466
  };
454
467
  reason: string;
468
+ paths?: string[] | undefined;
455
469
  }[] | undefined;
456
470
  }[];
457
471
  project_ref: string;
@@ -488,6 +502,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
488
502
  module_refs?: string[] | undefined;
489
503
  }[];
490
504
  };
505
+ purpose?: string | undefined;
491
506
  questions?: {
492
507
  ref: string;
493
508
  authority: {
@@ -507,6 +522,7 @@ export declare const indexerRequirementInspectionInputSchema: z.ZodObject<{
507
522
  }[];
508
523
  };
509
524
  reason: string;
525
+ paths?: string[] | undefined;
510
526
  }[] | undefined;
511
527
  }[];
512
528
  project_ref: string;
@@ -533,6 +549,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
533
549
  protocol: z.ZodLiteral<"context.indexer.requirement-set/v1">;
534
550
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
535
551
  id: z.ZodEffects<z.ZodString, string, string>;
552
+ purpose: z.ZodOptional<z.ZodString>;
536
553
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
537
554
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
538
555
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -688,6 +705,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
688
705
  }[];
689
706
  }>;
690
707
  reason: z.ZodString;
708
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
691
709
  }, "strict", z.ZodTypeAny, {
692
710
  id: string;
693
711
  scope: {
@@ -697,6 +715,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
697
715
  }[];
698
716
  };
699
717
  reason: string;
718
+ paths?: string[] | undefined;
700
719
  }, {
701
720
  id: string;
702
721
  scope: {
@@ -706,6 +725,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
706
725
  }[];
707
726
  };
708
727
  reason: string;
728
+ paths?: string[] | undefined;
709
729
  }>, "many">>;
710
730
  }, "strict", z.ZodTypeAny, {
711
731
  id: string;
@@ -723,6 +743,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
723
743
  module_refs: string[];
724
744
  }[];
725
745
  };
746
+ purpose?: string | undefined;
726
747
  questions?: {
727
748
  ref: string;
728
749
  authority: {
@@ -742,6 +763,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
742
763
  }[];
743
764
  };
744
765
  reason: string;
766
+ paths?: string[] | undefined;
745
767
  }[] | undefined;
746
768
  }, {
747
769
  id: string;
@@ -759,6 +781,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
759
781
  module_refs?: string[] | undefined;
760
782
  }[];
761
783
  };
784
+ purpose?: string | undefined;
762
785
  questions?: {
763
786
  ref: string;
764
787
  authority: {
@@ -778,6 +801,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
778
801
  }[];
779
802
  };
780
803
  reason: string;
804
+ paths?: string[] | undefined;
781
805
  }[] | undefined;
782
806
  }>, {
783
807
  id: string;
@@ -795,6 +819,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
795
819
  module_refs: string[];
796
820
  }[];
797
821
  };
822
+ purpose?: string | undefined;
798
823
  questions?: {
799
824
  ref: string;
800
825
  authority: {
@@ -814,6 +839,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
814
839
  }[];
815
840
  };
816
841
  reason: string;
842
+ paths?: string[] | undefined;
817
843
  }[] | undefined;
818
844
  }, {
819
845
  id: string;
@@ -831,6 +857,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
831
857
  module_refs?: string[] | undefined;
832
858
  }[];
833
859
  };
860
+ purpose?: string | undefined;
834
861
  questions?: {
835
862
  ref: string;
836
863
  authority: {
@@ -850,6 +877,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
850
877
  }[];
851
878
  };
852
879
  reason: string;
880
+ paths?: string[] | undefined;
853
881
  }[] | undefined;
854
882
  }>, "many">;
855
883
  }, "strict", z.ZodTypeAny, {
@@ -870,6 +898,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
870
898
  module_refs: string[];
871
899
  }[];
872
900
  };
901
+ purpose?: string | undefined;
873
902
  questions?: {
874
903
  ref: string;
875
904
  authority: {
@@ -889,6 +918,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
889
918
  }[];
890
919
  };
891
920
  reason: string;
921
+ paths?: string[] | undefined;
892
922
  }[] | undefined;
893
923
  }[];
894
924
  }, {
@@ -909,6 +939,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
909
939
  module_refs?: string[] | undefined;
910
940
  }[];
911
941
  };
942
+ purpose?: string | undefined;
912
943
  questions?: {
913
944
  ref: string;
914
945
  authority: {
@@ -928,6 +959,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
928
959
  }[];
929
960
  };
930
961
  reason: string;
962
+ paths?: string[] | undefined;
931
963
  }[] | undefined;
932
964
  }[];
933
965
  }>, {
@@ -948,6 +980,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
948
980
  module_refs: string[];
949
981
  }[];
950
982
  };
983
+ purpose?: string | undefined;
951
984
  questions?: {
952
985
  ref: string;
953
986
  authority: {
@@ -967,6 +1000,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
967
1000
  }[];
968
1001
  };
969
1002
  reason: string;
1003
+ paths?: string[] | undefined;
970
1004
  }[] | undefined;
971
1005
  }[];
972
1006
  }, {
@@ -987,6 +1021,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
987
1021
  module_refs?: string[] | undefined;
988
1022
  }[];
989
1023
  };
1024
+ purpose?: string | undefined;
990
1025
  questions?: {
991
1026
  ref: string;
992
1027
  authority: {
@@ -1006,6 +1041,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1006
1041
  }[];
1007
1042
  };
1008
1043
  reason: string;
1044
+ paths?: string[] | undefined;
1009
1045
  }[] | undefined;
1010
1046
  }[];
1011
1047
  }>;
@@ -1139,6 +1175,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1139
1175
  module_refs: string[];
1140
1176
  }[];
1141
1177
  };
1178
+ purpose?: string | undefined;
1142
1179
  questions?: {
1143
1180
  ref: string;
1144
1181
  authority: {
@@ -1158,6 +1195,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1158
1195
  }[];
1159
1196
  };
1160
1197
  reason: string;
1198
+ paths?: string[] | undefined;
1161
1199
  }[] | undefined;
1162
1200
  }[];
1163
1201
  };
@@ -1211,6 +1249,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1211
1249
  module_refs?: string[] | undefined;
1212
1250
  }[];
1213
1251
  };
1252
+ purpose?: string | undefined;
1214
1253
  questions?: {
1215
1254
  ref: string;
1216
1255
  authority: {
@@ -1230,6 +1269,7 @@ export declare const indexerRequirementInspectionSchema: z.ZodObject<{
1230
1269
  }[];
1231
1270
  };
1232
1271
  reason: string;
1272
+ paths?: string[] | undefined;
1233
1273
  }[] | undefined;
1234
1274
  }[];
1235
1275
  };
@@ -1254,6 +1294,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1254
1294
  protocol: z.ZodLiteral<"context.indexer.requirement-set/v1">;
1255
1295
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
1256
1296
  id: z.ZodEffects<z.ZodString, string, string>;
1297
+ purpose: z.ZodOptional<z.ZodString>;
1257
1298
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1258
1299
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
1259
1300
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1409,6 +1450,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1409
1450
  }[];
1410
1451
  }>;
1411
1452
  reason: z.ZodString;
1453
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1412
1454
  }, "strict", z.ZodTypeAny, {
1413
1455
  id: string;
1414
1456
  scope: {
@@ -1418,6 +1460,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1418
1460
  }[];
1419
1461
  };
1420
1462
  reason: string;
1463
+ paths?: string[] | undefined;
1421
1464
  }, {
1422
1465
  id: string;
1423
1466
  scope: {
@@ -1427,6 +1470,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1427
1470
  }[];
1428
1471
  };
1429
1472
  reason: string;
1473
+ paths?: string[] | undefined;
1430
1474
  }>, "many">>;
1431
1475
  }, "strict", z.ZodTypeAny, {
1432
1476
  id: string;
@@ -1444,6 +1488,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1444
1488
  module_refs: string[];
1445
1489
  }[];
1446
1490
  };
1491
+ purpose?: string | undefined;
1447
1492
  questions?: {
1448
1493
  ref: string;
1449
1494
  authority: {
@@ -1463,6 +1508,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1463
1508
  }[];
1464
1509
  };
1465
1510
  reason: string;
1511
+ paths?: string[] | undefined;
1466
1512
  }[] | undefined;
1467
1513
  }, {
1468
1514
  id: string;
@@ -1480,6 +1526,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1480
1526
  module_refs?: string[] | undefined;
1481
1527
  }[];
1482
1528
  };
1529
+ purpose?: string | undefined;
1483
1530
  questions?: {
1484
1531
  ref: string;
1485
1532
  authority: {
@@ -1499,6 +1546,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1499
1546
  }[];
1500
1547
  };
1501
1548
  reason: string;
1549
+ paths?: string[] | undefined;
1502
1550
  }[] | undefined;
1503
1551
  }>, {
1504
1552
  id: string;
@@ -1516,6 +1564,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1516
1564
  module_refs: string[];
1517
1565
  }[];
1518
1566
  };
1567
+ purpose?: string | undefined;
1519
1568
  questions?: {
1520
1569
  ref: string;
1521
1570
  authority: {
@@ -1535,6 +1584,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1535
1584
  }[];
1536
1585
  };
1537
1586
  reason: string;
1587
+ paths?: string[] | undefined;
1538
1588
  }[] | undefined;
1539
1589
  }, {
1540
1590
  id: string;
@@ -1552,6 +1602,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1552
1602
  module_refs?: string[] | undefined;
1553
1603
  }[];
1554
1604
  };
1605
+ purpose?: string | undefined;
1555
1606
  questions?: {
1556
1607
  ref: string;
1557
1608
  authority: {
@@ -1571,6 +1622,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1571
1622
  }[];
1572
1623
  };
1573
1624
  reason: string;
1625
+ paths?: string[] | undefined;
1574
1626
  }[] | undefined;
1575
1627
  }>, "many">;
1576
1628
  }, "strict", z.ZodTypeAny, {
@@ -1591,6 +1643,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1591
1643
  module_refs: string[];
1592
1644
  }[];
1593
1645
  };
1646
+ purpose?: string | undefined;
1594
1647
  questions?: {
1595
1648
  ref: string;
1596
1649
  authority: {
@@ -1610,6 +1663,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1610
1663
  }[];
1611
1664
  };
1612
1665
  reason: string;
1666
+ paths?: string[] | undefined;
1613
1667
  }[] | undefined;
1614
1668
  }[];
1615
1669
  }, {
@@ -1630,6 +1684,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1630
1684
  module_refs?: string[] | undefined;
1631
1685
  }[];
1632
1686
  };
1687
+ purpose?: string | undefined;
1633
1688
  questions?: {
1634
1689
  ref: string;
1635
1690
  authority: {
@@ -1649,6 +1704,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1649
1704
  }[];
1650
1705
  };
1651
1706
  reason: string;
1707
+ paths?: string[] | undefined;
1652
1708
  }[] | undefined;
1653
1709
  }[];
1654
1710
  }>, {
@@ -1669,6 +1725,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1669
1725
  module_refs: string[];
1670
1726
  }[];
1671
1727
  };
1728
+ purpose?: string | undefined;
1672
1729
  questions?: {
1673
1730
  ref: string;
1674
1731
  authority: {
@@ -1688,6 +1745,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1688
1745
  }[];
1689
1746
  };
1690
1747
  reason: string;
1748
+ paths?: string[] | undefined;
1691
1749
  }[] | undefined;
1692
1750
  }[];
1693
1751
  }, {
@@ -1708,6 +1766,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1708
1766
  module_refs?: string[] | undefined;
1709
1767
  }[];
1710
1768
  };
1769
+ purpose?: string | undefined;
1711
1770
  questions?: {
1712
1771
  ref: string;
1713
1772
  authority: {
@@ -1727,6 +1786,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1727
1786
  }[];
1728
1787
  };
1729
1788
  reason: string;
1789
+ paths?: string[] | undefined;
1730
1790
  }[] | undefined;
1731
1791
  }[];
1732
1792
  }>>;
@@ -1734,6 +1794,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1734
1794
  protocol: z.ZodLiteral<"context.indexer.requirement-set/v1">;
1735
1795
  requirements: z.ZodArray<z.ZodEffects<z.ZodObject<{
1736
1796
  id: z.ZodEffects<z.ZodString, string, string>;
1797
+ purpose: z.ZodOptional<z.ZodString>;
1737
1798
  reader_goals: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1738
1799
  coverage_domains: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["required", "optional", "out-of-scope"]>>;
1739
1800
  questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1889,6 +1950,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1889
1950
  }[];
1890
1951
  }>;
1891
1952
  reason: z.ZodString;
1953
+ paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1892
1954
  }, "strict", z.ZodTypeAny, {
1893
1955
  id: string;
1894
1956
  scope: {
@@ -1898,6 +1960,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1898
1960
  }[];
1899
1961
  };
1900
1962
  reason: string;
1963
+ paths?: string[] | undefined;
1901
1964
  }, {
1902
1965
  id: string;
1903
1966
  scope: {
@@ -1907,6 +1970,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1907
1970
  }[];
1908
1971
  };
1909
1972
  reason: string;
1973
+ paths?: string[] | undefined;
1910
1974
  }>, "many">>;
1911
1975
  }, "strict", z.ZodTypeAny, {
1912
1976
  id: string;
@@ -1924,6 +1988,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1924
1988
  module_refs: string[];
1925
1989
  }[];
1926
1990
  };
1991
+ purpose?: string | undefined;
1927
1992
  questions?: {
1928
1993
  ref: string;
1929
1994
  authority: {
@@ -1943,6 +2008,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1943
2008
  }[];
1944
2009
  };
1945
2010
  reason: string;
2011
+ paths?: string[] | undefined;
1946
2012
  }[] | undefined;
1947
2013
  }, {
1948
2014
  id: string;
@@ -1960,6 +2026,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1960
2026
  module_refs?: string[] | undefined;
1961
2027
  }[];
1962
2028
  };
2029
+ purpose?: string | undefined;
1963
2030
  questions?: {
1964
2031
  ref: string;
1965
2032
  authority: {
@@ -1979,6 +2046,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1979
2046
  }[];
1980
2047
  };
1981
2048
  reason: string;
2049
+ paths?: string[] | undefined;
1982
2050
  }[] | undefined;
1983
2051
  }>, {
1984
2052
  id: string;
@@ -1996,6 +2064,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
1996
2064
  module_refs: string[];
1997
2065
  }[];
1998
2066
  };
2067
+ purpose?: string | undefined;
1999
2068
  questions?: {
2000
2069
  ref: string;
2001
2070
  authority: {
@@ -2015,6 +2084,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2015
2084
  }[];
2016
2085
  };
2017
2086
  reason: string;
2087
+ paths?: string[] | undefined;
2018
2088
  }[] | undefined;
2019
2089
  }, {
2020
2090
  id: string;
@@ -2032,6 +2102,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2032
2102
  module_refs?: string[] | undefined;
2033
2103
  }[];
2034
2104
  };
2105
+ purpose?: string | undefined;
2035
2106
  questions?: {
2036
2107
  ref: string;
2037
2108
  authority: {
@@ -2051,6 +2122,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2051
2122
  }[];
2052
2123
  };
2053
2124
  reason: string;
2125
+ paths?: string[] | undefined;
2054
2126
  }[] | undefined;
2055
2127
  }>, "many">;
2056
2128
  }, "strict", z.ZodTypeAny, {
@@ -2071,6 +2143,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2071
2143
  module_refs: string[];
2072
2144
  }[];
2073
2145
  };
2146
+ purpose?: string | undefined;
2074
2147
  questions?: {
2075
2148
  ref: string;
2076
2149
  authority: {
@@ -2090,6 +2163,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2090
2163
  }[];
2091
2164
  };
2092
2165
  reason: string;
2166
+ paths?: string[] | undefined;
2093
2167
  }[] | undefined;
2094
2168
  }[];
2095
2169
  }, {
@@ -2110,6 +2184,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2110
2184
  module_refs?: string[] | undefined;
2111
2185
  }[];
2112
2186
  };
2187
+ purpose?: string | undefined;
2113
2188
  questions?: {
2114
2189
  ref: string;
2115
2190
  authority: {
@@ -2129,6 +2204,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2129
2204
  }[];
2130
2205
  };
2131
2206
  reason: string;
2207
+ paths?: string[] | undefined;
2132
2208
  }[] | undefined;
2133
2209
  }[];
2134
2210
  }>, {
@@ -2149,6 +2225,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2149
2225
  module_refs: string[];
2150
2226
  }[];
2151
2227
  };
2228
+ purpose?: string | undefined;
2152
2229
  questions?: {
2153
2230
  ref: string;
2154
2231
  authority: {
@@ -2168,6 +2245,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2168
2245
  }[];
2169
2246
  };
2170
2247
  reason: string;
2248
+ paths?: string[] | undefined;
2171
2249
  }[] | undefined;
2172
2250
  }[];
2173
2251
  }, {
@@ -2188,6 +2266,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2188
2266
  module_refs?: string[] | undefined;
2189
2267
  }[];
2190
2268
  };
2269
+ purpose?: string | undefined;
2191
2270
  questions?: {
2192
2271
  ref: string;
2193
2272
  authority: {
@@ -2207,6 +2286,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2207
2286
  }[];
2208
2287
  };
2209
2288
  reason: string;
2289
+ paths?: string[] | undefined;
2210
2290
  }[] | undefined;
2211
2291
  }[];
2212
2292
  }>;
@@ -2269,6 +2349,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2269
2349
  module_refs: string[];
2270
2350
  }[];
2271
2351
  };
2352
+ purpose?: string | undefined;
2272
2353
  questions?: {
2273
2354
  ref: string;
2274
2355
  authority: {
@@ -2288,6 +2369,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2288
2369
  }[];
2289
2370
  };
2290
2371
  reason: string;
2372
+ paths?: string[] | undefined;
2291
2373
  }[] | undefined;
2292
2374
  };
2293
2375
  new_requirement: {
@@ -2306,6 +2388,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2306
2388
  module_refs: string[];
2307
2389
  }[];
2308
2390
  };
2391
+ purpose?: string | undefined;
2309
2392
  questions?: {
2310
2393
  ref: string;
2311
2394
  authority: {
@@ -2325,6 +2408,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2325
2408
  }[];
2326
2409
  };
2327
2410
  reason: string;
2411
+ paths?: string[] | undefined;
2328
2412
  }[] | undefined;
2329
2413
  };
2330
2414
  old_requirement_digest: string;
@@ -2364,17 +2448,17 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2364
2448
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
2365
2449
  };
2366
2450
  comparison: {
2367
- protocol: "context.indexer.requirement-contraction-comparison/v1";
2368
- requirementRef: string;
2369
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2370
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2371
- requiresHumanConfirmation: boolean;
2372
2451
  changes: {
2373
2452
  path: string;
2374
2453
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
2375
2454
  relation: "strengthening" | "contraction" | "incomparable";
2376
2455
  detail: string;
2377
2456
  }[];
2457
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
2458
+ requirementRef: string;
2459
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2460
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2461
+ requiresHumanConfirmation: boolean;
2378
2462
  };
2379
2463
  comparison_digest: string;
2380
2464
  }, z.ZodTypeDef, {
@@ -2397,6 +2481,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2397
2481
  module_refs: string[];
2398
2482
  }[];
2399
2483
  };
2484
+ purpose?: string | undefined;
2400
2485
  questions?: {
2401
2486
  ref: string;
2402
2487
  authority: {
@@ -2416,6 +2501,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2416
2501
  }[];
2417
2502
  };
2418
2503
  reason: string;
2504
+ paths?: string[] | undefined;
2419
2505
  }[] | undefined;
2420
2506
  };
2421
2507
  new_requirement: {
@@ -2434,6 +2520,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2434
2520
  module_refs: string[];
2435
2521
  }[];
2436
2522
  };
2523
+ purpose?: string | undefined;
2437
2524
  questions?: {
2438
2525
  ref: string;
2439
2526
  authority: {
@@ -2453,6 +2540,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2453
2540
  }[];
2454
2541
  };
2455
2542
  reason: string;
2543
+ paths?: string[] | undefined;
2456
2544
  }[] | undefined;
2457
2545
  };
2458
2546
  old_requirement_digest: string;
@@ -2492,17 +2580,17 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2492
2580
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
2493
2581
  };
2494
2582
  comparison: {
2495
- protocol: "context.indexer.requirement-contraction-comparison/v1";
2496
- requirementRef: string;
2497
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2498
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2499
- requiresHumanConfirmation: boolean;
2500
2583
  changes: {
2501
2584
  path: string;
2502
2585
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
2503
2586
  relation: "strengthening" | "contraction" | "incomparable";
2504
2587
  detail: string;
2505
2588
  }[];
2589
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
2590
+ requirementRef: string;
2591
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2592
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2593
+ requiresHumanConfirmation: boolean;
2506
2594
  };
2507
2595
  comparison_digest: string;
2508
2596
  }>;
@@ -2530,6 +2618,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2530
2618
  module_refs: string[];
2531
2619
  }[];
2532
2620
  };
2621
+ purpose?: string | undefined;
2533
2622
  questions?: {
2534
2623
  ref: string;
2535
2624
  authority: {
@@ -2549,6 +2638,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2549
2638
  }[];
2550
2639
  };
2551
2640
  reason: string;
2641
+ paths?: string[] | undefined;
2552
2642
  }[] | undefined;
2553
2643
  };
2554
2644
  new_requirement: {
@@ -2567,6 +2657,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2567
2657
  module_refs: string[];
2568
2658
  }[];
2569
2659
  };
2660
+ purpose?: string | undefined;
2570
2661
  questions?: {
2571
2662
  ref: string;
2572
2663
  authority: {
@@ -2586,6 +2677,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2586
2677
  }[];
2587
2678
  };
2588
2679
  reason: string;
2680
+ paths?: string[] | undefined;
2589
2681
  }[] | undefined;
2590
2682
  };
2591
2683
  old_requirement_digest: string;
@@ -2625,17 +2717,17 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2625
2717
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
2626
2718
  };
2627
2719
  comparison: {
2628
- protocol: "context.indexer.requirement-contraction-comparison/v1";
2629
- requirementRef: string;
2630
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2631
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2632
- requiresHumanConfirmation: boolean;
2633
2720
  changes: {
2634
2721
  path: string;
2635
2722
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
2636
2723
  relation: "strengthening" | "contraction" | "incomparable";
2637
2724
  detail: string;
2638
2725
  }[];
2726
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
2727
+ requirementRef: string;
2728
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2729
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2730
+ requiresHumanConfirmation: boolean;
2639
2731
  };
2640
2732
  comparison_digest: string;
2641
2733
  };
@@ -2663,6 +2755,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2663
2755
  module_refs: string[];
2664
2756
  }[];
2665
2757
  };
2758
+ purpose?: string | undefined;
2666
2759
  questions?: {
2667
2760
  ref: string;
2668
2761
  authority: {
@@ -2682,6 +2775,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2682
2775
  }[];
2683
2776
  };
2684
2777
  reason: string;
2778
+ paths?: string[] | undefined;
2685
2779
  }[] | undefined;
2686
2780
  };
2687
2781
  new_requirement: {
@@ -2700,6 +2794,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2700
2794
  module_refs: string[];
2701
2795
  }[];
2702
2796
  };
2797
+ purpose?: string | undefined;
2703
2798
  questions?: {
2704
2799
  ref: string;
2705
2800
  authority: {
@@ -2719,6 +2814,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2719
2814
  }[];
2720
2815
  };
2721
2816
  reason: string;
2817
+ paths?: string[] | undefined;
2722
2818
  }[] | undefined;
2723
2819
  };
2724
2820
  old_requirement_digest: string;
@@ -2758,17 +2854,17 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2758
2854
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
2759
2855
  };
2760
2856
  comparison: {
2761
- protocol: "context.indexer.requirement-contraction-comparison/v1";
2762
- requirementRef: string;
2763
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2764
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2765
- requiresHumanConfirmation: boolean;
2766
2857
  changes: {
2767
2858
  path: string;
2768
2859
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
2769
2860
  relation: "strengthening" | "contraction" | "incomparable";
2770
2861
  detail: string;
2771
2862
  }[];
2863
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
2864
+ requirementRef: string;
2865
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2866
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2867
+ requiresHumanConfirmation: boolean;
2772
2868
  };
2773
2869
  comparison_digest: string;
2774
2870
  };
@@ -2776,12 +2872,6 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2776
2872
  workset_digest: z.ZodString;
2777
2873
  report_digest: z.ZodString;
2778
2874
  }, "strict", z.ZodTypeAny, {
2779
- protocol: "context.indexer.requirement-workset-report/v1";
2780
- workset_digest: string;
2781
- project_ref: string;
2782
- report_digest: string;
2783
- requires_human_confirmation: boolean;
2784
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2785
2875
  changes: ({
2786
2876
  kind: "added";
2787
2877
  requirement_ref: string;
@@ -2816,6 +2906,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2816
2906
  module_refs: string[];
2817
2907
  }[];
2818
2908
  };
2909
+ purpose?: string | undefined;
2819
2910
  questions?: {
2820
2911
  ref: string;
2821
2912
  authority: {
@@ -2835,6 +2926,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2835
2926
  }[];
2836
2927
  };
2837
2928
  reason: string;
2929
+ paths?: string[] | undefined;
2838
2930
  }[] | undefined;
2839
2931
  };
2840
2932
  new_requirement: {
@@ -2853,6 +2945,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2853
2945
  module_refs: string[];
2854
2946
  }[];
2855
2947
  };
2948
+ purpose?: string | undefined;
2856
2949
  questions?: {
2857
2950
  ref: string;
2858
2951
  authority: {
@@ -2872,6 +2965,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2872
2965
  }[];
2873
2966
  };
2874
2967
  reason: string;
2968
+ paths?: string[] | undefined;
2875
2969
  }[] | undefined;
2876
2970
  };
2877
2971
  old_requirement_digest: string;
@@ -2911,21 +3005,27 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2911
3005
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
2912
3006
  };
2913
3007
  comparison: {
2914
- protocol: "context.indexer.requirement-contraction-comparison/v1";
2915
- requirementRef: string;
2916
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
2917
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2918
- requiresHumanConfirmation: boolean;
2919
3008
  changes: {
2920
3009
  path: string;
2921
3010
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
2922
3011
  relation: "strengthening" | "contraction" | "incomparable";
2923
3012
  detail: string;
2924
3013
  }[];
3014
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
3015
+ requirementRef: string;
3016
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3017
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3018
+ requiresHumanConfirmation: boolean;
2925
3019
  };
2926
3020
  comparison_digest: string;
2927
3021
  };
2928
3022
  })[];
3023
+ protocol: "context.indexer.requirement-workset-report/v1";
3024
+ workset_digest: string;
3025
+ project_ref: string;
3026
+ report_digest: string;
3027
+ requires_human_confirmation: boolean;
3028
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
2929
3029
  source_boundary_digest: string;
2930
3030
  base_requirement_set: {
2931
3031
  protocol: "context.indexer.requirement-set/v1";
@@ -2945,6 +3045,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2945
3045
  module_refs: string[];
2946
3046
  }[];
2947
3047
  };
3048
+ purpose?: string | undefined;
2948
3049
  questions?: {
2949
3050
  ref: string;
2950
3051
  authority: {
@@ -2964,6 +3065,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2964
3065
  }[];
2965
3066
  };
2966
3067
  reason: string;
3068
+ paths?: string[] | undefined;
2967
3069
  }[] | undefined;
2968
3070
  }[];
2969
3071
  } | null;
@@ -2985,6 +3087,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
2985
3087
  module_refs: string[];
2986
3088
  }[];
2987
3089
  };
3090
+ purpose?: string | undefined;
2988
3091
  questions?: {
2989
3092
  ref: string;
2990
3093
  authority: {
@@ -3004,18 +3107,13 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3004
3107
  }[];
3005
3108
  };
3006
3109
  reason: string;
3110
+ paths?: string[] | undefined;
3007
3111
  }[] | undefined;
3008
3112
  }[];
3009
3113
  };
3010
3114
  base_requirement_set_digest: string | null;
3011
3115
  target_requirement_set_digest: string;
3012
3116
  }, {
3013
- protocol: "context.indexer.requirement-workset-report/v1";
3014
- workset_digest: string;
3015
- project_ref: string;
3016
- report_digest: string;
3017
- requires_human_confirmation: boolean;
3018
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3019
3117
  changes: ({
3020
3118
  kind: "added";
3021
3119
  requirement_ref: string;
@@ -3050,6 +3148,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3050
3148
  module_refs: string[];
3051
3149
  }[];
3052
3150
  };
3151
+ purpose?: string | undefined;
3053
3152
  questions?: {
3054
3153
  ref: string;
3055
3154
  authority: {
@@ -3069,6 +3168,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3069
3168
  }[];
3070
3169
  };
3071
3170
  reason: string;
3171
+ paths?: string[] | undefined;
3072
3172
  }[] | undefined;
3073
3173
  };
3074
3174
  new_requirement: {
@@ -3087,6 +3187,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3087
3187
  module_refs: string[];
3088
3188
  }[];
3089
3189
  };
3190
+ purpose?: string | undefined;
3090
3191
  questions?: {
3091
3192
  ref: string;
3092
3193
  authority: {
@@ -3106,6 +3207,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3106
3207
  }[];
3107
3208
  };
3108
3209
  reason: string;
3210
+ paths?: string[] | undefined;
3109
3211
  }[] | undefined;
3110
3212
  };
3111
3213
  old_requirement_digest: string;
@@ -3145,21 +3247,27 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3145
3247
  selectorRelations: Record<string, "equivalent" | "strengthening" | "contraction" | "incomparable">;
3146
3248
  };
3147
3249
  comparison: {
3148
- protocol: "context.indexer.requirement-contraction-comparison/v1";
3149
- requirementRef: string;
3150
- evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3151
- relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3152
- requiresHumanConfirmation: boolean;
3153
3250
  changes: {
3154
3251
  path: string;
3155
3252
  area: "exclusions" | "target-scope" | "reader-goals" | "coverage-domain" | "question" | "question-semantic" | "question-selector" | "question-domain" | "question-evidence";
3156
3253
  relation: "strengthening" | "contraction" | "incomparable";
3157
3254
  detail: string;
3158
3255
  }[];
3256
+ protocol: "context.indexer.requirement-contraction-comparison/v1";
3257
+ requirementRef: string;
3258
+ evidenceSourceChange: "unchanged" | "expanded" | "reduced" | "changed";
3259
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3260
+ requiresHumanConfirmation: boolean;
3159
3261
  };
3160
3262
  comparison_digest: string;
3161
3263
  };
3162
3264
  })[];
3265
+ protocol: "context.indexer.requirement-workset-report/v1";
3266
+ workset_digest: string;
3267
+ project_ref: string;
3268
+ report_digest: string;
3269
+ requires_human_confirmation: boolean;
3270
+ relation: "equivalent" | "strengthening" | "contraction" | "incomparable";
3163
3271
  source_boundary_digest: string;
3164
3272
  base_requirement_set: {
3165
3273
  protocol: "context.indexer.requirement-set/v1";
@@ -3179,6 +3287,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3179
3287
  module_refs?: string[] | undefined;
3180
3288
  }[];
3181
3289
  };
3290
+ purpose?: string | undefined;
3182
3291
  questions?: {
3183
3292
  ref: string;
3184
3293
  authority: {
@@ -3198,6 +3307,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3198
3307
  }[];
3199
3308
  };
3200
3309
  reason: string;
3310
+ paths?: string[] | undefined;
3201
3311
  }[] | undefined;
3202
3312
  }[];
3203
3313
  } | null;
@@ -3219,6 +3329,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3219
3329
  module_refs?: string[] | undefined;
3220
3330
  }[];
3221
3331
  };
3332
+ purpose?: string | undefined;
3222
3333
  questions?: {
3223
3334
  ref: string;
3224
3335
  authority: {
@@ -3238,6 +3349,7 @@ export declare const indexerRequirementWorksetReportSchema: z.ZodObject<{
3238
3349
  }[];
3239
3350
  };
3240
3351
  reason: string;
3352
+ paths?: string[] | undefined;
3241
3353
  }[] | undefined;
3242
3354
  }[];
3243
3355
  };