opencode-swarm 7.199.3 → 7.199.4

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 (68) 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/{auto-checkpoint-8sxq4fam.js → auto-checkpoint-75n3s0qj.js} +4 -4
  4. package/dist/cli/{checkpoint-septjh9j.js → checkpoint-vdjfn78h.js} +8 -8
  5. package/dist/cli/{coder-settlement-5e51gv83.js → coder-settlement-wwgdrzcb.js} +3 -3
  6. package/dist/cli/{config-doctor-szqpesb3.js → config-doctor-x8ke4n9r.js} +7 -7
  7. package/dist/cli/{core-wawy5vxa.js → core-2zmr3718.js} +1 -1
  8. package/dist/cli/{curator-s699p3wr.js → curator-7pnzsqe8.js} +25 -25
  9. package/dist/cli/{curator-drift-p4xkfxm3.js → curator-drift-2rtecv79.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-m6w5axpg.js → curator-llm-factory-aybwqak6.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-xcczpaad.js → doctor-knowledge-receipt-phase-id-0yqb8t1e.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-smwfa1sk.js → evidence-summary-service-59r4wnbz.js} +9 -9
  13. package/dist/cli/{gate-evidence-y1591qqg.js → gate-evidence-7xp8a4s3.js} +2 -2
  14. package/dist/cli/{guardrail-explain-1fvbaenr.js → guardrail-explain-jahptqqd.js} +26 -26
  15. package/dist/cli/{guardrail-log-nd644x5c.js → guardrail-log-csp211g7.js} +3 -3
  16. package/dist/cli/{guardrail-reset-fq7tby85.js → guardrail-reset-2edjt0zn.js} +25 -25
  17. package/dist/cli/{hive-promoter-bhnm4sf7.js → hive-promoter-17q1qg8e.js} +25 -25
  18. package/dist/cli/{index-wamvtpcn.js → index-2wsh6d15.js} +3 -3
  19. package/dist/cli/{index-dp7362hg.js → index-3chx0ed6.js} +4 -4
  20. package/dist/cli/{index-2acc95ec.js → index-3gr7a9j8.js} +1 -1
  21. package/dist/cli/{index-vdhr11qv.js → index-4f5ejd03.js} +2 -2
  22. package/dist/cli/{index-c36fnjz3.js → index-5mfahvm2.js} +61 -61
  23. package/dist/cli/{index-ccpxq4yh.js → index-65syfqe1.js} +2 -2
  24. package/dist/cli/{index-dgtvf04w.js → index-97cpeqb2.js} +1 -1
  25. package/dist/cli/{index-s7ftr7ka.js → index-9gfymmr8.js} +2 -2
  26. package/dist/cli/{index-eh27whw4.js → index-aaqgsmxr.js} +27 -27
  27. package/dist/cli/{index-5jp79fag.js → index-aayv19fb.js} +5 -5
  28. package/dist/cli/{index-r0mapyst.js → index-bh6j8qxz.js} +2 -2
  29. package/dist/cli/{index-qy55ytz4.js → index-dradkxhb.js} +3 -3
  30. package/dist/cli/{index-2a8xvtba.js → index-eh12k044.js} +1 -1
  31. package/dist/cli/{index-2zwk30cc.js → index-ffkd1zwc.js} +3 -3
  32. package/dist/cli/{index-5p1md309.js → index-g1wra8ky.js} +1 -1
  33. package/dist/cli/{index-4925h28w.js → index-h3nns8py.js} +3 -3
  34. package/dist/cli/{index-j1kcy808.js → index-h44592hj.js} +6 -6
  35. package/dist/cli/{index-zh3fxcnn.js → index-h69d3ksz.js} +25 -25
  36. package/dist/cli/{index-w4dbmngb.js → index-hfpa3hrz.js} +1 -1
  37. package/dist/cli/{index-wer76f2n.js → index-hxav7nr0.js} +1 -1
  38. package/dist/cli/{index-sn3z9bq2.js → index-jhz7qpb4.js} +1 -1
  39. package/dist/cli/{index-5c6h1d0s.js → index-jwg4wy3g.js} +3 -3
  40. package/dist/cli/{index-68k5agm2.js → index-k0er6f51.js} +1 -1
  41. package/dist/cli/{index-r7swzftd.js → index-nfpfbce0.js} +1 -1
  42. package/dist/cli/{index-krz83azd.js → index-ry1jgeqa.js} +2 -2
  43. package/dist/cli/{index-fnqk017s.js → index-s41r5s5p.js} +1 -1
  44. package/dist/cli/{index-36anctab.js → index-sxh861jr.js} +1 -1
  45. package/dist/cli/{index-ddq1vt2f.js → index-t94vcqg6.js} +3 -3
  46. package/dist/cli/{index-7vzvj8ry.js → index-vnmadnbs.js} +1 -1
  47. package/dist/cli/{index-yvjpwsrd.js → index-x1j0838n.js} +1 -1
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-ebvnynz8.js → knowledge-escalator-2kphhk52.js} +7 -7
  50. package/dist/cli/{knowledge-events-crh7ax0w.js → knowledge-events-xw4qjnts.js} +5 -5
  51. package/dist/cli/{knowledge-store-58rh7jbp.js → knowledge-store-1cm7y9e6.js} +1 -1
  52. package/dist/cli/{knowledge-validator-0vmhxf5s.js → knowledge-validator-q4r4ng23.js} +2 -2
  53. package/dist/cli/{mcp-kjatmx4e.js → mcp-0548g7fk.js} +1 -1
  54. package/dist/cli/{model-preflight-0c7xkq6x.js → model-preflight-pdewpzmm.js} +25 -25
  55. package/dist/cli/{pending-delegations-j8g6zmnx.js → pending-delegations-zv9ffy5b.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-5zfjmma9.js → pr-subscriptions-0ktv4qaq.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-y0yfj38r.js → pr-workflow-gate-71nxjz6p.js} +25 -25
  58. package/dist/cli/{scan-cursor-gegs7kjt.js → scan-cursor-ty5dqwhm.js} +2 -2
  59. package/dist/cli/{schema-znqyq1kp.js → schema-tnrvn8h1.js} +1 -1
  60. package/dist/cli/{scope-persistence-sx4qgy4b.js → scope-persistence-camnvcaq.js} +5 -5
  61. package/dist/cli/{server-rbknas06.js → server-cr9kvgzz.js} +25 -25
  62. package/dist/cli/{skill-generator-gtg3yenw.js → skill-generator-nx2g9975.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-a0tt6s4t.js → snapshot-coordination-init-ymsjgsqf.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-gqcw669v.js → speckit-checkoff-1pyx7y0d.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-6qwxygnn.js → worktree-collision-ownership-twe4r9f2.js} +2 -2
  66. package/dist/cli/{worktree-isolation-6sc66ka0.js → worktree-isolation-yj3vfp1h.js} +25 -25
  67. package/dist/index.js +1 -1
  68. package/package.json +1 -1
