opencode-swarm 7.199.5 → 7.199.6

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 (69) 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-tje4xvtw.js → auto-checkpoint-gv21fb1h.js} +4 -4
  4. package/dist/cli/{checkpoint-wyh8nkhb.js → checkpoint-rd1bt793.js} +8 -8
  5. package/dist/cli/{coder-settlement-d0ca5fb3.js → coder-settlement-21zd1g3a.js} +3 -3
  6. package/dist/cli/{config-doctor-swg02esj.js → config-doctor-mxe9nr78.js} +7 -7
  7. package/dist/cli/{core-yh8ae69m.js → core-7bd1sd36.js} +1 -1
  8. package/dist/cli/{curator-9vzqhesg.js → curator-7rf98h3k.js} +25 -25
  9. package/dist/cli/{curator-drift-85qect05.js → curator-drift-21y19fnz.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-dwvftpvm.js → curator-llm-factory-ab821je6.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-eqzsh3b7.js → doctor-knowledge-receipt-phase-id-6pdjxgfa.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-hc513kyq.js → evidence-summary-service-vdcx7fqd.js} +9 -9
  13. package/dist/cli/{gate-evidence-a10epye0.js → gate-evidence-ernx9gck.js} +2 -2
  14. package/dist/cli/{guardrail-explain-rqqhmb44.js → guardrail-explain-7jef0dhs.js} +26 -26
  15. package/dist/cli/{guardrail-log-caspzygc.js → guardrail-log-jr6b9rt3.js} +3 -3
  16. package/dist/cli/{guardrail-reset-48r2n8mz.js → guardrail-reset-0qyt8vpd.js} +25 -25
  17. package/dist/cli/{hive-promoter-sd3a61mq.js → hive-promoter-2qwxrrsc.js} +25 -25
  18. package/dist/cli/{index-dengtwpp.js → index-0bw1jyen.js} +1 -1
  19. package/dist/cli/{index-xtda4xsn.js → index-2cb644vj.js} +3 -3
  20. package/dist/cli/{index-9c0vp5yj.js → index-38fgg593.js} +1 -1
  21. package/dist/cli/{index-xyg7des8.js → index-3ct8kgfj.js} +1 -1
  22. package/dist/cli/{index-p5d32v0x.js → index-7m2gcmm7.js} +1 -1
  23. package/dist/cli/{index-3ckvw3j2.js → index-88d5kpjj.js} +1 -1
  24. package/dist/cli/{index-9n40q82y.js → index-b9f2j9bx.js} +1 -1
  25. package/dist/cli/{index-v4mremxw.js → index-bef4nhtj.js} +3 -3
  26. package/dist/cli/{index-34jat4f2.js → index-cs1d9e03.js} +2 -2
  27. package/dist/cli/{index-bgydmx8k.js → index-cwg99gea.js} +4 -4
  28. package/dist/cli/{index-4pbzepgw.js → index-cyp3r8ar.js} +3 -3
  29. package/dist/cli/{index-yg5xd4am.js → index-dqkr60bw.js} +1 -1
  30. package/dist/cli/{index-esakwcr3.js → index-eqw5vq9r.js} +1 -1
  31. package/dist/cli/{index-26dmsdx3.js → index-exj9yb0x.js} +59 -59
  32. package/dist/cli/{index-6ssraqaa.js → index-exr153j1.js} +1 -1
  33. package/dist/cli/{index-zte3djpf.js → index-f02p4yn4.js} +2 -2
  34. package/dist/cli/{index-85vd6sxy.js → index-gdyqdhz1.js} +3 -3
  35. package/dist/cli/{index-my753e0g.js → index-jhjmf5sn.js} +1 -1
  36. package/dist/cli/{index-76skvj8z.js → index-qbhjey8k.js} +3 -3
  37. package/dist/cli/{index-10wwrgj2.js → index-r227g76y.js} +6 -6
  38. package/dist/cli/{index-6xv2hz0e.js → index-s4wbe96z.js} +2 -2
  39. package/dist/cli/{index-d7y3cafq.js → index-s5tgnsmh.js} +2 -2
  40. package/dist/cli/{index-6xyt6d5m.js → index-s9hekeej.js} +3 -3
  41. package/dist/cli/{index-b0kr8720.js → index-syaa76vg.js} +27 -27
  42. package/dist/cli/{index-zdfzrwbk.js → index-t67n8jhb.js} +1 -1
  43. package/dist/cli/{index-3fz5w2wb.js → index-tqtfjzb0.js} +3 -3
  44. package/dist/cli/{index-0aj9tvms.js → index-txh6dtnj.js} +25 -25
  45. package/dist/cli/{index-0ra0vs2p.js → index-vgb679vr.js} +1 -1
  46. package/dist/cli/{index-gyz59cbh.js → index-x6rv0e00.js} +5 -5
  47. package/dist/cli/{index-ybvnf7rt.js → index-zzpy5cx3.js} +2 -2
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-9wqe0m8j.js → knowledge-escalator-rsj9nqqt.js} +7 -7
  50. package/dist/cli/{knowledge-events-m5vdchaa.js → knowledge-events-appww5kb.js} +5 -5
  51. package/dist/cli/{knowledge-store-ff4hy057.js → knowledge-store-n76rzv27.js} +1 -1
  52. package/dist/cli/{knowledge-validator-erj5thtq.js → knowledge-validator-ycxvjasa.js} +2 -2
  53. package/dist/cli/{mcp-d0hz5gfp.js → mcp-jy0gk3c8.js} +1 -1
  54. package/dist/cli/{model-preflight-p34x0k25.js → model-preflight-rg0mppzf.js} +25 -25
  55. package/dist/cli/{pending-delegations-1j6dx1mf.js → pending-delegations-e6brjxp2.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-b1g41jce.js → pr-subscriptions-vjsb5ydq.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-zjwt050h.js → pr-workflow-gate-bj66aa9k.js} +25 -25
  58. package/dist/cli/{scan-cursor-enz1rp21.js → scan-cursor-kkg94g0t.js} +2 -2
  59. package/dist/cli/{schema-9r8sggpb.js → schema-d1exxwv8.js} +1 -1
  60. package/dist/cli/{scope-persistence-c5n4g9f0.js → scope-persistence-3v9hce7b.js} +5 -5
  61. package/dist/cli/{server-8z7pd66d.js → server-jkcwkh8t.js} +25 -25
  62. package/dist/cli/{skill-generator-nezzfa0t.js → skill-generator-wg8qfdm8.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-2j06c7ck.js → snapshot-coordination-init-xyffgya9.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-805cqmrf.js → speckit-checkoff-61xn2c2v.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-xpr0yv7h.js → worktree-collision-ownership-gsv009xc.js} +2 -2
  66. package/dist/cli/{worktree-isolation-z6ytes0j.js → worktree-isolation-3sdvs69a.js} +25 -25
  67. package/dist/host/v2/guidance.d.ts +7 -0
  68. package/dist/index.js +2 -2
  69. package/package.json +1 -1
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-my753e0g.js";
11
+ } from "./index-jhjmf5sn.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-3fz5w2wb.js";
18
+ } from "./index-tqtfjzb0.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-6ssraqaa.js";
30
+ } from "./index-exr153j1.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-zdfzrwbk.js";
92
+ } from "./index-t67n8jhb.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-9n40q82y.js";
111
+ } from "./index-b9f2j9bx.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-6xyt6d5m.js";
117
+ } from "./index-s9hekeej.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-85vd6sxy.js";
140
+ } from "./index-gdyqdhz1.js";
141
141
  import {
142
142
  buildEscalationBriefing,
143
143
  readRecentEscalations
144
- } from "./index-10wwrgj2.js";
144
+ } from "./index-r227g76y.js";
145
145
  import {
146
146
  fastForwardToRefAsync,
147
147
  parsePorcelainV2Snapshot,
@@ -275,7 +275,7 @@ import {
275
275
  writeAtomicJson,
276
276
  writePrWorkflowAtomicJson,
277
277
  writeStateWhileLocked
278
- } from "./index-4pbzepgw.js";
278
+ } from "./index-cyp3r8ar.js";
279
279
  import {
280
280
  SandboxCapabilityProbe,
281
281
  getExecutor,
@@ -316,7 +316,7 @@ import {
316
316
  swarmOverwriteCandidates,
317
317
  trackedDirtyCandidates,
318
318
  transientBackoff
319
- } from "./index-xtda4xsn.js";
319
+ } from "./index-2cb644vj.js";
320
320
  import {
321
321
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
322
322
  PlanRecoverySupersededError,
@@ -348,7 +348,7 @@ import {
348
348
  updateEpicRecord,
349
349
  updateTaskStatus,
350
350
  withPlanLifecycleLock
351
- } from "./index-gyz59cbh.js";
351
+ } from "./index-x6rv0e00.js";
352
352
  import {
353
353
  containsControlChars,
354
354
  containsPathTraversal,
@@ -365,7 +365,7 @@ import {
365
365
  resolveSpeckitProjection,
366
366
  validateSpeckit,
367
367
  writeProjectedSpecSync
368
- } from "./index-76skvj8z.js";
368
+ } from "./index-qbhjey8k.js";
369
369
  import {
370
370
  clearWorktreeMergeStatus,
371
371
  getAllWorktreeMergeFailures,
@@ -397,7 +397,7 @@ import {
397
397
  transitionTaskWorkflowEvidenceWithStatus,
398
398
  withTaskEvidenceTransaction,
399
399
  writeWorkflowWalFile
400
- } from "./index-yg5xd4am.js";
400
+ } from "./index-dqkr60bw.js";
401
401
  import {
402
402
  isPathUnderSwarmWorktreeBase,
403
403
  listLiveLaneOwners,
@@ -406,7 +406,7 @@ import {
406
406
  recordLiveLaneOwner,
407
407
  removeWorktree,
408
408
  resolveWorktreeBaseDir
409
- } from "./index-0ra0vs2p.js";
409
+ } from "./index-vgb679vr.js";
410
410
  import {
411
411
  GitBinaryMissingError,
412
412
  GitSpawnCwdError,
@@ -425,7 +425,7 @@ import {
425
425
  recordHiveKnowledgeEvent,
426
426
  recordKnowledgeEvent,
427
427
  resolveKnowledgeEventsPath
428
- } from "./index-6xv2hz0e.js";
428
+ } from "./index-s4wbe96z.js";
429
429
  import {
430
430
  commitDisplayedMembership,
431
431
  commitEmptyRetrieval,
@@ -438,7 +438,7 @@ import {
438
438
  queryLiveMemberships,
439
439
  reconcilePhaseClose,
440
440
  recordPhaseCloseIntent
441
- } from "./index-d7y3cafq.js";
441
+ } from "./index-s5tgnsmh.js";
442
442
  import {
443
443
  sanitizeContextText
444
444
  } from "./index-m9zzj4ee.js";
