opencode-swarm 7.181.1 → 7.181.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/background/stage-b-gates.d.ts +4 -0
  4. package/dist/cli/{coder-settlement-ee8bmg83.js → coder-settlement-txte2m87.js} +11 -11
  5. package/dist/cli/{config-doctor-mnmxzg86.js → config-doctor-101n3c1r.js} +3 -3
  6. package/dist/cli/{core-m9yymv84.js → core-s0yzzpaj.js} +3 -3
  7. package/dist/cli/{curation-policy-m3x9mkj9.js → curation-policy-r4dkajw9.js} +4 -4
  8. package/dist/cli/{curator-7nmwpcxy.js → curator-dp49fr0p.js} +38 -38
  9. package/dist/cli/curator-drift-r7w3cg3m.js +37 -0
  10. package/dist/cli/curator-llm-factory-tycc9xkw.js +74 -0
  11. package/dist/cli/{evidence-summary-service-m2b0mxmr.js → evidence-summary-service-r648x5f2.js} +17 -17
  12. package/dist/cli/{gate-evidence-4y2x85g4.js → gate-evidence-8rh69tsh.js} +6 -6
  13. package/dist/cli/guardrail-explain-dfyj1g1c.js +75 -0
  14. package/dist/cli/{guardrail-log-202rfw7b.js → guardrail-log-yr60w7h6.js} +7 -7
  15. package/dist/cli/{guardrail-reset-7nt7z18b.js → guardrail-reset-eztc62va.js} +38 -38
  16. package/dist/cli/{hive-promoter-segsykns.js → hive-promoter-g56ba4a4.js} +38 -38
  17. package/dist/cli/{index-m65tnv4j.js → index-01r2wrwa.js} +1 -1
  18. package/dist/cli/{index-hxe22tx3.js → index-1ks0rnzn.js} +5 -5
  19. package/dist/cli/{index-ztph1v9m.js → index-1w1xrk5k.js} +1 -1
  20. package/dist/cli/{index-12ewkms0.js → index-23mdeh2a.js} +1 -1
  21. package/dist/cli/{index-a7z6jygf.js → index-2pt5g7zz.js} +3 -3
  22. package/dist/cli/{index-y4zjbrqs.js → index-2t21pv2v.js} +1 -1
  23. package/dist/cli/{index-38cfx8g8.js → index-427x3j6p.js} +2 -2
  24. package/dist/cli/{index-tczqm089.js → index-4ffryqb1.js} +1 -1
  25. package/dist/cli/{index-pee6ykkg.js → index-4jvt3r77.js} +5 -5
  26. package/dist/cli/{index-908yea8v.js → index-6ep83w7x.js} +1 -1
  27. package/dist/cli/{index-r6p6x0pb.js → index-789tdsfv.js} +4 -4
  28. package/dist/cli/{index-yhx94xpr.js → index-7s6ct0t2.js} +6 -6
  29. package/dist/cli/{index-9j5jjqks.js → index-8c37kzh6.js} +7 -7
  30. package/dist/cli/{index-gc6h1fmf.js → index-a2hvmc3a.js} +1 -1
  31. package/dist/cli/{index-ea9fk6v0.js → index-ap6hs8fj.js} +1 -1
  32. package/dist/cli/{index-92m05mew.js → index-by9wfeja.js} +1 -1
  33. package/dist/cli/{index-kjstkfgh.js → index-ckrm4784.js} +7 -7
  34. package/dist/cli/{index-rxs0rrv1.js → index-dy9mxh0z.js} +40 -40
  35. package/dist/cli/{index-b2zbak7v.js → index-ekwe81my.js} +2 -2
  36. package/dist/cli/{index-3qhx9dx0.js → index-h6gxh3an.js} +4946 -1965
  37. package/dist/cli/{index-basp4sxt.js → index-hcaspktr.js} +1 -1
  38. package/dist/cli/{index-bdpgfep1.js → index-jrxrjz89.js} +1 -1
  39. package/dist/cli/{index-q1prchye.js → index-k5rqe97g.js} +27 -13
  40. package/dist/cli/{index-4h54k8h3.js → index-kexzhwbq.js} +2 -2
  41. package/dist/cli/{index-516j9vsk.js → index-kkrbybgt.js} +27 -2
  42. package/dist/cli/{index-cyyvc1cd.js → index-m4e3p8na.js} +2 -2
  43. package/dist/cli/{index-jqjdejqe.js → index-mdqp0cq2.js} +4 -4
  44. package/dist/cli/{index-6mwha20t.js → index-mkpdcbye.js} +3 -3
  45. package/dist/cli/{index-y30y1rkg.js → index-nw3z614g.js} +6 -6
  46. package/dist/cli/{index-nhxykfyy.js → index-nw8pfcw1.js} +270 -10
  47. package/dist/cli/{index-na3br902.js → index-qdz43cne.js} +38 -38
  48. package/dist/cli/{index-g9ax7jyf.js → index-rchygh27.js} +57 -4
  49. package/dist/cli/{index-6gcxgx84.js → index-s34y6gbh.js} +1 -1
  50. package/dist/cli/{index-s0zgz4p1.js → index-sf51gh68.js} +1 -1
  51. package/dist/cli/{index-gydvqmtg.js → index-sr9k8sh7.js} +4 -4
  52. package/dist/cli/{index-edb3sgxg.js → index-ttgex8ky.js} +6 -6
  53. package/dist/cli/{index-91dhg3wr.js → index-ved1325w.js} +2 -2
  54. package/dist/cli/{index-rw0wy2y7.js → index-vgjmahnd.js} +3 -3
  55. package/dist/cli/{index-bv4b8tpa.js → index-vvgpgcyn.js} +10 -0
  56. package/dist/cli/{index-vmthakz0.js → index-w1ydvzef.js} +1 -1
  57. package/dist/cli/{index-gqe4sm73.js → index-xqr076aq.js} +4 -4
  58. package/dist/cli/{index-g5wjasjn.js → index-yv0q0hp9.js} +140 -9
  59. package/dist/cli/{index-vs83acgx.js → index-yzapt508.js} +3 -3
  60. package/dist/cli/index.js +39 -39
  61. package/dist/cli/{knowledge-escalator-r9chkas8.js → knowledge-escalator-0rcft6q4.js} +12 -12
  62. package/dist/cli/{knowledge-events-5j2n6age.js → knowledge-events-7jyz3qxs.js} +10 -10
  63. package/dist/cli/{knowledge-link-s2qs178z.js → knowledge-link-655xa3db.js} +3 -3
  64. package/dist/cli/{knowledge-store-mybx9bmx.js → knowledge-store-asa26g6p.js} +4 -4
  65. package/dist/cli/{knowledge-validator-v1sj9tv4.js → knowledge-validator-j3x9ezej.js} +6 -6
  66. package/dist/cli/{mcp-7yx5230p.js → mcp-70hefjk6.js} +1 -1
  67. package/dist/cli/model-preflight-szekh1dc.js +359 -0
  68. package/dist/cli/{pending-delegations-amjfmc7t.js → pending-delegations-rb6bhv5x.js} +10 -10
  69. package/dist/cli/{pr-subscriptions-rctqs0gk.js → pr-subscriptions-v4ms5pfb.js} +10 -10
  70. package/dist/cli/{pr-workflow-gate-9he8ys4e.js → pr-workflow-gate-qmfpz6wb.js} +38 -38
  71. package/dist/cli/{runner-tzgwvvn1.js → runner-b5vt1any.js} +4 -4
  72. package/dist/cli/{scan-cursor-pxqkphrh.js → scan-cursor-7zn4t1hw.js} +5 -5
  73. package/dist/cli/{schema-n8pk3f80.js → schema-tx62mfy8.js} +2 -2
  74. package/dist/cli/{scope-persistence-p992x2yd.js → scope-persistence-f8w12sns.js} +14 -14
  75. package/dist/cli/{server-ywrd2q6z.js → server-f2vrp2wc.js} +73 -603
  76. package/dist/cli/{skill-generator-cdppktqx.js → skill-generator-jme09w7n.js} +14 -14
  77. package/dist/cli/{snapshot-coordination-init-z42ev5g9.js → snapshot-coordination-init-ad83sq6c.js} +38 -38
  78. package/dist/cli/{speckit-checkoff-6ynv46bn.js → speckit-checkoff-98gfvn3r.js} +4 -4
  79. package/dist/cli/{telemetry-zhcgfe70.js → telemetry-6k8t2mrw.js} +1 -1
  80. package/dist/cli/{workspace-snapshot-4m2ex1ey.js → workspace-snapshot-hsssm50w.js} +2 -2
  81. package/dist/cli/{worktree-collision-ownership-65971p3m.js → worktree-collision-ownership-47kdjtqb.js} +11 -11
  82. package/dist/cli/{worktree-isolation-xf7dfc46.js → worktree-isolation-etaawcnt.js} +38 -38
  83. package/dist/commands/registry.d.ts +1 -1
  84. package/dist/config/agent-model.d.ts +14 -0
  85. package/dist/config/bundled-skill-dispositions.d.ts +29 -0
  86. package/dist/db/qa-gate-profile.d.ts +6 -3
  87. package/dist/db/qa-gate-session-override.d.ts +72 -0
  88. package/dist/index.js +404 -390
  89. package/dist/memory/index.d.ts +1 -0
  90. package/dist/memory/instruction-pairing.d.ts +112 -0
  91. package/dist/services/model-preflight.d.ts +103 -21
  92. package/dist/session/restart-reconciliation.d.ts +74 -0
  93. package/dist/state.d.ts +6 -3
  94. package/dist/tools/get-qa-gate-profile.d.ts +13 -6
  95. package/package.json +1 -1
  96. package/dist/cli/curator-drift-q42fr0c9.js +0 -297
  97. package/dist/cli/curator-llm-factory-s1b2p162.js +0 -74
  98. package/dist/cli/guardrail-explain-nvmf3y7j.js +0 -75
  99. package/dist/cli/model-preflight-ckvv1arg.js +0 -170