@@ -7,50 +7,50 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-c36fnjz3.js";
11
- import"./index-sn3z9bq2.js";
12
- import"./index-wamvtpcn.js";
13
- import"./index-7vzvj8ry.js";
10
+ } from "./index-5mfahvm2.js";
11
+ import"./index-jhz7qpb4.js";
12
+ import"./index-2wsh6d15.js";
13
+ import"./index-vnmadnbs.js";
14
14
  import"./index-j2vv0h13.js";
15
15
  import"./index-dyp5807d.js";
16
16
  import"./index-7c432abn.js";
17
17
  import"./index-txdagbh7.js";
18
- import"./index-yvjpwsrd.js";
18
+ import"./index-x1j0838n.js";
19
19
  import"./index-rdec0y3z.js";
20
- import"./index-36anctab.js";
21
- import"./index-qy55ytz4.js";
22
- import"./index-2zwk30cc.js";
23
- import"./index-j1kcy808.js";
20
+ import"./index-sxh861jr.js";
21
+ import"./index-dradkxhb.js";
22
+ import"./index-ffkd1zwc.js";
23
+ import"./index-h44592hj.js";
24
24
  import"./index-hz2609qt.js";
25
25
  import"./index-bkscmz4z.js";
26
26
  import"./index-cjapb4hy.js";
27
27
  import"./index-pxdc0qn1.js";
28
28
  import"./index-pt7h91zc.js";
29
29
  import"./index-q7sjgr1y.js";
30
- import"./index-4925h28w.js";
31
- import"./index-5jp79fag.js";
30
+ import"./index-h3nns8py.js";
31
+ import"./index-aayv19fb.js";
32
32
  import"./index-6b295cas.js";
33
33
  import"./index-9nyqt3kb.js";
34
- import"./index-ddq1vt2f.js";
34
+ import"./index-t94vcqg6.js";
35
35
  import"./index-v3bmwmqw.js";
