opencode-swarm 7.186.0 → 7.186.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.
Files changed (98) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +3 -3
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +19 -1
  3. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  4. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  5. package/dist/background/pr-review-trigger-contract.d.ts +8 -0
  6. package/dist/cli/{auto-checkpoint-wd99h2bt.js → auto-checkpoint-c7ykm2vt.js} +8 -8
  7. package/dist/cli/{checkpoint-kjzwsxw2.js → checkpoint-jafvsq23.js} +16 -16
  8. package/dist/cli/{coder-settlement-kp3ph56n.js → coder-settlement-n00djebn.js} +12 -12
  9. package/dist/cli/{config-doctor-28ggsms8.js → config-doctor-17yft6hp.js} +2 -2
  10. package/dist/cli/{core-pj2fz34e.js → core-trk38w53.js} +3 -3
  11. package/dist/cli/{curation-policy-ytzwb080.js → curation-policy-1zdsb3h0.js} +6 -6
  12. package/dist/cli/{curator-drift-q84jn9cc.js → curator-drift-b6cjgsq3.js} +8 -8
  13. package/dist/cli/curator-llm-factory-a1hy89ea.js +81 -0
  14. package/dist/cli/{curator-r0jfc7xw.js → curator-yvp2e7tk.js} +41 -41
  15. package/dist/cli/{evidence-summary-service-rsectw2t.js → evidence-summary-service-9vh0t896.js} +19 -19
  16. package/dist/cli/{gate-evidence-mpwhcm2s.js → gate-evidence-tbjsm6r8.js} +7 -7
  17. package/dist/cli/guardrail-explain-a16eabym.js +82 -0
  18. package/dist/cli/{guardrail-log-r8zmh4rd.js → guardrail-log-4kj5e7da.js} +7 -7
  19. package/dist/cli/{guardrail-reset-11cvwgbe.js → guardrail-reset-fstvd42q.js} +41 -41
  20. package/dist/cli/{hive-promoter-0vg8w79a.js → hive-promoter-68prvn82.js} +41 -41
  21. package/dist/cli/{index-w6w6ny06.js → index-1f7mkb7p.js} +58 -58
  22. package/dist/cli/{index-j972ags2.js → index-1m3502g5.js} +7 -7
  23. package/dist/cli/{index-m94gfe82.js → index-27yspj61.js} +7 -7
  24. package/dist/cli/{index-vk3ngryj.js → index-3h80xyek.js} +5 -5
  25. package/dist/cli/{index-7xt5m1cz.js → index-3w0v6n9x.js} +5 -5
  26. package/dist/cli/{index-6sffjy74.js → index-4tpwp24b.js} +2 -2
  27. package/dist/cli/{index-nxjm66qb.js → index-52s3tsmj.js} +2 -2
  28. package/dist/cli/{index-p9m1nhds.js → index-5cybjkj0.js} +3 -3
  29. package/dist/cli/{index-qyjyd3ej.js → index-5qbm61fh.js} +1 -1
  30. package/dist/cli/{index-s68z4a39.js → index-5z1xrkaa.js} +2 -2
  31. package/dist/cli/{index-hvmfa7m8.js → index-70m4cxys.js} +3 -3
  32. package/dist/cli/{index-zxck9sr7.js → index-8ehsv9yw.js} +1 -1
  33. package/dist/cli/{index-wmazt588.js → index-8n2emawn.js} +2 -2
  34. package/dist/cli/{index-jxd67x6z.js → index-8r96zar7.js} +1 -1
  35. package/dist/cli/{index-8nsjefpc.js → index-98hksf1k.js} +1 -1
  36. package/dist/cli/{index-p6bvzgp2.js → index-a07nc99k.js} +3 -3
  37. package/dist/cli/{index-bgpq7wn2.js → index-b58k1wy8.js} +220 -143
  38. package/dist/cli/{index-xgdypzch.js → index-cbpggzdm.js} +2 -2
  39. package/dist/cli/{index-kv3n7g8w.js → index-d7kz64yr.js} +2 -2
  40. package/dist/cli/{index-5pa0e0k3.js → index-f2mtzrsr.js} +4 -4
  41. package/dist/cli/{index-4dwhfbed.js → index-fxvthwwk.js} +43 -43
  42. package/dist/cli/{index-d7mcdyqb.js → index-g23nwtfq.js} +2 -2
  43. package/dist/cli/{index-yj7etak0.js → index-g319bdeh.js} +2 -2
  44. package/dist/cli/{index-amamkcpy.js → index-g7rp7200.js} +5 -5
  45. package/dist/cli/{index-nen885g8.js → index-gvch83kc.js} +1 -1
  46. package/dist/cli/{index-62akgg9d.js → index-h8pb617g.js} +2 -2
  47. package/dist/cli/{index-6ndc8cmn.js → index-hdeqj1k4.js} +1 -1
  48. package/dist/cli/{index-afmyp3kt.js → index-j2m9q6w1.js} +1 -1
  49. package/dist/cli/{index-a6h5arqs.js → index-js4spqjf.js} +4 -4
  50. package/dist/cli/{index-151bdyf9.js → index-k3gz8b6j.js} +7 -7
  51. package/dist/cli/{index-373880cv.js → index-kbcx6rqh.js} +2 -2
  52. package/dist/cli/{index-74yxwf8y.js → index-mdxqv3r9.js} +1 -1
  53. package/dist/cli/{index-9y6cyc7z.js → index-mqc6phah.js} +4 -4
  54. package/dist/cli/{index-a1tpq5zr.js → index-msejg9hk.js} +1 -1
  55. package/dist/cli/{index-bajvxmnb.js → index-n8aep8en.js} +5 -5
  56. package/dist/cli/{index-fp4hxcsy.js → index-nq6evkky.js} +4 -4
  57. package/dist/cli/{index-22f1ek6k.js → index-pppczpa6.js} +41 -41
  58. package/dist/cli/{index-9g61bfj9.js → index-q4vf9k47.js} +1 -1
  59. package/dist/cli/{index-w2b8qq6d.js → index-qd5pnbz9.js} +8 -8
  60. package/dist/cli/{index-wkv1qdb0.js → index-s5ek7jdr.js} +11 -11
  61. package/dist/cli/{index-1fc5aj26.js → index-sqksezk4.js} +1 -1
  62. package/dist/cli/{index-9th8npp7.js → index-tnt9dnvm.js} +7 -7
  63. package/dist/cli/{index-6bfcsczm.js → index-w3fyzw3s.js} +1 -1
  64. package/dist/cli/{index-4fd28s8v.js → index-y8prb5a1.js} +3 -3
  65. package/dist/cli/{index-6cjpmvpa.js → index-y9wsfekf.js} +1 -1
  66. package/dist/cli/{index-vqz0avr4.js → index-zyx7p0kb.js} +2 -2
  67. package/dist/cli/index.js +42 -42
  68. package/dist/cli/{knowledge-escalator-7xcd0zea.js → knowledge-escalator-7xdvw9qy.js} +13 -13
  69. package/dist/cli/{knowledge-events-e4ts8y2v.js → knowledge-events-hp5yr9dm.js} +11 -11
  70. package/dist/cli/{knowledge-link-dv78fb9g.js → knowledge-link-5jhded41.js} +5 -5
  71. package/dist/cli/{knowledge-store-mmeqmjwj.js → knowledge-store-7erepd4t.js} +6 -6
  72. package/dist/cli/{knowledge-validator-w2ttgxyj.js → knowledge-validator-ejdh74qq.js} +8 -8
  73. package/dist/cli/{mcp-5dmm4fk2.js → mcp-msrbe1bx.js} +1 -1
  74. package/dist/cli/{model-preflight-kap3zp3g.js → model-preflight-gsesc142.js} +41 -41
  75. package/dist/cli/{pending-delegations-q3sj608s.js → pending-delegations-97pcsaak.js} +12 -12
  76. package/dist/cli/{pr-subscriptions-qw4wjv66.js → pr-subscriptions-p0dm693y.js} +12 -12
  77. package/dist/cli/{pr-workflow-gate-tdj50p2g.js → pr-workflow-gate-y122hbd1.js} +43 -41
  78. package/dist/cli/{runner-tb3eppeg.js → runner-fbmancth.js} +6 -6
  79. package/dist/cli/{scan-cursor-fgecb928.js → scan-cursor-yp2kvnjz.js} +7 -7
  80. package/dist/cli/{schema-zrcgm9d9.js → schema-0jatfw66.js} +1 -1
  81. package/dist/cli/{scope-persistence-08xd3kyb.js → scope-persistence-hqw7br2s.js} +15 -15
  82. package/dist/cli/{server-kng2nggc.js → server-kyqq4pan.js} +41 -41
  83. package/dist/cli/{skill-generator-dztn1ctf.js → skill-generator-0hbmdy2p.js} +15 -15
  84. package/dist/cli/{snapshot-coordination-init-5q0hac3d.js → snapshot-coordination-init-akt1wad4.js} +41 -41
  85. package/dist/cli/{speckit-checkoff-hhsy83m9.js → speckit-checkoff-rnfy30qb.js} +4 -4
  86. package/dist/cli/{telemetry-n6y2sjhg.js → telemetry-3bjvjbcp.js} +1 -1
  87. package/dist/cli/{workspace-snapshot-kcfkk3a2.js → workspace-snapshot-hcgztg7w.js} +3 -3
  88. package/dist/cli/{worktree-collision-ownership-e2cqcmnw.js → worktree-collision-ownership-q4604rmc.js} +13 -13
  89. package/dist/cli/{worktree-isolation-refd2n16.js → worktree-isolation-5bafpzf9.js} +41 -41
  90. package/dist/hooks/pr-workflow-gate.d.ts +67 -0
  91. package/dist/index.d.ts +21 -0
  92. package/dist/index.js +17 -17
  93. package/dist/review/evidence.d.ts +8 -4
  94. package/dist/services/cost-accounting.d.ts +21 -12
  95. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
  96. package/package.json +1 -1
  97. package/dist/cli/curator-llm-factory-13h02244.js +0 -81
  98. package/dist/cli/guardrail-explain-njv3pnsw.js +0 -82
