opencode-swarm 7.143.5 → 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 (58) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +5 -5
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +129 -0
  3. package/dist/background/delegation-health.d.ts +213 -0
  4. package/dist/background/pending-delegations.d.ts +164 -16
  5. package/dist/background/pr-review-trigger-contract.d.ts +17 -0
  6. package/dist/cli/{config-doctor-y8wfw196.js → config-doctor-7gy47evn.js} +2 -2
  7. package/dist/cli/{core-zszmexgm.js → core-cpcspaw5.js} +1 -1
  8. package/dist/cli/{curator-llm-factory-xsg7wesn.js → curator-llm-factory-fyjmgxyp.js} +18 -18
  9. package/dist/cli/{curator-e2sp925h.js → curator-v97jnwn2.js} +18 -18
  10. package/dist/cli/{evidence-summary-service-pfppq7mv.js → evidence-summary-service-79mtxzhd.js} +6 -6
  11. package/dist/cli/{gate-evidence-23jnh3mb.js → gate-evidence-kgyqz1g1.js} +2 -2
  12. package/dist/cli/{guardrail-explain-byzmrgg1.js → guardrail-explain-9ry66z5g.js} +19 -19
  13. package/dist/cli/{guardrail-log-nr2g7hbw.js → guardrail-log-fe6smme1.js} +3 -3
  14. package/dist/cli/{hive-promoter-cw08380z.js → hive-promoter-vwq1dbh1.js} +18 -18
  15. package/dist/cli/{index-qdarzed6.js → index-0ck3e366.js} +1 -1
  16. package/dist/cli/{index-xmje20we.js → index-1pr8x10a.js} +2 -2
  17. package/dist/cli/{index-p844tcrm.js → index-269b52r3.js} +3 -3
  18. package/dist/cli/{index-04x9wx7d.js → index-3q9w6e6v.js} +1 -1
  19. package/dist/cli/{index-5866smj5.js → index-3v3dxf75.js} +3 -3
  20. package/dist/cli/{index-8aabbfhv.js → index-4fda8kkw.js} +1057 -92
  21. package/dist/cli/{index-jqxgdvr9.js → index-6p09gyra.js} +1 -1
  22. package/dist/cli/{index-mnj0ter5.js → index-8xertnqz.js} +3 -3
  23. package/dist/cli/{index-a1p87gew.js → index-d45d4zyq.js} +1 -1
  24. package/dist/cli/{index-y8r7z30j.js → index-d45yrzkg.js} +1 -1
  25. package/dist/cli/{index-1kr1vey5.js → index-e70d3xr7.js} +20 -20
  26. package/dist/cli/{index-a4dkd7m7.js → index-evvbmbbv.js} +1 -1
  27. package/dist/cli/{index-dg1v2gnh.js → index-ewzmjm7m.js} +1 -1
  28. package/dist/cli/{index-47z3jbxk.js → index-ez18gjk2.js} +3 -3
  29. package/dist/cli/{index-51axj9vd.js → index-j1scj25g.js} +481 -80
  30. package/dist/cli/{index-m7v7gggs.js → index-jqabjy7t.js} +4 -4
  31. package/dist/cli/{index-7en3eq3k.js → index-jvbfrwt2.js} +1 -1
  32. package/dist/cli/{index-tmc43mkc.js → index-mw6p3nt6.js} +1 -1
  33. package/dist/cli/{index-x64vt6sc.js → index-rd2082y4.js} +2 -2
  34. package/dist/cli/{index-q2nd6q9e.js → index-tfkfyshg.js} +1 -1
  35. package/dist/cli/{index-mbczeqs3.js → index-vb9cpaz4.js} +5 -5
  36. package/dist/cli/{index-at0h6cd6.js → index-zv4pwyas.js} +2 -2
  37. package/dist/cli/index.js +18 -18
  38. package/dist/cli/{knowledge-escalator-1g4p844a.js → knowledge-escalator-rmy3jcx4.js} +6 -6
  39. package/dist/cli/{knowledge-events-5699zzw0.js → knowledge-events-1tqpbwvj.js} +4 -4
  40. package/dist/cli/{knowledge-store-m5qjn5kd.js → knowledge-store-389ck792.js} +1 -1
  41. package/dist/cli/{knowledge-validator-xxnp8ear.js → knowledge-validator-kvtk6633.js} +2 -2
  42. package/dist/cli/{pending-delegations-b3pt3w5w.js → pending-delegations-thy8g30k.js} +27 -1
  43. package/dist/cli/{scan-cursor-qvky2yem.js → scan-cursor-ahgm4f5p.js} +2 -2
  44. package/dist/cli/{schema-wgb37f83.js → schema-epdq7ykx.js} +1 -1
  45. package/dist/cli/{scope-persistence-0wrb7ptt.js → scope-persistence-37s9n40v.js} +4 -4
  46. package/dist/cli/{skill-generator-khaw3jjw.js → skill-generator-4d2t5gem.js} +7 -7
  47. package/dist/cli/{worktree-collision-ownership-bfz3drxm.js → worktree-collision-ownership-j6d33p49.js} +1 -1
  48. package/dist/cli/{worktree-isolation-bv41gn3k.js → worktree-isolation-4628yaka.js} +18 -18
  49. package/dist/evaluation/contracts.d.ts +4 -4
  50. package/dist/evaluation/gate-ground-truth.d.ts +1 -1
  51. package/dist/hooks/init-orphan-recovery.d.ts +2 -0
  52. package/dist/hooks/pr-workflow-gate.d.ts +135 -1
  53. package/dist/index.js +446 -441
  54. package/dist/services/status-service.d.ts +9 -0
  55. package/dist/tools/complete-pr-workflow.d.ts +3 -1
  56. package/dist/tools/pr-workflow-status.d.ts +2 -2
  57. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
  58. package/package.json +1 -1
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
709
709
  const {
710
710
  readAuthoritativeKnowledgeCounterRollups,
711
711
  effectiveRetrievalOutcomes
712
- } = await import("./knowledge-events-5699zzw0.js");
712
+ } = await import("./knowledge-events-1tqpbwvj.js");
713
713
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
714
714
  const flagIds = new Set;