@@ -33,34 +33,34 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-vs83acgx.js";
36
+ } from "./index-yzapt508.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-g5wjasjn.js";
39
- import"./index-gc6h1fmf.js";
38
+ import"./index-yv0q0hp9.js";
39
+ import"./index-a2hvmc3a.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-gqe4sm73.js";
42
- import"./index-6gcxgx84.js";
41
+ import"./index-xqr076aq.js";
42
+ import"./index-s34y6gbh.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-rw0wy2y7.js";
44
+ import"./index-vgjmahnd.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-516j9vsk.js";
48
- import"./index-yhx94xpr.js";
47
+ import"./index-kkrbybgt.js";
48
+ import"./index-7s6ct0t2.js";
49
49
  import"./index-vzm6zre7.js";
50
50
  import"./index-ae75rja9.js";
51
- import"./index-12ewkms0.js";
52
- import"./index-ea9fk6v0.js";
53
- import"./index-6mwha20t.js";
51
+ import"./index-23mdeh2a.js";
52
+ import"./index-ap6hs8fj.js";
53
+ import"./index-mkpdcbye.js";
54
54
  import"./index-1xnse449.js";
55
55
  import"./index-c1ggtmpm.js";
56
56
  import"./index-ejhxgyvm.js";
57
57
  import"./index-7g4c7s5r.js";