@@ -33,35 +33,35 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-9y6cyc7z.js";
36
+ } from "./index-mqc6phah.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-w2b8qq6d.js";
39
- import"./index-afmyp3kt.js";
38
+ import"./index-qd5pnbz9.js";
39
+ import"./index-j2m9q6w1.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-5pa0e0k3.js";
42
- import"./index-8nsjefpc.js";
41
+ import"./index-f2mtzrsr.js";
42
+ import"./index-98hksf1k.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-d7mcdyqb.js";
44
+ import"./index-g23nwtfq.js";
45
45
  import"./index-frcemc0b.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-xgdypzch.js";
48
- import"./index-m94gfe82.js";
47
+ import"./index-cbpggzdm.js";
48
+ import"./index-27yspj61.js";
49
49
  import"./index-vzm6zre7.js";
50
50
  import"./index-ae75rja9.js";
51
- import"./index-zxck9sr7.js";
52
- import"./index-6sffjy74.js";
53
- import"./index-6cjpmvpa.js";
51
+ import"./index-8ehsv9yw.js";
52
+ import"./index-4tpwp24b.js";
53
+ import"./index-y9wsfekf.js";
54
54
  import"./index-t7hmqgjy.js";
55
- import"./index-w6w6ny06.js";
55
+ import"./index-1f7mkb7p.js";
56
56
  import"./index-mc72pk74.js";