715
715
  for (const e of atFloor) {
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
776
776
  });
777
777
  }
778
778
  if (action === "quarantine" && toQuarantine.length > 0) {
779
- const { quarantineEntry } = await import("./knowledge-validator-xxnp8ear.js");
780
- const { KnowledgeConfigSchema } = await import("./schema-wgb37f83.js");
779
+ const { quarantineEntry } = await import("./knowledge-validator-kvtk6633.js");
780
+ const { KnowledgeConfigSchema } = await import("./schema-epdq7ykx.js");
781
781
  let config;
782
782
  try {
783
- const { loadPluginConfigWithMeta } = await import("./index-mnj0ter5.js");
783
+ const { loadPluginConfigWithMeta } = await import("./index-8xertnqz.js");
784
784
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
785
785
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
786
786
  } catch {
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  autoCommitDirty,
8
8
  cleanUntrackedFiles
9
- } from "./index-q2nd6q9e.js";
9
+ } from "./index-tfkfyshg.js";
10
10
  import {
11
11
  validateSwarmPath
12
12
  } from "./index-rn0eq85g.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-m7v7gggs.js";
5
+ } from "./index-jqabjy7t.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-w7x7qxz2.js";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-51axj9vd.js";
15
+ } from "./index-j1scj25g.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-y8r7z30j.js";
22
+ } from "./index-d45yrzkg.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -86,7 +86,7 @@ var _internals = {
86
86
  symlinkSync: fs.symlinkSync
87
87
  },
88
88
  writeScopeToDisk: async (directory, taskId, files) => {
89
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-0wrb7ptt.js");
89
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-37s9n40v.js");
90
90
  return realWrite(directory, taskId, files);
91
91
  },
92
92
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-47z3jbxk.js";
6
+ } from "./index-ez18gjk2.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-m7v7gggs.js";
14
+ } from "./index-jqabjy7t.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-xxnp8ear.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-kvtk6633.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-wgb37f83.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-mnj0ter5.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-epdq7ykx.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-8xertnqz.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-qdarzed6.js";
5
+ } from "./index-0ck3e366.js";
6
6
  import {
7
7
  unsafePathTextReason
8
8
  } from "./index-556ja8an.js";
