opencode-swarm 7.170.0 → 7.170.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/reviewer-directive-compliance.d.ts +23 -7
- package/dist/cli/{coder-settlement-65zx1bet.js → coder-settlement-rrm3ngsa.js} +7 -7
- package/dist/cli/{config-doctor-c30rss1c.js → config-doctor-rnfyv55m.js} +2 -2
- package/dist/cli/{core-8wkbr1tr.js → core-b161yfjy.js} +1 -1
- package/dist/cli/{curation-policy-k74qz9ms.js → curation-policy-tg84dnnd.js} +4 -4
- package/dist/cli/{curator-pckzk1q4.js → curator-dfcpzqwr.js} +28 -28
- package/dist/cli/{curator-llm-factory-jkjqasfs.js → curator-llm-factory-cjrh0sa3.js} +28 -28
- package/dist/cli/{evidence-summary-service-4ydcapke.js → evidence-summary-service-7jfq6dax.js} +11 -11
- package/dist/cli/{gate-evidence-xwqfky3m.js → gate-evidence-0e70dqjg.js} +4 -4
- package/dist/cli/{guardrail-explain-fe2veh2s.js → guardrail-explain-a40pmzzc.js} +29 -29
- package/dist/cli/{guardrail-log-z38j69bx.js → guardrail-log-71wvwyd0.js} +6 -6
- package/dist/cli/{guardrail-reset-mmnzt4mz.js → guardrail-reset-znw5636e.js} +28 -28
- package/dist/cli/{hive-promoter-68hrw1y1.js → hive-promoter-pznn5yfn.js} +28 -28
- package/dist/cli/{index-ye43mdfm.js → index-19xctk9g.js} +1 -1
- package/dist/cli/{index-3eh2n3dx.js → index-1kt9xbrt.js} +2 -2
- package/dist/cli/{index-mjn6aqqk.js → index-24pamt0h.js} +2 -2
- package/dist/cli/{index-td6xrw55.js → index-29gnavqx.js} +1 -1
- package/dist/cli/{index-06rbdzqn.js → index-2q6qj0vw.js} +3 -3
- package/dist/cli/{index-3p3y55xg.js → index-3q7bb7qz.js} +7 -7
- package/dist/cli/{index-r1z8nrb6.js → index-45x6meqp.js} +5 -5
- package/dist/cli/{index-9xk97bcf.js → index-4m9hfbhe.js} +3 -3
- package/dist/cli/{index-xnpjwc4h.js → index-4say55ww.js} +1 -1
- package/dist/cli/{index-5qt9yf5w.js → index-5y7kqjyt.js} +1 -1
- package/dist/cli/{index-gfbggp8k.js → index-70avfxnw.js} +3 -3
- package/dist/cli/{index-xztkjj3c.js → index-7a180w76.js} +30 -30
- package/dist/cli/{index-j144fgk8.js → index-7htmxmjp.js} +71 -70
- package/dist/cli/{index-z5vas8c3.js → index-7pgzjj3z.js} +28 -28
- package/dist/cli/{index-nprdr0sm.js → index-7sz2rkx3.js} +2 -2
- package/dist/cli/{index-31sqcdsd.js → index-8v2k9xqv.js} +4 -4
- package/dist/cli/{index-4wc5gfgm.js → index-9g3c0w22.js} +1 -1
- package/dist/cli/{index-59fcfpkh.js → index-9vxaf499.js} +1 -1
- package/dist/cli/{index-7h01bkm6.js → index-a0vggadp.js} +1 -1
- package/dist/cli/{index-8w1mrvbd.js → index-d1sdve0x.js} +7 -7
- package/dist/cli/{index-pw00xcj0.js → index-dbg2g834.js} +4 -4
- package/dist/cli/{index-n0d5hrs4.js → index-efkxjmdb.js} +2 -2
- package/dist/cli/{index-9ttqbhvw.js → index-g0q47r3r.js} +1 -1
- package/dist/cli/{index-zw3hkzch.js → index-g2sc35qk.js} +12 -4
- package/dist/cli/{index-p6fj7qz7.js → index-gs4m1dxw.js} +3 -3
- package/dist/cli/{index-5bbem0ey.js → index-j1tjd6aq.js} +5 -5
- package/dist/cli/{index-fgp96k3r.js → index-p6zt0qm1.js} +2 -2
- package/dist/cli/{index-bx1wgn3a.js → index-sf32ny5w.js} +1 -1
- package/dist/cli/{index-0xprxg95.js → index-w79t20a6.js} +3 -3
- package/dist/cli/{index-3axdtaf0.js → index-we9jztxd.js} +4 -4
- package/dist/cli/{index-ssx8087p.js → index-x067zyvp.js} +6 -6
- package/dist/cli/{index-t73888m0.js → index-z4ewmn1h.js} +1 -1
- package/dist/cli/{index-bm5xrfnx.js → index-zr6ev5kt.js} +1 -1
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-pz2faktx.js → knowledge-escalator-95gqgg8e.js} +10 -10
- package/dist/cli/{knowledge-events-s6s8qedx.js → knowledge-events-hcx770h3.js} +8 -8
- package/dist/cli/{knowledge-link-rkxfrmhm.js → knowledge-link-twmzh8cf.js} +3 -3
- package/dist/cli/{knowledge-store-dgv3xw3h.js → knowledge-store-ppmrqs41.js} +4 -4
- package/dist/cli/{knowledge-validator-22qppdyv.js → knowledge-validator-63rfvqmw.js} +6 -6
- package/dist/cli/{pending-delegations-4r21nf9d.js → pending-delegations-dqdetx92.js} +6 -6
- package/dist/cli/{pr-subscriptions-d52xy3zd.js → pr-subscriptions-z9t7f7m0.js} +6 -6
- package/dist/cli/{pr-workflow-gate-0de81kzw.js → pr-workflow-gate-wqrcb5m8.js} +28 -28
- package/dist/cli/{runner-1dwrgyyr.js → runner-2r5j33tm.js} +4 -4
- package/dist/cli/{scan-cursor-ahbbejab.js → scan-cursor-xzmmf7r4.js} +5 -5
- package/dist/cli/{schema-17h2hcw9.js → schema-6bn7mj29.js} +1 -1
- package/dist/cli/{scope-persistence-gcn3zm5e.js → scope-persistence-wyg0rb07.js} +10 -10
- package/dist/cli/{skill-generator-hkqr5qs7.js → skill-generator-kwnwapfn.js} +12 -12
- package/dist/cli/{snapshot-coordination-init-ms36zxv6.js → snapshot-coordination-init-ajvmd1z6.js} +28 -28
- package/dist/cli/{telemetry-fdtaemnv.js → telemetry-yst95z2f.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-7v7gg511.js → worktree-collision-ownership-dm6nq9yw.js} +6 -6
- package/dist/cli/{worktree-isolation-nanamt25.js → worktree-isolation-b10h20sv.js} +28 -28
- package/dist/hooks/incremental-verify.d.ts +3 -1
- package/dist/hooks/normalize-tool-name.d.ts +16 -0
- package/dist/hooks/phase-complete-directive-gate.d.ts +13 -0
- package/dist/hooks/phase-directives.d.ts +31 -2
- package/dist/hooks/reviewer-verdict-parser.d.ts +6 -1
- package/dist/index.js +35 -27
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
sweepStaleDelegations,
|
|
68
68
|
updateCoderSettlement,
|
|
69
69
|
writeDelegationFallback
|
|
70
|
-
} from "./index-
|
|
70
|
+
} from "./index-w79t20a6.js";
|
|
71
71
|
import"./index-b3pmzbh1.js";
|
|
72
72
|
import"./index-2s7dvzff.js";
|
|
73
73
|
import"./index-br3mvbsa.js";
|
|
@@ -75,14 +75,14 @@ import"./index-bernkwgf.js";
|
|
|
75
75
|
import"./index-dvbf6fpn.js";
|
|
76
76
|
import"./index-rdm3px0g.js";
|
|
77
77
|
import"./index-ry16d01s.js";
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
78
|
+
import"./index-5y7kqjyt.js";
|
|
79
|
+
import"./index-x067zyvp.js";
|
|
80
80
|
import"./index-vzm6zre7.js";
|
|
81
81
|
import"./index-ae75rja9.js";
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
82
|
+
import"./index-g0q47r3r.js";
|
|
83
|
+
import"./index-sf32ny5w.js";
|
|
84
84
|
import"./index-7g4c7s5r.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-7sz2rkx3.js";
|
|
86
86
|
import"./index-nbdmdyke.js";
|
|
87
87
|
import"./index-1xnse449.js";
|
|
88
88
|
import"./index-ee6ydtfe.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
sweepStale,
|
|
20
20
|
unsubscribe,
|
|
21
21
|
updateSnapshot
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-70avfxnw.js";
|
|
23
23
|
import"./index-b3pmzbh1.js";
|
|
24
24
|
import"./index-2s7dvzff.js";
|
|
25
25
|
import"./index-br3mvbsa.js";
|
|
@@ -27,14 +27,14 @@ import"./index-bernkwgf.js";
|
|
|
27
27
|
import"./index-dvbf6fpn.js";
|
|
28
28
|
import"./index-rdm3px0g.js";
|
|
29
29
|
import"./index-ry16d01s.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-5y7kqjyt.js";
|
|
31
|
+
import"./index-x067zyvp.js";
|
|
32
32
|
import"./index-vzm6zre7.js";
|
|
33
33
|
import"./index-ae75rja9.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-g0q47r3r.js";
|
|
35
|
+
import"./index-sf32ny5w.js";
|
|
36
36
|
import"./index-7g4c7s5r.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-7sz2rkx3.js";
|
|
38
38
|
import"./index-nbdmdyke.js";
|
|
39
39
|
import"./index-1xnse449.js";
|
|
40
40
|
import"./index-ee6ydtfe.js";
|
|
@@ -78,66 +78,66 @@ import {
|
|
|
78
78
|
withPrWorkflowCheckoutMutationLock,
|
|
79
79
|
withPrWorkflowCheckoutPreparationLock,
|
|
80
80
|
writePrWorkflowAtomicJson
|
|
81
|
-
} from "./index-
|
|
81
|
+
} from "./index-7htmxmjp.js";
|
|
82
82
|
import"./index-5400m33a.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
83
|
+
import"./index-a0vggadp.js";
|
|
84
|
+
import"./index-g2sc35qk.js";
|
|
85
85
|
import"./index-cgpwjctj.js";
|
|
86
|
-
import"./index-
|
|
87
|
-
import"./index-
|
|
88
|
-
import"./index-
|
|
86
|
+
import"./index-19xctk9g.js";
|
|
87
|
+
import"./index-3q7bb7qz.js";
|
|
88
|
+
import"./index-4say55ww.js";
|
|
89
89
|
import"./index-txdagbh7.js";
|
|
90
90
|
import"./index-9br68j86.js";
|
|
91
91
|
import"./index-cw912re7.js";
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
92
|
+
import"./index-4m9hfbhe.js";
|
|
93
|
+
import"./index-45x6meqp.js";
|
|
94
|
+
import"./index-1kt9xbrt.js";
|
|
95
95
|
import"./index-fyfbpz4f.js";
|
|
96
|
-
import"./index-
|
|
96
|
+
import"./index-70avfxnw.js";
|
|
97
97
|
import"./index-0hgmsyfp.js";
|
|
98
98
|
import"./index-zsrtt42s.js";
|
|
99
|
-
import"./index-
|
|
99
|
+
import"./index-j1tjd6aq.js";
|
|
100
100
|
import"./index-fhh02gwx.js";
|
|
101
101
|
import"./index-nyn01yrz.js";
|
|
102
102
|
import"./index-b43rt5ph.js";
|
|
103
103
|
import"./index-q7sjgr1y.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
104
|
+
import"./index-2q6qj0vw.js";
|
|
105
|
+
import"./index-9vxaf499.js";
|
|
106
106
|
import {
|
|
107
107
|
PR_REVIEW_BASE_DIMENSION_IDS
|
|
108
|
-
} from "./index-
|
|
109
|
-
import"./index-
|
|
108
|
+
} from "./index-w79t20a6.js";
|
|
109
|
+
import"./index-d1sdve0x.js";
|
|
110
110
|
import"./index-b3pmzbh1.js";
|
|
111
111
|
import"./index-2s7dvzff.js";
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
112
|
+
import"./index-8v2k9xqv.js";
|
|
113
|
+
import"./index-zr6ev5kt.js";
|
|
114
114
|
import"./index-rtry5xyf.js";
|
|
115
|
-
import"./index-
|
|
115
|
+
import"./index-24pamt0h.js";
|
|
116
116
|
import"./index-3qf1vxtb.js";
|
|
117
117
|
import"./index-n832052r.js";
|
|
118
|
-
import"./index-
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
118
|
+
import"./index-we9jztxd.js";
|
|
119
|
+
import"./index-dbg2g834.js";
|
|
120
|
+
import"./index-p6zt0qm1.js";
|
|
121
121
|
import"./index-br3mvbsa.js";
|
|
122
122
|
import"./index-bernkwgf.js";
|
|
123
123
|
import"./index-dvbf6fpn.js";
|
|
124
124
|
import"./index-rdm3px0g.js";
|
|
125
125
|
import"./index-ry16d01s.js";
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
126
|
+
import"./index-5y7kqjyt.js";
|
|
127
|
+
import"./index-x067zyvp.js";
|
|
128
128
|
import"./index-vzm6zre7.js";
|
|
129
129
|
import"./index-ae75rja9.js";
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
130
|
+
import"./index-g0q47r3r.js";
|
|
131
|
+
import"./index-sf32ny5w.js";
|
|
132
132
|
import"./index-7g4c7s5r.js";
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-7sz2rkx3.js";
|
|
134
134
|
import"./index-nbdmdyke.js";
|
|
135
135
|
import"./index-1xnse449.js";
|
|
136
136
|
import"./index-ee6ydtfe.js";
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-29gnavqx.js";
|
|
138
138
|
import"./index-0mhftbpp.js";
|
|
139
139
|
import"./index-a1w58b47.js";
|
|
140
|
-
import"./index-
|
|
140
|
+
import"./index-9g3c0w22.js";
|
|
141
141
|
import"./index-sxt7fgcw.js";
|
|
142
142
|
import"./index-bk5tah7q.js";
|
|
143
143
|
import"./index-bpmtbmy9.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-a0vggadp.js";
|
|
7
|
+
import"./index-4say55ww.js";
|
|
8
8
|
import"./index-txdagbh7.js";
|
|
9
9
|
import"./index-2s7dvzff.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-sf32ny5w.js";
|
|
11
11
|
import"./index-7g4c7s5r.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-7sz2rkx3.js";
|
|
13
13
|
import"./index-nbdmdyke.js";
|
|
14
14
|
import"./index-1xnse449.js";
|
|
15
15
|
import"./index-ee6ydtfe.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-1kt9xbrt.js";
|
|
8
|
+
import"./index-x067zyvp.js";
|
|
9
9
|
import"./index-vzm6zre7.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-g0q47r3r.js";
|
|
12
|
+
import"./index-sf32ny5w.js";
|
|
13
13
|
import"./index-7g4c7s5r.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-7sz2rkx3.js";
|
|
15
15
|
import"./index-nbdmdyke.js";
|
|
16
16
|
import"./index-1xnse449.js";
|
|
17
17
|
import"./index-ee6ydtfe.js";
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
resolveGeneratedAgentRole,
|
|
110
110
|
resolveGuardrailsConfig,
|
|
111
111
|
stripKnownSwarmPrefix
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-9g3c0w22.js";
|
|
113
113
|
import"./index-sxt7fgcw.js";
|
|
114
114
|
import"./index-bk5tah7q.js";
|
|
115
115
|
import"./index-bpmtbmy9.js";
|
|
@@ -23,29 +23,29 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
} from "./index-we9jztxd.js";
|
|
27
|
+
import"./index-dbg2g834.js";
|
|
28
|
+
import"./index-p6zt0qm1.js";
|
|
29
29
|
import"./index-br3mvbsa.js";
|
|
30
30
|
import"./index-bernkwgf.js";
|
|
31
31
|
import"./index-dvbf6fpn.js";
|
|
32
32
|
import"./index-rdm3px0g.js";
|
|
33
33
|
import"./index-ry16d01s.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-5y7kqjyt.js";
|
|
35
|
+
import"./index-x067zyvp.js";
|
|
36
36
|
import"./index-vzm6zre7.js";
|
|
37
37
|
import"./index-ae75rja9.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-g0q47r3r.js";
|
|
39
|
+
import"./index-sf32ny5w.js";
|
|
40
40
|
import"./index-7g4c7s5r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-7sz2rkx3.js";
|
|
42
42
|
import"./index-nbdmdyke.js";
|
|
43
43
|
import"./index-1xnse449.js";
|
|
44
44
|
import"./index-ee6ydtfe.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-29gnavqx.js";
|
|
46
46
|
import"./index-0mhftbpp.js";
|
|
47
47
|
import"./index-a1w58b47.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-9g3c0w22.js";
|
|
49
49
|
import"./index-sxt7fgcw.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
51
|
import"./index-bpmtbmy9.js";
|
|
@@ -33,32 +33,32 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-4m9hfbhe.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-d1sdve0x.js";
|
|
39
39
|
import"./index-b3pmzbh1.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-8v2k9xqv.js";
|
|
42
|
+
import"./index-zr6ev5kt.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-24pamt0h.js";
|
|
45
45
|
import"./index-3qf1vxtb.js";
|
|
46
46
|
import"./index-n832052r.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-5y7kqjyt.js";
|
|
48
|
+
import"./index-x067zyvp.js";
|
|
49
49
|
import"./index-vzm6zre7.js";
|
|
50
50
|
import"./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-g0q47r3r.js";
|
|
52
|
+
import"./index-sf32ny5w.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-7sz2rkx3.js";
|
|
55
55
|
import"./index-nbdmdyke.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-ee6ydtfe.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-29gnavqx.js";
|
|
59
59
|
import"./index-0mhftbpp.js";
|
|
60
60
|
import"./index-a1w58b47.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-9g3c0w22.js";
|
|
62
62
|
import"./index-sxt7fgcw.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
64
|
import"./index-bpmtbmy9.js";
|
package/dist/cli/{snapshot-coordination-init-ms36zxv6.js → snapshot-coordination-init-ajvmd1z6.js}
RENAMED
|
@@ -8,64 +8,64 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-7htmxmjp.js";
|
|
12
12
|
import"./index-5400m33a.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-a0vggadp.js";
|
|
14
|
+
import"./index-g2sc35qk.js";
|
|
15
15
|
import"./index-cgpwjctj.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-19xctk9g.js";
|
|
17
|
+
import"./index-3q7bb7qz.js";
|
|
18
|
+
import"./index-4say55ww.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
20
|
import"./index-9br68j86.js";
|
|
21
21
|
import"./index-cw912re7.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-4m9hfbhe.js";
|
|
23
|
+
import"./index-45x6meqp.js";
|
|
24
|
+
import"./index-1kt9xbrt.js";
|
|
25
25
|
import"./index-fyfbpz4f.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-70avfxnw.js";
|
|
27
27
|
import"./index-0hgmsyfp.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-j1tjd6aq.js";
|
|
30
30
|
import"./index-fhh02gwx.js";
|
|
31
31
|
import"./index-nyn01yrz.js";
|
|
32
32
|
import"./index-b43rt5ph.js";
|
|
33
33
|
import"./index-q7sjgr1y.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
34
|
+
import"./index-2q6qj0vw.js";
|
|
35
|
+
import"./index-9vxaf499.js";
|
|
36
|
+
import"./index-w79t20a6.js";
|
|
37
|
+
import"./index-d1sdve0x.js";
|
|
38
38
|
import"./index-b3pmzbh1.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-8v2k9xqv.js";
|
|
41
|
+
import"./index-zr6ev5kt.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-24pamt0h.js";
|
|
44
44
|
import"./index-3qf1vxtb.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-we9jztxd.js";
|
|
47
|
+
import"./index-dbg2g834.js";
|
|
48
|
+
import"./index-p6zt0qm1.js";
|
|
49
49
|
import"./index-br3mvbsa.js";
|
|
50
50
|
import"./index-bernkwgf.js";
|
|
51
51
|
import"./index-dvbf6fpn.js";
|
|
52
52
|
import"./index-rdm3px0g.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-5y7kqjyt.js";
|
|
55
|
+
import"./index-x067zyvp.js";
|
|
56
56
|
import"./index-vzm6zre7.js";
|
|
57
57
|
import"./index-ae75rja9.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-g0q47r3r.js";
|
|
59
|
+
import"./index-sf32ny5w.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-7sz2rkx3.js";
|
|
62
62
|
import"./index-nbdmdyke.js";
|
|
63
63
|
import"./index-1xnse449.js";
|
|
64
64
|
import"./index-ee6ydtfe.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-29gnavqx.js";
|
|
66
66
|
import"./index-0mhftbpp.js";
|
|
67
67
|
import"./index-a1w58b47.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-9g3c0w22.js";
|
|
69
69
|
import"./index-sxt7fgcw.js";
|
|
70
70
|
import"./index-bk5tah7q.js";
|
|
71
71
|
import"./index-bpmtbmy9.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-w79t20a6.js";
|
|
17
17
|
import"./index-b3pmzbh1.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
19
|
import"./index-br3mvbsa.js";
|
|
@@ -21,14 +21,14 @@ import"./index-bernkwgf.js";
|
|
|
21
21
|
import"./index-dvbf6fpn.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-5y7kqjyt.js";
|
|
25
|
+
import"./index-x067zyvp.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-g0q47r3r.js";
|
|
29
|
+
import"./index-sf32ny5w.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-7sz2rkx3.js";
|
|
32
32
|
import"./index-nbdmdyke.js";
|
|
33
33
|
import {
|
|
34
34
|
canonicalRootKeyFresh
|
|
@@ -21,66 +21,66 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-7htmxmjp.js";
|
|
25
25
|
import"./index-5400m33a.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-a0vggadp.js";
|
|
27
|
+
import"./index-g2sc35qk.js";
|
|
28
28
|
import"./index-cgpwjctj.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-19xctk9g.js";
|
|
30
|
+
import"./index-3q7bb7qz.js";
|
|
31
|
+
import"./index-4say55ww.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
33
|
import"./index-9br68j86.js";
|
|
34
34
|
import"./index-cw912re7.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-4m9hfbhe.js";
|
|
36
|
+
import"./index-45x6meqp.js";
|
|
37
|
+
import"./index-1kt9xbrt.js";
|
|
38
38
|
import"./index-fyfbpz4f.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-70avfxnw.js";
|
|
40
40
|
import"./index-0hgmsyfp.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-j1tjd6aq.js";
|
|
43
43
|
import"./index-fhh02gwx.js";
|
|
44
44
|
import"./index-nyn01yrz.js";
|
|
45
45
|
import"./index-b43rt5ph.js";
|
|
46
46
|
import"./index-q7sjgr1y.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-2q6qj0vw.js";
|
|
48
|
+
import"./index-9vxaf499.js";
|
|
49
|
+
import"./index-w79t20a6.js";
|
|
50
|
+
import"./index-d1sdve0x.js";
|
|
51
51
|
import"./index-b3pmzbh1.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-8v2k9xqv.js";
|
|
54
|
+
import"./index-zr6ev5kt.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-24pamt0h.js";
|
|
59
59
|
import"./index-3qf1vxtb.js";
|
|
60
60
|
import"./index-n832052r.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
61
|
+
import"./index-we9jztxd.js";
|
|
62
|
+
import"./index-dbg2g834.js";
|
|
63
|
+
import"./index-p6zt0qm1.js";
|
|
64
64
|
import"./index-br3mvbsa.js";
|
|
65
65
|
import"./index-bernkwgf.js";
|
|
66
66
|
import"./index-dvbf6fpn.js";
|
|
67
67
|
import"./index-rdm3px0g.js";
|
|
68
68
|
import"./index-ry16d01s.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-5y7kqjyt.js";
|
|
70
|
+
import"./index-x067zyvp.js";
|
|
71
71
|
import"./index-vzm6zre7.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-g0q47r3r.js";
|
|
74
|
+
import"./index-sf32ny5w.js";
|
|
75
75
|
import"./index-7g4c7s5r.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-7sz2rkx3.js";
|
|
77
77
|
import"./index-nbdmdyke.js";
|
|
78
78
|
import"./index-1xnse449.js";
|
|
79
79
|
import"./index-ee6ydtfe.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-29gnavqx.js";
|
|
81
81
|
import"./index-0mhftbpp.js";
|
|
82
82
|
import"./index-a1w58b47.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-9g3c0w22.js";
|
|
84
84
|
import"./index-sxt7fgcw.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-bpmtbmy9.js";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Incremental verification hook — runs a typecheck after each coder Task delegation.
|
|
3
|
-
* Fires in tool.execute.after when
|
|
3
|
+
* Fires in tool.execute.after when the tool id is the host's task tool (lowercase
|
|
4
|
+
* `task`, legacy `Task`, or a colon-namespaced spelling — `isTaskToolId`) and the
|
|
5
|
+
* delegated agent was 'coder'.
|
|
4
6
|
* Advisory only — never blocks. 30-second hard timeout. Uses directory from context.
|
|
5
7
|
*/
|
|
6
8
|
import type { IncrementalVerifyConfig } from '../config/schema';
|
|
@@ -23,3 +23,19 @@ export declare function normalizeToolName(toolName: null | undefined): string |
|
|
|
23
23
|
* "write" → "write"
|
|
24
24
|
*/
|
|
25
25
|
export declare function normalizeToolNameLowerCase(toolName: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* Boundary predicate for the OpenCode host's native subagent tool.
|
|
28
|
+
*
|
|
29
|
+
* The host invokes the task tool with the lowercase id `task` (verified against
|
|
30
|
+
* the pinned host source, `anomalyco/opencode` v1.18.3
|
|
31
|
+
* `packages/opencode/src/tool/task.ts`: `const id = "task"`); the capitalised
|
|
32
|
+
* `Task` spelling is accepted as legacy input. Namespace-prefixed ids resolve
|
|
33
|
+
* through the shared normalizer (e.g. `opencode:task`). An id containing a dot
|
|
34
|
+
* is a filesystem-loaded custom tool and is NEVER truncated into the task tool
|
|
35
|
+
* (issue #2529 / audit hostcontract-1-NEW-1). Edge cases all fail closed:
|
|
36
|
+
* `':task'`, `'task:'`, and `'task.'` are not the host id (a colon/dot
|
|
37
|
+
* marker without a namespace prefix normalizes to '' or keeps its marker),
|
|
38
|
+
* and whitespace-padded ids (`' task'`, `'task '`) are rejected without
|
|
39
|
+
* trimming.
|
|
40
|
+
*/
|
|
41
|
+
export declare function isTaskToolId(toolName: string | null | undefined): boolean;
|
|
@@ -39,6 +39,19 @@ export interface DirectiveGateResult {
|
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Evaluate all critical directives shown during the phase. Fail-closed.
|
|
42
|
+
*
|
|
43
|
+
* Since #2628 the reviewer-facing obligation unit is the ENTRY (one shown
|
|
44
|
+
* obligation per entry), so resolution is evaluated per entry: an entry is
|
|
45
|
+
* resolved when (a) at least one of its phase-window memberships carries a
|
|
46
|
+
* satisfying terminal (authorized override, applied, or ignored/n_a with a
|
|
47
|
+
* reason), AND (b) every violated/contradicted membership is remediated by an
|
|
48
|
+
* `applied` terminal committed STRICTLY LATER on some membership of the same
|
|
49
|
+
* entry (an earlier applied never hides a later violation; the same-membership
|
|
50
|
+
* case is the historical in-place remediation flow, where the current terminal
|
|
51
|
+
* is `applied` and the violated state moved to terminal_history). The reported
|
|
52
|
+
* trace_id is the representative the reviewer was shown: a violated membership
|
|
53
|
+
* when one exists, else the most recently committed one (ties by greatest
|
|
54
|
+
* trace_id) — mirroring `pickDirectiveRepresentatives` in phase-directives.ts.
|
|
42
55
|
*/
|
|
43
56
|
export declare function evaluatePhaseCriticalDirectives(params: {
|
|
44
57
|
directory: string;
|
|
@@ -18,11 +18,40 @@ import type { KnowledgeEntryBase } from './knowledge-types.js';
|
|
|
18
18
|
export declare function collectPhaseDirectiveIds(directory: string, phaseLabel?: string): Promise<string[]>;
|
|
19
19
|
/** Load all knowledge entries (swarm + hive) indexed by id. */
|
|
20
20
|
export declare function readEntriesById(directory: string): Promise<Map<string, KnowledgeEntryBase>>;
|
|
21
|
+
/**
|
|
22
|
+
* One candidate obligation per receipt membership, before per-entry collapse.
|
|
23
|
+
* `committed_at` and the terminal fields come from the membership so the
|
|
24
|
+
* representative selection below is deterministic.
|
|
25
|
+
*/
|
|
26
|
+
export interface DirectiveCandidate {
|
|
27
|
+
directive: DirectiveToVerify;
|
|
28
|
+
/** Membership commit time (ISO-8601 UTC from the receipt ledger). */
|
|
29
|
+
committed_at: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* True when `next` is a better per-entry representative than `incumbent`.
|
|
33
|
+
* Precedence (#2628): a membership whose current terminal is a violation
|
|
34
|
+
* (`violated` or `contradicted`) wins (it carries the remediation obligation
|
|
35
|
+
* via prior_terminal_*), then the most recently committed membership, then the
|
|
36
|
+
* lexicographically greatest trace_id (code-unit order — locale-independent
|
|
37
|
+
* determinism).
|
|
38
|
+
*/
|
|
39
|
+
export declare function isPreferredDirectiveCandidate(next: DirectiveCandidate, incumbent: DirectiveCandidate): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Collapse membership-derived candidates to at most one per unique entry_id
|
|
42
|
+
* (issue #2628). The reviewer's obligation unit is the directive (entry), not
|
|
43
|
+
* the (trace_id, entry_id) pair — pair multiplicity re-created one verification
|
|
44
|
+
* per historical exposure and grew the injected block O(entries x trace_ids).
|
|
45
|
+
* Snapshot semantics: the result is a pure function of the membership list at
|
|
46
|
+
* read time; a membership committed between dispatch and settle can shift the
|
|
47
|
+
* representative (pre-existing skew class, not widened here).
|
|
48
|
+
*/
|
|
49
|
+
export declare function pickDirectiveRepresentatives(candidates: DirectiveCandidate[]): DirectiveCandidate[];
|
|
21
50
|
/**
|
|
22
51
|
* Resolve the directives the reviewer must verify for a phase: the entries
|
|
23
52
|
* behind the phase's retrieved IDs, with priority + lesson + verification
|
|
24
|
-
* predicate
|
|
25
|
-
* any error.
|
|
53
|
+
* predicate, deduplicated to ONE obligation per entry. Archived/quarantined
|
|
54
|
+
* entries are excluded. Fail-open: returns [] on any error.
|
|
26
55
|
*/
|
|
27
56
|
export declare function readPhaseDirectivesToVerify(directory: string, phaseLabel?: string): Promise<DirectiveToVerify[]>;
|
|
28
57
|
/** The CRITICAL directive IDs retrieved during the phase. */
|
|
@@ -4,12 +4,17 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Parses a reviewer's `DIRECTIVE_COMPLIANCE` block (VERIFIED / VIOLATED / N/A
|
|
6
6
|
* lines) and reconciles it against the exact retrieval memberships the reviewer
|
|
7
|
-
* was asked to verify, committing one authoritative terminal per pair:
|
|
7
|
+
* was asked to verify, committing one authoritative terminal per shown pair:
|
|
8
8
|
*
|
|
9
9
|
* VERIFIED:<trace_id>:<entry_id> -> outcome:'applied'
|
|
10
10
|
* VIOLATED:<trace_id>:<entry_id> -> outcome:'violated'
|
|
11
11
|
* N/A:<trace_id>:<entry_id> -> outcome:'n_a'
|
|
12
12
|
*
|
|
13
|
+
* Since #2628 the shown set carries at most one pair per entry, so the pair
|
|
14
|
+
* shown is the entry's single obligation for the phase; the phase-complete gate
|
|
15
|
+
* resolves the ENTRY once that pair's terminal commits (see
|
|
16
|
+
* phase-complete-directive-gate.ts).
|
|
17
|
+
*
|
|
13
18
|
* Anti-spoofing: verdicts for pairs that were not in the verify-set are dropped.
|
|
14
19
|
* An omitted CRITICAL pair gets a `violated` / `reviewer_omitted` terminal.
|
|
15
20
|
* Authority failures return typed uncertainty and never fabricate success.
|