57
57
  import"./index-c1ggtmpm.js";
58
58
  import"./index-ejhxgyvm.js";
59
59
  import"./index-7g4c7s5r.js";
60
- import"./index-yj7etak0.js";
60
+ import"./index-g319bdeh.js";
61
61
  import"./index-gx2vp8gx.js";
62
- import"./index-a1tpq5zr.js";
62
+ import"./index-msejg9hk.js";
63
63
  import"./index-zxdawwc7.js";
64
- import"./index-qyjyd3ej.js";
64
+ import"./index-5qbm61fh.js";
65
65
  import"./index-48jvqqfa.js";
66
66
  import"./index-bk5tah7q.js";
67
67
  import"./index-gknz3bv1.js";
@@ -8,73 +8,73 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-bgpq7wn2.js";
12
- import"./index-4fd28s8v.js";
13
- import"./index-jxd67x6z.js";
14
- import"./index-amamkcpy.js";
11
+ } from "./index-b58k1wy8.js";
12
+ import"./index-y8prb5a1.js";
13
+ import"./index-8r96zar7.js";
14
+ import"./index-g7rp7200.js";
15
15
  import"./index-7bxssqaf.js";
16
- import"./index-1fc5aj26.js";
17
- import"./index-62akgg9d.js";
16
+ import"./index-sqksezk4.js";
17
+ import"./index-h8pb617g.js";
18
18
  import"./index-txdagbh7.js";
19
- import"./index-wmazt588.js";
19
+ import"./index-8n2emawn.js";
20
20
  import"./index-rdec0y3z.js";
