opencode-swarm 7.154.0 → 7.154.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 (62) hide show
  1. package/dist/background/pr-subscriptions.d.ts +7 -0
  2. package/dist/cli/{config-doctor-8p9y543t.js → config-doctor-keasv3r8.js} +2 -2
  3. package/dist/cli/{core-1h6x6k59.js → core-7aj5g3f4.js} +1 -1
  4. package/dist/cli/{curation-policy-9r902jw4.js → curation-policy-a6tve11y.js} +5 -5
  5. package/dist/cli/{curator-yj00z1qz.js → curator-anz136hr.js} +27 -27
  6. package/dist/cli/{curator-llm-factory-ypwf3a90.js → curator-llm-factory-cr5ckwbd.js} +27 -27
  7. package/dist/cli/{evidence-summary-service-npq04240.js → evidence-summary-service-6tgme7p3.js} +11 -11
  8. package/dist/cli/{gate-evidence-4b6t0ycn.js → gate-evidence-36nfx4vb.js} +5 -5
  9. package/dist/cli/{guardrail-explain-dyxbhrdj.js → guardrail-explain-frb5xd5h.js} +28 -28
  10. package/dist/cli/{guardrail-log-eyecsekk.js → guardrail-log-fvma65xm.js} +5 -5
  11. package/dist/cli/{guardrail-reset-269jdwhd.js → guardrail-reset-3qk6k334.js} +27 -27
  12. package/dist/cli/{hive-promoter-5936am48.js → hive-promoter-v3dhtzfa.js} +27 -27
  13. package/dist/cli/{index-4g00jhbs.js → index-0vss7vdg.js} +3 -3
  14. package/dist/cli/{index-s0a4ewkb.js → index-107cv0dr.js} +1 -1
  15. package/dist/cli/{index-10zvxqra.js → index-155pbsan.js} +1 -1
  16. package/dist/cli/{index-48m4841x.js → index-1sjnqsc8.js} +1 -1
  17. package/dist/cli/{index-yve4e8fx.js → index-2ppbt5cf.js} +1 -1
  18. package/dist/cli/{index-6yc06dx9.js → index-3md256qr.js} +1 -1
  19. package/dist/cli/{index-snnps1vm.js → index-4r46q7tk.js} +5 -5
  20. package/dist/cli/{index-2mbs5q26.js → index-50cy1a3p.js} +7 -7
  21. package/dist/cli/{index-3mhgv8d6.js → index-97q41ds3.js} +2 -2
  22. package/dist/cli/{index-3db7xza0.js → index-9wzgztj9.js} +1 -1
  23. package/dist/cli/{index-7jnh1sgb.js → index-9xev69y4.js} +1 -1
  24. package/dist/cli/{index-wpstzk85.js → index-9znypky4.js} +4 -4
  25. package/dist/cli/{index-68w5jxv5.js → index-akm1dbr9.js} +3 -3
  26. package/dist/cli/{index-wfxg3s7n.js → index-bmkxc6sa.js} +95 -22
  27. package/dist/cli/{index-tnm9bb8b.js → index-fz9xcq6z.js} +1 -1
  28. package/dist/cli/{index-ttqnhxxq.js → index-h1g8w4v0.js} +2 -2
  29. package/dist/cli/{index-qcz4xprd.js → index-h7pamys0.js} +4 -4
  30. package/dist/cli/{index-p4y7jefb.js → index-p17hs70t.js} +2 -2
  31. package/dist/cli/{index-s70tmqn3.js → index-qm8b3aaj.js} +4 -4
  32. package/dist/cli/{index-1tdsddab.js → index-r0yavfvm.js} +64 -63
  33. package/dist/cli/{index-pcj7jk4t.js → index-sx5f2fq9.js} +3 -3
  34. package/dist/cli/{index-y64jrbch.js → index-tmgbwgsm.js} +2 -2
  35. package/dist/cli/{index-hk4wa0v1.js → index-wmxke5se.js} +6 -6
  36. package/dist/cli/{index-dwh02jmv.js → index-wqp8kk0w.js} +7 -7
  37. package/dist/cli/{index-2kzxkx50.js → index-wxpemcdj.js} +29 -29
  38. package/dist/cli/{index-vtdwkfbv.js → index-xagq35tf.js} +1 -1
  39. package/dist/cli/{index-c6dfyzdh.js → index-xdy28ngt.js} +1 -1
  40. package/dist/cli/{index-4y7g04py.js → index-xsbf2mmf.js} +1 -1
  41. package/dist/cli/{index-3hdnfmhp.js → index-y7gyhe13.js} +2 -2
  42. package/dist/cli/{index-mddgkqg9.js → index-yy4yps8w.js} +2 -2
  43. package/dist/cli/{index-nkr634n6.js → index-zak84bqr.js} +1 -1
  44. package/dist/cli/index.js +27 -27
  45. package/dist/cli/{knowledge-escalator-bxpzeth0.js → knowledge-escalator-1gjv97hj.js} +10 -10
  46. package/dist/cli/{knowledge-events-jxdpg2hj.js → knowledge-events-94hfvp85.js} +8 -8
  47. package/dist/cli/{knowledge-link-nwxykjya.js → knowledge-link-fs8hgh4h.js} +4 -4
  48. package/dist/cli/{knowledge-store-336hyzs8.js → knowledge-store-g7grbt7h.js} +5 -5
  49. package/dist/cli/{knowledge-validator-9wkvnsv0.js → knowledge-validator-ep0ym1e4.js} +7 -7
  50. package/dist/cli/{pending-delegations-0fmj1qy6.js → pending-delegations-0pf2dtwx.js} +3 -3
  51. package/dist/cli/{pr-subscriptions-1ndwgtbw.js → pr-subscriptions-e70phj71.js} +3 -3
  52. package/dist/cli/{runner-06dvm53x.js → runner-b7pskcxb.js} +5 -5
  53. package/dist/cli/{scan-cursor-3xxqtxwx.js → scan-cursor-8zps8v46.js} +6 -6
  54. package/dist/cli/{schema-jdx83m4m.js → schema-8sx9jp7v.js} +1 -1
  55. package/dist/cli/{scope-persistence-wgxn2kba.js → scope-persistence-zacyjnx9.js} +7 -7
  56. package/dist/cli/{skill-generator-vmxsc2fm.js → skill-generator-xs5n5j4k.js} +12 -12
  57. package/dist/cli/{telemetry-q2km2zrz.js → telemetry-r8e8zey7.js} +1 -1
  58. package/dist/cli/{worktree-collision-ownership-gsay5210.js → worktree-collision-ownership-yjk5ya71.js} +3 -3
  59. package/dist/cli/{worktree-isolation-peb4bkg3.js → worktree-isolation-cpf6b8ns.js} +27 -27
  60. package/dist/index.js +6 -6
  61. package/dist/telemetry.d.ts +1 -0
  62. package/package.json +1 -1
