opencode-swarm 7.184.5 → 7.184.7

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 (104) hide show
  1. package/.opencode/skills/issue-tracer/SKILL.md +3 -3
  2. package/.opencode/skills/issue-tracer/assets/pr-template.md +7 -0
  3. package/.opencode/skills/issue-tracer/references/acceptance-checks.md +30 -6
  4. package/.opencode/skills/issue-tracer/references/critic-gate.md +5 -0
  5. package/.opencode/skills/issue-tracer/references/evidence-artifacts.md +18 -2
  6. package/.opencode/skills/issue-tracer/scripts/repro-check.sh +604 -77
  7. package/.opencode/skills/issue-tracer/scripts/trace-check.sh +486 -60
  8. package/.opencode/skills/issue-tracer/scripts/trace-init.sh +30 -0
  9. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  10. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  11. package/dist/cli/{coder-settlement-m3r1kmzx.js → coder-settlement-2759zt77.js} +11 -11
  12. package/dist/cli/{config-doctor-1qgq2s96.js → config-doctor-g48tz4kt.js} +3 -3
  13. package/dist/cli/{core-h7pp6xzs.js → core-1jfgxw72.js} +4 -4
  14. package/dist/cli/{curation-policy-49f8jx48.js → curation-policy-k43q6b91.js} +4 -4
  15. package/dist/cli/{curator-drift-epvr1y5j.js → curator-drift-5wc9jfmy.js} +9 -9
  16. package/dist/cli/curator-llm-factory-jjd0cxb2.js +75 -0
  17. package/dist/cli/{curator-48mky2w8.js → curator-m7sja3jp.js} +38 -38
  18. package/dist/cli/{evidence-summary-service-akzas6he.js → evidence-summary-service-sx8x12w0.js} +17 -17
  19. package/dist/cli/{gate-evidence-gmq1th1b.js → gate-evidence-znfffz94.js} +8 -6
  20. package/dist/cli/guardrail-explain-x81m4s8q.js +76 -0
  21. package/dist/cli/{guardrail-log-n2cgvbh1.js → guardrail-log-mcv4ad3t.js} +7 -7
  22. package/dist/cli/{guardrail-reset-3br6fs4n.js → guardrail-reset-ksrr2r0n.js} +38 -38
  23. package/dist/cli/{hive-promoter-a1yw6evd.js → hive-promoter-06dzq5ms.js} +38 -38
  24. package/dist/cli/{index-fnbcd9ve.js → index-0prgjynb.js} +5 -5
  25. package/dist/cli/{index-ar2gsn6b.js → index-14j1jkyy.js} +6 -6
  26. package/dist/cli/{index-2zzmthnv.js → index-16smfppa.js} +4 -4
  27. package/dist/cli/{index-k1cxzdbd.js → index-1kz2repk.js} +4 -4
  28. package/dist/cli/{index-7ge1gcd3.js → index-1npynszx.js} +12 -12
  29. package/dist/cli/{index-82hy3v8f.js → index-1nwkzj24.js} +2 -2
  30. package/dist/cli/{index-ya32wfkp.js → index-1t2ctwkd.js} +1 -1
  31. package/dist/cli/{index-8pfcj7tz.js → index-2s0gy81b.js} +3 -3
  32. package/dist/cli/{index-k53a69vb.js → index-2t4zv1ag.js} +7 -14
  33. package/dist/cli/{index-3ny2d85s.js → index-3h0f07e9.js} +2 -2
  34. package/dist/cli/{index-qf75z3xz.js → index-42pchr9f.js} +1 -1
  35. package/dist/cli/{index-6jqxstq4.js → index-4qmeshfa.js} +5 -5
  36. package/dist/cli/{index-3n5zsp31.js → index-7xv2hvr6.js} +2 -2
  37. package/dist/cli/{index-10rsjhfy.js → index-82j1een1.js} +46 -19
  38. package/dist/cli/{index-h9hvszf7.js → index-8bvpcbk8.js} +40 -40
  39. package/dist/cli/{index-wy3zpwjy.js → index-98a0rxby.js} +1 -1
  40. package/dist/cli/{index-vyjped9g.js → index-b1v0zxnh.js} +2 -2
  41. package/dist/cli/{index-cdvb33mn.js → index-bf055zyw.js} +2 -2
  42. package/dist/cli/{index-2adz24wr.js → index-c5c7hrz1.js} +3 -3
  43. package/dist/cli/{index-6bn74qs9.js → index-dyddcx8h.js} +168 -105
  44. package/dist/cli/{index-xf69xty9.js → index-e1zrgvqg.js} +1 -1
  45. package/dist/cli/{index-yqcaf6r3.js → index-eecz2kna.js} +7 -7
  46. package/dist/cli/{index-1511m10x.js → index-enjsn68b.js} +7 -7
  47. package/dist/cli/{index-wzec3c4g.js → index-ezagem2g.js} +4 -0
  48. package/dist/cli/{index-zzvxj02e.js → index-fr6x6vn2.js} +1 -1
  49. package/dist/cli/{index-475bkab8.js → index-g2r6t7by.js} +1 -1
  50. package/dist/cli/{index-tzejdtyx.js → index-kbd6apth.js} +38 -38
  51. package/dist/cli/{index-e602am4j.js → index-m8rt7a3g.js} +4 -4
  52. package/dist/cli/{index-xf6j4ypk.js → index-mp60wy1f.js} +4 -4
  53. package/dist/cli/{index-6g664sy8.js → index-q39ecyaq.js} +1 -1
  54. package/dist/cli/{index-tajh3egk.js → index-q4a0j3nh.js} +5 -5
  55. package/dist/cli/{index-earq3mda.js → index-qeqn241m.js} +1 -1
  56. package/dist/cli/{index-ae2jf510.js → index-raj6y6d3.js} +2 -2
  57. package/dist/cli/{index-f0nj3d8z.js → index-rmspt7xm.js} +1 -1
  58. package/dist/cli/{index-ezpzd88b.js → index-rwzrbcm9.js} +2 -2
  59. package/dist/cli/{index-jvk95e6y.js → index-s95ghsy1.js} +1 -1
  60. package/dist/cli/{index-f4z1ez09.js → index-sxxj47cy.js} +6 -6
  61. package/dist/cli/{index-w9hxzcz4.js → index-t0mb5a9p.js} +1 -1
  62. package/dist/cli/{index-wehwbv89.js → index-x16a0c6b.js} +7 -7
  63. package/dist/cli/{index-456awy1p.js → index-xqxqepsy.js} +2 -2
  64. package/dist/cli/{index-zeg8y1fw.js → index-ywmknn6m.js} +1 -1
  65. package/dist/cli/{index-d1bfyxj5.js → index-z1qs160n.js} +1 -1
  66. package/dist/cli/{index-gcdgtcg5.js → index-z7recmq5.js} +3 -3
  67. package/dist/cli/index.d.ts +36 -7
  68. package/dist/cli/index.js +352 -92
  69. package/dist/cli/{knowledge-escalator-rdgspj3v.js → knowledge-escalator-ghx76dcv.js} +12 -12
  70. package/dist/cli/{knowledge-events-zh16e78y.js → knowledge-events-kpw6fbmc.js} +10 -10
  71. package/dist/cli/{knowledge-link-ap2274vm.js → knowledge-link-xw6vsbx3.js} +3 -3
  72. package/dist/cli/{knowledge-store-jxke13cv.js → knowledge-store-fhdrpxdm.js} +4 -4
  73. package/dist/cli/{knowledge-validator-24myt9fp.js → knowledge-validator-7jr0aka1.js} +6 -6
  74. package/dist/cli/{mcp-a4q99fmb.js → mcp-v7cgf5tn.js} +1 -1
  75. package/dist/cli/{model-preflight-qy88p9fc.js → model-preflight-kn3xqvfk.js} +38 -38
  76. package/dist/cli/{pending-delegations-9vqyq3bj.js → pending-delegations-z7mcbecn.js} +10 -10
  77. package/dist/cli/{pr-subscriptions-hrefmtay.js → pr-subscriptions-1sb07tx3.js} +10 -10
  78. package/dist/cli/{pr-workflow-gate-1jcs4wnp.js → pr-workflow-gate-ph4fvf47.js} +38 -38
  79. package/dist/cli/{runner-yz3ysehf.js → runner-pvdhxh74.js} +4 -4
  80. package/dist/cli/{scan-cursor-krn56ew2.js → scan-cursor-7ny9bnmk.js} +5 -5
  81. package/dist/cli/{schema-zqankczb.js → schema-pjkzvcw8.js} +2 -2
  82. package/dist/cli/{scope-persistence-5qrjm5d2.js → scope-persistence-mkb8yc5s.js} +14 -14
  83. package/dist/cli/{server-7wydssat.js → server-4e853cwk.js} +38 -38
  84. package/dist/cli/{skill-generator-br4wctes.js → skill-generator-v6n0kwh0.js} +14 -14
  85. package/dist/cli/{snapshot-coordination-init-g4sg2fxv.js → snapshot-coordination-init-agx2sn6h.js} +38 -38
  86. package/dist/cli/{speckit-checkoff-82s1qy0c.js → speckit-checkoff-wfsbvt1b.js} +5 -5
  87. package/dist/cli/{workspace-snapshot-xwhhznt3.js → workspace-snapshot-553c6cd3.js} +3 -3
  88. package/dist/cli/{worktree-collision-ownership-19n9em8b.js → worktree-collision-ownership-4znww3nt.js} +11 -11
  89. package/dist/cli/{worktree-isolation-hkd7xtdp.js → worktree-isolation-w4k8q59z.js} +38 -38
  90. package/dist/commands/registry.d.ts +1 -1
  91. package/dist/gate-evidence.d.ts +51 -0
  92. package/dist/index.js +34 -34
  93. package/dist/tools/index.d.ts +1 -0
  94. package/dist/tools/manifest.d.ts +1 -0
  95. package/dist/tools/record-branch-freshness.d.ts +6 -0
  96. package/dist/tools/record-trace-validation.d.ts +11 -0
  97. package/dist/tools/recover-stage-a-task.d.ts +5 -0
  98. package/dist/tools/tool-metadata.d.ts +4 -0
  99. package/dist/workflow/settlement-recovery.d.ts +52 -0
  100. package/dist/workflow/stage-a-repair.d.ts +13 -8
  101. package/dist/workflow/task-recovery-status.d.ts +11 -2
  102. package/package.json +1 -1
  103. package/dist/cli/curator-llm-factory-782jtn0a.js +0 -75
  104. package/dist/cli/guardrail-explain-xgahzbts.js +0 -76