58
58
  import"./index-989v83pb.js";
59
59
  import"./index-gx2vp8gx.js";
60
- import"./index-basp4sxt.js";
60
+ import"./index-hcaspktr.js";
61
61
  import"./index-zxdawwc7.js";
62
- import"./index-g9ax7jyf.js";
63
- import"./index-y4zjbrqs.js";
62
+ import"./index-rchygh27.js";
63
+ import"./index-2t21pv2v.js";
64
64
  import"./index-bk5tah7q.js";
65
65
  import"./index-gknz3bv1.js";
66
66
  import"./index-zpsr8rpc.js";
@@ -8,67 +8,67 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-3qhx9dx0.js";
12
- import"./index-jqjdejqe.js";
11
+ } from "./index-h6gxh3an.js";
12
+ import"./index-mdqp0cq2.js";
13
13
  import"./index-hamqvzqn.js";
14
- import"./index-m65tnv4j.js";
15
- import"./index-nhxykfyy.js";
16
- import"./index-b2zbak7v.js";
17
- import"./index-q1prchye.js";
18
- import"./index-s0zgz4p1.js";
14
+ import"./index-01r2wrwa.js";
15
+ import"./index-nw8pfcw1.js";
16
+ import"./index-ekwe81my.js";
17
+ import"./index-k5rqe97g.js";
18
+ import"./index-sf51gh68.js";
19
19
  import"./index-txdagbh7.js";
