opencode-swarm 7.143.6 → 7.144.0

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 (51) hide show
  1. package/dist/background/delegation-health.d.ts +213 -0
  2. package/dist/background/pending-delegations.d.ts +122 -15
  3. package/dist/cli/{config-doctor-72zp0k4x.js → config-doctor-7gy47evn.js} +2 -2
  4. package/dist/cli/{core-aj0wmbg8.js → core-cpcspaw5.js} +1 -1
  5. package/dist/cli/{curator-llm-factory-x1vjhrnc.js → curator-llm-factory-fyjmgxyp.js} +18 -18
  6. package/dist/cli/{curator-2gt2835v.js → curator-v97jnwn2.js} +18 -18
  7. package/dist/cli/{evidence-summary-service-yjr0662r.js → evidence-summary-service-79mtxzhd.js} +6 -6
  8. package/dist/cli/{gate-evidence-r3c7eqpz.js → gate-evidence-kgyqz1g1.js} +2 -2
  9. package/dist/cli/{guardrail-explain-f3zysesy.js → guardrail-explain-9ry66z5g.js} +19 -19
  10. package/dist/cli/{guardrail-log-eat71fnh.js → guardrail-log-fe6smme1.js} +3 -3
  11. package/dist/cli/{hive-promoter-fyb40am9.js → hive-promoter-vwq1dbh1.js} +18 -18
  12. package/dist/cli/{index-hjy4txgr.js → index-0ck3e366.js} +1 -1
  13. package/dist/cli/{index-peqmw3wr.js → index-1pr8x10a.js} +2 -2
  14. package/dist/cli/{index-02nm8qhk.js → index-269b52r3.js} +3 -3
  15. package/dist/cli/{index-7bs015gm.js → index-3q9w6e6v.js} +1 -1
  16. package/dist/cli/{index-w1q9yy1e.js → index-3v3dxf75.js} +3 -3
  17. package/dist/cli/{index-6vmazy9f.js → index-4fda8kkw.js} +1050 -88
  18. package/dist/cli/{index-fn0k0vsa.js → index-6p09gyra.js} +1 -1
  19. package/dist/cli/{index-kc2x117y.js → index-8xertnqz.js} +3 -3
  20. package/dist/cli/{index-36vry26a.js → index-d45d4zyq.js} +1 -1
  21. package/dist/cli/{index-nd1j9wkw.js → index-d45yrzkg.js} +1 -1
  22. package/dist/cli/{index-dtf2va28.js → index-e70d3xr7.js} +20 -20
  23. package/dist/cli/{index-whyrhjsk.js → index-evvbmbbv.js} +1 -1
  24. package/dist/cli/{index-gzxz0s50.js → index-ewzmjm7m.js} +1 -1
  25. package/dist/cli/{index-0adcjpyx.js → index-ez18gjk2.js} +3 -3
  26. package/dist/cli/{index-5d8ydxae.js → index-j1scj25g.js} +129 -50
  27. package/dist/cli/{index-wjk00vwk.js → index-jqabjy7t.js} +4 -4
  28. package/dist/cli/{index-bbv64s17.js → index-jvbfrwt2.js} +1 -1
  29. package/dist/cli/{index-92bm9ys3.js → index-mw6p3nt6.js} +1 -1
  30. package/dist/cli/{index-72zhsqgy.js → index-rd2082y4.js} +2 -2
  31. package/dist/cli/{index-s7nb33pc.js → index-tfkfyshg.js} +1 -1
  32. package/dist/cli/{index-scj2asek.js → index-vb9cpaz4.js} +5 -5
  33. package/dist/cli/{index-z4cv77tq.js → index-zv4pwyas.js} +2 -2
  34. package/dist/cli/index.js +18 -18
  35. package/dist/cli/{knowledge-escalator-ejpyrby0.js → knowledge-escalator-rmy3jcx4.js} +6 -6
  36. package/dist/cli/{knowledge-events-yw2kydyy.js → knowledge-events-1tqpbwvj.js} +4 -4
  37. package/dist/cli/{knowledge-store-j6gkk62e.js → knowledge-store-389ck792.js} +1 -1
  38. package/dist/cli/{knowledge-validator-xervpe5k.js → knowledge-validator-kvtk6633.js} +2 -2
  39. package/dist/cli/{pending-delegations-19wg9j08.js → pending-delegations-thy8g30k.js} +23 -1
  40. package/dist/cli/{scan-cursor-x7a99wmq.js → scan-cursor-ahgm4f5p.js} +2 -2
  41. package/dist/cli/{schema-z141arx9.js → schema-epdq7ykx.js} +1 -1
  42. package/dist/cli/{scope-persistence-js90c1f4.js → scope-persistence-37s9n40v.js} +4 -4
  43. package/dist/cli/{skill-generator-t202jza0.js → skill-generator-4d2t5gem.js} +7 -7
  44. package/dist/cli/{worktree-collision-ownership-42bb3gcb.js → worktree-collision-ownership-j6d33p49.js} +1 -1
  45. package/dist/cli/{worktree-isolation-fbfvxw9a.js → worktree-isolation-4628yaka.js} +18 -18
  46. package/dist/evaluation/contracts.d.ts +4 -4
  47. package/dist/evaluation/gate-ground-truth.d.ts +1 -1
  48. package/dist/hooks/init-orphan-recovery.d.ts +2 -0
  49. package/dist/index.js +439 -436
  50. package/dist/services/status-service.d.ts +9 -0
  51. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -7,44 +7,44 @@ import {
7
7
  getPluginConfigDir,
8
8
  getPluginLockFilePaths,
9
9
  resolveCommand
10
- } from "./index-5d8ydxae.js";
11
- import"./index-nd1j9wkw.js";
12
- import"./index-whyrhjsk.js";
13
- import"./index-w1q9yy1e.js";
10
+ } from "./index-j1scj25g.js";
11
+ import"./index-d45yrzkg.js";
12
+ import"./index-evvbmbbv.js";
13
+ import"./index-3v3dxf75.js";
14
14
  import"./index-134d35c1.js";
