opencode-swarm 7.184.8 → 7.184.10
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/issue-ingest/SKILL.md +1 -1
- package/README.md +6 -3
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-r66d0hrv.js → coder-settlement-b47vmcm9.js} +11 -11
- package/dist/cli/{config-doctor-4283xkfv.js → config-doctor-3j3m2ccc.js} +3 -3
- package/dist/cli/{core-mz92tdmh.js → core-td5kj2w8.js} +4 -4
- package/dist/cli/{curation-policy-k43q6b91.js → curation-policy-xe77n9zj.js} +4 -4
- package/dist/cli/{curator-x826phy6.js → curator-c7we2apv.js} +38 -38
- package/dist/cli/{curator-drift-apjkb9ef.js → curator-drift-wxyhgz7y.js} +9 -9
- package/dist/cli/curator-llm-factory-1260n9ty.js +75 -0
- package/dist/cli/{evidence-summary-service-5tbqybse.js → evidence-summary-service-2t1ttdgj.js} +17 -17
- package/dist/cli/{gate-evidence-v6g6bwm5.js → gate-evidence-5w2q1h5w.js} +8 -6
- package/dist/cli/guardrail-explain-qeywnmza.js +76 -0
- package/dist/cli/{guardrail-log-nqg3kd9m.js → guardrail-log-5zwqdhaf.js} +7 -7
- package/dist/cli/{guardrail-reset-vyn98as6.js → guardrail-reset-qnq1swzf.js} +38 -38
- package/dist/cli/{hive-promoter-y7ddjf37.js → hive-promoter-c3c6tz3b.js} +38 -38
- package/dist/cli/{index-b1v0zxnh.js → index-07fqfseh.js} +2 -2
- package/dist/cli/{index-qeqn241m.js → index-0ajyhjht.js} +1 -1
- package/dist/cli/{index-4hrc0gmy.js → index-0d7e94zg.js} +7 -7
- package/dist/cli/{index-2t4zv1ag.js → index-0mj7hc2z.js} +2 -2
- package/dist/cli/{index-h5y74yhy.js → index-19e61hgv.js} +12 -12
- package/dist/cli/{index-zce97jmt.js → index-1g2bm6ht.js} +2 -2
- package/dist/cli/{index-n2md4hfb.js → index-260174fq.js} +4 -4
- package/dist/cli/{index-e1zrgvqg.js → index-35cdceqf.js} +1 -1
- package/dist/cli/{index-65xbb93y.js → index-3rfc2v1d.js} +3 -3
- package/dist/cli/{index-gkrsy2vy.js → index-3wgvpxmv.js} +96 -90
- package/dist/cli/{index-5rpg65jz.js → index-45h58v8d.js} +7 -7
- package/dist/cli/{index-ezagem2g.js → index-48jvqqfa.js} +2 -2
- package/dist/cli/{index-239r2znx.js → index-4szb7qpv.js} +37 -6
- package/dist/cli/{index-z9b6abs8.js → index-54f1payv.js} +2 -2
- package/dist/cli/{index-t0mb5a9p.js → index-5m1b70z3.js} +1 -1
- package/dist/cli/{index-tr83fkh2.js → index-7849gy4s.js} +5 -5
- package/dist/cli/{index-zcka2cmb.js → index-8n2dh26k.js} +1 -1
- package/dist/cli/{index-q858w0wz.js → index-95vytkv6.js} +4 -4
- package/dist/cli/{index-qat6caah.js → index-9jz73x8x.js} +38 -38
- package/dist/cli/{index-rmspt7xm.js → index-aae38s4x.js} +1 -1
- package/dist/cli/{index-bn604f1g.js → index-b6saxkqj.js} +2 -2
- package/dist/cli/{index-q39ecyaq.js → index-be5h97z8.js} +1 -1
- package/dist/cli/{index-cq0ft5wb.js → index-bhj3zx43.js} +1 -1
- package/dist/cli/{index-pv82gzpy.js → index-bt1k1ek3.js} +1 -1
- package/dist/cli/{index-w9517q25.js → index-cjh92zm9.js} +40 -40
- package/dist/cli/{index-rdsrbanf.js → index-djnxehe7.js} +6 -6
- package/dist/cli/{index-7xv2hvr6.js → index-dqpq8m9w.js} +2 -2
- package/dist/cli/{index-0nzrz0a7.js → index-f336fv53.js} +4 -4
- package/dist/cli/{index-psdt9tg0.js → index-fn1y9jpv.js} +3 -3
- package/dist/cli/{index-6grdzhtz.js → index-fxtgxe04.js} +7 -7
- package/dist/cli/{index-98a0rxby.js → index-gnryhmak.js} +1 -1
- package/dist/cli/{index-g2r6t7by.js → index-hk0eh9qb.js} +1 -1
- package/dist/cli/{index-6wtf98v6.js → index-hs26e3k6.js} +2 -2
- package/dist/cli/{index-xqxqepsy.js → index-j4efx148.js} +2 -2
- package/dist/cli/{index-s95ghsy1.js → index-kg2mb1m5.js} +1 -1
- package/dist/cli/{index-1t2ctwkd.js → index-nh5fxxc9.js} +1 -1
- package/dist/cli/{index-6d2fdc4g.js → index-pj877ads.js} +5 -5
- package/dist/cli/{index-14j1jkyy.js → index-q7q00ppx.js} +6 -6
- package/dist/cli/{index-cnm1e97z.js → index-ta2kp4xy.js} +5 -5
- package/dist/cli/{index-dqb9528c.js → index-thcyqqdq.js} +2 -2
- package/dist/cli/{index-qntx5f14.js → index-tzyppdv7.js} +3 -3
- package/dist/cli/{index-fr6x6vn2.js → index-x119gdak.js} +1 -1
- package/dist/cli/{index-kdkp3zds.js → index-yyvkeev1.js} +4 -4
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-2f5kkezr.js → knowledge-escalator-912nwxb4.js} +12 -12
- package/dist/cli/{knowledge-events-4qewgabr.js → knowledge-events-hvzj872f.js} +10 -10
- package/dist/cli/{knowledge-link-xw6vsbx3.js → knowledge-link-8tetyje0.js} +3 -3
- package/dist/cli/{knowledge-store-04jxzbz5.js → knowledge-store-sqx0axb6.js} +4 -4
- package/dist/cli/{knowledge-validator-x9g76cgh.js → knowledge-validator-d8m7p2vg.js} +6 -6
- package/dist/cli/{mcp-zcmpnd9g.js → mcp-nxxy0dq0.js} +1 -1
- package/dist/cli/{model-preflight-y2wvmkmw.js → model-preflight-2mmep72y.js} +38 -38
- package/dist/cli/{pending-delegations-44cwy210.js → pending-delegations-fat9r7w1.js} +10 -10
- package/dist/cli/{pr-subscriptions-hmca4kyq.js → pr-subscriptions-8xv7gaeb.js} +10 -10
- package/dist/cli/{pr-workflow-gate-anzvkr87.js → pr-workflow-gate-g9exsspv.js} +38 -38
- package/dist/cli/{runner-pvdhxh74.js → runner-ff0bj9w0.js} +4 -4
- package/dist/cli/{scan-cursor-t020wayb.js → scan-cursor-h9tza4z6.js} +5 -5
- package/dist/cli/{schema-q5xjg4ww.js → schema-1p9cw863.js} +2 -2
- package/dist/cli/{scope-persistence-yk8bhh58.js → scope-persistence-xv6b7daq.js} +14 -14
- package/dist/cli/{server-z5r7yyg7.js → server-z5401cje.js} +40 -38
- package/dist/cli/{skill-generator-gma98zj6.js → skill-generator-72n07p92.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-5hgtne5d.js → snapshot-coordination-init-xjyv8kxx.js} +38 -38
- package/dist/cli/{speckit-checkoff-5p71mpy2.js → speckit-checkoff-828xrjfd.js} +5 -5
- package/dist/cli/{workspace-snapshot-553c6cd3.js → workspace-snapshot-nrbvjh1c.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-z4hg58zq.js → worktree-collision-ownership-cr6vv3xk.js} +11 -11
- package/dist/cli/{worktree-isolation-505j9dhm.js → worktree-isolation-6yycqkc6.js} +38 -38
- package/dist/gate-evidence.d.ts +34 -0
- package/dist/hooks/issue-trace-reducer.d.ts +20 -2
- package/dist/hooks/issue-trace-state.d.ts +6 -2
- package/dist/hooks/issue-trace.d.ts +2 -0
- package/dist/index.js +28 -21
- package/dist/todo/todo-gate.d.ts +37 -0
- package/dist/tools/build-check.d.ts +6 -2
- package/dist/tools/phase-complete/gates/index.d.ts +1 -0
- package/dist/tools/phase-complete/gates/todo-gate.d.ts +14 -0
- package/dist/tools/phase-complete.d.ts +2 -1
- package/dist/tools/tool-metadata.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-79ee75n4.js +0 -75
- package/dist/cli/guardrail-explain-xdztayqz.js +0 -76
package/dist/cli/{snapshot-coordination-init-5hgtne5d.js → snapshot-coordination-init-xjyv8kxx.js}
RENAMED
|
@@ -8,68 +8,68 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-3wgvpxmv.js";
|
|
12
|
+
import"./index-tzyppdv7.js";
|
|
13
13
|
import"./index-hamqvzqn.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
14
|
+
import"./index-be5h97z8.js";
|
|
15
|
+
import"./index-fn1y9jpv.js";
|
|
16
|
+
import"./index-thcyqqdq.js";
|
|
17
|
+
import"./index-19e61hgv.js";
|
|
18
|
+
import"./index-nh5fxxc9.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-8n2dh26k.js";
|
|
21
21
|
import"./index-6b295cas.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-yyvkeev1.js";
|
|
23
|
+
import"./index-pj877ads.js";
|
|
24
|
+
import"./index-54f1payv.js";
|
|
25
25
|
import"./index-rdec0y3z.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-q7q00ppx.js";
|
|
27
27
|
import"./index-cjapb4hy.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-0d7e94zg.js";
|
|
30
|
+
import"./index-07fqfseh.js";
|
|
31
|
+
import"./index-dqpq8m9w.js";
|
|
32
32
|
import"./index-pt7h91zc.js";
|
|
33
33
|
import"./index-q7sjgr1y.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
34
|
+
import"./index-b6saxkqj.js";
|
|
35
|
+
import"./index-4szb7qpv.js";
|
|
36
|
+
import"./index-95vytkv6.js";
|
|
37
|
+
import"./index-djnxehe7.js";
|
|
38
|
+
import"./index-fxtgxe04.js";
|
|
39
|
+
import"./index-gnryhmak.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-260174fq.js";
|
|
42
|
+
import"./index-0ajyhjht.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-3rfc2v1d.js";
|
|
45
45
|
import"./index-frcemc0b.js";
|
|
46
46
|
import"./index-0725jpp7.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
47
|
+
import"./index-7849gy4s.js";
|
|
48
|
+
import"./index-ta2kp4xy.js";
|
|
49
|
+
import"./index-kg2mb1m5.js";
|
|
50
|
+
import"./index-j4efx148.js";
|
|
51
|
+
import"./index-aae38s4x.js";
|
|
52
|
+
import"./index-5m1b70z3.js";
|
|
53
53
|
import"./index-rdm3px0g.js";
|
|
54
54
|
import"./index-ry16d01s.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
import"./index-x119gdak.js";
|
|
56
|
+
import"./index-45h58v8d.js";
|
|
57
57
|
import"./index-vzm6zre7.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
59
|
+
import"./index-hk0eh9qb.js";
|
|
60
|
+
import"./index-35cdceqf.js";
|
|
61
61
|
import"./index-t7hmqgjy.js";
|
|
62
62
|
import"./index-x1gyqgze.js";
|
|
63
63
|
import"./index-mc72pk74.js";
|
|
64
64
|
import"./index-c1ggtmpm.js";
|
|
65
65
|
import"./index-ejhxgyvm.js";
|
|
66
66
|
import"./index-7g4c7s5r.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-0mj7hc2z.js";
|
|
68
68
|
import"./index-gx2vp8gx.js";
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-bhj3zx43.js";
|
|
70
70
|
import"./index-zxdawwc7.js";
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
71
|
+
import"./index-1g2bm6ht.js";
|
|
72
|
+
import"./index-48jvqqfa.js";
|
|
73
73
|
import"./index-bk5tah7q.js";
|
|
74
74
|
import"./index-gknz3bv1.js";
|
|
75
75
|
import"./index-zpsr8rpc.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-b6saxkqj.js";
|
|
11
11
|
import"./index-ejhxgyvm.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-0mj7hc2z.js";
|
|
14
|
+
import"./index-bhj3zx43.js";
|
|
15
15
|
import"./index-zxdawwc7.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-1g2bm6ht.js";
|
|
17
|
+
import"./index-48jvqqfa.js";
|
|
18
18
|
import"./index-bk5tah7q.js";
|
|
19
19
|
import"./index-gknz3bv1.js";
|
|
20
20
|
import"./index-zpsr8rpc.js";
|
|
@@ -46,12 +46,12 @@ import {
|
|
|
46
46
|
shouldSkipSnapshot,
|
|
47
47
|
switchPrFeedbackTrackingCandidateAsync,
|
|
48
48
|
workspaceSnapshotMatches
|
|
49
|
-
} from "./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
} from "./index-07fqfseh.js";
|
|
50
|
+
import"./index-gnryhmak.js";
|
|
51
51
|
import"./index-2s7dvzff.js";
|
|
52
52
|
import"./index-mc72pk74.js";
|
|
53
53
|
import"./index-c1ggtmpm.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-0mj7hc2z.js";
|
|
55
55
|
import"./index-zxdawwc7.js";
|
|
56
56
|
import"./index-zpsr8rpc.js";
|
|
57
57
|
import"./index-zgwm4ryv.js";
|
|
@@ -9,24 +9,24 @@ import {
|
|
|
9
9
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
10
10
|
removeWorktreeProvisioningOwner,
|
|
11
11
|
scanWorktreeProvisioningOwnersForRecovery
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-dqpq8m9w.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-djnxehe7.js";
|
|
17
|
+
import"./index-gnryhmak.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-j4efx148.js";
|
|
20
|
+
import"./index-aae38s4x.js";
|
|
21
|
+
import"./index-5m1b70z3.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-x119gdak.js";
|
|
25
|
+
import"./index-45h58v8d.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-hk0eh9qb.js";
|
|
29
|
+
import"./index-35cdceqf.js";
|
|
30
30
|
import"./index-t7hmqgjy.js";
|
|
31
31
|
import"./index-x1gyqgze.js";
|
|
32
32
|
import {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
import"./index-c1ggtmpm.js";
|
|
36
36
|
import"./index-ejhxgyvm.js";
|
|
37
37
|
import"./index-7g4c7s5r.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-0mj7hc2z.js";
|
|
39
39
|
import"./index-zxdawwc7.js";
|
|
40
40
|
import"./index-bk5tah7q.js";
|
|
41
41
|
import"./index-gknz3bv1.js";
|
|
@@ -21,70 +21,70 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
} from "./index-3wgvpxmv.js";
|
|
25
|
+
import"./index-tzyppdv7.js";
|
|
26
26
|
import"./index-hamqvzqn.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
27
|
+
import"./index-be5h97z8.js";
|
|
28
|
+
import"./index-fn1y9jpv.js";
|
|
29
|
+
import"./index-thcyqqdq.js";
|
|
30
|
+
import"./index-19e61hgv.js";
|
|
31
|
+
import"./index-nh5fxxc9.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-8n2dh26k.js";
|
|
34
34
|
import"./index-6b295cas.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-yyvkeev1.js";
|
|
36
|
+
import"./index-pj877ads.js";
|
|
37
|
+
import"./index-54f1payv.js";
|
|
38
38
|
import"./index-rdec0y3z.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-q7q00ppx.js";
|
|
40
40
|
import"./index-cjapb4hy.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-0d7e94zg.js";
|
|
43
|
+
import"./index-07fqfseh.js";
|
|
44
|
+
import"./index-dqpq8m9w.js";
|
|
45
45
|
import"./index-pt7h91zc.js";
|
|
46
46
|
import"./index-q7sjgr1y.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
47
|
+
import"./index-b6saxkqj.js";
|
|
48
|
+
import"./index-4szb7qpv.js";
|
|
49
|
+
import"./index-95vytkv6.js";
|
|
50
|
+
import"./index-djnxehe7.js";
|
|
51
|
+
import"./index-fxtgxe04.js";
|
|
52
|
+
import"./index-gnryhmak.js";
|
|
53
53
|
import"./index-2s7dvzff.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-260174fq.js";
|
|
55
|
+
import"./index-0ajyhjht.js";
|
|
56
56
|
import"./index-rtry5xyf.js";
|
|
57
57
|
import {
|
|
58
58
|
resolveWorktreeIsolationConfig
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-3rfc2v1d.js";
|
|
60
60
|
import"./index-frcemc0b.js";
|
|
61
61
|
import"./index-0725jpp7.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
62
|
+
import"./index-7849gy4s.js";
|
|
63
|
+
import"./index-ta2kp4xy.js";
|
|
64
|
+
import"./index-kg2mb1m5.js";
|
|
65
|
+
import"./index-j4efx148.js";
|
|
66
|
+
import"./index-aae38s4x.js";
|
|
67
|
+
import"./index-5m1b70z3.js";
|
|
68
68
|
import"./index-rdm3px0g.js";
|
|
69
69
|
import"./index-ry16d01s.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
import"./index-x119gdak.js";
|
|
71
|
+
import"./index-45h58v8d.js";
|
|
72
72
|
import"./index-vzm6zre7.js";
|
|
73
73
|
import"./index-ae75rja9.js";
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
74
|
+
import"./index-hk0eh9qb.js";
|
|
75
|
+
import"./index-35cdceqf.js";
|
|
76
76
|
import"./index-t7hmqgjy.js";
|
|
77
77
|
import"./index-x1gyqgze.js";
|
|
78
78
|
import"./index-mc72pk74.js";
|
|
79
79
|
import"./index-c1ggtmpm.js";
|
|
80
80
|
import"./index-ejhxgyvm.js";
|
|
81
81
|
import"./index-7g4c7s5r.js";
|
|
82
|
-
import"./index-
|
|
82
|
+
import"./index-0mj7hc2z.js";
|
|
83
83
|
import"./index-gx2vp8gx.js";
|
|
84
|
-
import"./index-
|
|
84
|
+
import"./index-bhj3zx43.js";
|
|
85
85
|
import"./index-zxdawwc7.js";
|
|
86
|
-
import"./index-
|
|
87
|
-
import"./index-
|
|
86
|
+
import"./index-1g2bm6ht.js";
|
|
87
|
+
import"./index-48jvqqfa.js";
|
|
88
88
|
import"./index-bk5tah7q.js";
|
|
89
89
|
import"./index-gknz3bv1.js";
|
|
90
90
|
import"./index-zpsr8rpc.js";
|
package/dist/gate-evidence.d.ts
CHANGED
|
@@ -115,6 +115,21 @@ export interface TaskEvidence {
|
|
|
115
115
|
source_generation: number | null;
|
|
116
116
|
requirements_receipt_hash: string | null;
|
|
117
117
|
};
|
|
118
|
+
/**
|
|
119
|
+
* Recorded TODO-gate scan for this task (issue #2581): the high-priority
|
|
120
|
+
* (FIXME/HACK/XXX) count from the most recent `todo_extract` run that named
|
|
121
|
+
* this task. Consumed by `check_gate_status` and the phase-complete
|
|
122
|
+
* `todo_gate` gate against the `todo_gate` config. Absent when no producer
|
|
123
|
+
* ran — consumers must treat absence as "no evidence", never as a failure.
|
|
124
|
+
*/
|
|
125
|
+
todo_scan?: TodoScanEvidence;
|
|
126
|
+
}
|
|
127
|
+
/** Shape of the `todo_scan` evidence field read by `check_gate_status`. */
|
|
128
|
+
export interface TodoScanEvidence {
|
|
129
|
+
priority: string;
|
|
130
|
+
count: number;
|
|
131
|
+
details?: string[];
|
|
132
|
+
recorded_at?: string;
|
|
118
133
|
}
|
|
119
134
|
export interface ApplicableGateSet {
|
|
120
135
|
requiredGates: string[];
|
|
@@ -252,6 +267,15 @@ export interface TaskEvidenceTransaction {
|
|
|
252
267
|
evidence: TaskEvidence;
|
|
253
268
|
duplicated: boolean;
|
|
254
269
|
}>;
|
|
270
|
+
/**
|
|
271
|
+
* Supplementary no-event write: persists `nextEvidence` (zod-validated,
|
|
272
|
+
* atomic) without a workflow transition. Fails closed through the same
|
|
273
|
+
* WAL fence as transitions (`assertTaskEvidenceWriteAllowed` with no
|
|
274
|
+
* event) so a producer cannot clobber an in-flight coder settlement or
|
|
275
|
+
* terminal commit. Optional for backward compatibility with older
|
|
276
|
+
* transaction implementations.
|
|
277
|
+
*/
|
|
278
|
+
save?(nextEvidence: TaskEvidence): Promise<TaskEvidence>;
|
|
255
279
|
}
|
|
256
280
|
export declare function parseTaskEvidence(raw: string, expectedTaskId: string): TaskEvidence;
|
|
257
281
|
export declare const DEFAULT_REQUIRED_GATES: string[];
|
|
@@ -333,6 +357,16 @@ export declare function recordGateEvidence(directory: string, taskId: string, ga
|
|
|
333
357
|
routeBinding?: ReviewRouteEvidence;
|
|
334
358
|
routeComplete?: boolean;
|
|
335
359
|
}): Promise<void>;
|
|
360
|
+
/**
|
|
361
|
+
* Records a TODO-gate scan for a task (issue #2581 producer API). Merges
|
|
362
|
+
* `scan` into `.swarm/evidence/{taskId}.json` as a supplementary no-event
|
|
363
|
+
* write: existing gates, workflow state, and all other fields are preserved
|
|
364
|
+
* byte-for-byte; a missing file is created with a default workflow. Uses the
|
|
365
|
+
* same lock + atomic write discipline as every other flat-file writer and
|
|
366
|
+
* fails closed through `assertTaskEvidenceWriteAllowed` while a coder
|
|
367
|
+
* settlement, terminal commit, or task repair WAL owns the task's evidence.
|
|
368
|
+
*/
|
|
369
|
+
export declare function recordTodoScanEvidence(directory: string, taskId: string, scan: TodoScanEvidence): Promise<void>;
|
|
336
370
|
/**
|
|
337
371
|
* Compatibility API for a settled non-gate dispatch. Coder callers represent
|
|
338
372
|
* an accepted mutation and therefore rotate the workflow generation; mere
|
|
@@ -78,6 +78,17 @@ export interface WorkflowArtifacts {
|
|
|
78
78
|
traceValidationVerified: boolean;
|
|
79
79
|
/** A PR-head-bound merge-approval receipt has been observed (issue #2564). */
|
|
80
80
|
mergeApprovalObserved: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* The loaded plan is bound to the CURRENT effective spec (issue #2600):
|
|
83
|
+
* the authoritative plan carries a `specHash` equal to the current spec's
|
|
84
|
+
* SHA-256. `false` means the plan was authored against a different spec
|
|
85
|
+
* (or predates spec linkage) — executing it under this trace would run the
|
|
86
|
+
* wrong plan. Explicit `=== false` (not falsy): the hook always supplies a
|
|
87
|
+
* real boolean when a plan exists, and a v2-shaped artifacts literal from a
|
|
88
|
+
* legacy direct caller stays transparent instead of parking (same
|
|
89
|
+
* convention as `freshnessPermitted` / `traceValidationVerified`).
|
|
90
|
+
*/
|
|
91
|
+
planBoundToSpec?: boolean;
|
|
81
92
|
}
|
|
82
93
|
export interface TransitionResult {
|
|
83
94
|
nextMode: string | null;
|
|
@@ -99,14 +110,17 @@ export interface ComputeNextModeParams {
|
|
|
99
110
|
* (b) merge_approval_recorded (truly terminal) → no-op
|
|
100
111
|
* (b') published + merge-approval receipt observed → merge_approval_recorded (RECORDED, never certified)
|
|
101
112
|
* (c) publication_handoff: observe publication → PUBLISHED; else no-op
|
|
102
|
-
* (d) Cross-issue guard (spec issue ≠ current issue) →
|
|
113
|
+
* (d) Cross-issue guard (spec issue ≠ current issue) → one-shot SPEC_MISMATCH_GATE directive (issue #2600)
|
|
103
114
|
* (e) Spec does not exist → no-op
|
|
104
115
|
* (f-0) Spec exists, no plan, branch-freshness NOT
|
|
105
116
|
* permitted → one-shot FRESHNESS_GATE directive
|
|
106
117
|
* (f) Spec exists, no plan, freshness permitted, reproduction permitted,
|
|
107
118
|
* never transitioned (or re-entrant idempotency) → PLAN
|
|
108
119
|
* (f-block) Spec exists, no plan, reproduction NOT permitted → one-shot REPRO_GATE directive
|
|
109
|
-
* (g) Plan exists but
|
|
120
|
+
* (g-binding) Plan exists but NOT bound to the current
|
|
121
|
+
* spec (foreign/unverifiable) → one-shot PLAN_BINDING_GATE directive (issue #2600)
|
|
122
|
+
* (g-repro) Plan exists, bound, reproduction NOT permitted → one-shot REPRO_GATE_LATE directive (issue #2600)
|
|
123
|
+
* (g) Plan exists, bound, repro permitted, critic not approved → one-shot CRITIC_GATE directive (issue #2600)
|
|
110
124
|
* (h) Critic approved, phases incomplete, not yet PLAN_TO_EXECUTE → EXECUTE
|
|
111
125
|
* (i-pre1) Phases complete, impl-review receipt missing → one-shot REVIEW_GATE directive
|
|
112
126
|
* (i-pre2) Impl-review ok, recurrence-sweep receipt missing → one-shot RECURRENCE_GATE directive
|
|
@@ -115,5 +129,9 @@ export interface ComputeNextModeParams {
|
|
|
115
129
|
*
|
|
116
130
|
* Idempotency: rows (f), (h), (i) return no-op when
|
|
117
131
|
* `traceState.lastTransition` already equals the target transition value.
|
|
132
|
+
* Every gate row is ONE-SHOT: it fires from `lastTransition === null` or from
|
|
133
|
+
* the sentinel of a gate that precedes it in the ladder, then waits quietly
|
|
134
|
+
* for its receipt (issue #2600: silence is indistinguishable from a stuck
|
|
135
|
+
* engine, so each wait state names its recovery exactly once).
|
|
118
136
|
*/
|
|
119
137
|
export declare function computeNextMode(params: ComputeNextModeParams): TransitionResult;
|
|
@@ -70,12 +70,16 @@ export declare function loadPlanFromLedger(directory: string): Promise<Plan | nu
|
|
|
70
70
|
/**
|
|
71
71
|
* Computes plan presence AND phase-completion status from a single
|
|
72
72
|
* AUTHORITATIVE plan load. `planExists` reflects ledger authority, not
|
|
73
|
-
* projection (`.swarm/plan.json`) existence.
|
|
74
|
-
*
|
|
73
|
+
* projection (`.swarm/plan.json`) existence. `planSpecHash` surfaces the
|
|
74
|
+
* loaded plan's recorded `specHash` (undefined when the plan predates spec
|
|
75
|
+
* linkage) so the trace engine can bind the plan to the current spec (issue
|
|
76
|
+
* #2600). Returns `{ planExists: false, allComplete: false, planSpecHash:
|
|
77
|
+
* undefined }` if the plan is null/empty.
|
|
75
78
|
*/
|
|
76
79
|
export declare function readPlanPhaseStatus(directory: string): Promise<{
|
|
77
80
|
planExists: boolean;
|
|
78
81
|
allComplete: boolean;
|
|
82
|
+
planSpecHash: string | undefined;
|
|
79
83
|
}>;
|
|
80
84
|
/**
|
|
81
85
|
* Returns whether an AUTHORITATIVE plan exists (ledger-aware). Async because
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { getPlanLedgerStateReadOnly } from '../plan/ledger-sqlite';
|
|
19
19
|
import { error as _logErrorImpl } from '../utils/logger.js';
|
|
20
|
+
import { computeSpecHash } from '../utils/spec-hash';
|
|
20
21
|
import { isPlanCriticApproved } from './delegation-gate';
|
|
21
22
|
import { branchFreshnessReceiptExists, implementationReviewReceiptExists, mergeApprovalReceiptExists, publicationReceiptExists, readIssueReference, readPlanPhaseStatus, readSpecIssueNumber, readTraceState, recurrenceSweepReceiptExists, reproductionReceiptExists, specExists, traceValidationReceiptExists, writeTraceState } from './issue-trace-state';
|
|
22
23
|
export declare const _internals: {
|
|
@@ -36,6 +37,7 @@ export declare const _internals: {
|
|
|
36
37
|
isPlanCriticApproved: typeof isPlanCriticApproved;
|
|
37
38
|
getPlanLedgerState: typeof getPlanLedgerStateReadOnly;
|
|
38
39
|
logError: typeof _logErrorImpl;
|
|
40
|
+
computeSpecHash: typeof computeSpecHash;
|
|
39
41
|
boundedApprovalCheck: (directory: string, timeoutMs: number) => Promise<boolean>;
|
|
40
42
|
};
|
|
41
43
|
export declare function createIssueTraceHook(_config: unknown, directory: string, approvalTimeoutMs?: number): {
|