36
- import"./index-68k5agm2.js";
37
- import"./index-r7swzftd.js";
38
- import"./index-2a8xvtba.js";
36
+ import"./index-k0er6f51.js";
37
+ import"./index-nfpfbce0.js";
38
+ import"./index-eh12k044.js";
39
39
  import"./index-g4fs6z4e.js";
40
- import"./index-wer76f2n.js";
41
- import"./index-s7ftr7ka.js";
42
- import"./index-r0mapyst.js";
40
+ import"./index-hxav7nr0.js";
41
+ import"./index-9gfymmr8.js";
42
+ import"./index-bh6j8qxz.js";
43
43
  import"./index-m9zzj4ee.js";
44
44
  import"./index-820pzqd6.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-2acc95ec.js";
46
+ import"./index-3gr7a9j8.js";
47
47
  import"./index-2mx2gn97.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-vdhr11qv.js";
49
+ import"./index-4f5ejd03.js";
50
50
  import"./index-g22dps7x.js";
51
51
  import"./index-0725jpp7.js";
52
- import"./index-w4dbmngb.js";
53
- import"./index-ccpxq4yh.js";
52
+ import"./index-hfpa3hrz.js";
53
+ import"./index-65syfqe1.js";
54
54
  import"./index-h349p91m.js";
55
55
  import"./index-p5pgjp7n.js";
56
56
  import"./index-nr1pj3hy.js";
@@ -61,7 +61,7 @@ import"./index-7pmbnjvj.js";
61
61
  import"./index-hc6wa3yg.js";
62
62
  import {
63
63
  resolveHiveKnowledgePath
64
- } from "./index-dp7362hg.js";
64
+ } from "./index-3chx0ed6.js";
65
65
  import"./index-vzm6zre7.js";
66
66
  import"./index-ae75rja9.js";
67
67
  import"./index-2bc7zfw3.js";
@@ -74,9 +74,9 @@ import"./index-ejhxgyvm.js";
74
74
  import"./index-7g4c7s5r.js";
75
75
  import"./index-ywb5er8g.js";
76
76
  import"./index-gx2vp8gx.js";
77
- import"./index-dgtvf04w.js";
77
+ import"./index-97cpeqb2.js";
78
78
  import"./index-zxdawwc7.js";
79
- import"./index-5p1md309.js";
79
+ import"./index-g1wra8ky.js";
80
80
  import"./index-xfzkq1k4.js";
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-gknz3bv1.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  loadPlanJsonOnly
4
- } from "./index-5jp79fag.js";
4
+ } from "./index-aayv19fb.js";
5
5
  import {
6
6
  isCanonicalPathWithinRoot
7
7
  } from "./index-6b295cas.js";
@@ -14,7 +14,7 @@ import {
14
14
  legacyEpicIssuePath,
15
15
  migrateLegacyEpicConfig,
16
16
  resolveEpicConfig
17
- } from "./index-dgtvf04w.js";
17
+ } from "./index-97cpeqb2.js";
18
18
  import {
19
19
  FALLBACK_MODELS_MAX,
20
20
  GATE_CONFIG_KNOWN_SECTION_KEYS,
@@ -25,7 +25,7 @@ import {
25
25
  init_schema,
26
26
  retiredEpicKeyReplacement,
27
27
  stripKnownSwarmPrefix
28
- } from "./index-5p1md309.js";
28
+ } from "./index-g1wra8ky.js";
29
29
  import {
30
30
  ALL_AGENT_NAMES,
31
31
  TOOL_NAME_SET,
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
739
739
  const {
740
740
  readAuthoritativeKnowledgeCounterRollups,
741
741
  effectiveRetrievalOutcomes
742
- } = await import("./knowledge-events-crh7ax0w.js");
742
+ } = await import("./knowledge-events-xw4qjnts.js");
743
743
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
744
744
  const flagIds = new Set;
745
745
  for (const e of atFloor) {
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
806
806
  });
807
807
  }