@@ -33,35 +33,35 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-xf6j4ypk.js";
36
+ } from "./index-mp60wy1f.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-yqcaf6r3.js";
39
- import"./index-wy3zpwjy.js";
38
+ import"./index-eecz2kna.js";
39
+ import"./index-98a0rxby.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-e602am4j.js";
42
- import"./index-earq3mda.js";
41
+ import"./index-m8rt7a3g.js";
42
+ import"./index-qeqn241m.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-8pfcj7tz.js";
44
+ import"./index-2s0gy81b.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-zzvxj02e.js";
48
- import"./index-1511m10x.js";
47
+ import"./index-fr6x6vn2.js";
48
+ import"./index-enjsn68b.js";
49
49
  import"./index-vzm6zre7.js";
50
50
  import"./index-ae75rja9.js";
51
- import"./index-475bkab8.js";
52
- import"./index-xf69xty9.js";
51
+ import"./index-g2r6t7by.js";
52
+ import"./index-e1zrgvqg.js";
53
53
  import"./index-t7hmqgjy.js";
54
54
  import"./index-x1gyqgze.js";
55
55
  import"./index-mc72pk74.js";
56
56
  import"./index-c1ggtmpm.js";
57
57
  import"./index-ejhxgyvm.js";
58
58
  import"./index-7g4c7s5r.js";
