opencode-swarm 7.166.4 → 7.167.1

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 (58) 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/cli/{coder-settlement-yynntj5j.js → coder-settlement-2ye4s5xr.js} +3 -3
  4. package/dist/cli/{config-doctor-8asc35km.js → config-doctor-b0k8eyd6.js} +2 -2
  5. package/dist/cli/{core-qrbhs2q4.js → core-xgzgjk8s.js} +1 -1
  6. package/dist/cli/{curator-qk4xmkv4.js → curator-jpvzrxcv.js} +19 -19
  7. package/dist/cli/{curator-llm-factory-rs4921ks.js → curator-llm-factory-zeb0pe2j.js} +19 -19
  8. package/dist/cli/{evidence-summary-service-rktcp3s4.js → evidence-summary-service-74az43cb.js} +6 -6
  9. package/dist/cli/{gate-evidence-k6nzqca1.js → gate-evidence-f26h2gn3.js} +2 -2
  10. package/dist/cli/{guardrail-explain-jdspxzjr.js → guardrail-explain-5vhveypz.js} +20 -20
  11. package/dist/cli/{guardrail-log-962pzjev.js → guardrail-log-pnye3xw8.js} +3 -3
  12. package/dist/cli/{guardrail-reset-dv02t0bm.js → guardrail-reset-0da7q8ap.js} +19 -19
  13. package/dist/cli/{hive-promoter-9zzr28p2.js → hive-promoter-2vj54xc4.js} +19 -19
  14. package/dist/cli/{index-5qws47d4.js → index-32bxwzw0.js} +416 -72
  15. package/dist/cli/{index-gsftf6c8.js → index-54vzqy47.js} +3 -3
  16. package/dist/cli/{index-m9q6f3ty.js → index-69y9p6dh.js} +2 -2
  17. package/dist/cli/{index-7g5kdtvw.js → index-79wnzc8q.js} +1 -1
  18. package/dist/cli/{index-shqhq68n.js → index-87agfprq.js} +11 -3
  19. package/dist/cli/{index-x8c42y8s.js → index-8x4zwk0t.js} +21 -21
  20. package/dist/cli/{index-3s194swm.js → index-9bhzbwa4.js} +4 -4
  21. package/dist/cli/{index-gccxen4x.js → index-bf6zx8cq.js} +5 -1
  22. package/dist/cli/{index-bxrxqwce.js → index-bv8ha57q.js} +1 -1
  23. package/dist/cli/{index-qv4byzwp.js → index-bzdc4b7t.js} +3 -3
  24. package/dist/cli/{index-9eswrdp5.js → index-emwezg3y.js} +1 -1
  25. package/dist/cli/{index-z62gdhkd.js → index-eretcr6t.js} +3 -3
  26. package/dist/cli/{index-0v6bf0j9.js → index-es13aqdb.js} +1 -1
  27. package/dist/cli/{index-wd86yj53.js → index-f8xk5q5j.js} +1 -1
  28. package/dist/cli/{index-v5wanchr.js → index-fenasyvr.js} +1 -1
  29. package/dist/cli/{index-8ewgab6z.js → index-fmzz6aw7.js} +1 -1
  30. package/dist/cli/{index-st1zw5ps.js → index-hdsg7yf6.js} +2 -2
  31. package/dist/cli/{index-gr5wg0nj.js → index-mgc3c483.js} +2 -2
  32. package/dist/cli/{index-n189w64j.js → index-q265ytw6.js} +1 -1
  33. package/dist/cli/{index-n65x6e1y.js → index-qtd3hrk8.js} +5 -5
  34. package/dist/cli/{index-kwervbv6.js → index-qyr17fbz.js} +3 -3
  35. package/dist/cli/{index-kz44j3qe.js → index-z5gdgdkp.js} +3 -3
  36. package/dist/cli/{index-3ct7fd75.js → index-zwsbegc1.js} +1 -1
  37. package/dist/cli/index.js +19 -19
  38. package/dist/cli/{knowledge-escalator-w4bfnks3.js → knowledge-escalator-p2a8xh8x.js} +6 -6
  39. package/dist/cli/{knowledge-events-wmnx8m6b.js → knowledge-events-jmh28m8d.js} +4 -4
  40. package/dist/cli/{knowledge-store-5442ph4m.js → knowledge-store-8gmabtsn.js} +1 -1
  41. package/dist/cli/{knowledge-validator-5rmardr4.js → knowledge-validator-yk579vs4.js} +2 -2
  42. package/dist/cli/{pending-delegations-ea6zpqw2.js → pending-delegations-nw7ph53z.js} +2 -2
  43. package/dist/cli/{pr-subscriptions-yqxt0avv.js → pr-subscriptions-9815fxbc.js} +1 -1
  44. package/dist/cli/{pr-workflow-gate-px36rczj.js → pr-workflow-gate-98a7b6py.js} +19 -19
  45. package/dist/cli/{scan-cursor-efrage98.js → scan-cursor-6zcs0frg.js} +2 -2
  46. package/dist/cli/{schema-w2sds948.js → schema-warvhy9h.js} +3 -1
  47. package/dist/cli/{scope-persistence-dd7p3tdv.js → scope-persistence-c2ck77cv.js} +5 -5
  48. package/dist/cli/{skill-generator-c0720k51.js → skill-generator-jamm1cna.js} +7 -7
  49. package/dist/cli/{snapshot-coordination-init-dp42vvme.js → snapshot-coordination-init-st0xsn3f.js} +19 -19
  50. package/dist/cli/{worktree-collision-ownership-emh2yhpx.js → worktree-collision-ownership-qra7r8pw.js} +2 -2
  51. package/dist/cli/{worktree-isolation-a8f1yahq.js → worktree-isolation-yr9gnf64.js} +19 -19
  52. package/dist/config/schema.d.ts +24 -0
  53. package/dist/hooks/lane-liveness-watchdog.d.ts +102 -0
  54. package/dist/hooks/pr-workflow-gate.d.ts +87 -1
  55. package/dist/index.js +12 -11
  56. package/dist/tools/dispatch-lanes.d.ts +9 -0
  57. package/opencode-swarm.schema.json +35 -0
  58. package/package.json +1 -1