9
9
  import {
10
10
  PlanSchema
11
- } from "./index-a1p87gew.js";
11
+ } from "./index-d45d4zyq.js";
12
12
  import {
13
13
  assertProjectRoot
14
14
  } from "./index-k31en0ja.js";
package/dist/cli/index.js CHANGED
@@ -7,44 +7,44 @@ import {
7
7
  getPluginConfigDir,
8
8
  getPluginLockFilePaths,
9
9
  resolveCommand
10
- } from "./index-51axj9vd.js";
11
- import"./index-y8r7z30j.js";
12
- import"./index-a4dkd7m7.js";
13
- import"./index-5866smj5.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-tmc43mkc.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-7en3eq3k.js";
23
+ import"./index-jvbfrwt2.js";
24
24
  import"./index-74hpm6sh.js";
25
- import"./index-p844tcrm.js";
26
- import"./index-mbczeqs3.js";
27
- import"./index-at0h6cd6.js";
28
- import"./index-qdarzed6.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-8aabbfhv.js";
34
- import"./index-q2nd6q9e.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-47z3jbxk.js";
40
- import"./index-xmje20we.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-a1p87gew.js";
43
+ import"./index-d45d4zyq.js";
44
44
  import {
45
45
  init_package,
46
46
  package_default
47
- } from "./index-04x9wx7d.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-dg1v2gnh.js";
56
+ import"./index-ewzmjm7m.js";
57
57
  import"./index-tq5s07ta.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-m7v7gggs.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-mbczeqs3.js";
13
- import"./index-47z3jbxk.js";
14
- import"./index-xmje20we.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-a1p87gew.js";
18
- import"./index-04x9wx7d.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-m7v7gggs.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-47z3jbxk.js";
33
- import"./index-xmje20we.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-a1p87gew.js";
37
- import"./index-04x9wx7d.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-m7v7gggs.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-dg1v2gnh.js";
26
+ } from "./index-ewzmjm7m.js";
27
27
  import"./index-tq5s07ta.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-m7v7gggs.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,13 +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,
9
+ DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
10
+ DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
11
+ DELEGATION_COMPACTION_HIGH_WATER_BYTES,
12
+ DELEGATION_COMPACTION_LOW_WATER_BYTES,
7
13
  MAX_BACKGROUND_ADVISORY_CHARS,
8
14
  MAX_BACKGROUND_OBSERVED_FILES,
15
+ MAX_CHECKPOINT_BYTES,
16
+ MAX_CHECKPOINT_RECORDS,
9
17
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
10
18
  MAX_LIVE_BACKGROUND_FALLBACKS,
19
+ MAX_RECOVERY_LEDGER_BYTES,
20
+ TOMBSTONE_MIN_AGE_MS,
21
+ _checkpointInternals,
11
22
  acknowledgeObservedBackgroundAdvisories,
12
23
  appendDelegationTransition,
13
24
  bindBackgroundCoderReservation,
@@ -17,10 +28,12 @@ import {
17
28
  claimCoderSettlement,
18
29
  claimDelegationIngestion,
19
30
  claimTerminalResult,
31
+ compactBackgroundDelegations,
20
32
  findByBatchId,
21
33
  findByCorrelationId,
22
34
  findDelegationForCompletion,
23
35
  findOpenAsyncLaneBatches,
36
+ isUnsettledWorktreeOwner,
24
37
  listDelegationFallbacks,
25
38
  normalizeBackgroundObservedFiles,
26
39
  preparePendingBackgroundAdvisories,
@@ -41,7 +54,7 @@ import {
41
54
  sweepStaleDelegations,
42
55
  updateCoderSettlement,
43
56
  writeDelegationFallback
44
- } from "./index-8aabbfhv.js";
57
+ } from "./index-4fda8kkw.js";
45
58
  import"./index-rn0eq85g.js";
46
59
  import"./index-z6xqpmqg.js";
47
60
  import"./index-zjygnfay.js";