@@ -6,13 +6,13 @@ import {
6
6
  protectedRoots,
7
7
  redactDecisionLineForArchive,
8
8
  stableCanonicalStringify
9
- } from "./index-3hdnfmhp.js";
9
+ } from "./index-y7gyhe13.js";
10
10
  import {
11
11
  detectStraySwarmDirs,
12
12
  readDoctorArtifact,
13
13
  removeStraySwarmDir,
14
14
  runConfigDoctor
15
- } from "./index-10zvxqra.js";
15
+ } from "./index-155pbsan.js";
16
16
  import {
17
17
  MAX_TRANSIENT_RETRIES,
18
18
  archiveEvidence,
@@ -59,7 +59,7 @@ import {
59
59
  validateProjectRoot,
60
60
  validateSymlinkBoundary,
61
61
  validateTargetWithinRoot
62
- } from "./index-dwh02jmv.js";
62
+ } from "./index-wqp8kk0w.js";
63
63
  import {
64
64
  loadDatabaseCtor
65
65
  } from "./index-134d35c1.js";
@@ -79,7 +79,7 @@ import {
79
79
  resolveExecutableFromPath,
80
80
  runEvaluation,
81
81
  runExternalTool
82
- } from "./index-6yc06dx9.js";
82
+ } from "./index-3md256qr.js";
83
83
  import {
84
84
  EvaluationTaskV1Schema,
85
85
  GateAuditManifestV1Schema,
@@ -96,7 +96,7 @@ import {
96
96
  saveGateAuditResult,
97
97
  savePromotionDecision,
98
98
  saveTaskSetSnapshot
99
- } from "./index-y64jrbch.js";
99
+ } from "./index-tmgbwgsm.js";
100
100
  import {
101
101
  canonicalHash,
102
102
  canonicalJson,
@@ -112,7 +112,7 @@ import {
112
112
  alreadyCuratedThisGeneration,
113
113
  claimNextScanBatch,
114
114
  resolveCohortId
115
- } from "./index-mddgkqg9.js";
115
+ } from "./index-yy4yps8w.js";
116
116
  import {
117
117
  CURATOR_INIT_PROMPT,
118
118
  CURATOR_PHASE_PROMPT,
@@ -162,7 +162,7 @@ import {
162
162
  listActive,
163
163
  subscribe,
164
164
  unsubscribe
165
- } from "./index-wfxg3s7n.js";
165
+ } from "./index-bmkxc6sa.js";
166
166
  import {
167
167
  BUNDLED_PROJECT_SKILL_ROOT,
168
168
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -183,10 +183,10 @@ import {
183
183
  retireSkill,
184
184
  selectCandidateEntries,
185
185
  syncBundledProjectSkillsIfMissingAsync
186
- } from "./index-68w5jxv5.js";
186
+ } from "./index-akm1dbr9.js";
187
187
  import {
188
188
  readRecentEscalations
189
- } from "./index-snnps1vm.js";
189
+ } from "./index-4r46q7tk.js";
190
190
  import {
191
191
  appendUnactionable,
192
192
  quarantineEntry,
@@ -197,11 +197,11 @@ import {
197
197
  validateActionableFields,
198
198
  validateLesson,
199
199
  validateSkillPath
200
- } from "./index-qcz4xprd.js";
200
+ } from "./index-h7pamys0.js";
201
201
  import {
202
202
  authorizeCuration,
203
203
  buildConfigFingerprintInput
204
- } from "./index-yve4e8fx.js";
204
+ } from "./index-2ppbt5cf.js";
205
205
  import {
206
206
  cohortConfigFingerprint
207
207
  } from "./index-rtry5xyf.js";