@@ -29,10 +29,10 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-kz44j3qe.js";
32
+ } from "./index-z5gdgdkp.js";
33
33
  import"./index-sahf5yz3.js";
34
34
  import"./index-p612v1mv.js";
35
- import"./index-st1zw5ps.js";
35
+ import"./index-hdsg7yf6.js";
36
36
  import"./index-3qf1vxtb.js";
37
37
  import"./index-n832052r.js";
38
38
  import"./index-qd726agw.js";
@@ -44,10 +44,10 @@ import"./index-f6zgz02s.js";
44
44
  import"./index-7qefgq4j.js";
45
45
  import"./index-ee6ydtfe.js";
46
46
  import"./index-7g4c7s5r.js";
47
- import"./index-9eswrdp5.js";
47
+ import"./index-emwezg3y.js";
48
48
  import"./index-9e6fdz2h.js";
49
49
  import"./index-4rhhvd1a.js";
50
- import"./index-shqhq68n.js";
50
+ import"./index-87agfprq.js";
51
51
  import"./index-0tc0pcmh.js";
52
52
  import"./index-bk5tah7q.js";
53
53
  import"./index-bpmtbmy9.js";
@@ -43,7 +43,7 @@ import {
43
43
  transactKnowledge,
44
44
  transactKnowledgeWithCas,
45
45
  wordBigrams
46
- } from "./index-3s194swm.js";
46
+ } from "./index-9bhzbwa4.js";
47
47
  import"./index-vzm6zre7.js";
48
48
  import {
49
49
  resolveHiveDataDir
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-wd86yj53.js";
26
+ } from "./index-f8xk5q5j.js";
27
27
  import"./index-qww0h314.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-3s194swm.js";
29
+ import"./index-9bhzbwa4.js";
30
30
  import"./index-vzm6zre7.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-t8tw1bhs.js";
@@ -67,7 +67,7 @@ import {
67
67
  sweepStaleDelegations,
68
68
  updateCoderSettlement,
69
69
  writeDelegationFallback
70
- } from "./index-3ct7fd75.js";
70
+ } from "./index-zwsbegc1.js";
71
71
  import"./index-sahf5yz3.js";
72
72
  import"./index-p612v1mv.js";
73
73
  import"./index-75f9jj3h.js";
@@ -76,7 +76,7 @@ import"./index-rk10x4zr.js";
76
76
  import"./index-ry16d01s.js";
77
77
  import"./index-n4fzmqz8.js";
78
78
  import"./index-qd726agw.js";
79
- import"./index-3s194swm.js";
79
+ import"./index-9bhzbwa4.js";
80
80
  import"./index-vzm6zre7.js";
81
81
  import"./index-ae75rja9.js";
82
82
  import"./index-t8tw1bhs.js";
@@ -28,7 +28,7 @@ import"./index-rk10x4zr.js";
28
28
  import"./index-ry16d01s.js";