@@ -74,10 +87,12 @@ export {
74
87
  preparePendingBackgroundAdvisories,
75
88
  normalizeBackgroundObservedFiles,
76
89
  listDelegationFallbacks,
90
+ isUnsettledWorktreeOwner,
77
91
  findOpenAsyncLaneBatches,
78
92
  findDelegationForCompletion,
79
93
  findByCorrelationId,
80
94
  findByBatchId,
95
+ compactBackgroundDelegations,
81
96
  claimTerminalResult,
82
97
  claimDelegationIngestion,
83
98
  claimCoderSettlement,
@@ -87,12 +102,23 @@ export {
87
102
  bindBackgroundCoderReservation,
88
103
  appendDelegationTransition,
89
104
  acknowledgeObservedBackgroundAdvisories,
105
+ _checkpointInternals,
106
+ TOMBSTONE_MIN_AGE_MS,
107
+ MAX_RECOVERY_LEDGER_BYTES,
90
108
  MAX_LIVE_BACKGROUND_FALLBACKS,
91
109
  MAX_LIVE_BACKGROUND_CODER_RESERVATIONS,
110
+ MAX_CHECKPOINT_RECORDS,
111
+ MAX_CHECKPOINT_BYTES,
92
112
  MAX_BACKGROUND_OBSERVED_FILES,
93
113
  MAX_BACKGROUND_ADVISORY_CHARS,
114
+ DELEGATION_COMPACTION_LOW_WATER_BYTES,
115
+ DELEGATION_COMPACTION_HIGH_WATER_BYTES,
116
+ DEFAULT_SWEEPABLE_DELEGATION_STATUSES,
117
+ DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
94
118
  BACKGROUND_INGESTION_LEASE_MS,
95
119
  BACKGROUND_DELEGATION_FALLBACK_DIR,
120
+ BACKGROUND_DELEGATIONS_MANIFEST_FILE,
96
121
  BACKGROUND_DELEGATIONS_FILE,
122
+ BACKGROUND_DELEGATIONS_CHECKPOINT_FILE,
97
123
  BACKGROUND_CODER_RESERVATIONS_FILE
98
124
  };
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-tmc43mkc.js";
8
- import"./index-m7v7gggs.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-04x9wx7d.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-at0h6cd6.js";
27
- import"./index-qdarzed6.js";
26
+ } from "./index-zv4pwyas.js";
27
+ import"./index-0ck3e366.js";
28
28
  import"./index-556ja8an.js";
29
- import"./index-a1p87gew.js";
30
- import"./index-04x9wx7d.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-p844tcrm.js";
37
- import"./index-47z3jbxk.js";
38
- import"./index-xmje20we.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-a1p87gew.js";
42
- import"./index-04x9wx7d.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-dg1v2gnh.js";
48
+ import"./index-ewzmjm7m.js";
49
49
  import"./index-tq5s07ta.js";
50
50
  import"./index-rtry5xyf.js";
51
- import"./index-m7v7gggs.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-8aabbfhv.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-51axj9vd.js";
24
- import"./index-y8r7z30j.js";
25
- import"./index-a4dkd7m7.js";
26
- import"./index-5866smj5.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-tmc43mkc.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-7en3eq3k.js";
36
+ import"./index-jvbfrwt2.js";
37
37
  import"./index-74hpm6sh.js";
38
- import"./index-p844tcrm.js";
39
- import"./index-mbczeqs3.js";
40
- import"./index-at0h6cd6.js";
41
- import"./index-qdarzed6.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-8aabbfhv.js";
47
- import"./index-q2nd6q9e.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-47z3jbxk.js";
52
+ import"./index-ez18gjk2.js";
53
53
  import {
54
54
  resolveWorktreeIsolationConfig
55
- } from "./index-xmje20we.js";
55
+ } from "./index-1pr8x10a.js";
56
56
  import"./index-gprxjmm7.js";
57
57
  import"./index-n832052r.js";
58
- import"./index-a1p87gew.js";
59
- import"./index-04x9wx7d.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-dg1v2gnh.js";
65
+ import"./index-ewzmjm7m.js";
66
66
  import"./index-tq5s07ta.js";
67
67
  import"./index-rtry5xyf.js";
68
- import"./index-m7v7gggs.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;