opencode-swarm 7.124.0 → 7.125.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/skills/critic-gate/SKILL.md +8 -0
- package/.opencode/skills/swarm/SKILL.md +12 -8
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +245 -171
- package/.opencode/skills/swarm-pr-feedback/references/bot-claim-verification.md +71 -0
- package/.opencode/skills/swarm-pr-feedback/references/operational-gotchas.md +49 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +238 -412
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +235 -0
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +103 -0
- package/.opencode/skills/writing-tests/SKILL.md +4 -123
- package/.opencode/skills/writing-tests/references/mock-and-seam-inventory.md +43 -0
- package/README.md +3 -1
- package/dist/background/lane-output-store.d.ts +10 -0
- package/dist/background/pending-delegations.d.ts +3 -0
- package/dist/background/workspace-snapshot.d.ts +59 -0
- package/dist/cli/{config-doctor-53mnpeke.js → config-doctor-g3m2q646.js} +2 -2
- package/dist/cli/{curation-policy-ny033330.js → curation-policy-vgbx8530.js} +2 -2
- package/dist/cli/{curator-llm-factory-e0tjz8qq.js → curator-llm-factory-7pvqy94w.js} +15 -14
- package/dist/cli/{curator-nvn1pdq6.js → curator-xk4g1nx2.js} +15 -14
- package/dist/cli/{evidence-summary-service-9hq7n9k9.js → evidence-summary-service-v4h2w487.js} +1 -1
- package/dist/cli/{guardrail-explain-d3dd57nf.js → guardrail-explain-wfk16bpr.js} +16 -15
- package/dist/cli/{guardrail-log-3q2z9axs.js → guardrail-log-5zz9xx6z.js} +3 -3
- package/dist/cli/{hive-promoter-9gbpepgm.js → hive-promoter-njwc5rt0.js} +15 -14
- package/dist/cli/{pending-delegations-e3bcqj77.js → index-0cz1ws47.js} +4 -18
- package/dist/cli/{index-3yyr4ynk.js → index-3k8pg467.js} +1 -1
- package/dist/cli/{index-x2mmnrnx.js → index-83rwq7pb.js} +1 -1
- package/dist/cli/{index-c6crt5rs.js → index-8yvqkbw7.js} +12 -2
- package/dist/cli/{index-z0m4angq.js → index-93cq8t5b.js} +5 -5
- package/dist/cli/{index-8pz0ypxz.js → index-cz6fv84h.js} +17 -16
- package/dist/cli/{index-mkkx1a4f.js → index-dsf1yv4s.js} +1588 -891
- package/dist/cli/{index-4rzzzjtg.js → index-fs02c7tz.js} +277 -16
- package/dist/cli/{index-zjedv2bd.js → index-ghteqdy1.js} +2 -2
- package/dist/cli/{index-13d2g7k9.js → index-kvrk3h8p.js} +1 -1
- package/dist/cli/{index-eeg04r0x.js → index-kws8zn6y.js} +1 -1
- package/dist/cli/index-mg54y5gc.js +564 -0
- package/dist/cli/{index-qd77aft9.js → index-mhhmecsw.js} +2 -2
- package/dist/cli/{index-2x4maxte.js → index-mwdcvh0e.js} +4 -4
- package/dist/cli/{index-e19mxn9f.js → index-pbjenws7.js} +1 -1
- package/dist/cli/{index-wqwpzhv1.js → index-rpg8qqjs.js} +2 -2
- package/dist/cli/{index-tyg0zezw.js → index-tn3shyqj.js} +3 -3
- package/dist/cli/{index-htbjqftb.js → index-txragda9.js} +1 -1
- package/dist/cli/{index-v5ecczts.js → index-z4sc6yxc.js} +1 -1
- package/dist/cli/index.js +15 -14
- package/dist/cli/{knowledge-escalator-r1s01m3z.js → knowledge-escalator-jtyykzqc.js} +3 -3
- package/dist/cli/{knowledge-events-a9hmxvke.js → knowledge-events-qhr97sy9.js} +1 -1
- package/dist/cli/{knowledge-store-jt31br5k.js → knowledge-store-332x3pjv.js} +1 -1
- package/dist/cli/{knowledge-validator-9vrwxr3z.js → knowledge-validator-3t8tgzsz.js} +4 -4
- package/dist/cli/pending-delegations-7j8xqg5f.js +34 -0
- package/dist/cli/{scan-cursor-bkjtsawg.js → scan-cursor-q21c9k9q.js} +2 -2
- package/dist/cli/{schema-y3z416z7.js → schema-y2d7j2jk.js} +1 -1
- package/dist/cli/{skill-generator-794hyndw.js → skill-generator-3gkxx98d.js} +5 -5
- package/dist/cli/workspace-snapshot-c9pxxt9a.js +48 -0
- package/dist/commands/close.d.ts +4 -2
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/schema.d.ts +4 -0
- package/dist/evidence/documents-retention.d.ts +116 -0
- package/dist/evidence/manager.d.ts +17 -0
- package/dist/hooks/pr-workflow-gate.d.ts +211 -0
- package/dist/hooks/pr-workflow-response-gate.d.ts +23 -0
- package/dist/hooks/pr-workflow-session-resolver.d.ts +14 -0
- package/dist/index.js +563 -523
- package/dist/tools/complete-pr-workflow.d.ts +5 -0
- package/dist/tools/dispatch-lanes.d.ts +44 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/manifest.d.ts +2 -0
- package/dist/tools/run-pr-feedback-stage-a.d.ts +69 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/dist/tools/write-pr-review-trigger-eval.d.ts +56 -46
- package/package.json +1 -1
- package/dist/cli/index-dqh3zhhc.js +0 -133
- package/dist/cli/workspace-snapshot-eyf6gd0d.js +0 -22
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-z4sc6yxc.js";
|
|
16
|
+
import"./index-8yvqkbw7.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
18
|
import"./index-z6xqpmqg.js";
|
|
19
19
|
import"./index-zjygnfay.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-kvrk3h8p.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-83rwq7pb.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
11
|
import"./index-q27bajqb.js";
|
|
12
12
|
import"./index-zgwm4ryv.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
4
|
+
} from "./index-dsf1yv4s.js";
|
|
5
|
+
import"./index-pbjenws7.js";
|
|
6
|
+
import"./index-z4sc6yxc.js";
|
|
7
|
+
import"./index-fs02c7tz.js";
|
|
8
8
|
import"./index-4905hd2m.js";
|
|
9
9
|
import"./index-134d35c1.js";
|
|
10
10
|
import"./index-6n2jpz7x.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-tn3shyqj.js";
|
|
12
|
+
import"./index-93cq8t5b.js";
|
|
13
|
+
import"./index-kws8zn6y.js";
|
|
14
14
|
import"./index-vxv732ex.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-s9mj4rb9.js";
|
|
17
17
|
import"./index-23zsx7dm.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-ghteqdy1.js";
|
|
19
|
+
import"./index-kvrk3h8p.js";
|
|
20
20
|
import"./index-rtry5xyf.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-mwdcvh0e.js";
|
|
22
|
+
import"./index-83rwq7pb.js";
|
|
23
23
|
import"./index-ae75rja9.js";
|
|
24
24
|
import"./index-q27bajqb.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-3k8pg467.js";
|
|
26
26
|
import"./index-k5jrywpr.js";
|
|
27
27
|
import"./index-n832052r.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-8yvqkbw7.js";
|
|
29
29
|
import"./index-bk5tah7q.js";
|
|
30
30
|
import"./index-8fwhhayc.js";
|
|
31
31
|
import"./index-q1exe2b3.js";
|
|
@@ -34,11 +34,12 @@ import"./index-2tn5h2zp.js";
|
|
|
34
34
|
import"./index-1kz6da87.js";
|
|
35
35
|
import"./index-v2rdhwx8.js";
|
|
36
36
|
import"./index-gacm5s2n.js";
|
|
37
|
+
import"./index-0cz1ws47.js";
|
|
37
38
|
import"./index-2445sx3d.js";
|
|
38
39
|
import"./index-z6xqpmqg.js";
|
|
39
40
|
import"./index-zjygnfay.js";
|
|
40
41
|
import"./index-zgwm4ryv.js";
|
|
41
|
-
import"./index-
|
|
42
|
+
import"./index-mg54y5gc.js";
|
|
42
43
|
import"./index-3x761jqv.js";
|
|
43
44
|
import"./index-7mkpsw6g.js";
|
|
44
45
|
import"./index-fsrp8wp3.js";
|
|
@@ -14,31 +14,31 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-dsf1yv4s.js";
|
|
18
|
+
import"./index-pbjenws7.js";
|
|
19
|
+
import"./index-z4sc6yxc.js";
|
|
20
|
+
import"./index-fs02c7tz.js";
|
|
21
21
|
import"./index-4905hd2m.js";
|
|
22
22
|
import"./index-134d35c1.js";
|
|
23
23
|
import"./index-6n2jpz7x.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
24
|
+
import"./index-tn3shyqj.js";
|
|
25
|
+
import"./index-93cq8t5b.js";
|
|
26
|
+
import"./index-kws8zn6y.js";
|
|
27
27
|
import"./index-vxv732ex.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-s9mj4rb9.js";
|
|
30
30
|
import"./index-23zsx7dm.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-ghteqdy1.js";
|
|
32
|
+
import"./index-kvrk3h8p.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-mwdcvh0e.js";
|
|
35
|
+
import"./index-83rwq7pb.js";
|
|
36
36
|
import"./index-ae75rja9.js";
|
|
37
37
|
import"./index-q27bajqb.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-3k8pg467.js";
|
|
39
39
|
import"./index-k5jrywpr.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-8yvqkbw7.js";
|
|
42
42
|
import"./index-bk5tah7q.js";
|
|
43
43
|
import"./index-8fwhhayc.js";
|
|
44
44
|
import"./index-q1exe2b3.js";
|
|
@@ -47,11 +47,12 @@ import"./index-2tn5h2zp.js";
|
|
|
47
47
|
import"./index-1kz6da87.js";
|
|
48
48
|
import"./index-v2rdhwx8.js";
|
|
49
49
|
import"./index-gacm5s2n.js";
|
|
50
|
+
import"./index-0cz1ws47.js";
|
|
50
51
|
import"./index-2445sx3d.js";
|
|
51
52
|
import"./index-z6xqpmqg.js";
|
|
52
53
|
import"./index-zjygnfay.js";
|
|
53
54
|
import"./index-zgwm4ryv.js";
|
|
54
|
-
import"./index-
|
|
55
|
+
import"./index-mg54y5gc.js";
|
|
55
56
|
import"./index-3x761jqv.js";
|
|
56
57
|
import"./index-7mkpsw6g.js";
|
|
57
58
|
import"./index-fsrp8wp3.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
4
|
+
} from "./index-mhhmecsw.js";
|
|
5
|
+
import"./index-dsf1yv4s.js";
|
|
6
|
+
import"./index-pbjenws7.js";
|
|
7
|
+
import"./index-z4sc6yxc.js";
|
|
8
|
+
import"./index-fs02c7tz.js";
|
|
9
9
|
import"./index-4905hd2m.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-6n2jpz7x.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
import"./index-tn3shyqj.js";
|
|
13
|
+
import"./index-93cq8t5b.js";
|
|
14
|
+
import"./index-kws8zn6y.js";
|
|
15
15
|
import"./index-vxv732ex.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-s9mj4rb9.js";
|
|
18
18
|
import"./index-23zsx7dm.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-ghteqdy1.js";
|
|
20
|
+
import"./index-kvrk3h8p.js";
|
|
21
21
|
import"./index-rtry5xyf.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-mwdcvh0e.js";
|
|
23
|
+
import"./index-83rwq7pb.js";
|
|
24
24
|
import"./index-ae75rja9.js";
|
|
25
25
|
import"./index-q27bajqb.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-3k8pg467.js";
|
|
27
27
|
import"./index-k5jrywpr.js";
|
|
28
28
|
import"./index-n832052r.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-8yvqkbw7.js";
|
|
30
30
|
import"./index-bk5tah7q.js";
|
|
31
31
|
import"./index-8fwhhayc.js";
|
|
32
32
|
import"./index-q1exe2b3.js";
|
|
@@ -35,11 +35,12 @@ import"./index-2tn5h2zp.js";
|
|
|
35
35
|
import"./index-1kz6da87.js";
|
|
36
36
|
import"./index-v2rdhwx8.js";
|
|
37
37
|
import"./index-gacm5s2n.js";
|
|
38
|
+
import"./index-0cz1ws47.js";
|
|
38
39
|
import"./index-2445sx3d.js";
|
|
39
40
|
import"./index-z6xqpmqg.js";
|
|
40
41
|
import"./index-zjygnfay.js";
|
|
41
42
|
import"./index-zgwm4ryv.js";
|
|
42
|
-
import"./index-
|
|
43
|
+
import"./index-mg54y5gc.js";
|
|
43
44
|
import"./index-3x761jqv.js";
|
|
44
45
|
import"./index-7mkpsw6g.js";
|
|
45
46
|
import"./index-fsrp8wp3.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-txragda9.js";
|
|
5
|
+
import"./index-pbjenws7.js";
|
|
6
|
+
import"./index-8yvqkbw7.js";
|
|
7
7
|
import"./index-bk5tah7q.js";
|
|
8
8
|
import"./index-z6xqpmqg.js";
|
|
9
9
|
import"./index-zjygnfay.js";
|
|
@@ -7,33 +7,33 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-dsf1yv4s.js";
|
|
11
|
+
import"./index-pbjenws7.js";
|
|
12
|
+
import"./index-z4sc6yxc.js";
|
|
13
|
+
import"./index-fs02c7tz.js";
|
|
14
14
|
import"./index-4905hd2m.js";
|
|
15
15
|
import"./index-134d35c1.js";
|
|
16
16
|
import"./index-6n2jpz7x.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-tn3shyqj.js";
|
|
18
|
+
import"./index-93cq8t5b.js";
|
|
19
|
+
import"./index-kws8zn6y.js";
|
|
20
20
|
import"./index-vxv732ex.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-s9mj4rb9.js";
|
|
23
23
|
import"./index-23zsx7dm.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-ghteqdy1.js";
|
|
25
|
+
import"./index-kvrk3h8p.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveHiveKnowledgePath
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
} from "./index-mwdcvh0e.js";
|
|
30
|
+
import"./index-83rwq7pb.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-q27bajqb.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-3k8pg467.js";
|
|
34
34
|
import"./index-k5jrywpr.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-8yvqkbw7.js";
|
|
37
37
|
import"./index-bk5tah7q.js";
|
|
38
38
|
import"./index-8fwhhayc.js";
|
|
39
39
|
import"./index-q1exe2b3.js";
|
|
@@ -42,11 +42,12 @@ import"./index-2tn5h2zp.js";
|
|
|
42
42
|
import"./index-1kz6da87.js";
|
|
43
43
|
import"./index-v2rdhwx8.js";
|
|
44
44
|
import"./index-gacm5s2n.js";
|
|
45
|
+
import"./index-0cz1ws47.js";
|
|
45
46
|
import"./index-2445sx3d.js";
|
|
46
47
|
import"./index-z6xqpmqg.js";
|
|
47
48
|
import"./index-zjygnfay.js";
|
|
48
49
|
import"./index-zgwm4ryv.js";
|
|
49
|
-
import"./index-
|
|
50
|
+
import"./index-mg54y5gc.js";
|
|
50
51
|
import"./index-3x761jqv.js";
|
|
51
52
|
import"./index-7mkpsw6g.js";
|
|
52
53
|
import"./index-fsrp8wp3.js";
|
|
@@ -2,24 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
4
|
} from "./index-2445sx3d.js";
|
|
5
|
-
import"./index-z6xqpmqg.js";
|
|
6
|
-
import"./index-zjygnfay.js";
|
|
7
5
|
import {
|
|
8
6
|
init_logger,
|
|
9
7
|
warn
|
|
10
8
|
} from "./index-zgwm4ryv.js";
|
|
11
|
-
import"./index-fsrp8wp3.js";
|
|
12
9
|
import {
|
|
13
10
|
withEvidenceLock
|
|
14
11
|
} from "./index-76kvm9z5.js";
|
|
15
|
-
import"./index-q2rrv0cy.js";
|
|
16
12
|
import {
|
|
17
13
|
exports_external,
|
|
18
14
|
init_zod
|
|
19
15
|
} from "./index-bpmtbmy9.js";
|
|
20
|
-
import"./index-7g4c7s5r.js";
|
|
21
|
-
import"./index-qe3v54nb.js";
|
|
22
|
-
import"./index-a76rekgs.js";
|
|
23
16
|
|
|
24
17
|
// src/background/pending-delegations.ts
|
|
25
18
|
init_zod();
|
|
@@ -87,6 +80,7 @@ var RecordSchema = exports_external.object({
|
|
|
87
80
|
batchId: exports_external.string().optional(),
|
|
88
81
|
laneId: exports_external.string().optional(),
|
|
89
82
|
mode: exports_external.string().optional(),
|
|
83
|
+
workflowLane: exports_external.string().optional(),
|
|
90
84
|
promptHash: exports_external.string().optional(),
|
|
91
85
|
workspace: WorkspaceSchema.optional(),
|
|
92
86
|
taskChangeContext: TaskChangeContextSchema.optional(),
|
|
@@ -163,6 +157,7 @@ async function recordPendingDelegation(directory, input, options = {}) {
|
|
|
163
157
|
...input.batchId ? { batchId: input.batchId } : {},
|
|
164
158
|
...input.laneId ? { laneId: input.laneId } : {},
|
|
165
159
|
...input.mode ? { mode: input.mode } : {},
|
|
160
|
+
...input.workflowLane ? { workflowLane: input.workflowLane } : {},
|
|
166
161
|
...input.promptHash ? { promptHash: input.promptHash } : {},
|
|
167
162
|
...input.workspace ? { workspace: input.workspace } : {},
|
|
168
163
|
...input.taskChangeContext ? { taskChangeContext: input.taskChangeContext } : {},
|
|
@@ -258,14 +253,5 @@ async function sweepStaleDelegations(directory, timeoutMs) {
|
|
|
258
253
|
return 0;
|
|
259
254
|
}
|
|
260
255
|
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
recordPendingDelegation,
|
|
264
|
-
readDelegations,
|
|
265
|
-
findOpenAsyncLaneBatches,
|
|
266
|
-
findByCorrelationId,
|
|
267
|
-
findByBatchId,
|
|
268
|
-
buildPromptSnapshot,
|
|
269
|
-
appendDelegationTransition,
|
|
270
|
-
BACKGROUND_DELEGATIONS_FILE
|
|
271
|
-
};
|
|
256
|
+
|
|
257
|
+
export { BACKGROUND_DELEGATIONS_FILE, readDelegations, findByCorrelationId, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, findByBatchId, findOpenAsyncLaneBatches, sweepStaleDelegations };
|
|
@@ -608,7 +608,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
608
608
|
deltas.push({ id, delta });
|
|
609
609
|
}
|
|
610
610
|
if (deltas.length > 0) {
|
|
611
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
611
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-332x3pjv.js");
|
|
612
612
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
613
613
|
}
|
|
614
614
|
return {
|
|
@@ -170,6 +170,14 @@ var init_tool_metadata = __esm(() => {
|
|
|
170
170
|
description: "verify completed tasks have required evidence",
|
|
171
171
|
agents: ["architect", "critic_oversight"]
|
|
172
172
|
},
|
|
173
|
+
complete_pr_workflow: {
|
|
174
|
+
description: "validate terminal PR workflow evidence and clear its durable session gate",
|
|
175
|
+
agents: ["architect"]
|
|
176
|
+
},
|
|
177
|
+
run_pr_feedback_stage_a: {
|
|
178
|
+
description: "execute and persist mandatory PR-feedback Stage A checks on a content-bound revision",
|
|
179
|
+
agents: ["architect"]
|
|
180
|
+
},
|
|
173
181
|
submit_council_verdicts: {
|
|
174
182
|
description: "submit pre-collected council member verdicts for synthesis (architect MUST dispatch critic/reviewer/sme/test_engineer/explorer as Agent tasks first; this tool synthesizes only, it does not contact members)",
|
|
175
183
|
agents: []
|
|
@@ -205,7 +213,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
205
213
|
agents: ["architect"]
|
|
206
214
|
},
|
|
207
215
|
write_pr_review_trigger_eval: {
|
|
208
|
-
description: "persist the complete PR-review trigger evaluation with exact-set validation and
|
|
216
|
+
description: "persist the complete PR-review trigger evaluation with exact-set validation, dispatch provenance, and live merge-base verification",
|
|
209
217
|
agents: ["architect"]
|
|
210
218
|
},
|
|
211
219
|
test_runner: {
|
|
@@ -1212,7 +1220,9 @@ var init_schema = __esm(() => {
|
|
|
1212
1220
|
enabled: exports_external.boolean().default(true),
|
|
1213
1221
|
max_age_days: exports_external.number().min(1).max(365).default(90),
|
|
1214
1222
|
max_bundles: exports_external.number().min(10).max(1e4).default(1000),
|
|
1215
|
-
auto_archive: exports_external.boolean().default(false)
|
|
1223
|
+
auto_archive: exports_external.boolean().default(false),
|
|
1224
|
+
cache_max_bytes: exports_external.number().min(512).max(50 * 1024 * 1024).optional(),
|
|
1225
|
+
cache_max_records: exports_external.number().min(10).max(1e5).optional()
|
|
1216
1226
|
});
|
|
1217
1227
|
GateFeatureSchema = exports_external.object({
|
|
1218
1228
|
enabled: exports_external.boolean().default(true)
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-mwdcvh0e.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-83rwq7pb.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-3t8tgzsz.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-y2d7j2jk.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-rpg8qqjs.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-mhhmecsw.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-txragda9.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -83,28 +83,28 @@ import {
|
|
|
83
83
|
handleWriteRetroCommand,
|
|
84
84
|
normalizeSwarmCommandInput,
|
|
85
85
|
resolveCommand
|
|
86
|
-
} from "./index-
|
|
87
|
-
import"./index-
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
86
|
+
} from "./index-dsf1yv4s.js";
|
|
87
|
+
import"./index-pbjenws7.js";
|
|
88
|
+
import"./index-z4sc6yxc.js";
|
|
89
|
+
import"./index-fs02c7tz.js";
|
|
90
90
|
import"./index-4905hd2m.js";
|
|
91
91
|
import"./index-134d35c1.js";
|
|
92
92
|
import"./index-6n2jpz7x.js";
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
95
|
-
import"./index-
|
|
93
|
+
import"./index-tn3shyqj.js";
|
|
94
|
+
import"./index-93cq8t5b.js";
|
|
95
|
+
import"./index-kws8zn6y.js";
|
|
96
96
|
import"./index-vxv732ex.js";
|
|
97
97
|
import"./index-c8s9a3zh.js";
|
|
98
98
|
import"./index-s9mj4rb9.js";
|
|
99
99
|
import"./index-23zsx7dm.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
import"./index-ghteqdy1.js";
|
|
101
|
+
import"./index-kvrk3h8p.js";
|
|
102
102
|
import"./index-rtry5xyf.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
103
|
+
import"./index-mwdcvh0e.js";
|
|
104
|
+
import"./index-83rwq7pb.js";
|
|
105
105
|
import"./index-ae75rja9.js";
|
|
106
106
|
import"./index-q27bajqb.js";
|
|
107
|
-
import"./index-
|
|
107
|
+
import"./index-3k8pg467.js";
|
|
108
108
|
import"./index-k5jrywpr.js";
|
|
109
109
|
import"./index-n832052r.js";
|
|
110
110
|
import {
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
init_constants,
|
|
114
114
|
init_schema,
|
|
115
115
|
stripKnownSwarmPrefix
|
|
116
|
-
} from "./index-
|
|
116
|
+
} from "./index-8yvqkbw7.js";
|
|
117
117
|
import"./index-bk5tah7q.js";
|
|
118
118
|
import"./index-8fwhhayc.js";
|
|
119
119
|
import"./index-q1exe2b3.js";
|
|
@@ -122,11 +122,12 @@ import"./index-2tn5h2zp.js";
|
|
|
122
122
|
import"./index-1kz6da87.js";
|
|
123
123
|
import"./index-v2rdhwx8.js";
|
|
124
124
|
import"./index-gacm5s2n.js";
|
|
125
|
+
import"./index-0cz1ws47.js";
|
|
125
126
|
import"./index-2445sx3d.js";
|
|
126
127
|
import"./index-z6xqpmqg.js";
|
|
127
128
|
import"./index-zjygnfay.js";
|
|
128
129
|
import"./index-zgwm4ryv.js";
|
|
129
|
-
import"./index-
|
|
130
|
+
import"./index-mg54y5gc.js";
|
|
130
131
|
import"./index-3x761jqv.js";
|
|
131
132
|
import"./index-7mkpsw6g.js";
|
|
132
133
|
import"./index-fsrp8wp3.js";
|