29
29
  import"./index-n4fzmqz8.js";
30
30
  import"./index-qd726agw.js";
31
- import"./index-3s194swm.js";
31
+ import"./index-9bhzbwa4.js";
32
32
  import"./index-vzm6zre7.js";
33
33
  import"./index-ae75rja9.js";
34
34
  import"./index-t8tw1bhs.js";
@@ -78,44 +78,44 @@ import {
78
78
  withPrWorkflowCheckoutMutationLock,
79
79
  withPrWorkflowCheckoutPreparationLock,
80
80
  writePrWorkflowAtomicJson
81
- } from "./index-5qws47d4.js";
81
+ } from "./index-32bxwzw0.js";
82
82
  import"./index-d5qf7hvh.js";
83
83
  import"./index-m3tx1q9v.js";
84
- import"./index-n189w64j.js";
85
- import"./index-gccxen4x.js";
86
- import"./index-kwervbv6.js";
84
+ import"./index-q265ytw6.js";
85
+ import"./index-bf6zx8cq.js";
86
+ import"./index-qyr17fbz.js";
87
87
  import"./index-5bd84nxc.js";
88
88
  import"./index-txdagbh7.js";
89
89
  import"./index-cw912re7.js";
90
- import"./index-qv4byzwp.js";
91
- import"./index-n65x6e1y.js";
92
- import"./index-7g5kdtvw.js";
90
+ import"./index-bzdc4b7t.js";
91
+ import"./index-qtd3hrk8.js";
92
+ import"./index-79wnzc8q.js";
93
93
  import"./index-70ha9e09.js";
94
94
  import"./index-1aex5zd9.js";
95
95
  import"./index-9ss2m4rs.js";
96
96
  import"./index-3nm1b3t2.js";
97
97
  import"./index-zsrtt42s.js";
98
- import"./index-z62gdhkd.js";
98
+ import"./index-eretcr6t.js";
99
99
  import"./index-251vrmge.js";
100
100
  import"./index-9wv6a3jx.js";
101
101
  import"./index-b43rt5ph.js";
102
102
  import"./index-q7sjgr1y.js";
103
- import"./index-bxrxqwce.js";
104
- import"./index-8ewgab6z.js";
103
+ import"./index-bv8ha57q.js";
104
+ import"./index-fmzz6aw7.js";
105
105
  import {
106
106
  PR_REVIEW_BASE_DIMENSION_IDS
107
- } from "./index-3ct7fd75.js";
108
- import"./index-kz44j3qe.js";
107
+ } from "./index-zwsbegc1.js";
108
+ import"./index-z5gdgdkp.js";
109
109
  import"./index-sahf5yz3.js";
110
110
  import"./index-p612v1mv.js";
111
- import"./index-wd86yj53.js";
111
+ import"./index-f8xk5q5j.js";
112
112
  import"./index-qww0h314.js";
113
113
  import"./index-rtry5xyf.js";
114
- import"./index-st1zw5ps.js";
114
+ import"./index-hdsg7yf6.js";
115
115
  import"./index-3qf1vxtb.js";
116
116
  import"./index-n832052r.js";
117
- import"./index-gr5wg0nj.js";
118
- import"./index-v5wanchr.js";
117
+ import"./index-mgc3c483.js";
118
+ import"./index-fenasyvr.js";
119
119
  import"./index-qd619x3r.js";
120
120
  import"./index-75f9jj3h.js";
121
121
  import"./index-6d4dc99f.js";
@@ -123,7 +123,7 @@ import"./index-rk10x4zr.js";
123
123
  import"./index-ry16d01s.js";
124
124
  import"./index-n4fzmqz8.js";
125
125
  import"./index-qd726agw.js";
126
- import"./index-3s194swm.js";
126
+ import"./index-9bhzbwa4.js";
127
127
  import"./index-vzm6zre7.js";
128
128
  import"./index-ae75rja9.js";
129
129
  import"./index-t8tw1bhs.js";
@@ -133,10 +133,10 @@ import"./index-f6zgz02s.js";
133
133
  import"./index-7qefgq4j.js";
134
134
  import"./index-ee6ydtfe.js";
135
135
  import"./index-7g4c7s5r.js";
136
- import"./index-9eswrdp5.js";
136
+ import"./index-emwezg3y.js";
137
137
  import"./index-9e6fdz2h.js";
138
138
  import"./index-4rhhvd1a.js";
139
- import"./index-shqhq68n.js";
139
+ import"./index-87agfprq.js";
140
140
  import"./index-0tc0pcmh.js";
