@c4a/context-cli 0.7.4 → 0.7.5
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.
- package/cli.js +6420 -1986
- package/indexers/bundles/context-code-indexer/SKILL.md +1 -1
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +1 -1
- package/indexers/bundles/context-markdown-indexer/SKILL.md +1 -1
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +1 -1
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +11 -11
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +15 -25
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +15 -25
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +15 -25
- package/plugins/skills/context/SKILL.md +15 -25
- package/plugins/skills/context-code-indexer/SKILL.md +1 -1
- package/plugins/skills/context-code-indexer/context-indexer.yaml +1 -1
- package/plugins/skills/context-markdown-indexer/SKILL.md +1 -1
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +1 -1
- package/providers/context/actions/authorize-current-indexer-provider-program.yaml +6 -0
- package/providers/context/actions/finalize-current-indexer-provider-selection.yaml +5 -0
- package/providers/context/actions/resolve-current-indexer-gate.yaml +6 -0
- package/providers/context/actions/resolve-current-indexer-provider.yaml +6 -0
- package/providers/context/actions/run-indexer-lifecycle.yaml +0 -1
- package/providers/context/actions/run-indexer-post-author-composer.yaml +1 -1
- package/providers/context/codes.yaml +2 -0
- package/providers/context/graphs/indexer.yaml +22 -0
- package/providers/context/graphs/workspace.yaml +1 -0
- package/providers/context/manifest.json +78 -48
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/dialogue/knowledge-review.md +6 -3
- package/providers/context/resources/procedures/knowledge-review.md +11 -8
- package/providers/context/resources/views/resolved-indexer-instructions.yaml +2 -4
- package/providers/context/schemas/indexer-agent-step-input.schema.json +71 -21
- package/providers/context/schemas/indexer-agent-step-result.schema.json +107 -20
- package/providers/context/schemas/indexer-materialize-request.schema.json +4 -8
- package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +4 -1
- package/providers/context/skills/authorize-current-indexer-provider-program/SKILL.md +20 -0
- package/providers/context/skills/configure-indexer-providers/SKILL.md +15 -14
- package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +27 -0
- package/providers/context/skills/resolve-current-indexer-provider/SKILL.md +20 -0
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +27 -14
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +14 -9
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +35 -23
- package/providers/context/schemas/indexer-lifecycle-continuation.schema.json +0 -15
- package/providers/context/schemas/indexer-post-author-fragment-request.schema.json +0 -26
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"schema": "agent-graph.bundle.v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "c4a/context",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.5"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
9
9
|
{
|
|
10
10
|
"id": "indexer",
|
|
11
11
|
"path": "graphs/indexer.yaml",
|
|
12
|
-
"digest": "sha256:
|
|
12
|
+
"digest": "sha256:5fae271985d17e428d2174ecd66bd4c77f561253a299662890dae1f16da357e5"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"id": "workspace",
|
|
16
16
|
"path": "graphs/workspace.yaml",
|
|
17
|
-
"digest": "sha256:
|
|
17
|
+
"digest": "sha256:fac097fb28162de67f6e6362aba73a7e4c75a490c7ee0275abcfb6fc2bc53713"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"actions": [
|
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
"path": "actions/apply-managed-review.yaml",
|
|
44
44
|
"digest": "sha256:25e2c2c215889dd13a6dec8714bc2b6357f3e01b09cc684f1e82d986e30ef064"
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"id": "authorize-current-indexer-provider-program",
|
|
48
|
+
"path": "actions/authorize-current-indexer-provider-program.yaml",
|
|
49
|
+
"digest": "sha256:6d8e5831a29a7e9c140e8388126f70cd030dbda5718a5ee0a69c8aacf8243dee"
|
|
50
|
+
},
|
|
46
51
|
{
|
|
47
52
|
"id": "authorize-indexer-dependencies",
|
|
48
53
|
"path": "actions/authorize-indexer-dependencies.yaml",
|
|
@@ -108,6 +113,11 @@
|
|
|
108
113
|
"path": "actions/discover-markdown-indexer-providers.yaml",
|
|
109
114
|
"digest": "sha256:ade21b433c3f0f5abd1940f9227f1184875e08be70298dcb041715f9be4c81b2"
|
|
110
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"id": "finalize-current-indexer-provider-selection",
|
|
118
|
+
"path": "actions/finalize-current-indexer-provider-selection.yaml",
|
|
119
|
+
"digest": "sha256:af23c812bfa65f5eb955a11e2b659600f6b0985040bf6da2225c56b0727fe114"
|
|
120
|
+
},
|
|
111
121
|
{
|
|
112
122
|
"id": "flush-runtime-events",
|
|
113
123
|
"path": "actions/flush-runtime-events.yaml",
|
|
@@ -213,6 +223,16 @@
|
|
|
213
223
|
"path": "actions/report-indexer-incremental-impact.yaml",
|
|
214
224
|
"digest": "sha256:74bbbfde59ee2561ca0d1ca966c79f9df374b1bfe79d7e8174012d4ff2a6d13c"
|
|
215
225
|
},
|
|
226
|
+
{
|
|
227
|
+
"id": "resolve-current-indexer-gate",
|
|
228
|
+
"path": "actions/resolve-current-indexer-gate.yaml",
|
|
229
|
+
"digest": "sha256:1141b2fba9bc91563c9fd5f86b7529cd2d47648a2dde5cac23a67cfef0988cc5"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "resolve-current-indexer-provider",
|
|
233
|
+
"path": "actions/resolve-current-indexer-provider.yaml",
|
|
234
|
+
"digest": "sha256:e7d48b4279bb26ee7d3a2ba04d20492f39362541a7a82eddd1b8e8a38e5bd0e2"
|
|
235
|
+
},
|
|
216
236
|
{
|
|
217
237
|
"id": "restore-repository-sources",
|
|
218
238
|
"path": "actions/restore-repository-sources.yaml",
|
|
@@ -236,12 +256,12 @@
|
|
|
236
256
|
{
|
|
237
257
|
"id": "run-indexer-lifecycle",
|
|
238
258
|
"path": "actions/run-indexer-lifecycle.yaml",
|
|
239
|
-
"digest": "sha256:
|
|
259
|
+
"digest": "sha256:e1287fc63e1da30acb66805f68368b571e2cc628c46a29a699bec9ab76e6a0fa"
|
|
240
260
|
},
|
|
241
261
|
{
|
|
242
262
|
"id": "run-indexer-post-author-composer",
|
|
243
263
|
"path": "actions/run-indexer-post-author-composer.yaml",
|
|
244
|
-
"digest": "sha256:
|
|
264
|
+
"digest": "sha256:16b7b05931c05e2a0adb0b90a36a1d4951bff9873233b1a6536ea1f86d971baf"
|
|
245
265
|
},
|
|
246
266
|
{
|
|
247
267
|
"id": "validate-indexer-contract-overlays",
|
|
@@ -368,7 +388,7 @@
|
|
|
368
388
|
{
|
|
369
389
|
"id": "dialogue.knowledge-review",
|
|
370
390
|
"path": "resources/dialogue/knowledge-review.md",
|
|
371
|
-
"digest": "sha256:
|
|
391
|
+
"digest": "sha256:f1620c99e0de845b344cac8db291cd895b589388c1db74ad2017f7f2c83c477d"
|
|
372
392
|
},
|
|
373
393
|
{
|
|
374
394
|
"id": "dialogue.package-output",
|
|
@@ -408,7 +428,7 @@
|
|
|
408
428
|
{
|
|
409
429
|
"id": "procedure.knowledge-review",
|
|
410
430
|
"path": "resources/procedures/knowledge-review.md",
|
|
411
|
-
"digest": "sha256:
|
|
431
|
+
"digest": "sha256:05a0bfb7db3f3aaf2b0fcb86f97cea3d196a364a36769b7ad082b166a1b2acda"
|
|
412
432
|
},
|
|
413
433
|
{
|
|
414
434
|
"id": "procedure.package-output",
|
|
@@ -448,7 +468,7 @@
|
|
|
448
468
|
{
|
|
449
469
|
"id": "resolved-indexer-instructions",
|
|
450
470
|
"path": "resources/views/resolved-indexer-instructions.yaml",
|
|
451
|
-
"digest": "sha256:
|
|
471
|
+
"digest": "sha256:5bc57e73f5f0795b8867b8dd12c3bf8bc4bac30d05c44e45cfad811d3834e5d6"
|
|
452
472
|
}
|
|
453
473
|
],
|
|
454
474
|
"schemas": [
|
|
@@ -460,12 +480,12 @@
|
|
|
460
480
|
{
|
|
461
481
|
"id": "schemas/indexer-agent-step-input.schema.json",
|
|
462
482
|
"path": "schemas/indexer-agent-step-input.schema.json",
|
|
463
|
-
"digest": "sha256:
|
|
483
|
+
"digest": "sha256:4497216cac113b9d9f01745121df29723f9c8c02c439c1ac89b72a5610bc40fa"
|
|
464
484
|
},
|
|
465
485
|
{
|
|
466
486
|
"id": "schemas/indexer-agent-step-result.schema.json",
|
|
467
487
|
"path": "schemas/indexer-agent-step-result.schema.json",
|
|
468
|
-
"digest": "sha256:
|
|
488
|
+
"digest": "sha256:bb12d02cf36ffcf5dc8a9a2bc006c980b8db44047ff910f3c42607e04ec17b34"
|
|
469
489
|
},
|
|
470
490
|
{
|
|
471
491
|
"id": "schemas/indexer-authorized-workset-view.schema.json",
|
|
@@ -527,11 +547,6 @@
|
|
|
527
547
|
"path": "schemas/indexer-incremental-impact-output.schema.json",
|
|
528
548
|
"digest": "sha256:613dfbc9f98b4c9d6138f0a9f8eaf8a1d9782139cabaec90ac70887de24afed8"
|
|
529
549
|
},
|
|
530
|
-
{
|
|
531
|
-
"id": "schemas/indexer-lifecycle-continuation.schema.json",
|
|
532
|
-
"path": "schemas/indexer-lifecycle-continuation.schema.json",
|
|
533
|
-
"digest": "sha256:59afa1e96f9b80f5e6b0884a393e0105272ab48f81178f03eaa57b6ef61e6227"
|
|
534
|
-
},
|
|
535
550
|
{
|
|
536
551
|
"id": "schemas/indexer-main-lifecycle-input.schema.json",
|
|
537
552
|
"path": "schemas/indexer-main-lifecycle-input.schema.json",
|
|
@@ -565,7 +580,7 @@
|
|
|
565
580
|
{
|
|
566
581
|
"id": "schemas/indexer-materialize-request.schema.json",
|
|
567
582
|
"path": "schemas/indexer-materialize-request.schema.json",
|
|
568
|
-
"digest": "sha256:
|
|
583
|
+
"digest": "sha256:d9d130649c496d86de2534f910c9a0a18961a2d7b3faf670cc48b83e01e2bdc9"
|
|
569
584
|
},
|
|
570
585
|
{
|
|
571
586
|
"id": "schemas/indexer-materialized-resource.schema.json",
|
|
@@ -592,11 +607,6 @@
|
|
|
592
607
|
"path": "schemas/indexer-overlay-question-rebind-result.schema.json",
|
|
593
608
|
"digest": "sha256:d2961b0f56dba1cc2695141f82d3f6b31362f48eb9f93e7361fc23da1e200466"
|
|
594
609
|
},
|
|
595
|
-
{
|
|
596
|
-
"id": "schemas/indexer-post-author-fragment-request.schema.json",
|
|
597
|
-
"path": "schemas/indexer-post-author-fragment-request.schema.json",
|
|
598
|
-
"digest": "sha256:e8daad85219a68d630673ad2b61269264b15988ba94918aff1dd8bdb0dd1f287"
|
|
599
|
-
},
|
|
600
610
|
{
|
|
601
611
|
"id": "schemas/indexer-program-execution-authorization-input.schema.json",
|
|
602
612
|
"path": "schemas/indexer-program-execution-authorization-input.schema.json",
|
|
@@ -670,7 +680,7 @@
|
|
|
670
680
|
{
|
|
671
681
|
"id": "schemas/indexer-workset-view-materialization-request.schema.json",
|
|
672
682
|
"path": "schemas/indexer-workset-view-materialization-request.schema.json",
|
|
673
|
-
"digest": "sha256:
|
|
683
|
+
"digest": "sha256:8c14de5552b34ca05afee1eec2a3496112b0e6748042de1fb6808db995ea87a8"
|
|
674
684
|
},
|
|
675
685
|
{
|
|
676
686
|
"id": "schemas/repository-source-recovery.schema.json",
|
|
@@ -704,6 +714,10 @@
|
|
|
704
714
|
"path": "actions/apply-managed-review.yaml",
|
|
705
715
|
"digest": "sha256:25e2c2c215889dd13a6dec8714bc2b6357f3e01b09cc684f1e82d986e30ef064"
|
|
706
716
|
},
|
|
717
|
+
{
|
|
718
|
+
"path": "actions/authorize-current-indexer-provider-program.yaml",
|
|
719
|
+
"digest": "sha256:6d8e5831a29a7e9c140e8388126f70cd030dbda5718a5ee0a69c8aacf8243dee"
|
|
720
|
+
},
|
|
707
721
|
{
|
|
708
722
|
"path": "actions/authorize-indexer-dependencies.yaml",
|
|
709
723
|
"digest": "sha256:101e3025bcdbbbba5022dd975d3840bb362a7d806afcc18e6fd9c51894905d10"
|
|
@@ -756,6 +770,10 @@
|
|
|
756
770
|
"path": "actions/discover-markdown-indexer-providers.yaml",
|
|
757
771
|
"digest": "sha256:ade21b433c3f0f5abd1940f9227f1184875e08be70298dcb041715f9be4c81b2"
|
|
758
772
|
},
|
|
773
|
+
{
|
|
774
|
+
"path": "actions/finalize-current-indexer-provider-selection.yaml",
|
|
775
|
+
"digest": "sha256:af23c812bfa65f5eb955a11e2b659600f6b0985040bf6da2225c56b0727fe114"
|
|
776
|
+
},
|
|
759
777
|
{
|
|
760
778
|
"path": "actions/flush-runtime-events.yaml",
|
|
761
779
|
"digest": "sha256:a5f29f652fc9f5f3775fdf9aad0af837f8c72879a22c11074321923bda49b45a"
|
|
@@ -840,6 +858,14 @@
|
|
|
840
858
|
"path": "actions/report-indexer-incremental-impact.yaml",
|
|
841
859
|
"digest": "sha256:74bbbfde59ee2561ca0d1ca966c79f9df374b1bfe79d7e8174012d4ff2a6d13c"
|
|
842
860
|
},
|
|
861
|
+
{
|
|
862
|
+
"path": "actions/resolve-current-indexer-gate.yaml",
|
|
863
|
+
"digest": "sha256:1141b2fba9bc91563c9fd5f86b7529cd2d47648a2dde5cac23a67cfef0988cc5"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"path": "actions/resolve-current-indexer-provider.yaml",
|
|
867
|
+
"digest": "sha256:e7d48b4279bb26ee7d3a2ba04d20492f39362541a7a82eddd1b8e8a38e5bd0e2"
|
|
868
|
+
},
|
|
843
869
|
{
|
|
844
870
|
"path": "actions/restore-repository-sources.yaml",
|
|
845
871
|
"digest": "sha256:58e40ee93d6bd1a9fe11d208fe771b576f8c5ceb05105d3e92a9aecc6b4a7fd8"
|
|
@@ -858,11 +884,11 @@
|
|
|
858
884
|
},
|
|
859
885
|
{
|
|
860
886
|
"path": "actions/run-indexer-lifecycle.yaml",
|
|
861
|
-
"digest": "sha256:
|
|
887
|
+
"digest": "sha256:e1287fc63e1da30acb66805f68368b571e2cc628c46a29a699bec9ab76e6a0fa"
|
|
862
888
|
},
|
|
863
889
|
{
|
|
864
890
|
"path": "actions/run-indexer-post-author-composer.yaml",
|
|
865
|
-
"digest": "sha256:
|
|
891
|
+
"digest": "sha256:16b7b05931c05e2a0adb0b90a36a1d4951bff9873233b1a6536ea1f86d971baf"
|
|
866
892
|
},
|
|
867
893
|
{
|
|
868
894
|
"path": "actions/validate-indexer-contract-overlays.yaml",
|
|
@@ -890,19 +916,19 @@
|
|
|
890
916
|
},
|
|
891
917
|
{
|
|
892
918
|
"path": "codes.yaml",
|
|
893
|
-
"digest": "sha256:
|
|
919
|
+
"digest": "sha256:dc4546db9af1010367c55343195eec7d5cdafcd34731d210419c06cd8a961378"
|
|
894
920
|
},
|
|
895
921
|
{
|
|
896
922
|
"path": "graphs/indexer.yaml",
|
|
897
|
-
"digest": "sha256:
|
|
923
|
+
"digest": "sha256:5fae271985d17e428d2174ecd66bd4c77f561253a299662890dae1f16da357e5"
|
|
898
924
|
},
|
|
899
925
|
{
|
|
900
926
|
"path": "graphs/workspace.yaml",
|
|
901
|
-
"digest": "sha256:
|
|
927
|
+
"digest": "sha256:fac097fb28162de67f6e6362aba73a7e4c75a490c7ee0275abcfb6fc2bc53713"
|
|
902
928
|
},
|
|
903
929
|
{
|
|
904
930
|
"path": "provider.yaml",
|
|
905
|
-
"digest": "sha256:
|
|
931
|
+
"digest": "sha256:e194ab530502e91f22e1f1f3d5b92bc7d712eff0e6f1f7990ae43e6e25b798d7"
|
|
906
932
|
},
|
|
907
933
|
{
|
|
908
934
|
"path": "resources/diagnostics/projection-stale.md",
|
|
@@ -930,7 +956,7 @@
|
|
|
930
956
|
},
|
|
931
957
|
{
|
|
932
958
|
"path": "resources/dialogue/knowledge-review.md",
|
|
933
|
-
"digest": "sha256:
|
|
959
|
+
"digest": "sha256:f1620c99e0de845b344cac8db291cd895b589388c1db74ad2017f7f2c83c477d"
|
|
934
960
|
},
|
|
935
961
|
{
|
|
936
962
|
"path": "resources/dialogue/package-output.md",
|
|
@@ -982,7 +1008,7 @@
|
|
|
982
1008
|
},
|
|
983
1009
|
{
|
|
984
1010
|
"path": "resources/procedures/knowledge-review.md",
|
|
985
|
-
"digest": "sha256:
|
|
1011
|
+
"digest": "sha256:05a0bfb7db3f3aaf2b0fcb86f97cea3d196a364a36769b7ad082b166a1b2acda"
|
|
986
1012
|
},
|
|
987
1013
|
{
|
|
988
1014
|
"path": "resources/procedures/package-output.md",
|
|
@@ -1022,7 +1048,7 @@
|
|
|
1022
1048
|
},
|
|
1023
1049
|
{
|
|
1024
1050
|
"path": "resources/views/resolved-indexer-instructions.yaml",
|
|
1025
|
-
"digest": "sha256:
|
|
1051
|
+
"digest": "sha256:5bc57e73f5f0795b8867b8dd12c3bf8bc4bac30d05c44e45cfad811d3834e5d6"
|
|
1026
1052
|
},
|
|
1027
1053
|
{
|
|
1028
1054
|
"path": "resources/views/review-current.yaml",
|
|
@@ -1050,11 +1076,11 @@
|
|
|
1050
1076
|
},
|
|
1051
1077
|
{
|
|
1052
1078
|
"path": "schemas/indexer-agent-step-input.schema.json",
|
|
1053
|
-
"digest": "sha256:
|
|
1079
|
+
"digest": "sha256:4497216cac113b9d9f01745121df29723f9c8c02c439c1ac89b72a5610bc40fa"
|
|
1054
1080
|
},
|
|
1055
1081
|
{
|
|
1056
1082
|
"path": "schemas/indexer-agent-step-result.schema.json",
|
|
1057
|
-
"digest": "sha256:
|
|
1083
|
+
"digest": "sha256:bb12d02cf36ffcf5dc8a9a2bc006c980b8db44047ff910f3c42607e04ec17b34"
|
|
1058
1084
|
},
|
|
1059
1085
|
{
|
|
1060
1086
|
"path": "schemas/indexer-authorized-workset-view.schema.json",
|
|
@@ -1104,10 +1130,6 @@
|
|
|
1104
1130
|
"path": "schemas/indexer-incremental-impact-output.schema.json",
|
|
1105
1131
|
"digest": "sha256:613dfbc9f98b4c9d6138f0a9f8eaf8a1d9782139cabaec90ac70887de24afed8"
|
|
1106
1132
|
},
|
|
1107
|
-
{
|
|
1108
|
-
"path": "schemas/indexer-lifecycle-continuation.schema.json",
|
|
1109
|
-
"digest": "sha256:59afa1e96f9b80f5e6b0884a393e0105272ab48f81178f03eaa57b6ef61e6227"
|
|
1110
|
-
},
|
|
1111
1133
|
{
|
|
1112
1134
|
"path": "schemas/indexer-main-lifecycle-input.schema.json",
|
|
1113
1135
|
"digest": "sha256:97edf350dce318dee86d5160212be1267c5b266afca36ae619dc147fc2444d7d"
|
|
@@ -1134,7 +1156,7 @@
|
|
|
1134
1156
|
},
|
|
1135
1157
|
{
|
|
1136
1158
|
"path": "schemas/indexer-materialize-request.schema.json",
|
|
1137
|
-
"digest": "sha256:
|
|
1159
|
+
"digest": "sha256:d9d130649c496d86de2534f910c9a0a18961a2d7b3faf670cc48b83e01e2bdc9"
|
|
1138
1160
|
},
|
|
1139
1161
|
{
|
|
1140
1162
|
"path": "schemas/indexer-materialized-resource.schema.json",
|
|
@@ -1156,10 +1178,6 @@
|
|
|
1156
1178
|
"path": "schemas/indexer-overlay-question-rebind-result.schema.json",
|
|
1157
1179
|
"digest": "sha256:d2961b0f56dba1cc2695141f82d3f6b31362f48eb9f93e7361fc23da1e200466"
|
|
1158
1180
|
},
|
|
1159
|
-
{
|
|
1160
|
-
"path": "schemas/indexer-post-author-fragment-request.schema.json",
|
|
1161
|
-
"digest": "sha256:e8daad85219a68d630673ad2b61269264b15988ba94918aff1dd8bdb0dd1f287"
|
|
1162
|
-
},
|
|
1163
1181
|
{
|
|
1164
1182
|
"path": "schemas/indexer-program-execution-authorization-input.schema.json",
|
|
1165
1183
|
"digest": "sha256:ea8be492a994f1dfb39e166977d8ccc7c4fa6df0f6e0504585bfdefe705c1e1d"
|
|
@@ -1218,7 +1236,7 @@
|
|
|
1218
1236
|
},
|
|
1219
1237
|
{
|
|
1220
1238
|
"path": "schemas/indexer-workset-view-materialization-request.schema.json",
|
|
1221
|
-
"digest": "sha256:
|
|
1239
|
+
"digest": "sha256:8c14de5552b34ca05afee1eec2a3496112b0e6748042de1fb6808db995ea87a8"
|
|
1222
1240
|
},
|
|
1223
1241
|
{
|
|
1224
1242
|
"path": "schemas/repository-source-recovery.schema.json",
|
|
@@ -1232,9 +1250,13 @@
|
|
|
1232
1250
|
"path": "scripts/render-context-view.mjs",
|
|
1233
1251
|
"digest": "sha256:7686916efd5792e8f003ec2df97271efba8c766e5afab3b9e2e8b82e4e86ecc1"
|
|
1234
1252
|
},
|
|
1253
|
+
{
|
|
1254
|
+
"path": "skills/authorize-current-indexer-provider-program/SKILL.md",
|
|
1255
|
+
"digest": "sha256:ce8ac72099b14408b76e0566a130d1b56012b9bac74f251726e88beb21666b2b"
|
|
1256
|
+
},
|
|
1235
1257
|
{
|
|
1236
1258
|
"path": "skills/configure-indexer-providers/SKILL.md",
|
|
1237
|
-
"digest": "sha256:
|
|
1259
|
+
"digest": "sha256:cc5427bbab143eb92a360d5f6070517e49b7e08efa7cc5ecf45f9651bfd96ce0"
|
|
1238
1260
|
},
|
|
1239
1261
|
{
|
|
1240
1262
|
"path": "skills/prepare-indexer-customization-project/SKILL.md",
|
|
@@ -1244,22 +1266,30 @@
|
|
|
1244
1266
|
"path": "skills/propose-indexer-customization/SKILL.md",
|
|
1245
1267
|
"digest": "sha256:d87245e3f58ea966e8a27d8016655aa833dc30df18464c58889f3a62a700f717"
|
|
1246
1268
|
},
|
|
1269
|
+
{
|
|
1270
|
+
"path": "skills/resolve-current-indexer-gate/SKILL.md",
|
|
1271
|
+
"digest": "sha256:f6ff579a362b6ea4ee447fd6c23545573f1fe7c2d2b80f31e22ebac643e6acd1"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"path": "skills/resolve-current-indexer-provider/SKILL.md",
|
|
1275
|
+
"digest": "sha256:650fa6218da62a24e26938ffd0049a84db1723919e9c3326da7068851a98a066"
|
|
1276
|
+
},
|
|
1247
1277
|
{
|
|
1248
1278
|
"path": "skills/run-indexer-agent-step/SKILL.md",
|
|
1249
|
-
"digest": "sha256:
|
|
1279
|
+
"digest": "sha256:01e8bfc4190c2f97072de4b4cbb2882929ab1316232cebdd7a16f504c94a96bf"
|
|
1250
1280
|
},
|
|
1251
1281
|
{
|
|
1252
1282
|
"path": "skills/run-indexer-lifecycle/SKILL.md",
|
|
1253
|
-
"digest": "sha256:
|
|
1283
|
+
"digest": "sha256:d59b4182cff718ad951c6e38d01e2d94183b1386d960b27bd97c33c796e98b79"
|
|
1254
1284
|
},
|
|
1255
1285
|
{
|
|
1256
1286
|
"path": "skills/run-indexer-post-author-composer/SKILL.md",
|
|
1257
|
-
"digest": "sha256:
|
|
1287
|
+
"digest": "sha256:bc1bba523c3aa2198ac9b5b060773922d3da8a19ebcda471f3b152f62a11b426"
|
|
1258
1288
|
}
|
|
1259
1289
|
],
|
|
1260
1290
|
"graphDependencies": {
|
|
1261
1291
|
"indexer": [],
|
|
1262
1292
|
"workspace": []
|
|
1263
1293
|
},
|
|
1264
|
-
"digest": "sha256:
|
|
1294
|
+
"digest": "sha256:0dfc15f5f9cff4028cc71dc35be7c9533b894d2ab355a4e6eca702b029c6400b"
|
|
1265
1295
|
}
|
|
@@ -37,6 +37,9 @@ Do not open Review for one page or module while another confirmed item in the
|
|
|
37
37
|
same round is still being generated. If a repeat codeindex run has no delta,
|
|
38
38
|
state that existing approvals were preserved and no Review gate remains.
|
|
39
39
|
|
|
40
|
-
When the user explicitly requested fully managed operation,
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
When the user explicitly requested fully managed operation, materialize the
|
|
41
|
+
required `context.review-current` Markdown Resource once, read its index and
|
|
42
|
+
every listed reader-facing batch, then use only the revision-bound atomic
|
|
43
|
+
approve command returned by the managed route. Do not open HTML, synthesize
|
|
44
|
+
per-candidate approval calls, persist review receipts, or approve any subset
|
|
45
|
+
before all batches have been judged.
|
|
@@ -34,14 +34,17 @@ Use it only after the user cannot use the report and explicitly replies with
|
|
|
34
34
|
the exact phrase `强制批准` in the current conversation. It approves the complete
|
|
35
35
|
current scope atomically; no candidate-specific decisions are inferred.
|
|
36
36
|
|
|
37
|
-
With explicit session-managed authority,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
With explicit session-managed authority, materialize the required
|
|
38
|
+
`context.review-current` Markdown Resource once. Read its index and every
|
|
39
|
+
reader-facing batch file listed there. Each Candidate appears in exactly one
|
|
40
|
+
bounded batch; keep the decisions in the current Agent context and do not write
|
|
41
|
+
a Review ledger. Only after every batch is publishable may the Agent run the
|
|
42
|
+
single managed atomic approval command. Do not generate, open, or parse the
|
|
43
|
+
ordinary HTML report. If any page needs repair, do not approve any batch;
|
|
44
|
+
reopen the owning Author or Composer through the current repair route. The
|
|
45
|
+
authority exists only in the current conversation. It does not bypass source
|
|
46
|
+
permission, validation, close, or verify, and it is not proof that the files
|
|
47
|
+
were read.
|
|
45
48
|
|
|
46
49
|
After apply, re-evaluate. Do not infer that close or package output is current.
|
|
47
50
|
Do not persist a duplicate review-report ledger in the workspace.
|
|
@@ -4,7 +4,7 @@ kind: procedure
|
|
|
4
4
|
mediaType: text/markdown
|
|
5
5
|
materializer: actions/materialize-indexer-instructions.yaml
|
|
6
6
|
input:
|
|
7
|
-
protocol: context.indexer.materialize-request/
|
|
7
|
+
protocol: context.indexer.materialize-request/v2
|
|
8
8
|
handler: context.materialize-indexer-instructions/v1
|
|
9
9
|
resource_id: resolved-indexer-instructions
|
|
10
10
|
indexer_id: __runtime__
|
|
@@ -12,9 +12,7 @@ input:
|
|
|
12
12
|
provider_fingerprint: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
13
13
|
provider_integrity: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
14
14
|
manifest_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
15
|
-
|
|
16
|
-
workset_ref: __runtime__
|
|
17
|
-
workset_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
15
|
+
stage: partition
|
|
18
16
|
profile: __runtime__
|
|
19
17
|
composer_id: null
|
|
20
18
|
instruction_set_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
@@ -1,30 +1,80 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "context.indexer.agent-step-input/
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"protocol": { "const": "context.indexer.agent-step-input/v1" },
|
|
9
|
-
"run_request": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"required": ["protocol", "operation", "workset", "composition_input", "final_authority", "execution_request_digest"],
|
|
12
|
-
"properties": {
|
|
13
|
-
"protocol": { "const": "context.indexer.run-request/v2" },
|
|
14
|
-
"operation": { "const": "main-index" },
|
|
15
|
-
"workset": { "type": "object" },
|
|
16
|
-
"composition_input": { "type": "object" },
|
|
17
|
-
"final_authority": { "type": "object" },
|
|
18
|
-
"execution_request_digest": { "$ref": "#/$defs/digest" }
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"instruction_request_digest": { "$ref": "#/$defs/digest" },
|
|
22
|
-
"input_digest": { "$ref": "#/$defs/digest" }
|
|
23
|
-
},
|
|
3
|
+
"$id": "context.indexer.agent-step-input/v2",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{ "$ref": "#/$defs/main" },
|
|
6
|
+
{ "$ref": "#/$defs/postAuthor" }
|
|
7
|
+
],
|
|
24
8
|
"$defs": {
|
|
25
9
|
"digest": {
|
|
26
10
|
"type": "string",
|
|
27
11
|
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
12
|
+
},
|
|
13
|
+
"main": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": ["protocol", "stage", "transport", "instruction_request_digest", "tasks", "input_digest"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"protocol": { "const": "context.indexer.agent-step-input/v2" },
|
|
19
|
+
"stage": { "enum": ["partition", "author"] },
|
|
20
|
+
"transport": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["protocol", "worksets"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"protocol": { "const": "context.indexer.main-transport-batch/v2" },
|
|
26
|
+
"worksets": { "type": "array", "minItems": 1, "items": { "type": "object" } }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"instruction_request_digest": { "$ref": "#/$defs/digest" },
|
|
30
|
+
"tasks": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"items": { "$ref": "#/$defs/mainTask" }
|
|
34
|
+
},
|
|
35
|
+
"input_digest": { "$ref": "#/$defs/digest" }
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"mainTask": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["task_key", "workset_digest", "execution_request_digest", "consumed_input_view_digest", "workset_view_resource_id", "workset_view_request_digest"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"task_key": { "type": "string", "pattern": "^task-[0-9]{3}$" },
|
|
44
|
+
"workset_digest": { "$ref": "#/$defs/digest" },
|
|
45
|
+
"execution_request_digest": { "$ref": "#/$defs/digest" },
|
|
46
|
+
"consumed_input_view_digest": { "$ref": "#/$defs/digest" },
|
|
47
|
+
"workset_view_resource_id": { "type": "string", "pattern": "^authorized-indexer-workset-view/task-[0-9]{3}$" },
|
|
48
|
+
"workset_view_request_digest": { "$ref": "#/$defs/digest" }
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"postAuthor": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["protocol", "stage", "instruction_request_digest", "tasks", "input_digest"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"protocol": { "const": "context.indexer.agent-step-input/v2" },
|
|
57
|
+
"stage": { "const": "post-author" },
|
|
58
|
+
"instruction_request_digest": { "$ref": "#/$defs/digest" },
|
|
59
|
+
"tasks": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"minItems": 1,
|
|
62
|
+
"items": { "$ref": "#/$defs/postAuthorTask" }
|
|
63
|
+
},
|
|
64
|
+
"input_digest": { "$ref": "#/$defs/digest" }
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"postAuthorTask": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": ["task_key", "workset_digest", "request_digest", "primary_result_view_digest", "workset_view_resource_id"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"task_key": { "type": "string", "pattern": "^task-[0-9]{3}$" },
|
|
73
|
+
"workset_digest": { "$ref": "#/$defs/digest" },
|
|
74
|
+
"request_digest": { "$ref": "#/$defs/digest" },
|
|
75
|
+
"primary_result_view_digest": { "$ref": "#/$defs/digest" },
|
|
76
|
+
"workset_view_resource_id": { "type": "string", "pattern": "^authorized-indexer-workset-view/task-[0-9]{3}$" }
|
|
77
|
+
}
|
|
28
78
|
}
|
|
29
79
|
}
|
|
30
80
|
}
|