59
- import"./index-k53a69vb.js";
59
+ import"./index-2t4zv1ag.js";
60
60
  import"./index-gx2vp8gx.js";
61
- import"./index-qf75z3xz.js";
61
+ import"./index-42pchr9f.js";
62
62
  import"./index-zxdawwc7.js";
63
- import"./index-3ny2d85s.js";
64
- import"./index-wzec3c4g.js";
63
+ import"./index-3h0f07e9.js";
64
+ import"./index-ezagem2g.js";
65
65
  import"./index-bk5tah7q.js";
66
66
  import"./index-gknz3bv1.js";
67
67
  import"./index-zpsr8rpc.js";
@@ -8,68 +8,68 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-6bn74qs9.js";
12
- import"./index-2adz24wr.js";
11
+ } from "./index-dyddcx8h.js";
12
+ import"./index-c5c7hrz1.js";
13
13
  import"./index-hamqvzqn.js";
14
- import"./index-6g664sy8.js";
15
- import"./index-gcdgtcg5.js";
16
- import"./index-ezpzd88b.js";
17
- import"./index-7ge1gcd3.js";
18
- import"./index-ya32wfkp.js";
14
+ import"./index-q39ecyaq.js";
15
+ import"./index-z7recmq5.js";
16
+ import"./index-rwzrbcm9.js";
17
+ import"./index-1npynszx.js";
18
+ import"./index-1t2ctwkd.js";
19
19
  import"./index-txdagbh7.js";