20
- import"./index-tczqm089.js";
20
+ import"./index-4ffryqb1.js";
21
21
  import"./index-6b295cas.js";
22
- import"./index-vs83acgx.js";
23
- import"./index-hxe22tx3.js";
24
- import"./index-cyyvc1cd.js";
22
+ import"./index-yzapt508.js";
23
+ import"./index-1ks0rnzn.js";
24
+ import"./index-m4e3p8na.js";
25
25
  import"./index-rdec0y3z.js";
26
- import"./index-y30y1rkg.js";
26
+ import"./index-nw3z614g.js";
27
27
  import"./index-cjapb4hy.js";
28
28
  import"./index-zsrtt42s.js";
29
- import"./index-kjstkfgh.js";
30
- import"./index-bdpgfep1.js";
31
- import"./index-92m05mew.js";
29
+ import"./index-ckrm4784.js";
30
+ import"./index-jrxrjz89.js";
31
+ import"./index-by9wfeja.js";
32
32
  import"./index-pt7h91zc.js";
33
33
  import"./index-q7sjgr1y.js";
34
- import"./index-908yea8v.js";
35
- import"./index-r6p6x0pb.js";
36
- import"./index-a7z6jygf.js";
37
- import"./index-9j5jjqks.js";
38
- import"./index-g5wjasjn.js";
39
- import"./index-gc6h1fmf.js";
34
+ import"./index-6ep83w7x.js";
35
+ import"./index-789tdsfv.js";
36
+ import"./index-2pt5g7zz.js";
37
+ import"./index-8c37kzh6.js";
38
+ import"./index-yv0q0hp9.js";
39
+ import"./index-a2hvmc3a.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-gqe4sm73.js";
42
- import"./index-6gcxgx84.js";
41
+ import"./index-xqr076aq.js";
42
+ import"./index-s34y6gbh.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-rw0wy2y7.js";
44
+ import"./index-vgjmahnd.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-pee6ykkg.js";
48
- import"./index-edb3sgxg.js";
49
- import"./index-38cfx8g8.js";
50
- import"./index-91dhg3wr.js";
51
- import"./index-vmthakz0.js";
52
- import"./index-bv4b8tpa.js";
47
+ import"./index-4jvt3r77.js";
48
+ import"./index-ttgex8ky.js";
49
+ import"./index-427x3j6p.js";
50
+ import"./index-ved1325w.js";
51
+ import"./index-w1ydvzef.js";
52
+ import"./index-vvgpgcyn.js";
53
53
  import"./index-rdm3px0g.js";
54
54
  import"./index-ry16d01s.js";
55
- import"./index-516j9vsk.js";
56
- import"./index-yhx94xpr.js";
55
+ import"./index-kkrbybgt.js";
56
+ import"./index-7s6ct0t2.js";
57
57
  import"./index-vzm6zre7.js";
58
58
  import"./index-ae75rja9.js";
59
- import"./index-12ewkms0.js";
60
- import"./index-ea9fk6v0.js";
61
- import"./index-6mwha20t.js";
59
+ import"./index-23mdeh2a.js";
60
+ import"./index-ap6hs8fj.js";
61
+ import"./index-mkpdcbye.js";
62
62
  import"./index-1xnse449.js";
63
63
  import"./index-c1ggtmpm.js";
64
64
  import"./index-ejhxgyvm.js";
65
65
  import"./index-7g4c7s5r.js";
66
66
  import"./index-989v83pb.js";
67
67
  import"./index-gx2vp8gx.js";
68
- import"./index-basp4sxt.js";
68
+ import"./index-hcaspktr.js";
69
69
  import"./index-zxdawwc7.js";
70
- import"./index-g9ax7jyf.js";
71
- import"./index-y4zjbrqs.js";
70
+ import"./index-rchygh27.js";
71
+ import"./index-2t21pv2v.js";
72
72
  import"./index-bk5tah7q.js";
73
73
  import"./index-gknz3bv1.js";
74
74
  import"./index-zpsr8rpc.js";