21
- import"./index-hvmfa7m8.js";
22
- import"./index-151bdyf9.js";
23
- import"./index-9y6cyc7z.js";
24
- import"./index-7xt5m1cz.js";
25
- import"./index-s68z4a39.js";
26
- import"./index-j972ags2.js";
21
+ import"./index-70m4cxys.js";
22
+ import"./index-k3gz8b6j.js";
23
+ import"./index-mqc6phah.js";
24
+ import"./index-3w0v6n9x.js";
25
+ import"./index-5z1xrkaa.js";
26
+ import"./index-1m3502g5.js";
27
27
  import"./index-cjapb4hy.js";
28
- import"./index-vqz0avr4.js";
28
+ import"./index-zyx7p0kb.js";
29
29
  import"./index-pt7h91zc.js";
30
30
  import"./index-q7sjgr1y.js";
31
- import"./index-a6h5arqs.js";
32
- import"./index-wkv1qdb0.js";
31
+ import"./index-js4spqjf.js";
32
+ import"./index-s5ek7jdr.js";
33
33
  import"./index-6b295cas.js";
34
34
  import"./index-9nyqt3kb.js";
35
- import"./index-6ndc8cmn.js";
35
+ import"./index-hdeqj1k4.js";
36
36
  import"./index-zsrtt42s.js";
37
- import"./index-kv3n7g8w.js";
38
- import"./index-fp4hxcsy.js";
39
- import"./index-p9m1nhds.js";
37
+ import"./index-d7kz64yr.js";
38
+ import"./index-nq6evkky.js";
39
+ import"./index-5cybjkj0.js";
40
40
  import"./index-g4fs6z4e.js";
41
- import"./index-9th8npp7.js";
42
- import"./index-w2b8qq6d.js";
43
- import"./index-afmyp3kt.js";
41
+ import"./index-tnt9dnvm.js";
42
+ import"./index-qd5pnbz9.js";
43
+ import"./index-j2m9q6w1.js";
44
44
  import"./index-2s7dvzff.js";
45
- import"./index-5pa0e0k3.js";
46
- import"./index-8nsjefpc.js";
45
+ import"./index-f2mtzrsr.js";
46
+ import"./index-98hksf1k.js";
47
47
  import"./index-rtry5xyf.js";
48
- import"./index-d7mcdyqb.js";
48
+ import"./index-g23nwtfq.js";
49
49
  import"./index-frcemc0b.js";
50
50
  import"./index-0725jpp7.js";
51
- import"./index-vk3ngryj.js";
52
- import"./index-bajvxmnb.js";
53
- import"./index-373880cv.js";
54
- import"./index-9g61bfj9.js";
55
- import"./index-nen885g8.js";
56
- import"./index-74yxwf8y.js";
51
+ import"./index-3h80xyek.js";
52
+ import"./index-n8aep8en.js";
53
+ import"./index-kbcx6rqh.js";
54
+ import"./index-q4vf9k47.js";
55
+ import"./index-gvch83kc.js";
56
+ import"./index-mdxqv3r9.js";
57
57
  import"./index-ry16d01s.js";
58
58
  import"./index-rdm3px0g.js";
59
59
  import"./index-7pmbnjvj.js";
60
- import"./index-xgdypzch.js";
61
- import"./index-m94gfe82.js";
60
+ import"./index-cbpggzdm.js";
61
+ import"./index-27yspj61.js";
62
62
  import"./index-vzm6zre7.js";
63
63
  import"./index-ae75rja9.js";
64
- import"./index-zxck9sr7.js";
65
- import"./index-6sffjy74.js";
66
- import"./index-6cjpmvpa.js";
64
+ import"./index-8ehsv9yw.js";
65
+ import"./index-4tpwp24b.js";
66
+ import"./index-y9wsfekf.js";
67
67
  import"./index-t7hmqgjy.js";
68
- import"./index-w6w6ny06.js";
68
+ import"./index-1f7mkb7p.js";
69
69
  import"./index-mc72pk74.js";
70
70
  import"./index-c1ggtmpm.js";
71
71
  import"./index-ejhxgyvm.js";
72
72
  import"./index-7g4c7s5r.js";
73
- import"./index-yj7etak0.js";
73
+ import"./index-g319bdeh.js";
74
74
  import"./index-gx2vp8gx.js";
75
- import"./index-a1tpq5zr.js";
75
+ import"./index-msejg9hk.js";
76
76
  import"./index-zxdawwc7.js";
77
- import"./index-qyjyd3ej.js";
77
+ import"./index-5qbm61fh.js";
78
78
  import"./index-48jvqqfa.js";
79
79
  import"./index-bk5tah7q.js";