@@ -244,12 +244,12 @@ import {
244
244
  transitionTaskWorkflowEvidence,
245
245
  withTaskEvidenceTransaction,
246
246
  writeWorkflowWalFile
247
- } from "./index-wpstzk85.js";
247
+ } from "./index-9znypky4.js";
248
248
  import {
249
249
  makeWorktreeBranchName,
250
250
  provisionWorktree,
251
251
  removeWorktree
252
- } from "./index-nkr634n6.js";
252
+ } from "./index-zak84bqr.js";
253
253
  import {
254
254
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
255
255
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -264,14 +264,14 @@ import {
264
264
  scanBackgroundCoderReservationsForAdmission,
265
265
  scanDelegationsForRecovery,
266
266
  sweepStaleDelegations
267
- } from "./index-7jnh1sgb.js";
267
+ } from "./index-9xev69y4.js";
268
268
  import {
269
269
  MAX_PENDING_SCOPE_BINDINGS,
270
270
  canonicalWorkspaceIdentity,
271
271
  clearAllScopes,
272
272
  clearScopeBindingFromDisk,
273
273
  clearScopeBindings
274
- } from "./index-s70tmqn3.js";
274
+ } from "./index-qm8b3aaj.js";
275
275
  import {
276
276
  appendLedgerEvent,
277
277
  computePlanHash,
@@ -286,7 +286,7 @@ import {
286
286
  readPlanEpochIdentity,
287
287
  replayFromLedgerWithStatus,
288
288
  takeSnapshotEvent
289
- } from "./index-4g00jhbs.js";
289
+ } from "./index-0vss7vdg.js";
290
290
  import {
291
291
  CORE_EVENT_LOCKED,
292
292
  appendCoreEventSync,
@@ -296,7 +296,7 @@ import {
296
296
  hasSpecDriftAuditEvent,
297
297
  hasTaskRepairAuditEvent,
298
298
  readCoreEvents
299
- } from "./index-c6dfyzdh.js";
299
+ } from "./index-xdy28ngt.js";
300
300
  import {
301
301
  isPathWithinDeclaredScope,
302
302
  sanitizeDiagnosticText
@@ -346,7 +346,7 @@ import {
346
346
  transactFile,
347
347
  transactKnowledge,
348
348
  wordBigrams
349
- } from "./index-hk4wa0v1.js";
349
+ } from "./index-wmxke5se.js";
350
350
  import {
351
351
  MAX_EVENT_LOG_ENTRIES,
352
352
  _internals as _internals2,
@@ -362,10 +362,10 @@ import {
362
362
  recordKnowledgeEvent,
363
363
  recordPhaseCloseIntent,
364
364
  resolveKnowledgeEventsPath
365
- } from "./index-2mbs5q26.js";
365
+ } from "./index-50cy1a3p.js";
366
366
  import {
367
367
  resolveWorktreeIsolationConfig
368
- } from "./index-p4y7jefb.js";
368
+ } from "./index-p17hs70t.js";
369
369
  import {
370
370
  RetrospectiveEvidenceSchema
371
371
  } from "./index-gprxjmm7.js";