@@ -7,14 +7,14 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-908yea8v.js";
10
+ } from "./index-6ep83w7x.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-989v83pb.js";
14
- import"./index-basp4sxt.js";
14
+ import"./index-hcaspktr.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-g9ax7jyf.js";
17
- import"./index-y4zjbrqs.js";
16
+ import"./index-rchygh27.js";
17
+ import"./index-2t21pv2v.js";
18
18
  import"./index-bk5tah7q.js";
19
19
  import"./index-gknz3bv1.js";
20
20
  import"./index-zpsr8rpc.js";
@@ -14,7 +14,7 @@ import {
14
14
  startHeartbeatTracking,
15
15
  stopHeartbeatTracking,
16
16
  telemetry
17
- } from "./index-6mwha20t.js";
17
+ } from "./index-mkpdcbye.js";
18
18
  import"./index-1xnse449.js";
19
19
  import"./index-c1ggtmpm.js";
20
20
  import"./index-gknz3bv1.js";
@@ -45,8 +45,8 @@ import {
45
45
  shouldSkipSnapshot,
46
46
  switchPrFeedbackTrackingCandidateAsync,
47
47
  workspaceSnapshotMatches
48
- } from "./index-bdpgfep1.js";
49
- import"./index-gc6h1fmf.js";
48
+ } from "./index-jrxrjz89.js";
49
+ import"./index-a2hvmc3a.js";
50
50
  import"./index-2s7dvzff.js";
51
51
  import"./index-1xnse449.js";
52
52
  import"./index-c1ggtmpm.js";
@@ -9,25 +9,25 @@ import {
9
9
  WORKTREE_PROVISIONING_OWNER_LEASE_MS,
10
10
  removeWorktreeProvisioningOwner,
11
11
  scanWorktreeProvisioningOwnersForRecovery
12
- } from "./index-92m05mew.js";
12
+ } from "./index-by9wfeja.js";
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-9j5jjqks.js";
17
- import"./index-gc6h1fmf.js";
16
+ } from "./index-8c37kzh6.js";
17
+ import"./index-a2hvmc3a.js";
18
18
  import"./index-2s7dvzff.js";
19
- import"./index-91dhg3wr.js";
20
- import"./index-vmthakz0.js";
21
- import"./index-bv4b8tpa.js";
19
+ import"./index-ved1325w.js";
20
+ import"./index-w1ydvzef.js";
21
+ import"./index-vvgpgcyn.js";
22
22
  import"./index-rdm3px0g.js";
23
23
  import"./index-ry16d01s.js";
24
- import"./index-516j9vsk.js";
25
- import"./index-yhx94xpr.js";
24
+ import"./index-kkrbybgt.js";
25
+ import"./index-7s6ct0t2.js";
26
26
  import"./index-vzm6zre7.js";
27
27
  import"./index-ae75rja9.js";
28
- import"./index-12ewkms0.js";
29
- import"./index-ea9fk6v0.js";
30
- import"./index-6mwha20t.js";
28
+ import"./index-23mdeh2a.js";
29
+ import"./index-ap6hs8fj.js";
30
+ import"./index-mkpdcbye.js";
31
31
  import {
32
32
  canonicalRootKeyFresh
33
33
  } from "./index-1xnse449.js";
@@ -21,69 +21,69 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-3qhx9dx0.js";
25
- import"./index-jqjdejqe.js";
24
+ } from "./index-h6gxh3an.js";
25
+ import"./index-mdqp0cq2.js";
26
26
  import"./index-hamqvzqn.js";
27
- import"./index-m65tnv4j.js";
28
- import"./index-nhxykfyy.js";
29
- import"./index-b2zbak7v.js";
30
- import"./index-q1prchye.js";
31
- import"./index-s0zgz4p1.js";
27
+ import"./index-01r2wrwa.js";
28
+ import"./index-nw8pfcw1.js";
29
+ import"./index-ekwe81my.js";
30
+ import"./index-k5rqe97g.js";
31
+ import"./index-sf51gh68.js";
32
32
  import"./index-txdagbh7.js";
33
- import"./index-tczqm089.js";
33
+ import"./index-4ffryqb1.js";
34
34
  import"./index-6b295cas.js";
35
- import"./index-vs83acgx.js";
36
- import"./index-hxe22tx3.js";
37
- import"./index-cyyvc1cd.js";
35
+ import"./index-yzapt508.js";
36
+ import"./index-1ks0rnzn.js";
37
+ import"./index-m4e3p8na.js";
38
38
  import"./index-rdec0y3z.js";