80
80
  import"./index-gknz3bv1.js";
@@ -7,13 +7,13 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-kv3n7g8w.js";
10
+ } from "./index-d7kz64yr.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
- import"./index-yj7etak0.js";
14
- import"./index-a1tpq5zr.js";
13
+ import"./index-g319bdeh.js";
14
+ import"./index-msejg9hk.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-qyjyd3ej.js";
16
+ import"./index-5qbm61fh.js";
17
17
  import"./index-48jvqqfa.js";
18
18
  import"./index-bk5tah7q.js";
19
19
  import"./index-gknz3bv1.js";
@@ -14,7 +14,7 @@ import {
14
14
  startHeartbeatTracking,
15
15
  stopHeartbeatTracking,
16
16
  telemetry
17
- } from "./index-w6w6ny06.js";
17
+ } from "./index-1f7mkb7p.js";
18
18
  import"./index-mc72pk74.js";
19
19
  import"./index-c1ggtmpm.js";
20
20
  import"./index-gknz3bv1.js";
@@ -46,12 +46,12 @@ import {
46
46
  shouldSkipSnapshot,
47
47
  switchPrFeedbackTrackingCandidateAsync,
48
48
  workspaceSnapshotMatches
49
- } from "./index-s68z4a39.js";
50
- import"./index-afmyp3kt.js";
49
+ } from "./index-5z1xrkaa.js";
50
+ import"./index-j2m9q6w1.js";
51
51
  import"./index-2s7dvzff.js";
52
52
  import"./index-mc72pk74.js";
53
53
  import"./index-c1ggtmpm.js";
54
- import"./index-yj7etak0.js";
54
+ import"./index-g319bdeh.js";
55
55
  import"./index-zxdawwc7.js";
56
56
  import"./index-zpsr8rpc.js";
57
57
  import"./index-zgwm4ryv.js";
@@ -6,38 +6,38 @@ import {
6
6
  WORKTREE_PROVISIONING_OWNER_LEASE_MS,
7
7
  removeWorktreeProvisioningOwner,
8
8
  scanWorktreeProvisioningOwnersForRecovery
9
- } from "./index-vqz0avr4.js";
9
+ } from "./index-zyx7p0kb.js";
10
10
  import {
11
11
  scanWorktreeMergeFailuresForRecovery
12
12
  } from "./index-zsrtt42s.js";
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-9th8npp7.js";
17
- import"./index-afmyp3kt.js";
16
+ } from "./index-tnt9dnvm.js";
17
+ import"./index-j2m9q6w1.js";
18
18
  import"./index-2s7dvzff.js";
19
- import"./index-9g61bfj9.js";
20
- import"./index-nen885g8.js";
21
- import"./index-74yxwf8y.js";
19
+ import"./index-q4vf9k47.js";
20
+ import"./index-gvch83kc.js";
21
+ import"./index-mdxqv3r9.js";
22
22
  import"./index-ry16d01s.js";
23
23
  import"./index-rdm3px0g.js";
24
24
  import"./index-7pmbnjvj.js";
25
- import"./index-xgdypzch.js";
26
- import"./index-m94gfe82.js";
25
+ import"./index-cbpggzdm.js";
26
+ import"./index-27yspj61.js";
27
27
  import"./index-vzm6zre7.js";
28
28
  import"./index-ae75rja9.js";
29
- import"./index-zxck9sr7.js";
30
- import"./index-6sffjy74.js";
31
- import"./index-6cjpmvpa.js";
29
+ import"./index-8ehsv9yw.js";
30
+ import"./index-4tpwp24b.js";
31
+ import"./index-y9wsfekf.js";
32
32
  import"./index-t7hmqgjy.js";
33
- import"./index-w6w6ny06.js";
33
+ import"./index-1f7mkb7p.js";
34
34
  import {
35
35
  canonicalRootKeyFresh
36
36
  } from "./index-mc72pk74.js";
37
37
  import"./index-c1ggtmpm.js";
38
38
  import"./index-ejhxgyvm.js";
39
39
  import"./index-7g4c7s5r.js";
40
- import"./index-yj7etak0.js";
40
+ import"./index-g319bdeh.js";
41
41
  import"./index-zxdawwc7.js";
42
42
  import"./index-bk5tah7q.js";
43
43
  import"./index-gknz3bv1.js";