@@ -387,7 +387,7 @@ import {
387
387
  init_loader,
388
388
  loadPluginConfig,
389
389
  loadPluginConfigWithMeta
390
- } from "./index-4y7g04py.js";
390
+ } from "./index-xsbf2mmf.js";
391
391
  import {
392
392
  DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
393
393
  DEFAULT_SKILL_OPT_CONFIG,
@@ -402,7 +402,7 @@ import {
402
402
  package_default,
403
403
  resolveAutoReviewConfig,
404
404
  stripKnownSwarmPrefix
405
- } from "./index-tnm9bb8b.js";
405
+ } from "./index-fz9xcq6z.js";
406
406
  import {
407
407
  AGENT_TOOL_MAP,
408
408
  ALL_AGENT_NAMES,
@@ -442,10 +442,10 @@ import {
442
442
  resolveLinkDir,
443
443
  sanitizeLinkId,
444
444
  writeLinkPointer
445
- } from "./index-3db7xza0.js";
445
+ } from "./index-9wzgztj9.js";
446
446
  import {
447
447
  atomicWriteFile
448
- } from "./index-s0a4ewkb.js";
448
+ } from "./index-107cv0dr.js";
449
449
  import {
450
450
  KNOWLEDGE_SCHEMA_VERSION,
451
451
  OUTCOME_BLOCK_THRESHOLD,
@@ -465,7 +465,7 @@ import {
465
465
  listActiveLocks,
466
466
  tryAcquireLock,
467
467
  withEvidenceLock
468
- } from "./index-vtdwkfbv.js";
468
+ } from "./index-xagq35tf.js";
469
469
  import {
470
470
  invalidateCachedArtifact,
471
471
  resetSwarmArtifactCache
@@ -474,7 +474,7 @@ import {
474
474
  emit,
475
475
  getLastHeartbeat,
476
476
  telemetry
477
- } from "./index-ttqnhxxq.js";
477
+ } from "./index-h1g8w4v0.js";
478
478
  import {
479
479
  require_proper_lockfile
480
480
  } from "./index-7g4c7s5r.js";
@@ -6827,7 +6827,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
6827
6827
  awaitingMergeByCallID,
6828
6828
  cleanupStandardWorktreeForCallId,
6829
6829
  standardWorktreeByCallID
6830
- } = await import("./worktree-isolation-peb4bkg3.js");
6830
+ } = await import("./worktree-isolation-cpf6b8ns.js");
6831
6831
  standardWorktreeByCallID.delete(descriptor.callID);
6832
6832
  if (hasResidue)
6833
6833
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -6933,7 +6933,7 @@ async function recoverCoderSettlement(directory, taskId) {
6933
6933
  awaitingMergeByCallID,
6934
6934
  finishStandardWorktreeDispatch,
6935
6935
  standardWorktreeByCallID
6936
- } = await import("./worktree-isolation-peb4bkg3.js");
6936
+ } = await import("./worktree-isolation-cpf6b8ns.js");
6937
6937
  const descriptor = wal.worktree;
6938
6938
  const reconstructedDispatch = {
6939
6939
  callID: descriptor.callID,
@@ -20125,7 +20125,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
20125
20125
  };
20126
20126
  }
20127
20127
  async function sweepActiveNearDuplicates(directory, options = {}) {
20128
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pcj7jk4t.js");
20128
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-sx5f2fq9.js");
20129
20129
  const { config } = loadPluginConfigWithMeta2(directory);
20130
20130
  const sweepConfig = config.learning?.dedup_sweep;
20131
20131
  if (sweepConfig?.enabled === false)
@@ -21255,7 +21255,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
21255
21255
  }
21256
21256
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
21257
21257
  try {
21258
- const skillModule = await import("./skill-generator-vmxsc2fm.js");
21258
+ const skillModule = await import("./skill-generator-xs5n5j4k.js");
21259
21259
  for (const cand of skillCandidates) {
21260
21260
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
21261
21261
  continue;
@@ -21727,7 +21727,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
21727
21727
  } catch {}
21728
21728
  }