@@ -460,7 +460,7 @@ import {
460
460
  validateActionableFields,
461
461
  validateLesson,
462
462
  validateSkillPath
463
- } from "./index-xyg7des8.js";
463
+ } from "./index-3ct8kgfj.js";
464
464
  import {
465
465
  MAX_CURATION_PROPOSALS,
466
466
  authorizeCuration,
@@ -471,7 +471,7 @@ import {
471
471
  } from "./index-rtry5xyf.js";
472
472
  import {
473
473
  resolveWorktreeIsolationConfig
474
- } from "./index-zte3djpf.js";
474
+ } from "./index-f02p4yn4.js";
475
475
  import {
476
476
  RetrospectiveEvidenceSchema
477
477
  } from "./index-g22dps7x.js";
@@ -483,7 +483,7 @@ import {
483
483
  clearScopeBindings,
484
484
  readAuthoritativeScopeBindingSet,
485
485
  readDeclaredScopeFilesFromBindings
486
- } from "./index-p5d32v0x.js";
486
+ } from "./index-7m2gcmm7.js";
487
487
  import {
488
488
  DEFAULT_QA_GATES,
489
489
  computeProfileHash,
@@ -508,7 +508,7 @@ import {
508
508
  replayFromLedgerWithStatus,
509
509
  resolvePlanningProfile,
510
510
  takeSnapshotEvent
511
- } from "./index-ybvnf7rt.js";
511
+ } from "./index-zzpy5cx3.js";
512
512
  import {
513
513
  MAX_COORDINATION_STATE_LIST_ROWS,
514
514
  deleteCoordinationImports,
@@ -595,7 +595,7 @@ import {
595
595
  transactFile,
596
596
  transactKnowledge,
597
597
  wordBigrams
598
- } from "./index-bgydmx8k.js";
598
+ } from "./index-cwg99gea.js";
599
599
  import {
600
600
  readTailJsonl,
601
601
  readTailJsonlDetailed,
@@ -680,7 +680,7 @@ import {
680
680
  loadPluginConfig,
681
681
  loadPluginConfigWithMeta,
682
682
  resolveEpicConfig
683
- } from "./index-3ckvw3j2.js";
683
+ } from "./index-88d5kpjj.js";
684
684
  import {
685
685
  GIT_BINARY_ENV_VAR,
686
686
  addDeferredWarning,
@@ -730,7 +730,7 @@ import {
730
730
  resolveContextWindow,
731
731
  resolveGeneratedAgentRole,
732
732
  stripKnownSwarmPrefix
733
- } from "./index-dengtwpp.js";
733
+ } from "./index-0bw1jyen.js";
734
734
  import {
735
735
  AGENT_TOOL_MAP,
736
736
  ALL_AGENT_NAMES,
@@ -10298,7 +10298,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
10298
10298
  return extracted === expectedSessionId;
10299
10299
  }