@@ -21,75 +21,75 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-bgpq7wn2.js";
25
- import"./index-4fd28s8v.js";
26
- import"./index-jxd67x6z.js";
27
- import"./index-amamkcpy.js";
24
+ } from "./index-b58k1wy8.js";
25
+ import"./index-y8prb5a1.js";
26
+ import"./index-8r96zar7.js";
27
+ import"./index-g7rp7200.js";
28
28
  import"./index-7bxssqaf.js";
29
- import"./index-1fc5aj26.js";
30
- import"./index-62akgg9d.js";
29
+ import"./index-sqksezk4.js";
30
+ import"./index-h8pb617g.js";
31
31
  import"./index-txdagbh7.js";
32
- import"./index-wmazt588.js";
32
+ import"./index-8n2emawn.js";
33
33
  import"./index-rdec0y3z.js";
34
- import"./index-hvmfa7m8.js";
35
- import"./index-151bdyf9.js";
36
- import"./index-9y6cyc7z.js";
37
- import"./index-7xt5m1cz.js";
38
- import"./index-s68z4a39.js";
39
- import"./index-j972ags2.js";
34
+ import"./index-70m4cxys.js";
35
+ import"./index-k3gz8b6j.js";
36
+ import"./index-mqc6phah.js";
37
+ import"./index-3w0v6n9x.js";
38
+ import"./index-5z1xrkaa.js";
39
+ import"./index-1m3502g5.js";
40
40
  import"./index-cjapb4hy.js";
41
- import"./index-vqz0avr4.js";
41
+ import"./index-zyx7p0kb.js";
42
42
  import"./index-pt7h91zc.js";
43
43
  import"./index-q7sjgr1y.js";
44
- import"./index-a6h5arqs.js";
45
- import"./index-wkv1qdb0.js";
44
+ import"./index-js4spqjf.js";
45
+ import"./index-s5ek7jdr.js";
46
46
  import"./index-6b295cas.js";
47
47
  import"./index-9nyqt3kb.js";
48
- import"./index-6ndc8cmn.js";
48
+ import"./index-hdeqj1k4.js";
49
49
  import"./index-zsrtt42s.js";
50
- import"./index-kv3n7g8w.js";
51
- import"./index-fp4hxcsy.js";
52
- import"./index-p9m1nhds.js";
50
+ import"./index-d7kz64yr.js";
51
+ import"./index-nq6evkky.js";
52
+ import"./index-5cybjkj0.js";
53
53
  import"./index-g4fs6z4e.js";
54
- import"./index-9th8npp7.js";
55
- import"./index-w2b8qq6d.js";
56
- import"./index-afmyp3kt.js";
54
+ import"./index-tnt9dnvm.js";
55
+ import"./index-qd5pnbz9.js";
56
+ import"./index-j2m9q6w1.js";
57
57
  import"./index-2s7dvzff.js";
58
- import"./index-5pa0e0k3.js";
59
- import"./index-8nsjefpc.js";
58
+ import"./index-f2mtzrsr.js";
59
+ import"./index-98hksf1k.js";
60
60
  import"./index-rtry5xyf.js";
61
61
  import {
62
62
  resolveWorktreeIsolationConfig
63
- } from "./index-d7mcdyqb.js";
63
+ } from "./index-g23nwtfq.js";
64
64
  import"./index-frcemc0b.js";
65
65
  import"./index-0725jpp7.js";
66
- import"./index-vk3ngryj.js";
67
- import"./index-bajvxmnb.js";
68
- import"./index-373880cv.js";
69
- import"./index-9g61bfj9.js";
70
- import"./index-nen885g8.js";
71
- import"./index-74yxwf8y.js";
66
+ import"./index-3h80xyek.js";
67
+ import"./index-n8aep8en.js";
68
+ import"./index-kbcx6rqh.js";
69
+ import"./index-q4vf9k47.js";
70
+ import"./index-gvch83kc.js";
71
+ import"./index-mdxqv3r9.js";
72
72
  import"./index-ry16d01s.js";
73
73
  import"./index-rdm3px0g.js";
74
74
  import"./index-7pmbnjvj.js";
75
- import"./index-xgdypzch.js";
76
- import"./index-m94gfe82.js";
75
+ import"./index-cbpggzdm.js";
76
+ import"./index-27yspj61.js";
77
77
  import"./index-vzm6zre7.js";
78
78
  import"./index-ae75rja9.js";
79
- import"./index-zxck9sr7.js";
80
- import"./index-6sffjy74.js";
81
- import"./index-6cjpmvpa.js";
79
+ import"./index-8ehsv9yw.js";
80
+ import"./index-4tpwp24b.js";
81
+ import"./index-y9wsfekf.js";
82
82
  import"./index-t7hmqgjy.js";