141
141
  import"./index-bk5tah7q.js";
142
142
  import"./index-bpmtbmy9.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-7g5kdtvw.js";
8
- import"./index-3s194swm.js";
7
+ } from "./index-79wnzc8q.js";
8
+ import"./index-9bhzbwa4.js";
9
9
  import"./index-vzm6zre7.js";
10
10
  import"./index-ae75rja9.js";
11
11
  import"./index-t8tw1bhs.js";
@@ -57,6 +57,7 @@ import {
57
57
  IntegrationAnalysisConfigSchema,
58
58
  KnowledgeApplicationConfigSchema,
59
59
  KnowledgeConfigSchema,
60
+ LaneLivenessWatchdogConfigSchema,
60
61
  LeanTurboConfigSchema,
61
62
  LeanTurboStrategyConfigSchema,
62
63
  LearningConfigSchema,
@@ -105,7 +106,7 @@ import {
105
106
  resolveGeneratedAgentRole,
106
107
  resolveGuardrailsConfig,
107
108
  stripKnownSwarmPrefix
108
- } from "./index-shqhq68n.js";
109
+ } from "./index-87agfprq.js";
109
110
  import"./index-0tc0pcmh.js";
110
111
  import"./index-bk5tah7q.js";
111
112
  import"./index-bpmtbmy9.js";
@@ -161,6 +162,7 @@ export {
161
162
  LearningConfigSchema,
162
163
  LeanTurboStrategyConfigSchema,
163
164
  LeanTurboConfigSchema,
165
+ LaneLivenessWatchdogConfigSchema,
164
166
  KnowledgeConfigSchema,
165
167
  KnowledgeApplicationConfigSchema,
166
168
  IntegrationAnalysisConfigSchema,
@@ -23,8 +23,8 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-gr5wg0nj.js";
27
- import"./index-v5wanchr.js";
26
+ } from "./index-mgc3c483.js";
27
+ import"./index-fenasyvr.js";
28
28
  import"./index-qd619x3r.js";
29
29
  import"./index-75f9jj3h.js";
30
30
  import"./index-6d4dc99f.js";
@@ -32,7 +32,7 @@ import"./index-rk10x4zr.js";
32
32
  import"./index-ry16d01s.js";
33
33
  import"./index-n4fzmqz8.js";
34
34
  import"./index-qd726agw.js";
35
- import"./index-3s194swm.js";
35
+ import"./index-9bhzbwa4.js";
36
36
  import"./index-vzm6zre7.js";
37
37
  import"./index-ae75rja9.js";
38
38
  import"./index-t8tw1bhs.js";
@@ -42,10 +42,10 @@ import"./index-f6zgz02s.js";
42
42
  import"./index-7qefgq4j.js";
43
43
  import"./index-ee6ydtfe.js";
44
44
  import"./index-7g4c7s5r.js";
45
- import"./index-9eswrdp5.js";
45
+ import"./index-emwezg3y.js";
46
46
  import"./index-9e6fdz2h.js";
47
47
  import"./index-4rhhvd1a.js";
48
- import"./index-shqhq68n.js";
48
+ import"./index-87agfprq.js";
49
49
  import"./index-0tc0pcmh.js";
50
50
  import"./index-bk5tah7q.js";
51
51
  import"./index-bpmtbmy9.js";
@@ -33,19 +33,19 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-qv4byzwp.js";
36
+ } from "./index-bzdc4b7t.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-kz44j3qe.js";
38
+ import"./index-z5gdgdkp.js";
39
39
  import"./index-sahf5yz3.js";
40
40
  import"./index-p612v1mv.js";
41
- import"./index-wd86yj53.js";
41
+ import"./index-f8xk5q5j.js";
42
42
  import"./index-qww0h314.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-st1zw5ps.js";
44
+ import"./index-hdsg7yf6.js";
45
45
  import"./index-3qf1vxtb.js";
46
46
  import"./index-n832052r.js";
47
47
  import"./index-qd726agw.js";
48
- import"./index-3s194swm.js";
48
+ import"./index-9bhzbwa4.js";
49
49
  import"./index-vzm6zre7.js";
50
50
  import"./index-ae75rja9.js";
51
51
  import"./index-t8tw1bhs.js";
@@ -55,10 +55,10 @@ import"./index-f6zgz02s.js";
55
55
  import"./index-7qefgq4j.js";
56
56
  import"./index-ee6ydtfe.js";
57
57
  import"./index-7g4c7s5r.js";