20
- import"./index-d1bfyxj5.js";
20
+ import"./index-z1qs160n.js";
21
21
  import"./index-6b295cas.js";
22
- import"./index-xf6j4ypk.js";
23
- import"./index-6jqxstq4.js";
24
- import"./index-ae2jf510.js";
22
+ import"./index-mp60wy1f.js";
23
+ import"./index-4qmeshfa.js";
24
+ import"./index-raj6y6d3.js";
25
25
  import"./index-rdec0y3z.js";
26
- import"./index-ar2gsn6b.js";
26
+ import"./index-14j1jkyy.js";
27
27
  import"./index-cjapb4hy.js";
28
28
  import"./index-zsrtt42s.js";
29
- import"./index-wehwbv89.js";
30
- import"./index-vyjped9g.js";
31
- import"./index-3n5zsp31.js";
29
+ import"./index-x16a0c6b.js";
30
+ import"./index-b1v0zxnh.js";
31
+ import"./index-7xv2hvr6.js";
32
32
  import"./index-pt7h91zc.js";
33
33
  import"./index-q7sjgr1y.js";
34
- import"./index-82hy3v8f.js";
35
- import"./index-10rsjhfy.js";
36
- import"./index-k1cxzdbd.js";
37
- import"./index-f4z1ez09.js";
38
- import"./index-yqcaf6r3.js";
39
- import"./index-wy3zpwjy.js";
34
+ import"./index-1nwkzj24.js";
35
+ import"./index-82j1een1.js";
36
+ import"./index-1kz2repk.js";
37
+ import"./index-sxxj47cy.js";
38
+ import"./index-eecz2kna.js";
39
+ import"./index-98a0rxby.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-e602am4j.js";
42
- import"./index-earq3mda.js";
41
+ import"./index-m8rt7a3g.js";
42
+ import"./index-qeqn241m.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-8pfcj7tz.js";
44
+ import"./index-2s0gy81b.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-fnbcd9ve.js";
48
- import"./index-tajh3egk.js";
49
- import"./index-jvk95e6y.js";
50
- import"./index-456awy1p.js";
51
- import"./index-f0nj3d8z.js";
52
- import"./index-w9hxzcz4.js";
47
+ import"./index-0prgjynb.js";
48
+ import"./index-q4a0j3nh.js";
49
+ import"./index-s95ghsy1.js";
50
+ import"./index-xqxqepsy.js";
51
+ import"./index-rmspt7xm.js";
52
+ import"./index-t0mb5a9p.js";
53
53
  import"./index-rdm3px0g.js";