15
15
  import"./index-b6e016tv.js";
16
16
  import"./index-4q9vfav6.js";
17
17
  import"./index-k92cagmt.js";
18
18
  import"./index-y8552snf.js";
19
- import"./index-92bm9ys3.js";
19
+ import"./index-mw6p3nt6.js";
20
20
  import"./index-xmzmeknp.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
- import"./index-bbv64s17.js";
23
+ import"./index-jvbfrwt2.js";
24
24
  import"./index-74hpm6sh.js";
25
- import"./index-02nm8qhk.js";
26
- import"./index-scj2asek.js";
27
- import"./index-z4cv77tq.js";
28
- import"./index-hjy4txgr.js";
25
+ import"./index-269b52r3.js";
26
+ import"./index-vb9cpaz4.js";
27
+ import"./index-zv4pwyas.js";
28
+ import"./index-0ck3e366.js";
29
29
  import"./index-556ja8an.js";
30
30
  import"./index-gdd4jt6b.js";
31
31
  import"./index-zsrtt42s.js";
32
32
  import"./index-k3cxyk66.js";
33
- import"./index-6vmazy9f.js";
34
- import"./index-s7nb33pc.js";
33
+ import"./index-4fda8kkw.js";
34
+ import"./index-tfkfyshg.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
37
37
  import"./index-7sy3aa9m.js";
38
38
  import"./index-4905hd2m.js";
39
- import"./index-0adcjpyx.js";
40
- import"./index-peqmw3wr.js";
39
+ import"./index-ez18gjk2.js";
40
+ import"./index-1pr8x10a.js";
41
41
  import"./index-gprxjmm7.js";
42
42
  import"./index-n832052r.js";
43
- import"./index-36vry26a.js";
43
+ import"./index-d45d4zyq.js";
44
44
  import {
45
45
  init_package,
46
46
  package_default
47
- } from "./index-7bs015gm.js";
47
+ } from "./index-3q9w6e6v.js";
48
48
  import"./index-rn0eq85g.js";
49
49
  import"./index-4rhhvd1a.js";