39
- import"./index-y30y1rkg.js";
39
+ import"./index-nw3z614g.js";
40
40
  import"./index-cjapb4hy.js";
41
41
  import"./index-zsrtt42s.js";
42
- import"./index-kjstkfgh.js";
43
- import"./index-bdpgfep1.js";
44
- import"./index-92m05mew.js";
42
+ import"./index-ckrm4784.js";
43
+ import"./index-jrxrjz89.js";
44
+ import"./index-by9wfeja.js";
45
45
  import"./index-pt7h91zc.js";
46
46
  import"./index-q7sjgr1y.js";
47
- import"./index-908yea8v.js";
48
- import"./index-r6p6x0pb.js";
49
- import"./index-a7z6jygf.js";
50
- import"./index-9j5jjqks.js";
51
- import"./index-g5wjasjn.js";
52
- import"./index-gc6h1fmf.js";
47
+ import"./index-6ep83w7x.js";
48
+ import"./index-789tdsfv.js";
49
+ import"./index-2pt5g7zz.js";
50
+ import"./index-8c37kzh6.js";
51
+ import"./index-yv0q0hp9.js";
52
+ import"./index-a2hvmc3a.js";
53
53
  import"./index-2s7dvzff.js";
54
- import"./index-gqe4sm73.js";
55
- import"./index-6gcxgx84.js";
54
+ import"./index-xqr076aq.js";
55
+ import"./index-s34y6gbh.js";
56
56
  import"./index-rtry5xyf.js";
57
57
  import {
58
58
  resolveWorktreeIsolationConfig
59
- } from "./index-rw0wy2y7.js";
59
+ } from "./index-vgjmahnd.js";
60
60
  import"./index-frcemc0b.js";
61
61
  import"./index-0725jpp7.js";
62
- import"./index-pee6ykkg.js";
63
- import"./index-edb3sgxg.js";
64
- import"./index-38cfx8g8.js";
65
- import"./index-91dhg3wr.js";
66
- import"./index-vmthakz0.js";
67
- import"./index-bv4b8tpa.js";
62
+ import"./index-4jvt3r77.js";
63
+ import"./index-ttgex8ky.js";
64
+ import"./index-427x3j6p.js";
65
+ import"./index-ved1325w.js";
66
+ import"./index-w1ydvzef.js";
67
+ import"./index-vvgpgcyn.js";
68
68
  import"./index-rdm3px0g.js";
69
69
  import"./index-ry16d01s.js";
70
- import"./index-516j9vsk.js";
71
- import"./index-yhx94xpr.js";
70
+ import"./index-kkrbybgt.js";
71
+ import"./index-7s6ct0t2.js";
72
72
  import"./index-vzm6zre7.js";
73
73
  import"./index-ae75rja9.js";
74
- import"./index-12ewkms0.js";
75
- import"./index-ea9fk6v0.js";
76
- import"./index-6mwha20t.js";
74
+ import"./index-23mdeh2a.js";
75
+ import"./index-ap6hs8fj.js";
76
+ import"./index-mkpdcbye.js";
77
77
  import"./index-1xnse449.js";
78
78
  import"./index-c1ggtmpm.js";
79
79
  import"./index-ejhxgyvm.js";
80
80
  import"./index-7g4c7s5r.js";
81
81
  import"./index-989v83pb.js";
82
82
  import"./index-gx2vp8gx.js";
83
- import"./index-basp4sxt.js";
83
+ import"./index-hcaspktr.js";
84
84
  import"./index-zxdawwc7.js";
85
- import"./index-g9ax7jyf.js";
86
- import"./index-y4zjbrqs.js";
85
+ import"./index-rchygh27.js";
86
+ import"./index-2t21pv2v.js";
87
87
  import"./index-bk5tah7q.js";
88
88
  import"./index-gknz3bv1.js";
89
89
  import"./index-zpsr8rpc.js";