808
808
  if (action === "quarantine" && toQuarantine.length > 0) {
809
- const { quarantineEntry } = await import("./knowledge-validator-0vmhxf5s.js");
810
- const { KnowledgeConfigSchema } = await import("./schema-znqyq1kp.js");
809
+ const { quarantineEntry } = await import("./knowledge-validator-q4r4ng23.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-tnrvn8h1.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-5c6h1d0s.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-jwg4wy3g.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-dp7362hg.js";
12
+ } from "./index-3chx0ed6.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-2bc7zfw3.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-dgtvf04w.js";
5
+ } from "./index-97cpeqb2.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-5p1md309.js";
8
+ } from "./index-g1wra8ky.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-sn3z9bq2.js";
11
+ } from "./index-jhz7qpb4.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-wamvtpcn.js";
18
+ } from "./index-2wsh6d15.js";
19
19
  import {
20
20
  archiveEvidence,
21
21
  checkRequirementCoverage,
@@ -27,7 +27,7 @@ import {
27
27
  sanitizeTaskId,
28
28
  saveEvidence,
29
29
  validateProjectRoot
30
- } from "./index-7vzvj8ry.js";
30
+ } from "./index-vnmadnbs.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-yvjpwsrd.js";
92
+ } from "./index-x1j0838n.js";
93
93
  import {
94
94
  CURATOR_CONSOLIDATION_PROMPT,
95
95
  CURATOR_INIT_PROMPT,
@@ -108,13 +108,13 @@ import {
108
108
  getGroupCommitWriter,
109
109
  importLegacyJsonl,
110
110
  readPriorDriftReports
111
- } from "./index-36anctab.js";
111
+ } from "./index-sxh861jr.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-qy55ytz4.js";
117
+ } from "./index-dradkxhb.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -137,11 +137,11 @@ import {
137
137
  skillContractDigest,
138
138
  splitSkillFrontmatter,
139
139
  syncBundledProjectSkillsIfMissingAsync
140
- } from "./index-2zwk30cc.js";
140
+ } from "./index-ffkd1zwc.js";
141
141
  import {
142
142
  buildEscalationBriefing,
143
143
  readRecentEscalations
144
- } from "./index-j1kcy808.js";
144
+ } from "./index-h44592hj.js";
145
145
  import {
146
146
  fastForwardToRefAsync,
147
147
  parsePorcelainV2Snapshot,
@@ -231,7 +231,7 @@ import {
231
231
  swarmOverwriteCandidates,
232
232
  trackedDirtyCandidates,
233
233
  transientBackoff
234
- } from "./index-4925h28w.js";
234
+ } from "./index-h3nns8py.js";
235
235
  import {
236
236
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
237
237
  PlanRecoverySupersededError,
@@ -263,7 +263,7 @@ import {
263
263
  updateEpicRecord,
264
264
  updateTaskStatus,
265
265
  withPlanLifecycleLock
266
- } from "./index-5jp79fag.js";
266
+ } from "./index-aayv19fb.js";
267
267
  import {
268
268
  containsControlChars,
269
269
  containsPathTraversal,
@@ -280,7 +280,7 @@ import {
280
280
  resolveSpeckitProjection,
281
281
  validateSpeckit,
282
282
  writeProjectedSpecSync
283
- } from "./index-ddq1vt2f.js";
283
+ } from "./index-t94vcqg6.js";
284
284
  import {
285
285
  clearWorktreeMergeStatus,
286
286
  getAllWorktreeMergeFailures,
@@ -312,7 +312,7 @@ import {
312
312
  transitionTaskWorkflowEvidenceWithStatus,
313
313
  withTaskEvidenceTransaction,
314
314
  writeWorkflowWalFile
315
- } from "./index-r7swzftd.js";
315
+ } from "./index-nfpfbce0.js";
316
316
  import {
317
317
  isPathUnderSwarmWorktreeBase,
318
318
  listLiveLaneOwners,
@@ -321,7 +321,7 @@ import {
321
321
  recordLiveLaneOwner,
322
322
  removeWorktree,
323
323
  resolveWorktreeBaseDir
324
- } from "./index-2a8xvtba.js";
324
+ } from "./index-eh12k044.js";
325
325
  import {
326
326
  GitBinaryMissingError,
327
327
  GitSpawnCwdError,
@@ -364,7 +364,7 @@ import {
364
364
  scanBackgroundCoderReservationsForAdmission,
365
365
  scanDelegationsForRecovery,
366
366
  sweepStaleDelegations
367
- } from "./index-wer76f2n.js";
367
+ } from "./index-hxav7nr0.js";
368
368
  import {
369
369
  MAX_EVENT_LOG_ENTRIES,
370
370
  _internals,
@@ -376,7 +376,7 @@ import {
376
376
  recordHiveKnowledgeEvent,
377
377
  recordKnowledgeEvent,
378
378
  resolveKnowledgeEventsPath
379
- } from "./index-s7ftr7ka.js";
379
+ } from "./index-9gfymmr8.js";
380
380
  import {
381
381
  commitDisplayedMembership,
382
382
  commitEmptyRetrieval,
@@ -389,7 +389,7 @@ import {
389
389
  queryLiveMemberships,
390
390
  reconcilePhaseClose,
391
391
  recordPhaseCloseIntent
392
- } from "./index-r0mapyst.js";
392
+ } from "./index-bh6j8qxz.js";
393
393
  import {
394
394
  sanitizeContextText
395
395
  } from "./index-m9zzj4ee.js";