50
50
  import {
@@ -53,10 +53,10 @@ import {
53
53
  } from "./index-jqsfsqbx.js";
54
54
  import"./index-z6xqpmqg.js";
55
55
  import"./index-zjygnfay.js";
56
- import"./index-gzxz0s50.js";
56
+ import"./index-ewzmjm7m.js";
57
57
  import"./index-tq5s07ta.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-wjk00vwk.js";
59
+ import"./index-jqabjy7t.js";
60
60
  import"./index-ae75rja9.js";
61
61
  import"./index-w7x7qxz2.js";
62
62
  import"./index-erfnw81g.js";
@@ -9,19 +9,19 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-scj2asek.js";
13
- import"./index-0adcjpyx.js";
14
- import"./index-peqmw3wr.js";
12
+ } from "./index-vb9cpaz4.js";
13
+ import"./index-ez18gjk2.js";
14
+ import"./index-1pr8x10a.js";
15
15
  import"./index-gprxjmm7.js";
16
16
  import"./index-n832052r.js";
17
- import"./index-36vry26a.js";
18
- import"./index-7bs015gm.js";
17
+ import"./index-d45d4zyq.js";
18
+ import"./index-3q9w6e6v.js";
19
19
  import"./index-rn0eq85g.js";
20
20
  import"./index-4rhhvd1a.js";
21
21
  import"./index-jqsfsqbx.js";
22
22
  import"./index-z6xqpmqg.js";
23
23
  import"./index-zjygnfay.js";
24
- import"./index-wjk00vwk.js";
24
+ import"./index-jqabjy7t.js";
25
25
  import"./index-ae75rja9.js";
26
26
  import"./index-w7x7qxz2.js";
27
27
  import"./index-erfnw81g.js";
@@ -29,12 +29,12 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-0adcjpyx.js";
33
- import"./index-peqmw3wr.js";
32
+ } from "./index-ez18gjk2.js";
33
+ import"./index-1pr8x10a.js";
34
34
  import"./index-gprxjmm7.js";
35
35
  import"./index-n832052r.js";
36
- import"./index-36vry26a.js";
37
- import"./index-7bs015gm.js";
36
+ import"./index-d45d4zyq.js";
37
+ import"./index-3q9w6e6v.js";
38
38
  import"./index-rn0eq85g.js";
39
39
  import"./index-4rhhvd1a.js";
40
40
  import"./index-jqsfsqbx.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-wjk00vwk.js";
44
+ } from "./index-jqabjy7t.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-gzxz0s50.js";
26
+ } from "./index-ewzmjm7m.js";
27
27
  import"./index-tq5s07ta.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-wjk00vwk.js";
29
+ import"./index-jqabjy7t.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-w7x7qxz2.js";
32
32
  import"./index-erfnw81g.js";
@@ -1,15 +1,24 @@
1
1
  // @bun