58
- import"./index-9eswrdp5.js";
58
+ import"./index-emwezg3y.js";
59
59
  import"./index-9e6fdz2h.js";
60
60
  import"./index-4rhhvd1a.js";
61
- import"./index-shqhq68n.js";
61
+ import"./index-87agfprq.js";
62
62
  import"./index-0tc0pcmh.js";
63
63
  import"./index-bk5tah7q.js";
64
64
  import"./index-bpmtbmy9.js";
@@ -8,42 +8,42 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-5qws47d4.js";
11
+ } from "./index-32bxwzw0.js";
12
12
  import"./index-d5qf7hvh.js";
13
13
  import"./index-m3tx1q9v.js";
14
- import"./index-n189w64j.js";
15
- import"./index-gccxen4x.js";
16
- import"./index-kwervbv6.js";
14
+ import"./index-q265ytw6.js";
15
+ import"./index-bf6zx8cq.js";
16
+ import"./index-qyr17fbz.js";
17
17
  import"./index-5bd84nxc.js";
18
18
  import"./index-txdagbh7.js";
19
19
  import"./index-cw912re7.js";
20
- import"./index-qv4byzwp.js";
21
- import"./index-n65x6e1y.js";
22
- import"./index-7g5kdtvw.js";
20
+ import"./index-bzdc4b7t.js";
21
+ import"./index-qtd3hrk8.js";
22
+ import"./index-79wnzc8q.js";
23
23
  import"./index-70ha9e09.js";
24
24
  import"./index-1aex5zd9.js";
25
25
  import"./index-9ss2m4rs.js";
26
26
  import"./index-3nm1b3t2.js";
27
27
  import"./index-zsrtt42s.js";
28
- import"./index-z62gdhkd.js";
28
+ import"./index-eretcr6t.js";
29
29
  import"./index-251vrmge.js";
30
30
  import"./index-9wv6a3jx.js";
31
31
  import"./index-b43rt5ph.js";
32
32
  import"./index-q7sjgr1y.js";
33
- import"./index-bxrxqwce.js";
34
- import"./index-8ewgab6z.js";
35
- import"./index-3ct7fd75.js";
36
- import"./index-kz44j3qe.js";
33
+ import"./index-bv8ha57q.js";
34
+ import"./index-fmzz6aw7.js";
35
+ import"./index-zwsbegc1.js";
36
+ import"./index-z5gdgdkp.js";
37
37
  import"./index-sahf5yz3.js";
38
38
  import"./index-p612v1mv.js";
39
- import"./index-wd86yj53.js";
39
+ import"./index-f8xk5q5j.js";
40
40
  import"./index-qww0h314.js";
41
41
  import"./index-rtry5xyf.js";
42
- import"./index-st1zw5ps.js";
42
+ import"./index-hdsg7yf6.js";
43
43
  import"./index-3qf1vxtb.js";
44
44
  import"./index-n832052r.js";
45
- import"./index-gr5wg0nj.js";
46
- import"./index-v5wanchr.js";
45
+ import"./index-mgc3c483.js";
46
+ import"./index-fenasyvr.js";
47
47
  import"./index-qd619x3r.js";
48
48
  import"./index-75f9jj3h.js";
49
49
  import"./index-6d4dc99f.js";
@@ -51,7 +51,7 @@ import"./index-rk10x4zr.js";
51
51
  import"./index-ry16d01s.js";
52
52
  import"./index-n4fzmqz8.js";
53
53
  import"./index-qd726agw.js";
54
- import"./index-3s194swm.js";
54
+ import"./index-9bhzbwa4.js";
55
55
  import"./index-vzm6zre7.js";
56
56
  import"./index-ae75rja9.js";
57
57
  import"./index-t8tw1bhs.js";
@@ -61,10 +61,10 @@ import"./index-f6zgz02s.js";
61
61
  import"./index-7qefgq4j.js";
62
62
  import"./index-ee6ydtfe.js";
63
63
  import"./index-7g4c7s5r.js";
64
- import"./index-9eswrdp5.js";
64
+ import"./index-emwezg3y.js";
65
65
  import"./index-9e6fdz2h.js";
66
66
  import"./index-4rhhvd1a.js";
67
- import"./index-shqhq68n.js";
67
+ import"./index-87agfprq.js";
68
68
  import"./index-0tc0pcmh.js";
69
69
  import"./index-bk5tah7q.js";
70
70
  import"./index-bpmtbmy9.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-3ct7fd75.js";
13
+ } from "./index-zwsbegc1.js";
14
14
  import"./index-sahf5yz3.js";