@@ -420,7 +420,7 @@ import {
420
420
  validateActionableFields,
421
421
  validateLesson,
422
422
  validateSkillPath
423
- } from "./index-2acc95ec.js";
423
+ } from "./index-3gr7a9j8.js";
424
424
  import {
425
425
  MAX_CURATION_PROPOSALS,
426
426
  authorizeCuration,
@@ -431,7 +431,7 @@ import {
431
431
  } from "./index-rtry5xyf.js";
432
432
  import {
433
433
  resolveWorktreeIsolationConfig
434
- } from "./index-vdhr11qv.js";
434
+ } from "./index-4f5ejd03.js";
435
435
  import {
436
436
  RetrospectiveEvidenceSchema
437
437
  } from "./index-g22dps7x.js";
@@ -443,7 +443,7 @@ import {
443
443
  clearScopeBindings,
444
444
  readAuthoritativeScopeBindingSet,
445
445
  readDeclaredScopeFilesFromBindings
446
- } from "./index-w4dbmngb.js";
446
+ } from "./index-hfpa3hrz.js";
447
447
  import {
448
448
  approvedSnapshotCoversPlan,
449
449
  clearPlanLedgerForReset,
@@ -460,7 +460,7 @@ import {
460
460
  replayFromLedgerWithStatus,
461
461
  resolvePlanningProfile,
462
462
  takeSnapshotEvent
463
- } from "./index-ccpxq4yh.js";
463
+ } from "./index-65syfqe1.js";
464
464
  import {
465
465
  CORE_EVENT_LOCKED,
466
466
  appendCoreEventSync,
@@ -550,7 +550,7 @@ import {
550
550
  transactFile,
551
551
  transactKnowledge,
552
552
  wordBigrams
553
- } from "./index-dp7362hg.js";
553
+ } from "./index-3chx0ed6.js";
554
554
  import {
555
555
  readTailJsonl,
556
556
  readTailJsonlDetailed,
@@ -635,7 +635,7 @@ import {
635
635
  loadPluginConfig,
636
636
  loadPluginConfigWithMeta,
637
637
  resolveEpicConfig
638
- } from "./index-dgtvf04w.js";
638
+ } from "./index-97cpeqb2.js";
639
639
  import {
640
640
  GIT_BINARY_ENV_VAR,
641
641
  addDeferredWarning,
@@ -668,7 +668,7 @@ import {
668
668
  resolveContextWindow,
669
669
  resolveGeneratedAgentRole,
670
670
  stripKnownSwarmPrefix
671
- } from "./index-5p1md309.js";
671
+ } from "./index-g1wra8ky.js";
672
672
  import {
673
673
  AGENT_TOOL_MAP,
674
674
  ALL_AGENT_NAMES,
@@ -3472,7 +3472,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3472
3472
  return null;
3473
3473
  throw error2;
3474
3474
  }
3475
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-y0yfj38r.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3475
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-71nxjz6p.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3476
3476
  if (!legacy)
3477
3477
  return null;
3478
3478
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3606,7 +3606,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3606
3606
  let recoveryState = null;