54
54
  import"./index-ry16d01s.js";
55
- import"./index-zzvxj02e.js";
56
- import"./index-1511m10x.js";
55
+ import"./index-fr6x6vn2.js";
56
+ import"./index-enjsn68b.js";
57
57
  import"./index-vzm6zre7.js";
58
58
  import"./index-ae75rja9.js";
59
- import"./index-475bkab8.js";
60
- import"./index-xf69xty9.js";
59
+ import"./index-g2r6t7by.js";
60
+ import"./index-e1zrgvqg.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-k53a69vb.js";
67
+ import"./index-2t4zv1ag.js";
68
68
  import"./index-gx2vp8gx.js";
69
- import"./index-qf75z3xz.js";
69
+ import"./index-42pchr9f.js";
70
70
  import"./index-zxdawwc7.js";
71
- import"./index-3ny2d85s.js";
72
- import"./index-wzec3c4g.js";
71
+ import"./index-3h0f07e9.js";
72
+ import"./index-ezagem2g.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-82hy3v8f.js";
10
+ } from "./index-1nwkzj24.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
- import"./index-k53a69vb.js";
14
- import"./index-qf75z3xz.js";
13
+ import"./index-2t4zv1ag.js";
14
+ import"./index-42pchr9f.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-3ny2d85s.js";
17
- import"./index-wzec3c4g.js";
16
+ import"./index-3h0f07e9.js";
17
+ import"./index-ezagem2g.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-vyjped9g.js";
50
- import"./index-wy3zpwjy.js";
49
+ } from "./index-b1v0zxnh.js";
50
+ import"./index-98a0rxby.js";
51
51
  import"./index-2s7dvzff.js";
52
52
  import"./index-mc72pk74.js";
53
53
  import"./index-c1ggtmpm.js";
54
- import"./index-k53a69vb.js";
54
+ import"./index-2t4zv1ag.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-3n5zsp31.js";
12
+ } from "./index-7xv2hvr6.js";
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-f4z1ez09.js";
17
- import"./index-wy3zpwjy.js";
16
+ } from "./index-sxxj47cy.js";
17
+ import"./index-98a0rxby.js";
18
18
  import"./index-2s7dvzff.js";
19
- import"./index-456awy1p.js";
20
- import"./index-f0nj3d8z.js";
21
- import"./index-w9hxzcz4.js";
19
+ import"./index-xqxqepsy.js";
20
+ import"./index-rmspt7xm.js";
21
+ import"./index-t0mb5a9p.js";
22
22
  import"./index-rdm3px0g.js";
23
23
  import"./index-ry16d01s.js";
24
- import"./index-zzvxj02e.js";
25
- import"./index-1511m10x.js";
24
+ import"./index-fr6x6vn2.js";
25
+ import"./index-enjsn68b.js";
26
26
  import"./index-vzm6zre7.js";
27
27
  import"./index-ae75rja9.js";
28
- import"./index-475bkab8.js";
29
- import"./index-xf69xty9.js";
28
+ import"./index-g2r6t7by.js";
29
+ import"./index-e1zrgvqg.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-k53a69vb.js";
38
+ import"./index-2t4zv1ag.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-6bn74qs9.js";
25
- import"./index-2adz24wr.js";
24
+ } from "./index-dyddcx8h.js";
25
+ import"./index-c5c7hrz1.js";
26
26
  import"./index-hamqvzqn.js";
27
- import"./index-6g664sy8.js";
28
- import"./index-gcdgtcg5.js";
29
- import"./index-ezpzd88b.js";
30
- import"./index-7ge1gcd3.js";
31
- import"./index-ya32wfkp.js";
27
+ import"./index-q39ecyaq.js";
28
+ import"./index-z7recmq5.js";
29
+ import"./index-rwzrbcm9.js";
30
+ import"./index-1npynszx.js";
31
+ import"./index-1t2ctwkd.js";
32
32
  import"./index-txdagbh7.js";