2
2
  import {
3
3
  BACKGROUND_CODER_RESERVATIONS_FILE,
4
+ BACKGROUND_DELEGATIONS_CHECKPOINT_FILE,
4
5
  BACKGROUND_DELEGATIONS_FILE,
6
+ BACKGROUND_DELEGATIONS_MANIFEST_FILE,
5
7
  BACKGROUND_DELEGATION_FALLBACK_DIR,
6
8
  BACKGROUND_INGESTION_LEASE_MS,
7
9
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
8
10
  DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
11
+ DELEGATION_COMPACTION_HIGH_WATER_BYTES,
12
+ DELEGATION_COMPACTION_LOW_WATER_BYTES,
9
13
  MAX_BACKGROUND_ADVISORY_CHARS,
10
14
  MAX_BACKGROUND_OBSERVED_FILES,
15
+ MAX_CHECKPOINT_BYTES,
16
+ MAX_CHECKPOINT_RECORDS,
11
17
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
12
18
  MAX_LIVE_BACKGROUND_FALLBACKS,
19
+ MAX_RECOVERY_LEDGER_BYTES,
20
+ TOMBSTONE_MIN_AGE_MS,
21
+ _checkpointInternals,
13
22
  acknowledgeObservedBackgroundAdvisories,
14
23
  appendDelegationTransition,
15
24
  bindBackgroundCoderReservation,
@@ -19,10 +28,12 @@ import {
19
28
  claimCoderSettlement,
20
29
  claimDelegationIngestion,
21
30
  claimTerminalResult,
31
+ compactBackgroundDelegations,
22
32
  findByBatchId,
23
33
  findByCorrelationId,
24
34
  findDelegationForCompletion,
25
35
  findOpenAsyncLaneBatches,
36
+ isUnsettledWorktreeOwner,
26
37
  listDelegationFallbacks,
27
38
  normalizeBackgroundObservedFiles,
28
39
  preparePendingBackgroundAdvisories,
@@ -43,7 +54,7 @@ import {
43
54
  sweepStaleDelegations,
44
55
  updateCoderSettlement,
45
56
  writeDelegationFallback
46
- } from "./index-6vmazy9f.js";
57
+ } from "./index-4fda8kkw.js";
47
58
  import"./index-rn0eq85g.js";
48
59
  import"./index-z6xqpmqg.js";
49
60
  import"./index-zjygnfay.js";
@@ -76,10 +87,12 @@ export {
76
87
  preparePendingBackgroundAdvisories,
77
88
  normalizeBackgroundObservedFiles,
78
89
  listDelegationFallbacks,
90
+ isUnsettledWorktreeOwner,
79
91
  findOpenAsyncLaneBatches,
80
92
  findDelegationForCompletion,
81
93
  findByCorrelationId,
82
94
  findByBatchId,
95
+ compactBackgroundDelegations,
83
96
  claimTerminalResult,
84
97
  claimDelegationIngestion,
85
98
  claimCoderSettlement,
@@ -89,14 +102,23 @@ export {
89
102
  bindBackgroundCoderReservation,
90
103
  appendDelegationTransition,
91
104
  acknowledgeObservedBackgroundAdvisories,
105
+ _checkpointInternals,
106
+ TOMBSTONE_MIN_AGE_MS,
107
+ MAX_RECOVERY_LEDGER_BYTES,
92
108
  MAX_LIVE_BACKGROUND_FALLBACKS,
93
109
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
110
+ MAX_CHECKPOINT_RECORDS,
111
+ MAX_CHECKPOINT_BYTES,
94
112
  MAX_BACKGROUND_OBSERVED_FILES,
95
113
  MAX_BACKGROUND_ADVISORY_CHARS,
114
+ DELEGATION_COMPACTION_LOW_WATER_BYTES,
115
+ DELEGATION_COMPACTION_HIGH_WATER_BYTES,
96
116
  DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
97
117
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
98
118
  BACKGROUND_INGESTION_LEASE_MS,
99
119
  BACKGROUND_DELEGATION_FALLBACK_DIR,
120
+ BACKGROUND_DELEGATIONS_MANIFEST_FILE,
100
121
  BACKGROUND_DELEGATIONS_FILE,
122
+ BACKGROUND_DELEGATIONS_CHECKPOINT_FILE,
101
123
  BACKGROUND_CODER_RESERVATIONS_FILE
102
124
  };
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-92bm9ys3.js";
8
- import"./index-wjk00vwk.js";
7
+ } from "./index-mw6p3nt6.js";
8
+ import"./index-jqabjy7t.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-w7x7qxz2.js";
11
11
  import"./index-erfnw81g.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-7bs015gm.js";
99
+ } from "./index-3q9w6e6v.js";
100
100
  import"./index-jqsfsqbx.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -23,11 +23,11 @@ import {
23
23
  tombstoneScopeBinding,
24
24
  writeScopeBindingToDisk,
25
25
  writeScopeToDisk
26
- } from "./index-z4cv77tq.js";
27
- import"./index-hjy4txgr.js";
26
+ } from "./index-zv4pwyas.js";
27
+ import"./index-0ck3e366.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-36vry26a.js";
30
- import"./index-7bs015gm.js";
29
+ import"./index-d45d4zyq.js";
30
+ import"./index-3q9w6e6v.js";
31
31
  import"./index-4rhhvd1a.js";
32
32
  import"./index-jqsfsqbx.js";
33
33
  import"./index-zjygnfay.js";
@@ -33,22 +33,22 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-02nm8qhk.js";
37
- import"./index-0adcjpyx.js";
38
- import"./index-peqmw3wr.js";
36
+ } from "./index-269b52r3.js";
37
+ import"./index-ez18gjk2.js";
38
+ import"./index-1pr8x10a.js";
39
39
  import"./index-gprxjmm7.js";
40
40
  import"./index-n832052r.js";
41
- import"./index-36vry26a.js";
42
- import"./index-7bs015gm.js";
41
+ import"./index-d45d4zyq.js";
42
+ import"./index-3q9w6e6v.js";
43
43
  import"./index-rn0eq85g.js";