@@ -1269,7 +1269,7 @@ export declare const COMMAND_REGISTRY: {
1269
1269
  readonly handler: (ctx: CommandContext) => Promise<string>;
1270
1270
  readonly description: "Run golden Swarm memory recall evaluation fixtures";
1271
1271
  readonly subcommandOf: "memory";
1272
- readonly args: "--json, --fixtures <directory>, --profiles <list>, --manifest <file>";
1272
+ readonly args: "--json, --instruction-pairing, --fixtures <directory>, --profiles <list>, --manifest <file>";
1273
1273
  readonly category: "diagnostics";
1274
1274
  readonly toolPolicy: "agent";
1275
1275
  };
@@ -20,6 +20,20 @@ export declare function splitEmbeddedAgentVariant(model: string): {
20
20
  export declare function resolveConfiguredAgentModel(config: PluginConfig, exactAgentName: string): string | undefined;
21
21
  /** Resolve the registered model for an exact generated agent target. */
22
22
  export declare function resolveRegisteredAgentModel(config: PluginConfig, exactAgentName: string): string | undefined;
23
+ /**
24
+ * Issue #2680: the merged override entry for an exact generated agent target,
25
+ * exposed for the enabled-role model preflight. Returns the canonical base
26
+ * role plus the merged `model` and `fallback_models` fields in one config
27
+ * walk (object-level merge identical to createAgents: swarm-specific entry
28
+ * replaces a top-level entry for the same role). Read-only view — callers
29
+ * must not mutate the returned arrays.
30
+ */
31
+ export declare function resolveEffectiveAgentOverride(config: PluginConfig, exactAgentName: string): {
32
+ baseAgentName: string;
33
+ model?: string;
34
+ fallbackModels?: string[];
35
+ disabled?: boolean;
36
+ } | undefined;
23
37
  /**
24
38
  * Resolve the model that an exact generated agent will actually receive.
25
39
  *
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Runtime reachability dispositions for the six bundled skills named by issue
3
+ * #2672 (`ci-failure-batching`, `gate-attribution`, `merge-queue-readiness`,
4
+ * `skill-edit-validation`, `worktree-retry-cleanup`, `parallel-work-check`).
5
+ *
6
+ * A disposition is a MEASURED claim, not a text-search guess:
7
+ * - `reachable` means the skill has a real runtime consumer — a shipped
8
+ * protocol body carrying the `file:.swarm/bundled-skills/<slug>/SKILL.md`
9
+ * read directive the agent follows at runtime (consumers may load skills
10
+ * indirectly; registration + runtime resolution is what is traced) — and the
11
+ * slug is present in every shipping inventory (`BUNDLED_PROJECT_SKILLS`,
12
+ * `package.json#files`, the package-smoke allowlist).
13
+ * - `retired` means the slug was EXPLICITLY removed from every inventory and
14
+ * no live consumer reference remains.
15
+ *
16
+ * Deletion is never driven by a missing literal search hit: the consumer
17
+ * controls in `tests/unit/skills/bundled-skill-consumer-controls.test.ts` fail
18
+ * when a skill is neither reachable nor explicitly retired with full inventory
19
+ * parity, so a vanishing text reference forces either a discovered consumer or
20
+ * a deliberate retirement — never a silent drop.
21
+ */
22
+ export interface BundledSkillDisposition {
23
+ disposition: 'reachable' | 'retired';
24
+ /** Repo-relative consumer files carrying the runtime read directive. */
25
+ consumers: string[];
26
+ /** What the consumer path is (measured, with the consuming workflow). */
27
+ note: string;
28
+ }
29
+ export declare const BUNDLED_SKILL_DISPOSITIONS: Record<string, BundledSkillDisposition>;
@@ -221,8 +221,11 @@ export declare function computeProfileHash(profile: QaGateProfile): string;
221
221
  * completion until .swarm/evidence/final-council.json has approved verdict
222
222
  * from 5-member project-scope review).
223
223
  *