33
- import"./index-d1bfyxj5.js";
33
+ import"./index-z1qs160n.js";
34
34
  import"./index-6b295cas.js";
35
- import"./index-xf6j4ypk.js";
36
- import"./index-6jqxstq4.js";
37
- import"./index-ae2jf510.js";
35
+ import"./index-mp60wy1f.js";
36
+ import"./index-4qmeshfa.js";
37
+ import"./index-raj6y6d3.js";
38
38
  import"./index-rdec0y3z.js";
39
- import"./index-ar2gsn6b.js";
39
+ import"./index-14j1jkyy.js";
40
40
  import"./index-cjapb4hy.js";
41
41
  import"./index-zsrtt42s.js";
42
- import"./index-wehwbv89.js";
43
- import"./index-vyjped9g.js";
44
- import"./index-3n5zsp31.js";
42
+ import"./index-x16a0c6b.js";
43
+ import"./index-b1v0zxnh.js";
44
+ import"./index-7xv2hvr6.js";
45
45
  import"./index-pt7h91zc.js";
46
46
  import"./index-q7sjgr1y.js";
47
- import"./index-82hy3v8f.js";
48
- import"./index-10rsjhfy.js";
49
- import"./index-k1cxzdbd.js";
50
- import"./index-f4z1ez09.js";
51
- import"./index-yqcaf6r3.js";
52
- import"./index-wy3zpwjy.js";
47
+ import"./index-1nwkzj24.js";
48
+ import"./index-82j1een1.js";
49
+ import"./index-1kz2repk.js";
50
+ import"./index-sxxj47cy.js";
51
+ import"./index-eecz2kna.js";
52
+ import"./index-98a0rxby.js";
53
53
  import"./index-2s7dvzff.js";
54
- import"./index-e602am4j.js";
55
- import"./index-earq3mda.js";
54
+ import"./index-m8rt7a3g.js";
55
+ import"./index-qeqn241m.js";
56
56
  import"./index-rtry5xyf.js";
57
57
  import {
58
58
  resolveWorktreeIsolationConfig
59
- } from "./index-8pfcj7tz.js";
59
+ } from "./index-2s0gy81b.js";
60
60
  import"./index-frcemc0b.js";
61
61
  import"./index-0725jpp7.js";
62
- import"./index-fnbcd9ve.js";
63
- import"./index-tajh3egk.js";
64
- import"./index-jvk95e6y.js";
65
- import"./index-456awy1p.js";
66
- import"./index-f0nj3d8z.js";
67
- import"./index-w9hxzcz4.js";
62
+ import"./index-0prgjynb.js";
63
+ import"./index-q4a0j3nh.js";
64
+ import"./index-s95ghsy1.js";
65
+ import"./index-xqxqepsy.js";
66
+ import"./index-rmspt7xm.js";
67
+ import"./index-t0mb5a9p.js";
68
68
  import"./index-rdm3px0g.js";
69
69
  import"./index-ry16d01s.js";
70
- import"./index-zzvxj02e.js";
71
- import"./index-1511m10x.js";
70
+ import"./index-fr6x6vn2.js";
71
+ import"./index-enjsn68b.js";
72
72
  import"./index-vzm6zre7.js";
73
73
  import"./index-ae75rja9.js";
74
- import"./index-475bkab8.js";
75
- import"./index-xf69xty9.js";
74
+ import"./index-g2r6t7by.js";
75
+ import"./index-e1zrgvqg.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-k53a69vb.js";
82
+ import"./index-2t4zv1ag.js";
83
83
  import"./index-gx2vp8gx.js";
84
- import"./index-qf75z3xz.js";
84
+ import"./index-42pchr9f.js";
85
85
  import"./index-zxdawwc7.js";
86
- import"./index-3ny2d85s.js";
87
- import"./index-wzec3c4g.js";
86
+ import"./index-3h0f07e9.js";
87
+ import"./index-ezagem2g.js";
88
88
  import"./index-bk5tah7q.js";