83
- import"./index-w6w6ny06.js";
83
+ import"./index-1f7mkb7p.js";
84
84
  import"./index-mc72pk74.js";
85
85
  import"./index-c1ggtmpm.js";
86
86
  import"./index-ejhxgyvm.js";
87
87
  import"./index-7g4c7s5r.js";
88
- import"./index-yj7etak0.js";
88
+ import"./index-g319bdeh.js";
89
89
  import"./index-gx2vp8gx.js";
90
- import"./index-a1tpq5zr.js";
90
+ import"./index-msejg9hk.js";
91
91
  import"./index-zxdawwc7.js";
92
- import"./index-qyjyd3ej.js";
92
+ import"./index-5qbm61fh.js";
93
93
  import"./index-48jvqqfa.js";
94
94
  import"./index-bk5tah7q.js";
95
95
  import"./index-gknz3bv1.js";
@@ -407,6 +407,22 @@ interface PrReviewValidationBatchRecord {
407
407
  }>;
408
408
  validatedAt: string;
409
409
  }
410
+ /**
411
+ * Issue #2878: one admitted micro-dispatch acknowledgment. The dead-family
412
+ * admission in `write_pr_review_trigger_eval` counts these per trigger family
413
+ * (filtered by pr head) to mechanically prove the bounded retry budget was
414
+ * exhausted before a liveness-dead family may be disclosed.
415
+ */
416
+ interface PrReviewMicroFamilyDispatchRecord {
417
+ batchId: string;
418
+ prHeadSha: string;
419
+ lanes: Array<{
420
+ laneId: string;
421
+ workflowLane: string;
422
+ ownedWorkflowLanes?: string[];
423
+ }>;
424
+ admittedAt: string;
425
+ }
410
426
  /**
411
427
  * Per-batch coherence keys for item-keyed reviewer/critic composition.
412
428
  *
@@ -484,6 +500,15 @@ export interface PrWorkflowGateState {
484
500
  prReviewContractRetryDimensions?: PrReviewBaseDimensionId[];
485
501
  /** Canonical ordered semantic ledger frozen by the first micro dispatch. */
486
502
  prReviewTriggerLedger?: PrReviewInlineTriggerRow[];
503
+ /**
504
+ * Issue #2878: per-family micro dispatch attempt ledger, appended by every
505
+ * micro-dispatch acknowledgment (`recordPrReviewMicroFamilyDispatch`). The
506
+ * dead-family admission in `write_pr_review_trigger_eval` counts these per
507
+ * trigger family (filtered by pr head) to mechanically prove the bounded
508
+ * retry budget was exhausted before disclosing a liveness-dead family.
509
+ * Bounded at MAX_WORKFLOW_BATCHES with fail-closed overflow.
510
+ */
511
+ prReviewMicroFamilyDispatches?: PrReviewMicroFamilyDispatchRecord[];
487
512
  prReviewTriggerEvalPath?: string;
488
513
  /**
489
514
  * The run_id bound to the trigger-evaluation receipt at first consumption.
@@ -1175,6 +1200,38 @@ export declare function assertPrReviewBaseCoverageSettled(directory: string, ses
1175
1200
  };
1176
1201
  }>;
1177
1202
  /** Persist a council/reviewer/critic validation batch before launch. */