3607
3607
  if (!currentAuthoritative) {
3608
3608
  if (options.allowSalvagedRead) {
3609
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-y0yfj38r.js");
3609
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-71nxjz6p.js");
3610
3610
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3611
3611
  }
3612
3612
  if (!recoveryState) {
@@ -11489,7 +11489,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
11489
11489
  return extracted === expectedSessionId;
11490
11490
  }
11491
11491
  async function inspectStandardWorktreeCollisionOwnership(identity) {
11492
- const collisionOwnership = await import("./worktree-collision-ownership-6qwxygnn.js");
11492
+ const collisionOwnership = await import("./worktree-collision-ownership-twe4r9f2.js");
11493
11493
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
11494
11494
  }
11495
11495
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -11917,7 +11917,7 @@ async function precreateStandardWorktreeSession(args) {
11917
11917
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
11918
11918
  if (laneProfile) {
11919
11919
  try {
11920
- const { writeLaneProfileToDiskReal } = await import("./core-wawy5vxa.js");
11920
+ const { writeLaneProfileToDiskReal } = await import("./core-2zmr3718.js");
11921
11921
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
11922
11922
  } catch {}
11923
11923
  }
@@ -12911,7 +12911,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
12911
12911
  }
12912
12912
  clearWorktreeMergeStatus(statusKey);
12913
12913
  try {
12914
- const { removeLaneProfileFromDiskReal } = await import("./core-wawy5vxa.js");
12914
+ const { removeLaneProfileFromDiskReal } = await import("./core-2zmr3718.js");
12915
12915
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
12916
12916
  } catch {}
12917
12917
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -30077,7 +30077,7 @@ function clearCriticalShownIds(sessionID) {
30077
30077
  async function rehydratePrSubscriptions(sessionID, directory) {
30078
30078
  const map = new Map;
30079
30079
  try {
30080
- const { listActive: listActive2 } = await import("./pr-subscriptions-5zfjmma9.js");
30080
+ const { listActive: listActive2 } = await import("./pr-subscriptions-0ktv4qaq.js");
30081
30081
  const records = await listActive2(directory);
30082
30082
  for (const record of records) {
30083
30083
  if (record.sessionID !== sessionID)
@@ -47578,9 +47578,9 @@ function hashContent(content) {
47578
47578
  return createHash29("sha1").update(content).digest("hex");
47579
47579
  }
47580
47580
  async function loadConfigForPolicyCurator(directory) {
47581
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-znqyq1kp.js");
47581
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tnrvn8h1.js");
47582
47582
  try {
47583
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5c6h1d0s.js");
47583
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-jwg4wy3g.js");
47584
47584
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
47585
47585
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
47586
47586
  } catch {
@@ -50638,7 +50638,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
50638
50638
  const seam = _internals50.createCuratorLLMDelegate;
50639
50639
  if (seam)
50640
50640
  return seam(directory, mode, sessionId);
50641
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-m6w5axpg.js");
50641
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-aybwqak6.js");
50642
50642
  return createCuratorLLMDelegate(directory, mode, sessionId);
50643
50643
  }
50644
50644
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -51033,7 +51033,7 @@ async function runFinalizeStage(ctx) {
51033
51033
  }
51034
51034
  }
51035
51035
  try {
51036
- const { CuratorConfigSchema: CCS } = await import("./schema-znqyq1kp.js");
51036
+ const { CuratorConfigSchema: CCS } = await import("./schema-tnrvn8h1.js");
51037
51037
  const { config: pmLoadedConfig } = _internals50.loadPluginConfigWithMeta(ctx.directory);
51038
51038
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
51039
51039
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -55066,7 +55066,7 @@ function serializeAgentSession(s) {
55066
55066
  }
55067
55067
  async function writeSnapshot(directory, state) {
55068
55068
  try {
55069
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-a0tt6s4t.js");
55069
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ymsjgsqf.js");
55070
55070
  await ensureSnapshotCoordinationReady(directory);
55071
55071
  const snapshot = {
55072
55072
  version: 3,
@@ -58206,7 +58206,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
58206
58206
  };
58207
58207
  }
58208
58208
  async function sweepActiveNearDuplicates(directory, options = {}) {
58209
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5c6h1d0s.js");
58209
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-jwg4wy3g.js");
58210
58210
  const { config } = loadPluginConfigWithMeta2(directory);
58211
58211
  const sweepConfig = config.learning?.dedup_sweep;
58212
58212
  if (sweepConfig?.enabled === false)
@@ -59330,7 +59330,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
59330
59330
  }
59331
59331
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
59332
59332
  try {
59333
- const skillModule = await import("./skill-generator-gtg3yenw.js");
59333
+ const skillModule = await import("./skill-generator-nx2g9975.js");
59334
59334
  for (const cand of skillCandidates) {
59335
59335
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
59336
59336
  continue;
@@ -59802,7 +59802,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
59802
59802
  } catch {}
59803
59803
  }
59804
59804
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
59805
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-ebvnynz8.js");
59805
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-2kphhk52.js");
59806
59806
  for (const { id } of contradictedEntries) {
59807
59807
  try {
59808
59808
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -60634,7 +60634,7 @@ async function runCuratorPostMortem(directory, options = {}) {
60634
60634
  warnings.push("Failed to collect knowledge summary.");
60635
60635
  }
60636
60636
  try {
60637
- const { getScanStatus } = await import("./scan-cursor-gegs7kjt.js");
60637
+ const { getScanStatus } = await import("./scan-cursor-ty5dqwhm.js");
60638
60638
  const scanStatus = await getScanStatus(directory);
60639
60639
  if (scanStatus.remaining_estimate > 0) {
60640
60640
  warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
@@ -60806,9 +60806,9 @@ var _internals72 = {
60806
60806
  verifyPostMortemKnowledgeActions,
60807
60807
  repairPostMortemActions,
60808
60808
  loadDefaultKnowledgeConfig: async (directory) => {
60809
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-znqyq1kp.js");
60809
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tnrvn8h1.js");
60810
60810
  try {
60811
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5c6h1d0s.js");
60811
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-jwg4wy3g.js");
60812
60812
  const loaded = loadPluginConfigWithMeta2(directory);
60813
60813
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
60814
60814
  } catch {
@@ -60816,11 +60816,11 @@ var _internals72 = {
60816
60816
  }
60817
60817
  },
60818
60818
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
60819
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-s699p3wr.js");
60819
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-7pnzsqe8.js");
60820
60820
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
60821
60821
  },
60822
60822
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
60823
- const { checkHivePromotions } = await import("./hive-promoter-bhnm4sf7.js");
60823
+ const { checkHivePromotions } = await import("./hive-promoter-17q1qg8e.js");
60824
60824
  return checkHivePromotions(entries2, knowledgeConfig, directory);
60825
60825
  },
60826
60826
  applyProposalTriage: async (directory, triage) => {
@@ -60829,7 +60829,7 @@ var _internals72 = {
60829
60829
  activateProposal,
60830
60830
  listSkills: listSkills2,
60831
60831
  sanitizeSlug
60832
- } = await import("./skill-generator-gtg3yenw.js");
60832
+ } = await import("./skill-generator-nx2g9975.js");
60833
60833
  const result = {
60834
60834
  approved: [],
60835
60835
  rejected: [],
@@ -60871,7 +60871,7 @@ var _internals72 = {
60871
60871
  return result;
60872
60872
  },
60873
60873
  readPriorDriftReports: async (directory) => {
60874
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-p4xkfxm3.js");
60874
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-2rtecv79.js");
60875
60875
  return readPriorDriftReports2(directory);
60876
60876
  },
60877
60877
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -71141,9 +71141,9 @@ var _internals80 = {
71141
71141
  loadPluginConfigWithMeta,
71142
71142
  loadCuratorDeps: async () => {
71143
71143
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
71144
- import("./schema-znqyq1kp.js"),
71145
- import("./curator-s699p3wr.js"),
71146
- import("./curator-llm-factory-m6w5axpg.js")
71144
+ import("./schema-tnrvn8h1.js"),
71145
+ import("./curator-7pnzsqe8.js"),
71146
+ import("./curator-llm-factory-aybwqak6.js")
71147
71147
  ]);
71148
71148
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
71149
71149
  }
@@ -73593,7 +73593,7 @@ async function computeCurationDiagnostics(directory, entries2) {
73593
73593
  let scanCompleted = false;
73594
73594
  let scanRemaining = 0;
73595
73595
  try {
73596
- const { getScanStatus } = await import("./scan-cursor-gegs7kjt.js");
73596
+ const { getScanStatus } = await import("./scan-cursor-ty5dqwhm.js");
73597
73597
  const status = await getScanStatus(directory);
73598
73598
  scanGeneration = status.generation;
73599
73599
  scanCompleted = status.completed;
@@ -73603,10 +73603,10 @@ async function computeCurationDiagnostics(directory, entries2) {
73603
73603
  try {
73604
73604
  const { isLinked: isLinked2 } = await import("./knowledge-link-1f91bzcc.js");
73605
73605
  if (isLinked2(directory)) {
73606
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-znqyq1kp.js");
73606
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-tnrvn8h1.js");
73607
73607
  let config;
73608
73608
  try {
73609
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5c6h1d0s.js");
73609
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-jwg4wy3g.js");
73610
73610
  const loaded = loadPluginConfigWithMeta2(directory);
73611
73611
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
73612
73612
  } catch {
@@ -75062,7 +75062,7 @@ async function handleDoctorCommand(directory, args) {
75062
75062
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
75063
75063
  let output;
75064
75064
  if (enableAutoFix && result.hasAutoFixableIssues) {
75065
- const { runConfigDoctorWithFixes } = await import("./config-doctor-szqpesb3.js");
75065
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-x8ke4n9r.js");
75066
75066
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
75067
75067
  applyLossy: true
75068
75068
  });
@@ -75100,7 +75100,7 @@ async function handleDoctorCommand(directory, args) {
75100
75100
  `;
75101
75101
  }
75102
75102
  try {
75103
- const { runModelPreflight } = await import("./model-preflight-0c7xkq6x.js");
75103
+ const { runModelPreflight } = await import("./model-preflight-pdewpzmm.js");
75104
75104
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
75105
75105
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
75106
75106
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -75134,7 +75134,7 @@ async function handleDoctorCommand(directory, args) {
75134
75134
  }
75135
75135
  } catch {}
75136
75136
  try {
75137
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-xcczpaad.js");
75137
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-0yqb8t1e.js");
75138
75138
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
75139
75139
  } catch {}
75140
75140
  const strayDirs = detectStraySwarmDirs(directory);
@@ -77151,7 +77151,7 @@ async function handleEvidenceCommand(directory, args) {
77151
77151
  return formatTaskEvidenceMarkdown(evidenceData);
77152
77152
  }
77153
77153
  async function handleEvidenceSummaryCommand(directory) {
77154
- const { buildEvidenceSummary } = await import("./evidence-summary-service-smwfa1sk.js");
77154
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-59r4wnbz.js");
77155
77155
  const artifact = await buildEvidenceSummary(directory);
77156
77156
  if (!artifact) {
77157
77157
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -101578,7 +101578,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
101578
101578
  }
101579
101579
  const sdkOpts = signal ? { signal } : {};
101580
101580
  try {
101581
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-zh3fxcnn.js");
101581
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-h69d3ksz.js");
101582
101582
  const createResult = await client.session.create({
101583
101583
  ...sessionId ? {
101584
101584
  body: {
@@ -103676,7 +103676,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
103676
103676
  clearedEvents: []
103677
103677
  };
103678
103678
  try {
103679
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-y0yfj38r.js");
103679
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-71nxjz6p.js");
103680
103680
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
103681
103681
  } catch (err) {
103682
103682
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -120161,7 +120161,7 @@ function buildDetailedHelp(commandName, entry) {
120161
120161
  async function handleHelpCommand(ctx) {
120162
120162
  const targetCommand = ctx.args.join(" ");
120163
120163
  if (!targetCommand) {
120164
- const { buildHelpText } = await import("./index-eh27whw4.js");
120164
+ const { buildHelpText } = await import("./index-aaqgsmxr.js");
120165
120165
  return buildHelpText();
120166
120166
  }
120167
120167
  const tokens = targetCommand.split(/\s+/);
@@ -120175,7 +120175,7 @@ async function handleHelpCommand(ctx) {
120175
120175
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
120176
120176
  }
120177
120177
  const similar = _internals39.findSimilarCommands(targetCommand);
120178
- const { buildHelpText: fullHelp } = await import("./index-eh27whw4.js");
120178
+ const { buildHelpText: fullHelp } = await import("./index-aaqgsmxr.js");
120179
120179
  if (similar.length > 0) {
120180
120180
  return `Command '/swarm ${targetCommand}' not found.
120181
120181
 
@@ -120503,7 +120503,7 @@ var COMMAND_REGISTRY = {
120503
120503
  },
120504
120504
  "guardrail explain": {
120505
120505
  handler: async (ctx) => {
120506
- const { handleGuardrailExplain } = await import("./guardrail-explain-1fvbaenr.js");
120506
+ const { handleGuardrailExplain } = await import("./guardrail-explain-jahptqqd.js");
120507
120507
  return handleGuardrailExplain(ctx.directory, ctx.args);
120508
120508
  },
120509
120509
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -120513,7 +120513,7 @@ var COMMAND_REGISTRY = {
120513
120513
  },
120514
120514
  "guardrail reset": {
120515
120515
  handler: async (ctx) => {
120516
- const { handleGuardrailReset } = await import("./guardrail-reset-fq7tby85.js");
120516
+ const { handleGuardrailReset } = await import("./guardrail-reset-2edjt0zn.js");
120517
120517
  return handleGuardrailReset(ctx.args, ctx.sessionID);
120518
120518
  },
120519
120519
  description: "Reset one exact active invocation/action circuit after repair",
@@ -120534,7 +120534,7 @@ var COMMAND_REGISTRY = {
120534
120534
  },
120535
120535
  "guardrail-log": {
120536
120536
  handler: async (ctx) => {
120537
- const { handleGuardrailLog } = await import("./guardrail-log-nd644x5c.js");
120537
+ const { handleGuardrailLog } = await import("./guardrail-log-csp211g7.js");
120538
120538
  return handleGuardrailLog(ctx.directory, ctx.args);
120539
120539
  },
120540
120540
  description: "Read the guardrail decision log (use --blocks-only for blocks)",