224
- * Session overrides are intentionally ephemeral they live only in
225
- * in-memory `AgentSessionState.qaGateSessionOverrides` and are NOT
226
- * persisted to the session snapshot. Process restart clears them.
224
+ * Session overrides are durable runtime policy (#2668): the authority lives
225
+ * in the project DB (`qa_gate_session_override`,
226
+ * `src/db/qa-gate-session-override.ts`), restored by `rehydrateState`, so a
227
+ * restart preserves the effective tightened gates. They are still never
228
+ * serialized into the session snapshot (the snapshot is a projection; the
229
+ * DB row is the restart authority).
227
230
  */
228
231
  export declare function getEffectiveGates(profile: QaGateProfile, sessionOverrides: Partial<QaGates>): QaGates;
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Service layer for the `qa_gate_session_override` table in the per-project
3
+ * database (issue #2668).
4
+ *
5
+ * A session's ratchet-tighter QA gate overrides (`/swarm qa-gates override`)
6
+ * are durable runtime policy: they must survive a host restart, unlike the
7
+ * ephemeral execution authority (leases, child handles, in-flight timers) that
8
+ * expires at the rehydrate boundary. The in-memory
9
+ * `AgentSessionState.qaGateSessionOverrides` remains the live cache the
10
+ * enforcement sites read; this table is the restart authority, restored by
11
+ * `rehydrateState` and kept in lockstep (created by the durable-first write in
12
+ * the `/swarm qa-gates override` command, deleted at session end/stale
13
+ * eviction).
14
+ *
15
+ * Semantics mirror the spec-level profile ratchet: only `true` wins. A session
16
+ * with no `true` gates has NO row — an empty merge deletes it.
17
+ */
18
+ import { type QaGates } from './qa-gate-profile.js';
19
+ /**
20
+ * Test-only dependency-injection seam — see `gitignore-warning.ts:_internals`
21
+ * for the rationale (`mock.module` from `bun:test` leaks across files in
22
+ * Bun's shared test-runner process). Mutating this local object is
23
+ * file-scoped and trivially restorable via `afterEach`.
24
+ */
25
+ export declare const _internals: {
26
+ getOverrideForSession: typeof getOverrideForSession;
27
+ setOverrideForSession: typeof setOverrideForSession;
28
+ clearOverrideForSession: typeof clearOverrideForSession;
29
+ clearAllSessionOverrides: typeof clearAllSessionOverrides;
30
+ };
31
+ /**
32
+ * Read the durable ratchet-tighter overrides for a session.
33
+ *
34
+ * Read-only: if `.swarm/swarm.db` does not exist yet, returns `{}`
35
+ * without creating the DB file. A malformed row fails closed to `{}`
36
+ * (with a debug-gated warn naming the session) — corruption must not
37
+ * break rehydration or silently widen the effective gates.
38
+ */
39
+ export declare function getOverrideForSession(directory: string, sessionId: string): Partial<QaGates>;
40
+ /**
41
+ * Merge ratchet-tighter gates into a session's durable override row.
42
+ *
43
+ * Only `true` values win (mirrors `getEffectiveGates` semantics); a `false`
44
+ * input never disables. If the merged map has no `true` gates the row is
45
+ * DELETED (empty-overrides invariant, #2668) — an empty override is the
46
+ * absence of policy, not a policy.
47
+ */
48
+ export declare function setOverrideForSession(directory: string, sessionId: string, gates: Partial<QaGates>): Partial<QaGates>;
49
+ /**
50
+ * Delete a session's durable override row. Idempotent: clearing an absent
51
+ * row is a no-op. Returns true when a row was removed.
52
+ */
53
+ export declare function clearOverrideForSession(directory: string, sessionId: string): boolean;
54
+ /**
55
+ * Delete every durable override row in the project. Used by
56
+ * `/swarm reset-session`, which clears all in-memory sessions for the
57
+ * project — their durable policy rows go with them (bounded: one row per
58
+ * session). Returns the number of rows removed.
59
+ */
60
+ export declare function clearAllSessionOverrides(directory: string): number;
61
+ /**
62
+ * Delete override rows whose session is no longer live in this project
63
+ * (#2668 orphan-row reaper). `sweepStaleSessions` can evict a stale session
64
+ * in-memory WITHOUT being able to clear its durable row — the hot-path
65
+ * `ensureAgentSession` sweep runs with no `directory`, so the project DB is
66
+ * unreachable there. This reaper runs at the rehydrate boundary (which knows
67
+ * the directory) and removes every row whose session id is not in
68
+ * `keepSessionIds` — the restored/live sessions of the hydrating project.
69
+ * Bounded: one indexed scan over a session-keyed table. Returns the number
70
+ * of orphaned rows removed.
71
+ */
72
+ export declare function sweepOrphanOverrides(directory: string, keepSessionIds: ReadonlySet<string>): number;