89
89
  import"./index-gknz3bv1.js";
90
90
  import"./index-zpsr8rpc.js";
@@ -1085,7 +1085,7 @@ export declare const COMMAND_REGISTRY: {
1085
1085
  readonly recover: {
1086
1086
  readonly handler: (ctx: CommandContext) => Promise<string>;
1087
1087
  readonly description: "Recover wedged coder settlements [task_id] [--force]";
1088
- readonly details: "Settles stale coder-settlement WALs in .swarm/coder-settlements/ — the CODER_DISPATCH_IN_PROGRESS wedge where a dispatch's completion never fired (issue #2268). Safe mode recovers settlements whose owner process is gone. --force also releases ownership keys held by this process: use only when no dispatch is genuinely running (a late completion then reports CODER_SETTLEMENT_IDEMPOTENCY_CONFLICT, safe to ignore). Never interrupts another live OpenCode process. Also repairs tasks wedged at coder_delegated with unattributed green pre_check evidence — the post-reset TASK_WORKFLOW_STAGE_A_REQUIRED wedge — by writing the missing stage_a_passed transition directly (audit events land in .swarm/events.jsonl); pass [task_id] to scope both phases to one task. Diagnose and repair emit per-category status explanations (missing/stale/ambiguous/corrupt/live_wedge) with shell-correct invocation guidance per host — see docs/troubleshooting/recovery-runbook.md (#2665). Human-only.";
1088
+ readonly details: "Settles stale coder-settlement WALs in .swarm/coder-settlements/ — the CODER_DISPATCH_IN_PROGRESS wedge where a dispatch's completion never fired (issue #2268). Safe mode recovers settlements whose owner process is gone. --force also releases ownership keys held by this process: use only when no dispatch is genuinely running (a late completion then reports CODER_SETTLEMENT_IDEMPOTENCY_CONFLICT, safe to ignore). Never interrupts another live OpenCode process. Also repairs tasks wedged at coder_delegated with unattributed green pre_check evidence — the post-reset TASK_WORKFLOW_STAGE_A_REQUIRED wedge — and the settlement-wedge class (issue #2828): a task whose workflow drifted to idle or blocked while a COMMITTED accepted coder settlement and green post-settlement pre-check evidence still justify Stage A gets the missing stage_a_passed written directly, with a settlementRecovery marker and a stage_a_repair audit event in .swarm/events.jsonl; the architect-side audited escape hatch for the same receipts is the recover_stage_a_task tool. Note that --force affects only in-process settlement-WAL ownership and does not override Stage A wedge-classification refusals. Pass [task_id] to scope both phases to one task. Diagnose and repair emit per-category status explanations (missing/stale/ambiguous/corrupt/live_wedge/settlement_wedge) with shell-correct invocation guidance per host — see docs/troubleshooting/recovery-runbook.md (#2665). Human-only.";
1089
1089
  readonly args: "[task_id] [--force]";
1090
1090
  readonly category: "utility";
1091
1091
  readonly toolPolicy: "human-only";
@@ -66,6 +66,25 @@ export interface TaskWorkflowMetadata {
66
66
  * `repair_idle` (which opens a new generation for genuinely new work).
67
67
  */
68
68
  supervisedRecovery?: boolean;
69
+ /**
70
+ * True when this task's current generation entered `pre_check_passed`
71
+ * through a settlement-backed Stage A recovery (issue #2828) — the
72
+ * deterministic `/swarm recover` settlement-wedge repair or the audited
73
+ * `recover_stage_a_task` architect tool — rather than the mechanical
74
+ * pre_check_batch recorder.
75
+ *
76
+ * Same durability contract as `supervisedRecovery`: the reducer consumes
77
+ * the event-scoped flag transiently, so without a persisted marker the
78
+ * evidence file becomes byte-identical to a mechanically-earned Stage A
79
+ * pass as soon as the next transition overwrites `lastTransitionId`.
80
+ * Preserved across subsequent transitions in the same generation, cleared
81
+ * by `repair_idle` and by `accepted_mutation`'s generation rotation (a new
82
+ * generation invalidates the recovery mode). One flag serves both entry
83
+ * modes because the durable predicate (COMMITTED accepted settlement +
84
+ * green post-settlement pre-check) is identical; provenance between them
85
+ * rides the `stage_a_repair` audit event's `via` field.
86
+ */
87
+ settlementRecovery?: boolean;
69
88
  /**
70
89
  * Exact proof that the generation-0 coder settlement declared no files and
71
90
  * observed no mutation. This is deliberately separate from retry history and
@@ -153,6 +172,15 @@ export type TaskWorkflowTransitionEvent = {
153
172
  * fail closed with TASK_WORKFLOW_CODER_MUTATION_REQUIRED from that state.
154
173
  */
155
174
  supervisedRecovery?: boolean;
175
+ /**
176
+ * Settlement-backed recovery only (issue #2828): the settlement-wedge
177
+ * repair paths (`/swarm recover`'s settlement scan and the
178
+ * recover_stage_a_task tool) set this to admit stage_a_passed from
179
+ * `idle`/`blocked` when a COMMITTED accepted coder settlement plus
180
+ * green post-settlement pre-check proof justify re-recording Stage A.
181
+ * Every other emitter leaves it unset and still fails closed.
182
+ */
183
+ settlementRecovery?: boolean;
156
184
  expectedGeneration: number;
157
185
  transitionId?: string;
158
186
  } | {
@@ -213,6 +241,17 @@ export interface TaskEvidenceTransaction {
213
241
  taskId: string;
214
242
  read(): TaskEvidence | null;
215
243
  transition(event: TaskWorkflowTransitionEvent): Promise<TaskEvidence>;
244
+ /**
245
+ * Same as `transition`, plus whether the reducer treated the event as a
246
+ * duplicate no-op (the durable evidence already recorded this exact
247
+ * transitionId + outcome, so nothing changed). Optional for backward
248
+ * compatibility with older transaction implementations; callers of the
249
+ * plain `transition` cannot distinguish a fresh write from a duplicate.
250
+ */
251
+ transitionWithStatus?(event: TaskWorkflowTransitionEvent): Promise<{
252
+ evidence: TaskEvidence;
253
+ duplicated: boolean;
254
+ }>;
216
255
  }
217
256
  export declare function parseTaskEvidence(raw: string, expectedTaskId: string): TaskEvidence;
218
257
  export declare const DEFAULT_REQUIRED_GATES: string[];
@@ -261,6 +300,18 @@ export declare function deriveRequiredGates(agentType: string, context?: GateDer
261
300
  */
262
301
  export declare function expandRequiredGates(existingGates: string[], newAgentType: string, context?: GateDerivationContext): string[];
263
302
  export declare function transitionTaskWorkflowEvidence(directory: string, taskId: string, event: TaskWorkflowTransitionEvent): Promise<TaskEvidence>;
303
+ /**
304
+ * Same as `transitionTaskWorkflowEvidence`, plus whether the reducer treated
305
+ * the event as a duplicate no-op (the durable evidence already recorded this
306
+ * exact transitionId + outcome). Duplicate detection needs the locked pre-
307
+ * transition state, so it is only available from inside the transaction; a
308
+ * transaction implementation without `transitionWithStatus` reports
309
+ * `duplicated: false` (unknown, not proven-fresh).
310
+ */
311
+ export declare function transitionTaskWorkflowEvidenceWithStatus(directory: string, taskId: string, event: TaskWorkflowTransitionEvent): Promise<{
312
+ evidence: TaskEvidence;
313
+ duplicated: boolean;
314
+ }>;
264
315
  export declare function withTaskEvidenceTransaction<T>(directory: string, taskId: string, agent: string, callback: (transaction: TaskEvidenceTransaction) => Promise<T>): Promise<T>;
265
316
  /**
266
317
  * Re-publish a transition receipt after a caller has proven that its evidence