1203
+ /**
1204
+ * Issue #2878: record one admitted micro-dispatch acknowledgment in the
1205
+ * per-family dispatch attempt ledger. The dead-family admission in
1206
+ * `write_pr_review_trigger_eval` counts these records (per trigger family,
1207
+ * filtered by pr head) to mechanically prove the bounded retry budget
1208
+ * (initial dispatch plus `PR_REVIEW_MICRO_FAMILY_RETRY_BUDGET` retries) was
1209
+ * exhausted before a liveness-dead family may be disclosed.
1210
+ *
1211
+ * Crash-window disposition, by ordering:
1212
+ * - The record is persisted at acknowledgment time, strictly before any lane
1213
+ * session is created, so no dead lane can exist whose dispatch was not
1214
+ * first durably counted — the count can never under-report relative to the
1215
+ * lanes that actually ran.
1216
+ * - A cap throw aborts the dispatch itself (the lane never launches), the
1217
+ * same fail-closed behavior as the validation-batch limit below.
1218
+ * - A crash between this persist and lane launch leaves an orphan entry whose
1219
+ * lanes never started. That is benign: a retry of the exact same dispatch
1220
+ * call is a no-op (batchId idempotence below), and the over-count direction
1221
+ * is conservative for a disclosure gate that admits only at or above the
1222
+ * budget threshold — the cited (batch, lane) must still exist as a real
1223
+ * stale delegation record to be disclosed at all, so phantom attempts
1224
+ * alone can never unlock a disclosure.
1225
+ *
1226
+ * Unlike `recordPrReviewValidationBatch`, a duplicate batchId is a no-op
1227
+ * rather than a throw: validation batches are one-shot contracts, while a
1228
+ * dispatch acknowledgment is an idempotent fact that must survive a
1229
+ * crash-retry of the same dispatch call without double-counting.
1230
+ */
1231
+ export declare function recordPrReviewMicroFamilyDispatch(directory: string, sessionID: string, lanes: readonly PrWorkflowLaneSpec[], options: {
1232
+ batchId: string;
1233
+ prHeadSha: string;
1234
+ }): Promise<PrWorkflowGateState>;
1178
1235
  export declare function recordPrReviewValidationBatch(directory: string, sessionID: string, phase: PrReviewValidationPhase, lanes: readonly PrWorkflowLaneSpec[], options: {
1179
1236
  batchId: string;
1180
1237
  prHeadSha: string;
@@ -1568,6 +1625,16 @@ export declare const _test_exports: {
1568
1625
  result: "NOT_TRIGGERED";
1569
1626
  evidence: string;
1570
1627
  })[] | undefined;
1628
+ prReviewMicroFamilyDispatches?: {
1629
+ batchId: string;
1630
+ prHeadSha: string;
1631
+ lanes: {
1632
+ laneId: string;
1633
+ workflowLane: string;
1634
+ ownedWorkflowLanes?: string[] | undefined;
1635
+ }[];
1636
+ admittedAt: string;
1637
+ }[] | undefined;
1571
1638
  prReviewTriggerEvalPath?: string | undefined;
1572
1639
  prReviewTriggerEvalRunId?: string | undefined;
1573
1640
  prReviewValidationBatches?: {
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { loadPluginConfigWithMetaAsync } from './config';
4
4
  import { resolveAutoReviewConfig } from './config/schema';
5
5
  import { createRepoGraphBuilderHook } from './hooks';
6
6
  import type { MemoryConfig as RuntimeMemoryConfig } from './memory/config.js';
7
+ import { type PricingConfig as CostPricingConfig, type DelegationCostFields } from './services/cost-accounting.js';
7
8
  import { loadSnapshot } from './session/snapshot-reader.js';
8
9
  import { ensureSwarmGitExcluded } from './utils/gitignore-warning';
9
10
  /**
@@ -49,6 +50,12 @@ export declare function overrideIndexInternalsForTest(overrides: {
49
50
  regenerateMemoryReflection?: RegenerateMemoryReflectionForInit;
50
51
  }): () => void;
51
52
  export declare function schedulePostResolutionTasksForTest(tasks: readonly PostResolutionTask[]): void;
53
+ /**
54
+ * #2789 test seam: the recovery readback is module-internal (no other
55
+ * consumer), so this thin wrapper gives the unknown-preservation contract a
56
+ * non-booting unit-test surface, mirroring `schedulePostResolutionTasksForTest`.
57
+ */
58
+ export declare function recoverPendingCostCorrectionForTest(directory: string, parentSessionId: string, childSessionId: string, pricing?: CostPricingConfig): Promise<PendingCostCorrection | null | undefined>;
52
59
  /**
53
60
  * Compute the effective set of tools eligible for line-based truncation.
54
61
  *
@@ -62,6 +69,20 @@ export declare function schedulePostResolutionTasksForTest(tasks: readonly PostR
62
69
  * layer.
63
70
  */
64
71
  export declare function computeEffectiveTruncatableTools(defaultTools: ReadonlySet<string>, configuredTools: readonly string[] | undefined): Set<string>;
72
+ type PendingCostCorrection = {
73
+ recordId: string;
74
+ identityFingerprint: string;
75
+ parentSessionId: string;
76
+ parentSessionDigest: string;
77
+ agentName: string;
78
+ taskId: string;
79
+ model: string;
80
+ gate?: string;
81
+ retryIndex?: number;
82
+ pricing?: CostPricingConfig;
83
+ version: number;
84
+ currentFields: DelegationCostFields;
85
+ };
65
86
  declare const _default: {
66
87
  id: "opencode-swarm";
67
88
  server: Plugin;