15
15
  import {
16
16
  bunSpawn
@@ -21,7 +21,7 @@ import"./index-rk10x4zr.js";
21
21
  import"./index-ry16d01s.js";
22
22
  import"./index-n4fzmqz8.js";
23
23
  import"./index-qd726agw.js";
24
- import"./index-3s194swm.js";
24
+ import"./index-9bhzbwa4.js";
25
25
  import"./index-vzm6zre7.js";
26
26
  import"./index-ae75rja9.js";
27
27
  import"./index-t8tw1bhs.js";
@@ -21,44 +21,44 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-5qws47d4.js";
24
+ } from "./index-32bxwzw0.js";
25
25
  import"./index-d5qf7hvh.js";
26
26
  import"./index-m3tx1q9v.js";
27
- import"./index-n189w64j.js";
28
- import"./index-gccxen4x.js";
29
- import"./index-kwervbv6.js";
27
+ import"./index-q265ytw6.js";
28
+ import"./index-bf6zx8cq.js";
29
+ import"./index-qyr17fbz.js";
30
30
  import"./index-5bd84nxc.js";
31
31
  import"./index-txdagbh7.js";
32
32
  import"./index-cw912re7.js";
33
- import"./index-qv4byzwp.js";
34
- import"./index-n65x6e1y.js";
35
- import"./index-7g5kdtvw.js";
33
+ import"./index-bzdc4b7t.js";
34
+ import"./index-qtd3hrk8.js";
35
+ import"./index-79wnzc8q.js";
36
36
  import"./index-70ha9e09.js";
37
37
  import"./index-1aex5zd9.js";
38
38
  import"./index-9ss2m4rs.js";
39
39
  import"./index-3nm1b3t2.js";
40
40
  import"./index-zsrtt42s.js";
41
- import"./index-z62gdhkd.js";
41
+ import"./index-eretcr6t.js";
42
42
  import"./index-251vrmge.js";
43
43
  import"./index-9wv6a3jx.js";
44
44
  import"./index-b43rt5ph.js";
45
45
  import"./index-q7sjgr1y.js";
46
- import"./index-bxrxqwce.js";
47
- import"./index-8ewgab6z.js";
48
- import"./index-3ct7fd75.js";
49
- import"./index-kz44j3qe.js";
46
+ import"./index-bv8ha57q.js";
47
+ import"./index-fmzz6aw7.js";
48
+ import"./index-zwsbegc1.js";
49
+ import"./index-z5gdgdkp.js";
50
50
  import"./index-sahf5yz3.js";
51
51
  import"./index-p612v1mv.js";
52
- import"./index-wd86yj53.js";
52
+ import"./index-f8xk5q5j.js";
53
53
  import"./index-qww0h314.js";
54
54
  import"./index-rtry5xyf.js";
55
55
  import {
56
56
  resolveWorktreeIsolationConfig
57
- } from "./index-st1zw5ps.js";
57
+ } from "./index-hdsg7yf6.js";
58
58
  import"./index-3qf1vxtb.js";
59
59
  import"./index-n832052r.js";
60
- import"./index-gr5wg0nj.js";
61
- import"./index-v5wanchr.js";
60
+ import"./index-mgc3c483.js";
61
+ import"./index-fenasyvr.js";
62
62
  import"./index-qd619x3r.js";
63
63
  import"./index-75f9jj3h.js";
64
64
  import"./index-6d4dc99f.js";
@@ -66,7 +66,7 @@ import"./index-rk10x4zr.js";
66
66
  import"./index-ry16d01s.js";
67
67
  import"./index-n4fzmqz8.js";
68
68
  import"./index-qd726agw.js";
69
- import"./index-3s194swm.js";
69
+ import"./index-9bhzbwa4.js";
70
70
  import"./index-vzm6zre7.js";
71
71
  import"./index-ae75rja9.js";
72
72
  import"./index-t8tw1bhs.js";
@@ -76,10 +76,10 @@ import"./index-f6zgz02s.js";
76
76
  import"./index-7qefgq4j.js";
77
77
  import"./index-ee6ydtfe.js";
78
78
  import"./index-7g4c7s5r.js";
79
- import"./index-9eswrdp5.js";
79
+ import"./index-emwezg3y.js";
80
80
  import"./index-9e6fdz2h.js";
81
81
  import"./index-4rhhvd1a.js";
82
- import"./index-shqhq68n.js";
82
+ import"./index-87agfprq.js";
83
83
  import"./index-0tc0pcmh.js";
84
84
  import"./index-bk5tah7q.js";
85
85
  import"./index-bpmtbmy9.js";