44
44
  import"./index-4rhhvd1a.js";
45
45
  import"./index-jqsfsqbx.js";
46
46
  import"./index-z6xqpmqg.js";
47
47
  import"./index-zjygnfay.js";
48
- import"./index-gzxz0s50.js";
48
+ import"./index-ewzmjm7m.js";
49
49
  import"./index-tq5s07ta.js";
50
50
  import"./index-rtry5xyf.js";
51
- import"./index-wjk00vwk.js";
51
+ import"./index-jqabjy7t.js";
52
52
  import"./index-ae75rja9.js";
53
53
  import"./index-w7x7qxz2.js";
54
54
  import"./index-erfnw81g.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  scanDelegationFallbacksForRecovery,
12
12
  scanDelegationsForRecovery
13
- } from "./index-6vmazy9f.js";
13
+ } from "./index-4fda8kkw.js";
14
14
  import"./index-rn0eq85g.js";
15
15
  import"./index-z6xqpmqg.js";
16
16
  import"./index-zjygnfay.js";
@@ -20,52 +20,52 @@ import {
20
20
  sanitizeWorktreeTaskId,
21
21
  standardWorktreeByCallID,
22
22
  standardWorktreeSerializationSessions
23
- } from "./index-5d8ydxae.js";
24
- import"./index-nd1j9wkw.js";
25
- import"./index-whyrhjsk.js";
26
- import"./index-w1q9yy1e.js";
23
+ } from "./index-j1scj25g.js";
24
+ import"./index-d45yrzkg.js";
25
+ import"./index-evvbmbbv.js";
26
+ import"./index-3v3dxf75.js";
27
27
  import"./index-134d35c1.js";
28
28
  import"./index-b6e016tv.js";
29
29
  import"./index-4q9vfav6.js";
30
30
  import"./index-k92cagmt.js";
31
31
  import"./index-y8552snf.js";
32
- import"./index-92bm9ys3.js";
32
+ import"./index-mw6p3nt6.js";
33
33
  import"./index-xmzmeknp.js";
34
34
  import"./index-c8s9a3zh.js";
35
35
  import"./index-9ss2m4rs.js";
36
- import"./index-bbv64s17.js";
36
+ import"./index-jvbfrwt2.js";
37
37
  import"./index-74hpm6sh.js";
38
- import"./index-02nm8qhk.js";
39
- import"./index-scj2asek.js";
40
- import"./index-z4cv77tq.js";
41
- import"./index-hjy4txgr.js";
38
+ import"./index-269b52r3.js";
39
+ import"./index-vb9cpaz4.js";
40
+ import"./index-zv4pwyas.js";
41
+ import"./index-0ck3e366.js";
42
42
  import"./index-556ja8an.js";
43
43
  import"./index-gdd4jt6b.js";
44
44
  import"./index-zsrtt42s.js";
45
45
  import"./index-k3cxyk66.js";
46
- import"./index-6vmazy9f.js";
47
- import"./index-s7nb33pc.js";
46
+ import"./index-4fda8kkw.js";
47
+ import"./index-tfkfyshg.js";
48
48
  import"./index-8fwhhayc.js";
49
49
  import"./index-q1exe2b3.js";
50
50
  import"./index-7sy3aa9m.js";
51
51
  import"./index-4905hd2m.js";
52
- import"./index-0adcjpyx.js";
52
+ import"./index-ez18gjk2.js";
53
53
  import {
54
54
  resolveWorktreeIsolationConfig
55
- } from "./index-peqmw3wr.js";
55
+ } from "./index-1pr8x10a.js";
56
56
  import"./index-gprxjmm7.js";
57
57
  import"./index-n832052r.js";
58
- import"./index-36vry26a.js";
59
- import"./index-7bs015gm.js";
58
+ import"./index-d45d4zyq.js";
59
+ import"./index-3q9w6e6v.js";
60
60
  import"./index-rn0eq85g.js";
61
61
  import"./index-4rhhvd1a.js";
62
62
  import"./index-jqsfsqbx.js";
63
63
  import"./index-z6xqpmqg.js";
64
64
  import"./index-zjygnfay.js";
65
- import"./index-gzxz0s50.js";
65
+ import"./index-ewzmjm7m.js";
66
66
  import"./index-tq5s07ta.js";