10300
10300
  async function inspectStandardWorktreeCollisionOwnership(identity) {
10301
- const collisionOwnership = await import("./worktree-collision-ownership-xpr0yv7h.js");
10301
+ const collisionOwnership = await import("./worktree-collision-ownership-gsv009xc.js");
10302
10302
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
10303
10303
  }
10304
10304
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -10726,7 +10726,7 @@ async function precreateStandardWorktreeSession(args) {
10726
10726
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
10727
10727
  if (laneProfile) {
10728
10728
  try {
10729
- const { writeLaneProfileToDiskReal } = await import("./core-yh8ae69m.js");
10729
+ const { writeLaneProfileToDiskReal } = await import("./core-7bd1sd36.js");
10730
10730
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
10731
10731
  } catch {}
10732
10732
  }
@@ -11720,7 +11720,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
11720
11720
  }
11721
11721
  clearWorktreeMergeStatus(statusKey);
11722
11722
  try {
11723
- const { removeLaneProfileFromDiskReal } = await import("./core-yh8ae69m.js");
11723
+ const { removeLaneProfileFromDiskReal } = await import("./core-7bd1sd36.js");
11724
11724
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
11725
11725
  } catch {}
11726
11726
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -28887,7 +28887,7 @@ function clearCriticalShownIds(sessionID) {
28887
28887
  async function rehydratePrSubscriptions(sessionID, directory) {
28888
28888
  const map = new Map;
28889
28889
  try {
28890
- const { listActive: listActive2 } = await import("./pr-subscriptions-b1g41jce.js");
28890
+ const { listActive: listActive2 } = await import("./pr-subscriptions-vjsb5ydq.js");
28891
28891
  const records = await listActive2(directory);
28892
28892
  for (const record of records) {
28893
28893
  if (record.sessionID !== sessionID)
@@ -46648,9 +46648,9 @@ function hashContent(content) {
46648
46648
  return createHash27("sha1").update(content).digest("hex");
46649
46649
  }
46650
46650
  async function loadConfigForPolicyCurator(directory) {
46651
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-9r8sggpb.js");
46651
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-d1exxwv8.js");
46652
46652
  try {
46653
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-v4mremxw.js");
46653
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bef4nhtj.js");
46654
46654
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
46655
46655
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
46656
46656
  } catch {
@@ -49708,7 +49708,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
49708
49708
  const seam = _internals49.createCuratorLLMDelegate;
49709
49709
  if (seam)
49710
49710
  return seam(directory, mode, sessionId);
49711
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-dwvftpvm.js");
49711
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-ab821je6.js");
49712
49712
  return createCuratorLLMDelegate(directory, mode, sessionId);
49713
49713
  }
49714
49714
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -50103,7 +50103,7 @@ async function runFinalizeStage(ctx) {
50103
50103
  }
50104
50104
  }
50105
50105
  try {
50106
- const { CuratorConfigSchema: CCS } = await import("./schema-9r8sggpb.js");
50106
+ const { CuratorConfigSchema: CCS } = await import("./schema-d1exxwv8.js");
50107
50107
  const { config: pmLoadedConfig } = _internals49.loadPluginConfigWithMeta(ctx.directory);
50108
50108
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
50109
50109
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -54139,7 +54139,7 @@ function serializeAgentSession(s) {
54139
54139
  }
54140
54140
  async function writeSnapshot(directory, state) {
54141
54141
  try {
54142
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-2j06c7ck.js");
54142
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-xyffgya9.js");
54143
54143
  await ensureSnapshotCoordinationReady(directory);
54144
54144
  const snapshot = {
54145
54145
  version: 3,
@@ -57314,7 +57314,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
57314
57314
  };
57315
57315
  }
57316
57316
  async function sweepActiveNearDuplicates(directory, options = {}) {
57317
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-v4mremxw.js");
57317
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bef4nhtj.js");
57318
57318
  const { config } = loadPluginConfigWithMeta2(directory);
57319
57319
  const sweepConfig = config.learning?.dedup_sweep;
57320
57320
  if (sweepConfig?.enabled === false)
@@ -58438,7 +58438,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
58438
58438
  }
58439
58439
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
58440
58440
  try {
58441
- const skillModule = await import("./skill-generator-nezzfa0t.js");
58441
+ const skillModule = await import("./skill-generator-wg8qfdm8.js");
58442
58442
  for (const cand of skillCandidates) {
58443
58443
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
58444
58444
  continue;
@@ -58910,7 +58910,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
58910
58910
  } catch {}
58911
58911
  }
58912
58912
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
58913
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-9wqe0m8j.js");
58913
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-rsj9nqqt.js");
58914
58914
  for (const { id } of contradictedEntries) {
58915
58915
  try {
58916
58916
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -59742,7 +59742,7 @@ async function runCuratorPostMortem(directory, options = {}) {
59742
59742
  warnings.push("Failed to collect knowledge summary.");
59743
59743
  }
59744
59744
  try {
59745
- const { getScanStatus } = await import("./scan-cursor-enz1rp21.js");
59745
+ const { getScanStatus } = await import("./scan-cursor-kkg94g0t.js");
59746
59746
  const scanStatus = await getScanStatus(directory);
59747
59747
  if (scanStatus.remaining_estimate > 0) {
59748
59748
  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.`);
@@ -59914,9 +59914,9 @@ var _internals71 = {
59914
59914
  verifyPostMortemKnowledgeActions,
59915
59915
  repairPostMortemActions,
59916
59916
  loadDefaultKnowledgeConfig: async (directory) => {
59917
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-9r8sggpb.js");
59917
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-d1exxwv8.js");
59918
59918
  try {
59919
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-v4mremxw.js");
59919
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bef4nhtj.js");
59920
59920
  const loaded = loadPluginConfigWithMeta2(directory);
59921
59921
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
59922
59922
  } catch {
@@ -59924,11 +59924,11 @@ var _internals71 = {
59924
59924
  }
59925
59925
  },
59926
59926
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
59927
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-9vzqhesg.js");
59927
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-7rf98h3k.js");
59928
59928
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
59929
59929
  },
59930
59930
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
59931
- const { checkHivePromotions } = await import("./hive-promoter-sd3a61mq.js");
59931
+ const { checkHivePromotions } = await import("./hive-promoter-2qwxrrsc.js");
59932
59932
  return checkHivePromotions(entries2, knowledgeConfig, directory);
59933
59933
  },
59934
59934
  applyProposalTriage: async (directory, triage) => {
@@ -59937,7 +59937,7 @@ var _internals71 = {
59937
59937
  activateProposal,
59938
59938
  listSkills: listSkills2,
59939
59939
  sanitizeSlug
59940
- } = await import("./skill-generator-nezzfa0t.js");
59940
+ } = await import("./skill-generator-wg8qfdm8.js");
59941
59941
  const result = {
59942
59942
  approved: [],
59943
59943
  rejected: [],
@@ -59979,7 +59979,7 @@ var _internals71 = {
59979
59979
  return result;
59980
59980
  },
59981
59981
  readPriorDriftReports: async (directory) => {
59982
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-85qect05.js");
59982
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-21y19fnz.js");
59983
59983
  return readPriorDriftReports2(directory);
59984
59984
  },
59985
59985
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -70250,9 +70250,9 @@ var _internals79 = {
70250
70250
  loadPluginConfigWithMeta,
70251
70251
  loadCuratorDeps: async () => {
70252
70252
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
70253
- import("./schema-9r8sggpb.js"),
70254
- import("./curator-9vzqhesg.js"),
70255
- import("./curator-llm-factory-dwvftpvm.js")
70253
+ import("./schema-d1exxwv8.js"),
70254
+ import("./curator-7rf98h3k.js"),
70255
+ import("./curator-llm-factory-ab821je6.js")
70256
70256
  ]);
70257
70257
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
70258
70258
  }
@@ -72700,7 +72700,7 @@ async function computeCurationDiagnostics(directory, entries2) {
72700
72700
  let scanCompleted = false;
72701
72701
  let scanRemaining = 0;
72702
72702
  try {
72703
- const { getScanStatus } = await import("./scan-cursor-enz1rp21.js");
72703
+ const { getScanStatus } = await import("./scan-cursor-kkg94g0t.js");
72704
72704
  const status = await getScanStatus(directory);
72705
72705
  scanGeneration = status.generation;
72706
72706
  scanCompleted = status.completed;
@@ -72710,10 +72710,10 @@ async function computeCurationDiagnostics(directory, entries2) {
72710
72710
  try {
72711
72711
  const { isLinked: isLinked2 } = await import("./knowledge-link-t0ce3mw7.js");
72712
72712
  if (isLinked2(directory)) {
72713
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-9r8sggpb.js");
72713
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-d1exxwv8.js");
72714
72714
  let config;
72715
72715
  try {
72716
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-v4mremxw.js");
72716
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bef4nhtj.js");
72717
72717
  const loaded = loadPluginConfigWithMeta2(directory);
72718
72718
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
72719
72719
  } catch {
@@ -74193,7 +74193,7 @@ async function handleDoctorCommand(directory, args) {
74193
74193
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
74194
74194
  let output;
74195
74195
  if (enableAutoFix && result.hasAutoFixableIssues) {
74196
- const { runConfigDoctorWithFixes } = await import("./config-doctor-swg02esj.js");
74196
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-mxe9nr78.js");
74197
74197
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
74198
74198
  applyLossy: true
74199
74199
  });
@@ -74231,7 +74231,7 @@ async function handleDoctorCommand(directory, args) {
74231
74231
  `;
74232
74232
  }
74233
74233
  try {
74234
- const { runModelPreflight } = await import("./model-preflight-p34x0k25.js");
74234
+ const { runModelPreflight } = await import("./model-preflight-rg0mppzf.js");
74235
74235
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
74236
74236
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
74237
74237
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -74265,7 +74265,7 @@ async function handleDoctorCommand(directory, args) {
74265
74265
  }
74266
74266
  } catch {}
74267
74267
  try {
74268
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-eqzsh3b7.js");
74268
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-6pdjxgfa.js");
74269
74269
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
74270
74270
  } catch {}
74271
74271
  const strayDirs = detectStraySwarmDirs(directory);
@@ -76282,7 +76282,7 @@ async function handleEvidenceCommand(directory, args) {
76282
76282
  return formatTaskEvidenceMarkdown(evidenceData);
76283
76283
  }
76284
76284
  async function handleEvidenceSummaryCommand(directory) {
76285
- const { buildEvidenceSummary } = await import("./evidence-summary-service-hc513kyq.js");
76285
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-vdcx7fqd.js");
76286
76286
  const artifact = await buildEvidenceSummary(directory);
76287
76287
  if (!artifact) {
76288
76288
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -100711,7 +100711,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
100711
100711
  }
100712
100712
  const sdkOpts = signal ? { signal } : {};
100713
100713
  try {
100714
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-0aj9tvms.js");
100714
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-txh6dtnj.js");
100715
100715
  const createResult = await client.session.create({
100716
100716
  ...sessionId ? {
100717
100717
  body: {
@@ -102810,7 +102810,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
102810
102810
  clearedEvents: []
102811
102811
  };
102812
102812
  try {
102813
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-zjwt050h.js");
102813
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-bj66aa9k.js");
102814
102814
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
102815
102815
  } catch (err) {
102816
102816
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -119299,7 +119299,7 @@ function buildDetailedHelp(commandName, entry) {
119299
119299
  async function handleHelpCommand(ctx) {
119300
119300
  const targetCommand = ctx.args.join(" ");
119301
119301
  if (!targetCommand) {
119302
- const { buildHelpText } = await import("./index-b0kr8720.js");
119302
+ const { buildHelpText } = await import("./index-syaa76vg.js");
119303
119303
  return buildHelpText();
119304
119304
  }
119305
119305
  const tokens = targetCommand.split(/\s+/);
@@ -119313,7 +119313,7 @@ async function handleHelpCommand(ctx) {
119313
119313
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
119314
119314
  }
119315
119315
  const similar = _internals38.findSimilarCommands(targetCommand);
119316
- const { buildHelpText: fullHelp } = await import("./index-b0kr8720.js");
119316
+ const { buildHelpText: fullHelp } = await import("./index-syaa76vg.js");
119317
119317
  if (similar.length > 0) {
119318
119318
  return `Command '/swarm ${targetCommand}' not found.
119319
119319
 
@@ -119641,7 +119641,7 @@ var COMMAND_REGISTRY = {
119641
119641
  },
119642
119642
  "guardrail explain": {
119643
119643
  handler: async (ctx) => {
119644
- const { handleGuardrailExplain } = await import("./guardrail-explain-rqqhmb44.js");
119644
+ const { handleGuardrailExplain } = await import("./guardrail-explain-7jef0dhs.js");
119645
119645
  return handleGuardrailExplain(ctx.directory, ctx.args);
119646
119646
  },
119647
119647
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -119651,7 +119651,7 @@ var COMMAND_REGISTRY = {
119651
119651
  },
119652
119652
  "guardrail reset": {
119653
119653
  handler: async (ctx) => {
119654
- const { handleGuardrailReset } = await import("./guardrail-reset-48r2n8mz.js");
119654
+ const { handleGuardrailReset } = await import("./guardrail-reset-0qyt8vpd.js");
119655
119655
  return handleGuardrailReset(ctx.args, ctx.sessionID);
119656
119656
  },
119657
119657
  description: "Reset one exact active invocation/action circuit after repair",
@@ -119672,7 +119672,7 @@ var COMMAND_REGISTRY = {
119672
119672
  },
119673
119673
  "guardrail-log": {
119674
119674
  handler: async (ctx) => {
119675
- const { handleGuardrailLog } = await import("./guardrail-log-caspzygc.js");
119675
+ const { handleGuardrailLog } = await import("./guardrail-log-jr6b9rt3.js");
119676
119676
  return handleGuardrailLog(ctx.directory, ctx.args);
119677
119677
  },
119678
119678
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -12,7 +12,7 @@ import {
12
12
  readTaskEvidence,
13
13
  readTaskEvidenceRaw,
14
14
  sanitizeTaskId
15
- } from "./index-yg5xd4am.js";
15
+ } from "./index-dqkr60bw.js";
16
16
  import {
17
17
  readSwarmFileAsync,
18
18
  validateSwarmPath
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-3ckvw3j2.js";
5
+ } from "./index-88d5kpjj.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-dengtwpp.js";
8
+ } from "./index-0bw1jyen.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-6xv2hz0e.js";
8
+ } from "./index-s4wbe96z.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-xyg7des8.js";
12
+ } from "./index-3ct8kgfj.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-bgydmx8k.js";
19
+ } from "./index-cwg99gea.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  init_schema,
31
31
  stripKnownSwarmPrefix
32
- } from "./index-dengtwpp.js";
32
+ } from "./index-0bw1jyen.js";
33
33
  import {
34
34
  init_constants
35
35
  } from "./index-xfzkq1k4.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  writeSpeckitCheckoffLedger
4
- } from "./index-9c0vp5yj.js";
4
+ } from "./index-38fgg593.js";
5
5
  import {
6
6
  validateSpecContent
7
7
  } from "./index-0725jpp7.js";
8
8
  import {
9
9
  init_loader,
10
10
  readSddSourceSetting
11
- } from "./index-3ckvw3j2.js";
11
+ } from "./index-88d5kpjj.js";
12
12
  import {
13
13
  advisoryWarn,
14
14
  init_warning_buffer
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  SDD_SOURCES,
22
22
  init_schema
23
- } from "./index-dengtwpp.js";
23
+ } from "./index-0bw1jyen.js";
24
24
 
25
25
  // src/sdd/effective-spec.ts
26
26
  init_loader();
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledgeEvents,
4
4
  recordKnowledgeEvent
5
- } from "./index-6xv2hz0e.js";
5
+ } from "./index-s4wbe96z.js";
6
6
  import {
7
7
  queryHistoricalOutcomes
8
- } from "./index-d7y3cafq.js";
8
+ } from "./index-s5tgnsmh.js";
9
9
  import {
10
10
  jaccardBigram,
11
11
  readKnowledge,
@@ -13,7 +13,7 @@ import {
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge,
15
15
  wordBigrams
16
- } from "./index-bgydmx8k.js";
16
+ } from "./index-cwg99gea.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
226
226
  alreadyInactive: true
227
227
  };
228
228
  }
229
- const { quarantineEntry } = await import("./knowledge-validator-erj5thtq.js");
229
+ const { quarantineEntry } = await import("./knowledge-validator-ycxvjasa.js");
230
230
  let policyConfig;
231
231
  try {
232
- const { KnowledgeConfigSchema } = await import("./schema-9r8sggpb.js");
233
- const { loadPluginConfigWithMeta } = await import("./index-v4mremxw.js");
232
+ const { KnowledgeConfigSchema } = await import("./schema-d1exxwv8.js");
233
+ const { loadPluginConfigWithMeta } = await import("./index-bef4nhtj.js");
234
234
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
235
235
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
236
236
  } catch {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  queryHistoricalOutcomes
4
- } from "./index-d7y3cafq.js";
4
+ } from "./index-s5tgnsmh.js";
5
5
  import {
6
6
  resolveHiveEventsPath
7
7
  } from "./index-ae75rja9.js";
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
708
708
  }
709
709
  let bumps = 0;
710
710
  if (deltas.length > 0) {
711
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-ff4hy057.js");
711
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-n76rzv27.js");
712
712
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
713
713
  }
714
714
  return {
@@ -19,11 +19,11 @@ import {
19
19
  } from "./index-gx2vp8gx.js";
20
20
  import {
21
21
  loadPluginConfigWithMeta
22
- } from "./index-3ckvw3j2.js";
22
+ } from "./index-88d5kpjj.js";
23
23
  import {
24
24
  KnowledgeConfigSchema,
25
25
  init_schema
26
- } from "./index-dengtwpp.js";
26
+ } from "./index-0bw1jyen.js";
27
27
 
28
28
  // src/utils/context-decisions.ts
29
29
  function extractContextDecisions(content) {
@@ -14,7 +14,7 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-yg5xd4am.js";
17
+ } from "./index-dqkr60bw.js";
18
18
  import {
19
19
  validateSwarmPath
20
20
  } from "./index-b3ws03kp.js";
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
512
512
  awaitingMergeByCallID,
513
513
  cleanupStandardWorktreeForCallId,
514
514
  standardWorktreeByCallID
515
- } = await import("./worktree-isolation-z6ytes0j.js");
515
+ } = await import("./worktree-isolation-3sdvs69a.js");
516
516
  standardWorktreeByCallID.delete(descriptor.callID);
517
517
  if (hasResidue)
518
518
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
648
648
  awaitingMergeByCallID,
649
649
  finishStandardWorktreeDispatch,
650
650
  standardWorktreeByCallID
651
- } = await import("./worktree-isolation-z6ytes0j.js");
651
+ } = await import("./worktree-isolation-3sdvs69a.js");
652
652
  const descriptor = wal.worktree;
653
653
  const reconstructedDispatch = {
654
654
  callID: descriptor.callID,