@@ -1872,6 +1872,23 @@ export declare const PrReviewResilienceConfigSchema: z.ZodObject<{
1872
1872
  max_retry_attempts_after_initial: z.ZodDefault<z.ZodNumber>;
1873
1873
  circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
1874
1874
  }, z.core.$strict>;
1875
+ /**
1876
+ * Issue #2506 (G2): the lane-liveness watchdog. Default OFF; each numeric knob
1877
+ * disables its own feature at 0. When enabled, `timeout_ms` becomes the ONE
1878
+ * effective PR-lane settlement horizon (the 30-minute reachability floor
1879
+ * remains the fallback when the watchdog is off or `timeout_ms` is 0), and
1880
+ * stall detection escalates low-output lanes BEFORE that horizon. Parameter
1881
+ * surface adopted with credit from opencode-ensemble (reimplemented per ADR
1882
+ * 0002 — no upstream code is ported).
1883
+ */
1884
+ export declare const LaneLivenessWatchdogConfigSchema: z.ZodObject<{
1885
+ enabled: z.ZodDefault<z.ZodBoolean>;
1886
+ timeout_ms: z.ZodDefault<z.ZodNumber>;
1887
+ stall_threshold_ms: z.ZodDefault<z.ZodNumber>;
1888
+ stall_min_steps: z.ZodDefault<z.ZodNumber>;
1889
+ stall_token_threshold: z.ZodDefault<z.ZodNumber>;
1890
+ }, z.core.$strict>;
1891
+ export type LaneLivenessWatchdogConfig = z.infer<typeof LaneLivenessWatchdogConfigSchema>;
1875
1892
  /**
1876
1893
  * Issue #2384: deprecated transcript-row settlement for Profile A PR-review
1877
1894
  * base/micro discovery lanes is an explicit compatibility opt-in. Omitted
@@ -1977,6 +1994,13 @@ export declare const PluginConfigSchema: z.ZodObject<{
1977
1994
  max_retry_attempts_after_initial: z.ZodDefault<z.ZodNumber>;
1978
1995
  circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
1979
1996
  }, z.core.$strict>>;
1997
+ lane_liveness_watchdog: z.ZodOptional<z.ZodObject<{
1998
+ enabled: z.ZodDefault<z.ZodBoolean>;
1999
+ timeout_ms: z.ZodDefault<z.ZodNumber>;
2000
+ stall_threshold_ms: z.ZodDefault<z.ZodNumber>;
2001
+ stall_min_steps: z.ZodDefault<z.ZodNumber>;
2002
+ stall_token_threshold: z.ZodDefault<z.ZodNumber>;
2003
+ }, z.core.$strict>>;
1980
2004
  pr_review_legacy_transcript_compatibility: z.ZodOptional<z.ZodBoolean>;
1981
2005
  gates: z.ZodOptional<z.ZodObject<{
1982
2006
  syntax_check: z.ZodDefault<z.ZodObject<{
@@ -0,0 +1,102 @@
1
+ import type { LaneLivenessWatchdogConfig } from '../config/schema.js';
2
+ /** The five frozen defaults from the #2506 contract (0 disables a feature). */
3
+ export declare const LANE_LIVENESS_WATCHDOG_DEFAULTS: LaneLivenessWatchdogConfig;
4
+ /**
5
+ * Upper bound on lane ids named in one `pr_workflow_lane_watchdog` event or
6
+ * disclosure. Defined here (not imported from the gate) so this module never
7
+ * depends on the gate layer.
8
+ */
9
+ export declare const MAX_LANE_LIVENESS_DISCLOSED_IDS = 10;
10
+ /**
11
+ * The typed liveness conditions #2506 requires to be distinguishable. A
12
+ * temporarily slow provider or an expired observation budget must never be
13
+ * reported as child failure.
14
+ *
15
+ * - `observer_deadline` — the CALLER's collection wait budget expired while
16
+ * the session is live or unknown. Says nothing about the child; never a
17
+ * terminal transition.
18
+ * - `provider_retry_in_flight` — the host reports the session in `retry`:
19
+ * provider latency with its own bounded retry owner. Retained.
20
+ * - `completed_failure` — the ledger already holds a terminal error: the
21
+ * lane completed, with a real (failed) outcome.
22
+ * - `idle_failed_child` — an open record whose session is idle or absent
23
+ * below the horizon: the child failed without a terminal write.
24
+ * - `execution_deadline` — the lane exceeded the effective execution
25
+ * horizon: aborted best-effort and settled with its real outcome.
26
+ */
27
+ export type LaneLivenessCondition = 'observer_deadline' | 'provider_retry_in_flight' | 'completed_failure' | 'idle_failed_child' | 'execution_deadline';
28
+ export interface ClassifyLaneLivenessInput {
29
+ /** Host session status type, when a probe ran. `undefined` = unknown. */
30
+ sessionStatusType?: string;
31
+ /** Ledger record status string (e.g. `pending`, `running`, `error`). */
32
+ recordStatus: string;
33
+ /** Whether the caller's observation/collection budget expired. */
34
+ waitBudgetExpired: boolean;
35
+ /** Whether the lane's age exceeds the EFFECTIVE horizon. */
36
+ exceededEffectiveHorizon: boolean;
37
+ }
38
+ /**
39
+ * Classify one lane's liveness with the frozen precedence
40
+ * `completed_failure > observer_deadline > provider_retry_in_flight >
41
+ * execution_deadline > idle_failed_child`:
42
+ * a terminal error is a real outcome and wins over every in-flight signal;
43
+ * an expired observation budget on a live-or-unknown session is observer
44
+ * noise, not child failure; a `retry` session is provider latency even past
45
+ * the horizon; only then may the execution deadline fire; everything else
46
+ * is an open, low-signal lane below the horizon.
47
+ */
48
+ export declare function classifyLaneLivenessCondition(input: ClassifyLaneLivenessInput): LaneLivenessCondition;
49
+ export interface EffectivePrLaneHorizon {
50
+ /** The ONE effective PR-lane settlement horizon, in ms. */
51
+ horizonMs: number;
52
+ /** Which configured value won. */
53
+ source: 'watchdog-timeout' | 'reachability-floor';
54
+ /**
55
+ * True when `backgroundPendingTimeoutMs` was provided, is > 0, and
56
+ * disagrees with the effective horizon. The disagreement is disclosed,
57
+ * never resolved into a second horizon.
58
+ */
59
+ conflictDisclosed: boolean;
60
+ }
61
+ /**
62
+ * Resolve the single effective PR-lane settlement horizon (#2506 AC2).
63
+ *
64
+ * Precedence: an ENABLED watchdog with `timeout_ms > 0` owns the horizon;
65
+ * everything else (no config, `enabled: false`, or `timeout_ms: 0` — "0
66
+ * disables the feature") falls back to the 30-minute reachability floor
67
+ * (`DEFAULT_STALE_DELEGATION_TIMEOUT_MS`), which must never disappear: it is
68
+ * the guarantee that abort and completion cannot be permanently blocked by a
69
+ * lane whose backing process died.
70
+ */
71
+ export declare function resolveEffectivePrLaneHorizonMs(watchdog?: LaneLivenessWatchdogConfig, backgroundPendingTimeoutMs?: number): EffectivePrLaneHorizon;
72
+ /** Per-lane activity within the last `stall_threshold_ms` window. */
73
+ export interface LaneActivity {
74
+ /** Observable transcript steps in the window. */
75
+ stepsObserved: number;
76
+ /**
77
+ * Token ESTIMATE derived from transcript text length — the host API does
78
+ * not expose provider-true token counts; every surface that reports this
79
+ * value must label it an estimate.
80
+ */
81
+ estimatedTokens: number;
82
+ /** Epoch-ms timestamp of the last observed activity, when known. */
83
+ lastActivityAtMs?: number;
84
+ }
85
+ export declare const ZERO_LANE_ACTIVITY: LaneActivity;
86
+ /** The overridable activity reader the gate seam exposes for tests. */
87
+ export type ReadLaneActivity = (directory: string, subagentSessionId: string) => LaneActivity | null | Promise<LaneActivity | null>;
88
+ /**
89
+ * Default transcript-derived activity reader. The host API exposes no
90
+ * per-session token counts and no bounded transcript read on this path (a
91
+ * per-lane `session.messages` call would violate the frozen one-status-call
92
+ * budget), so a lane with no stored activity information reads as ZERO
93
+ * activity — the conservative direction for stall escalation (escalate,
94
+ * then let the operator inspect). This is the #2506 frozen contract: "an
95
+ * absent transcript reads as zero activity".
96
+ */
97
+ export declare const defaultReadLaneActivity: ReadLaneActivity;
98
+ /** Feature activation derived from the config (each knob disables at 0). */
99
+ export declare function laneLivenessWatchdogFeatures(watchdog?: LaneLivenessWatchdogConfig): {
100
+ deadlineActive: boolean;
101
+ stallActive: boolean;
102
+ };