67
67
  import"./index-rtry5xyf.js";
68
- import"./index-wjk00vwk.js";
68
+ import"./index-jqabjy7t.js";
69
69
  import"./index-ae75rja9.js";
70
70
  import"./index-w7x7qxz2.js";
71
71
  import"./index-erfnw81g.js";
@@ -337,9 +337,9 @@ export declare const PromotionDecisionV1Schema: z.ZodObject<{
337
337
  export type PromotionDecisionV1 = z.infer<typeof PromotionDecisionV1Schema>;
338
338
  export declare const GateNameSchema: z.ZodEnum<{
339
339
  reviewer: "reviewer";
340
+ mutation: "mutation";
340
341
  sast: "sast";
341
342
  "test-engineer": "test-engineer";
342
- mutation: "mutation";
343
343
  quality: "quality";
344
344
  }>;
345
345
  export type GateName = z.infer<typeof GateNameSchema>;
@@ -350,9 +350,9 @@ export declare const GateAuditManifestV1Schema: z.ZodObject<{
350
350
  taskIds: z.ZodArray<z.ZodString>;
351
351
  gates: z.ZodArray<z.ZodEnum<{
352
352
  reviewer: "reviewer";
353
+ mutation: "mutation";
353
354
  sast: "sast";
354
355
  "test-engineer": "test-engineer";
355
- mutation: "mutation";
356
356
  quality: "quality";
357
357
  }>>;
358
358
  models: z.ZodArray<z.ZodString>;
@@ -373,9 +373,9 @@ export declare const GateAuditCellV1Schema: z.ZodObject<{
373
373
  defectType: z.ZodString;
374
374
  gate: z.ZodEnum<{
375
375
  reviewer: "reviewer";
376
+ mutation: "mutation";
376
377
  sast: "sast";
377
378
  "test-engineer": "test-engineer";
378
- mutation: "mutation";
379
379
  quality: "quality";
380
380
  }>;
381
381
  model: z.ZodString;
@@ -425,9 +425,9 @@ export declare const GateAuditResultV1Schema: z.ZodObject<{
425
425
  defectType: z.ZodString;
426
426
  gate: z.ZodEnum<{
427
427
  reviewer: "reviewer";
428
+ mutation: "mutation";
428
429
  sast: "sast";
429
430
  "test-engineer": "test-engineer";
430
- mutation: "mutation";
431
431
  quality: "quality";
432
432
  }>;
433
433
  model: z.ZodString;
@@ -7,9 +7,9 @@ export declare const GateGroundTruthV1Schema: z.ZodObject<{
7
7
  model: z.ZodString;
8
8
  gate: z.ZodEnum<{
9
9
  reviewer: "reviewer";
10
+ mutation: "mutation";
10
11
  sast: "sast";
11
12
  "test-engineer": "test-engineer";
12
- mutation: "mutation";
13
13
  quality: "quality";
14
14
  }>;
15
15
  repetition: z.ZodNumber;
@@ -15,6 +15,7 @@
15
15
  * reads the advisory file at session-start and pushes messages to pendingAdvisoryMessages.
16
16
  */
17
17
  import * as fs from 'node:fs';
18
+ import { recordDelegationRecoveryObservation } from '../background/delegation-health.js';
18
19
  import { scanDelegationFallbacksForRecovery, scanDelegationsForRecovery } from '../background/pending-delegations.js';
19
20
  import { isLocked, listActiveLocks, tryAcquireLock } from '../parallel/file-locks';
20
21
  import { removeWorktree } from '../worktree/core';
@@ -47,6 +48,7 @@ export declare const _internals: {
47
48
  tryAcquireLock: typeof tryAcquireLock;
48
49
  listOwnershipTagSessionIds: typeof listOwnershipTagSessionIds;
49
50
  scanDelegationsForRecovery: typeof scanDelegationsForRecovery;
51
+ recordDelegationRecoveryObservation: typeof recordDelegationRecoveryObservation;
50
52
  scanDelegationFallbacksForRecovery: typeof scanDelegationFallbacksForRecovery;
51
53
  scanWorktreeMergeFailuresForRecovery: typeof scanWorktreeMergeFailuresForRecovery;
52
54
  scanWorktreeProvisioningOwnersForRecovery: typeof scanWorktreeProvisioningOwnersForRecovery;