21729
21729
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
21730
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-bxpzeth0.js");
21730
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-1gjv97hj.js");
21731
21731
  for (const { id } of contradictedEntries) {
21732
21732
  try {
21733
21733
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -22546,7 +22546,7 @@ async function runCuratorPostMortem(directory, options = {}) {
22546
22546
  warnings.push("Failed to collect knowledge summary.");
22547
22547
  }
22548
22548
  try {
22549
- const { getScanStatus } = await import("./scan-cursor-3xxqtxwx.js");
22549
+ const { getScanStatus } = await import("./scan-cursor-8zps8v46.js");
22550
22550
  const scanStatus = await getScanStatus(directory);
22551
22551
  if (scanStatus.remaining_estimate > 0) {
22552
22552
  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.`);
@@ -22718,9 +22718,9 @@ var _internals27 = {
22718
22718
  verifyPostMortemKnowledgeActions,
22719
22719
  repairPostMortemActions,
22720
22720
  loadDefaultKnowledgeConfig: async (directory) => {
22721
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jdx83m4m.js");
22721
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8sx9jp7v.js");
22722
22722
  try {
22723
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pcj7jk4t.js");
22723
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-sx5f2fq9.js");
22724
22724
  const loaded = loadPluginConfigWithMeta2(directory);
22725
22725
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
22726
22726
  } catch {
@@ -22728,11 +22728,11 @@ var _internals27 = {
22728
22728
  }
22729
22729
  },
22730
22730
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
22731
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-yj00z1qz.js");
22731
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-anz136hr.js");
22732
22732
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
22733
22733
  },
22734
22734
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
22735
- const { checkHivePromotions } = await import("./hive-promoter-5936am48.js");
22735
+ const { checkHivePromotions } = await import("./hive-promoter-v3dhtzfa.js");
22736
22736
  return checkHivePromotions(entries, knowledgeConfig, directory);
22737
22737
  },
22738
22738
  applyProposalTriage: async (directory, triage) => {
@@ -22741,7 +22741,7 @@ var _internals27 = {
22741
22741
  activateProposal,
22742
22742
  listSkills: listSkills2,
22743
22743
  sanitizeSlug
22744
- } = await import("./skill-generator-vmxsc2fm.js");
22744
+ } = await import("./skill-generator-xs5n5j4k.js");
22745
22745
  const result = {
22746
22746
  approved: [],
22747
22747
  rejected: [],
@@ -24071,9 +24071,9 @@ function hashContent(content) {
24071
24071
  return createHash12("sha1").update(content).digest("hex");
24072
24072
  }
24073
24073
  async function loadConfigForPolicyCurator(directory) {
24074
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jdx83m4m.js");
24074
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8sx9jp7v.js");
24075
24075
  try {
24076
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pcj7jk4t.js");
24076
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-sx5f2fq9.js");
24077
24077
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
24078
24078
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
24079
24079
  } catch {
@@ -36117,7 +36117,7 @@ async function runFinalizeStage(ctx) {
36117
36117
  }
36118
36118
  }
36119
36119
  try {
36120
- const { CuratorConfigSchema: CCS } = await import("./schema-jdx83m4m.js");
36120
+ const { CuratorConfigSchema: CCS } = await import("./schema-8sx9jp7v.js");
36121
36121
  const { config: pmLoadedConfig } = _internals42.loadPluginConfigWithMeta(ctx.directory);
36122
36122
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
36123
36123
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -36993,7 +36993,7 @@ var _internals42 = {
36993
36993
  closePlanTerminalState: reconcileCloseTerminalStateForPlan,
36994
36994
  endAgentSession,
36995
36995
  flushAndDrainTelemetry: async () => {
36996
- const { flushAndDrainTelemetry } = await import("./telemetry-q2km2zrz.js");
36996
+ const { flushAndDrainTelemetry } = await import("./telemetry-r8e8zey7.js");
36997
36997
  return flushAndDrainTelemetry();
36998
36998
  },
36999
36999
  finalizeContextTelemetry: (directory) => {
@@ -38330,9 +38330,9 @@ var _internals46 = {
38330
38330
  loadPluginConfigWithMeta,
38331
38331
  loadCuratorDeps: async () => {
38332
38332
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
38333
- import("./schema-jdx83m4m.js"),
38334
- import("./curator-yj00z1qz.js"),
38335
- import("./curator-llm-factory-ypwf3a90.js")
38333
+ import("./schema-8sx9jp7v.js"),
38334
+ import("./curator-anz136hr.js"),
38335
+ import("./curator-llm-factory-cr5ckwbd.js")
38336
38336
  ]);
38337
38337
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
38338
38338
  }
@@ -39341,7 +39341,7 @@ async function computeCurationDiagnostics(directory, entries) {
39341
39341
  let scanCompleted = false;
39342
39342
  let scanRemaining = 0;
39343
39343
  try {
39344
- const { getScanStatus } = await import("./scan-cursor-3xxqtxwx.js");
39344
+ const { getScanStatus } = await import("./scan-cursor-8zps8v46.js");
39345
39345
  const status = await getScanStatus(directory);
39346
39346
  scanGeneration = status.generation;
39347
39347
  scanCompleted = status.completed;
@@ -39349,19 +39349,19 @@ async function computeCurationDiagnostics(directory, entries) {
39349
39349
  } catch {}
39350
39350
  let configMatch = null;
39351
39351
  try {
39352
- const { isLinked: isLinked2 } = await import("./knowledge-link-nwxykjya.js");
39352
+ const { isLinked: isLinked2 } = await import("./knowledge-link-fs8hgh4h.js");
39353
39353
  if (isLinked2(directory)) {
39354
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jdx83m4m.js");
39354
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8sx9jp7v.js");
39355
39355
  let config;
39356
39356
  try {
39357
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pcj7jk4t.js");
39357
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-sx5f2fq9.js");
39358
39358
  const loaded = loadPluginConfigWithMeta2(directory);
39359
39359
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
39360
39360
  } catch {
39361
39361
  config = KnowledgeConfigSchema2.parse({});
39362
39362
  }
39363
39363
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
39364
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-9r902jw4.js");
39364
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-a6tve11y.js");
39365
39365
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
39366
39366
  const cohortFp = await readCohortConfigFingerprint(directory);
39367
39367
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -40674,7 +40674,7 @@ async function handleDoctorCommand(directory, args) {
40674
40674
  const result = runConfigDoctor(config, directory);
40675
40675
  let output;
40676
40676
  if (enableAutoFix && result.hasAutoFixableIssues) {
40677
- const { runConfigDoctorWithFixes } = await import("./config-doctor-8p9y543t.js");
40677
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-keasv3r8.js");
40678
40678
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
40679
40679
  applyLossy: true
40680
40680
  });
@@ -41614,7 +41614,7 @@ async function handleEvidenceCommand(directory, args) {
41614
41614
  return formatTaskEvidenceMarkdown(evidenceData);
41615
41615
  }
41616
41616
  async function handleEvidenceSummaryCommand(directory) {
41617
- const { buildEvidenceSummary } = await import("./evidence-summary-service-npq04240.js");
41617
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-6tgme7p3.js");
41618
41618
  const artifact = await buildEvidenceSummary(directory);
41619
41619
  if (!artifact) {
41620
41620
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -59943,6 +59943,7 @@ function formatStorageHealth(health) {
59943
59943
  `store ${health.checkpointBytes}/${health.checkpointLimitBytes} B (${health.pressurePct}%)`,
59944
59944
  `audit ${health.auditLines} lines`,
59945
59945
  `compactions ${health.compactions} \xB7 corrupt ${health.corruptLegacyRecords} \xB7 dropped-audit ${health.droppedAuditTransitions}`,
59946
+ `resets ${health.resets}`,
59946
59947
  `source ${health.recoverySource}`
59947
59948
  ];
59948
59949
  const lines = [`Storage: ${parts.join(" \xB7 ")}`];
@@ -74169,7 +74170,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
74169
74170
  if (!input.dispatcher) {
74170
74171
  throw new Error("no evaluation dispatcher available (cannot run validation)");
74171
74172
  }
74172
- const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-06dvm53x.js");
74173
+ const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-b7pskcxb.js");
74173
74174
  const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
74174
74175
  const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals98.evaluateCandidateV1({
74175
74176
  projectRoot: input.directory,
@@ -76210,7 +76211,7 @@ function buildDetailedHelp(commandName, entry) {
76210
76211
  async function handleHelpCommand(ctx) {
76211
76212
  const targetCommand = ctx.args.join(" ");
76212
76213
  if (!targetCommand) {
76213
- const { buildHelpText } = await import("./index-2kzxkx50.js");
76214
+ const { buildHelpText } = await import("./index-wxpemcdj.js");
76214
76215
  return buildHelpText();
76215
76216
  }
76216
76217
  const tokens = targetCommand.split(/\s+/);
@@ -76219,7 +76220,7 @@ async function handleHelpCommand(ctx) {
76219
76220
  return _internals101.buildDetailedHelp(resolved.key, resolved.entry);
76220
76221
  }
76221
76222
  const similar = _internals101.findSimilarCommands(targetCommand);
76222
- const { buildHelpText: fullHelp } = await import("./index-2kzxkx50.js");
76223
+ const { buildHelpText: fullHelp } = await import("./index-wxpemcdj.js");
76223
76224
  if (similar.length > 0) {
76224
76225
  return `Command '/swarm ${targetCommand}' not found.
76225
76226
 
@@ -76406,7 +76407,7 @@ var COMMAND_REGISTRY = {
76406
76407
  },
76407
76408
  "guardrail explain": {
76408
76409
  handler: async (ctx) => {
76409
- const { handleGuardrailExplain } = await import("./guardrail-explain-dyxbhrdj.js");
76410
+ const { handleGuardrailExplain } = await import("./guardrail-explain-frb5xd5h.js");
76410
76411
  return handleGuardrailExplain(ctx.directory, ctx.args);
76411
76412
  },
76412
76413
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -76416,7 +76417,7 @@ var COMMAND_REGISTRY = {
76416
76417
  },
76417
76418
  "guardrail reset": {
76418
76419
  handler: async (ctx) => {
76419
- const { handleGuardrailReset } = await import("./guardrail-reset-269jdwhd.js");
76420
+ const { handleGuardrailReset } = await import("./guardrail-reset-3qk6k334.js");
76420
76421
  return handleGuardrailReset(ctx.args, ctx.sessionID);
76421
76422
  },
76422
76423
  description: "Reset one exact active invocation/action circuit after repair",
@@ -76425,7 +76426,7 @@ var COMMAND_REGISTRY = {
76425
76426
  },
76426
76427
  "guardrail-explain": {
76427
76428
  handler: async (ctx) => {
76428
- const { handleGuardrailExplain } = await import("./guardrail-explain-dyxbhrdj.js");
76429
+ const { handleGuardrailExplain } = await import("./guardrail-explain-frb5xd5h.js");
76429
76430
  return handleGuardrailExplain(ctx.directory, ctx.args);
76430
76431
  },
76431
76432
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -76435,7 +76436,7 @@ var COMMAND_REGISTRY = {
76435
76436
  },
76436
76437
  "guardrail-reset": {
76437
76438
  handler: async (ctx) => {
76438
- const { handleGuardrailReset } = await import("./guardrail-reset-269jdwhd.js");
76439
+ const { handleGuardrailReset } = await import("./guardrail-reset-3qk6k334.js");
76439
76440
  return handleGuardrailReset(ctx.args, ctx.sessionID);
76440
76441
  },
76441
76442
  description: "Reset one exact active invocation/action circuit after repair",
@@ -76445,7 +76446,7 @@ var COMMAND_REGISTRY = {
76445
76446
  },
76446
76447
  "guardrail-log": {
76447
76448
  handler: async (ctx) => {
76448
- const { handleGuardrailLog } = await import("./guardrail-log-eyecsekk.js");
76449
+ const { handleGuardrailLog } = await import("./guardrail-log-fvma65xm.js");
76449
76450
  return handleGuardrailLog(ctx.directory, ctx.args);
76450
76451
  },
76451
76452
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -82406,7 +82407,7 @@ function getDisplayBudget() {
82406
82407
  async function rehydratePrSubscriptions(sessionID, directory) {
82407
82408
  const map = new Map;
82408
82409
  try {
82409
- const { listActive: listActive2 } = await import("./pr-subscriptions-1ndwgtbw.js");
82410
+ const { listActive: listActive2 } = await import("./pr-subscriptions-e70phj71.js");
82410
82411
  const records = await listActive2(directory);
82411
82412
  for (const record of records) {
82412
82413
  if (record.sessionID !== sessionID)
@@ -82852,7 +82853,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
82852
82853
  return extracted === expectedSessionId;
82853
82854
  }
82854
82855
  async function inspectStandardWorktreeCollisionOwnership(identity) {
82855
- const collisionOwnership = await import("./worktree-collision-ownership-gsay5210.js");
82856
+ const collisionOwnership = await import("./worktree-collision-ownership-yjk5ya71.js");
82856
82857
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
82857
82858
  }
82858
82859
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -83261,7 +83262,7 @@ async function precreateStandardWorktreeSession(args) {
83261
83262
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
83262
83263
  if (laneProfile) {
83263
83264
  try {
83264
- const { writeLaneProfileToDiskReal } = await import("./core-1h6x6k59.js");
83265
+ const { writeLaneProfileToDiskReal } = await import("./core-7aj5g3f4.js");
83265
83266
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
83266
83267
  } catch {}
83267
83268
  }
@@ -84186,7 +84187,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
84186
84187
  }
84187
84188
  clearWorktreeMergeStatus(statusKey);
84188
84189
  try {
84189
- const { removeLaneProfileFromDiskReal } = await import("./core-1h6x6k59.js");
84190
+ const { removeLaneProfileFromDiskReal } = await import("./core-7aj5g3f4.js");
84190
84191
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
84191
84192
  } catch {}
84192
84193
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-p4y7jefb.js";
5
+ } from "./index-p17hs70t.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -42,7 +42,7 @@ import {
42
42
  loadPluginConfig,
43
43
  loadPluginConfigWithMeta,
44
44
  loadPluginConfigWithMetaAsync
45
- } from "./index-4y7g04py.js";
45
+ } from "./index-xsbf2mmf.js";
46
46
  import {
47
47
  AUTO_REVIEW_V8_BURN_IN_DECISION,
48
48
  AgentOverrideConfigSchema,
@@ -64,7 +64,7 @@ import {
64
64
  TurboConfigSchema,
65
65
  WorktreeIsolationConfigSchema,
66
66
  resolveAutoReviewConfig
67
- } from "./index-tnm9bb8b.js";
67
+ } from "./index-fz9xcq6z.js";
68
68
  import {
69
69
  ALL_AGENT_NAMES,
70
70
  ALL_SUBAGENT_NAMES,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./index-y8552snf.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-s0a4ewkb.js";
12
+ } from "./index-107cv0dr.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
16
- } from "./index-vtdwkfbv.js";
16
+ } from "./index-xagq35tf.js";
17
17
  import {
18
18
  exports_external,
19
19
  init_zod
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-3db7xza0.js";
9
+ } from "./index-9wzgztj9.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-s0a4ewkb.js";
12
+ } from "./index-107cv0dr.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-jxdpg2hj.js");
716
+ } = await import("./knowledge-events-94hfvp85.js");
717
717
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
718
718
  const flagIds = new Set;
719
719
  for (const e of atFloor) {
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
780
780
  });
781
781
  }
782
782
  if (action === "quarantine" && toQuarantine.length > 0) {
783
- const { quarantineEntry } = await import("./knowledge-validator-9wkvnsv0.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-jdx83m4m.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-ep0ym1e4.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-8sx9jp7v.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-pcj7jk4t.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-sx5f2fq9.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -6,7 +6,7 @@ import {
6
6
  EvaluationRunV1Schema,
7
7
  GateAuditResultV1Schema,
8
8
  getProtectedEvaluationRunIds
9
- } from "./index-y64jrbch.js";
9
+ } from "./index-tmgbwgsm.js";
10
10
  import {
11
11
  readEffectiveSpecSync
12
12
  } from "./index-9ss2m4rs.js";
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-wpstzk85.js";
26
+ } from "./index-9znypky4.js";
27
27
  import {
28
28
  LedgerStaleWriterError,
29
29
  appendLedgerEvent,
@@ -43,10 +43,10 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-4g00jhbs.js";
46
+ } from "./index-0vss7vdg.js";
47
47
  import {
48
48
  appendCoreEventSync
49
- } from "./index-c6dfyzdh.js";
49
+ } from "./index-xdy28ngt.js";
50
50
  import {
51
51
  init_executor,
52
52
  isUntrustedEnvKey,
@@ -68,7 +68,7 @@ import {
68
68
  } from "./index-r3mvsbtq.js";
69
69
  import {
70
70
  PlanSchema
71
- } from "./index-4y7g04py.js";
71
+ } from "./index-xsbf2mmf.js";
72
72
  import {
73
73
  GIT_BINARY_ENV_VAR,
74
74
  describeGitResolution,
@@ -79,14 +79,14 @@ import {
79
79
  assertProjectRoot,
80
80
  tryAcquireLock,
81
81
  withEvidenceLock
82
- } from "./index-vtdwkfbv.js";
82
+ } from "./index-xagq35tf.js";
83
83
  import {
84
84
  invalidateCachedArtifact,
85
85
  readCachedParsedFile
86
86
  } from "./index-ed5ykebp.js";
87
87
  import {
88
88
  emit
89
- } from "./index-ttqnhxxq.js";
89
+ } from "./index-h1g8w4v0.js";
90
90
  import {
91
91
  ZodError,
92
92
  init_zod