opencode-swarm 7.158.0 → 7.158.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 (52) hide show
  1. package/dist/background/pr-subscriptions.d.ts +31 -15
  2. package/dist/cli/{coder-settlement-5sexsmqz.js → coder-settlement-nrtcjr0h.js} +3 -3
  3. package/dist/cli/{config-doctor-ewn2kw6d.js → config-doctor-hs0x10ty.js} +2 -2
  4. package/dist/cli/{core-72wdmzps.js → core-a42bexs1.js} +1 -1
  5. package/dist/cli/{curator-llm-factory-r8q84m4g.js → curator-llm-factory-21vqqvn3.js} +20 -20
  6. package/dist/cli/{curator-g06sa98p.js → curator-yawrnk3t.js} +20 -20
  7. package/dist/cli/{evidence-summary-service-ttd0ntm0.js → evidence-summary-service-kmc92b95.js} +6 -6
  8. package/dist/cli/{gate-evidence-agnxf7md.js → gate-evidence-6tzhdxb2.js} +2 -2
  9. package/dist/cli/{guardrail-explain-qf4k176t.js → guardrail-explain-7xrdp18c.js} +21 -21
  10. package/dist/cli/{guardrail-log-g4qc595v.js → guardrail-log-f16sdc3p.js} +3 -3
  11. package/dist/cli/{guardrail-reset-zpxk0p1j.js → guardrail-reset-0ks08s0t.js} +20 -20
  12. package/dist/cli/{hive-promoter-zxy07gjg.js → hive-promoter-d661k3qq.js} +20 -20
  13. package/dist/cli/{index-6xxpwk5x.js → index-203fqkqk.js} +1 -1
  14. package/dist/cli/{index-fwe1wh6r.js → index-2j07670d.js} +1 -1
  15. package/dist/cli/{index-745dh1z1.js → index-4wy9kzjg.js} +22 -22
  16. package/dist/cli/{index-f036tggv.js → index-5erwyk1b.js} +3 -3
  17. package/dist/cli/{index-gm10kvne.js → index-6x9jq0cd.js} +2 -2
  18. package/dist/cli/{index-bv24pbaj.js → index-7qvfkgyk.js} +3 -3
  19. package/dist/cli/{index-rd324153.js → index-86vvhe8m.js} +1 -1
  20. package/dist/cli/{index-rac2gkvr.js → index-ac8rwjsg.js} +50 -50
  21. package/dist/cli/{index-vwx0by4y.js → index-azx50qge.js} +5 -5
  22. package/dist/cli/{index-nvta6kcv.js → index-dr2tfawg.js} +2 -2
  23. package/dist/cli/{index-rc93mm6e.js → index-ff8xjr1c.js} +1 -1
  24. package/dist/cli/{index-c57cyrwn.js → index-hrrzxz3q.js} +3 -3
  25. package/dist/cli/{index-663wnh64.js → index-jz216dhj.js} +1 -1
  26. package/dist/cli/{index-x4ftmdha.js → index-mc9qgkwd.js} +531 -100
  27. package/dist/cli/{index-5tchehv7.js → index-mfv7mfgg.js} +1 -1
  28. package/dist/cli/{index-f776m4r5.js → index-mt6qjp4c.js} +1 -1
  29. package/dist/cli/{index-pvs2zw1y.js → index-nphnjeh8.js} +2 -2
  30. package/dist/cli/{index-a1884hh4.js → index-t8g88esk.js} +1 -1
  31. package/dist/cli/{index-y3hdwh66.js → index-tc14d2zy.js} +3 -3
  32. package/dist/cli/{index-dmfbmnp7.js → index-tppnfxkm.js} +1 -1
  33. package/dist/cli/{index-x71shq8j.js → index-xscjecyq.js} +4 -4
  34. package/dist/cli/{index-1vxmqvpt.js → index-xzhk2hav.js} +1 -1
  35. package/dist/cli/{index-zawd71cg.js → index-ygxb3jw4.js} +3 -3
  36. package/dist/cli/{index-yfbp4q09.js → index-zy60xd05.js} +1 -1
  37. package/dist/cli/index.js +20 -20
  38. package/dist/cli/{knowledge-escalator-22zaj224.js → knowledge-escalator-9py5r6c9.js} +6 -6
  39. package/dist/cli/{knowledge-events-xbx1k408.js → knowledge-events-vcbece74.js} +4 -4
  40. package/dist/cli/{knowledge-store-fnm8xh9c.js → knowledge-store-0rdfjv20.js} +1 -1
  41. package/dist/cli/{knowledge-validator-t2jztjy1.js → knowledge-validator-nwjnjgf5.js} +2 -2
  42. package/dist/cli/{pending-delegations-29rtv1gb.js → pending-delegations-ht1vgaze.js} +1 -1
  43. package/dist/cli/{pr-review-reentry-authorization-25dep81m.js → pr-review-reentry-authorization-857b9rvv.js} +20 -20
  44. package/dist/cli/{pr-subscriptions-cgac3ydd.js → pr-subscriptions-j9j70bmd.js} +1 -1
  45. package/dist/cli/{scan-cursor-8acs9kwe.js → scan-cursor-59yj7tp9.js} +2 -2
  46. package/dist/cli/{schema-rjhassd0.js → schema-8a7fyp87.js} +1 -1
  47. package/dist/cli/{scope-persistence-jb1a5dzh.js → scope-persistence-prdxtcr3.js} +4 -4
  48. package/dist/cli/{skill-generator-frgppk1w.js → skill-generator-v2jkgp63.js} +7 -7
  49. package/dist/cli/{worktree-collision-ownership-f5sj6ffa.js → worktree-collision-ownership-6x03w8h7.js} +1 -1
  50. package/dist/cli/{worktree-isolation-5b0w6bha.js → worktree-isolation-s0setq2a.js} +20 -20
  51. package/dist/index.js +97 -96
  52. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-pvs2zw1y.js";
4
+ } from "./index-nphnjeh8.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-1vxmqvpt.js";
7
+ } from "./index-xzhk2hav.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -94,53 +94,53 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-rac2gkvr.js";
97
+ } from "./index-ac8rwjsg.js";
98
98
  import"./index-z54qw70y.js";
99
- import"./index-rc93mm6e.js";
100
- import"./index-rd324153.js";
101
- import"./index-bv24pbaj.js";
99
+ import"./index-ff8xjr1c.js";
100
+ import"./index-86vvhe8m.js";
101
+ import"./index-7qvfkgyk.js";
102
102
  import"./index-7s1hmrfh.js";
103
103
  import"./index-txdagbh7.js";
104
104
  import"./index-134d35c1.js";
105
105
  import"./index-nj6rmyeh.js";
106
- import"./index-y3hdwh66.js";
107
- import"./index-vwx0by4y.js";
108
- import"./index-5tchehv7.js";
106
+ import"./index-tc14d2zy.js";
107
+ import"./index-azx50qge.js";
108
+ import"./index-mfv7mfgg.js";
109
109
  import"./index-70ha9e09.js";
110
110
  import"./index-c8s9a3zh.js";
111
111
  import"./index-9ss2m4rs.js";
112
- import"./index-x4ftmdha.js";
112
+ import"./index-mc9qgkwd.js";
113
113
  import"./index-zsrtt42s.js";
114
- import"./index-c57cyrwn.js";
114
+ import"./index-hrrzxz3q.js";
115
115
  import"./index-3f7hqtgg.js";
116
116
  import"./index-8fqb0ynp.js";
117
- import"./index-dmfbmnp7.js";
117
+ import"./index-tppnfxkm.js";
118
118
  import"./index-pfnj5pvs.js";
119
119
  import"./index-rtry5xyf.js";
120
- import"./index-fwe1wh6r.js";
121
- import"./index-a1884hh4.js";
122
- import"./index-yfbp4q09.js";
120
+ import"./index-2j07670d.js";
121
+ import"./index-t8g88esk.js";
122
+ import"./index-zy60xd05.js";
123
123
  import"./index-ddszzne4.js";
124
- import"./index-nvta6kcv.js";
125
- import"./index-6xxpwk5x.js";
124
+ import"./index-dr2tfawg.js";
125
+ import"./index-203fqkqk.js";
126
126
  import"./index-nwkr6tvv.js";
127
127
  import"./index-556ja8an.js";
128
128
  import"./index-4fwbbad3.js";
129
129
  import"./index-b43rt5ph.js";
130
130
  import"./index-q7sjgr1y.js";
131
- import"./index-x71shq8j.js";
132
- import"./index-f036tggv.js";
133
- import"./index-gm10kvne.js";
131
+ import"./index-xscjecyq.js";
132
+ import"./index-5erwyk1b.js";
133
+ import"./index-6x9jq0cd.js";
134
134
  import"./index-gprxjmm7.js";
135
135
  import"./index-n832052r.js";
136
136
  import"./index-dtn0pne5.js";
137
137
  import"./index-z6xqpmqg.js";
138
138
  import"./index-r3mvsbtq.js";
139
- import"./index-663wnh64.js";
139
+ import"./index-jz216dhj.js";
140
140
  import {
141
141
  init_schema,
142
142
  stripKnownSwarmPrefix
143
- } from "./index-f776m4r5.js";
143
+ } from "./index-mt6qjp4c.js";
144
144
  import"./index-9e6fdz2h.js";
145
145
  import"./index-4rhhvd1a.js";
146
146
  import {
@@ -4,11 +4,11 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-663wnh64.js";
7
+ } from "./index-jz216dhj.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-f776m4r5.js";
11
+ } from "./index-mt6qjp4c.js";
12
12
  import {
13
13
  resolveHiveEventsPath
14
14
  } from "./index-ae75rja9.js";
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2793
2793
  }
2794
2794
  let bumps = 0;
2795
2795
  if (deltas.length > 0) {
2796
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-fnm8xh9c.js");
2796
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-0rdfjv20.js");
2797
2797
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2798
2798
  }
2799
2799
  return {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-663wnh64.js";
5
+ } from "./index-jz216dhj.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-f776m4r5.js";
8
+ } from "./index-mt6qjp4c.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-fwe1wh6r.js";
26
+ } from "./index-2j07670d.js";
27
27
  import {
28
28
  LedgerStaleWriterError,
29
29
  appendLedgerEvent,
@@ -43,7 +43,7 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-6xxpwk5x.js";
46
+ } from "./index-203fqkqk.js";
47
47
  import {
48
48
  appendCoreEventSync
49
49
  } from "./index-nwkr6tvv.js";
@@ -70,7 +70,7 @@ import {
70
70
  } from "./index-r3mvsbtq.js";
71
71
  import {
72
72
  PlanSchema
73
- } from "./index-663wnh64.js";
73
+ } from "./index-jz216dhj.js";
74
74
  import {
75
75
  GIT_BINARY_ENV_VAR,
76
76
  describeGitResolution,
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-f776m4r5.js";
9
+ } from "./index-mt6qjp4c.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -15,13 +15,13 @@ import {
15
15
  protectedRoots,
16
16
  redactDecisionLineForArchive,
17
17
  stableCanonicalStringify
18
- } from "./index-rc93mm6e.js";
18
+ } from "./index-ff8xjr1c.js";
19
19
  import {
20
20
  detectStraySwarmDirs,
21
21
  readDoctorArtifact,
22
22
  removeStraySwarmDir,
23
23
  runConfigDoctor
24
- } from "./index-rd324153.js";
24
+ } from "./index-86vvhe8m.js";
25
25
  import {
26
26
  MAX_TRANSIENT_RETRIES,
27
27
  archiveEvidence,
@@ -68,7 +68,7 @@ import {
68
68
  validateProjectRoot,
69
69
  validateSymlinkBoundary,
70
70
  validateTargetWithinRoot
71
- } from "./index-bv24pbaj.js";
71
+ } from "./index-7qvfkgyk.js";
72
72
  import {
73
73
  EvaluationTaskV1Schema,
74
74
  GateAuditManifestV1Schema,
@@ -129,15 +129,15 @@ import {
129
129
  retireSkill,
130
130
  selectCandidateEntries,
131
131
  syncBundledProjectSkillsIfMissingAsync
132
- } from "./index-y3hdwh66.js";
132
+ } from "./index-tc14d2zy.js";
133
133
  import {
134
134
  readRecentEscalations
135
- } from "./index-vwx0by4y.js";
135
+ } from "./index-azx50qge.js";
136
136
  import {
137
137
  alreadyCuratedThisGeneration,
138
138
  claimNextScanBatch,
139
139
  resolveCohortId
140
- } from "./index-5tchehv7.js";
140
+ } from "./index-mfv7mfgg.js";
141
141
  import {
142
142
  CURATOR_INIT_PROMPT,
143
143
  CURATOR_PHASE_PROMPT,
@@ -161,7 +161,7 @@ import {
161
161
  listActive,
162
162
  subscribe,
163
163
  unsubscribe
164
- } from "./index-x4ftmdha.js";
164
+ } from "./index-mc9qgkwd.js";
165
165
  import {
166
166
  clearWorktreeMergeStatus,
167
167
  getAllWorktreeMergeFailures,
@@ -173,7 +173,7 @@ import {
173
173
  listCoderSettlementWalStates,
174
174
  recoverCoderSettlement,
175
175
  recoverStaleCoderSettlements
176
- } from "./index-c57cyrwn.js";
176
+ } from "./index-hrrzxz3q.js";
177
177
  import {
178
178
  parsePorcelainV2Snapshot,
179
179
  resolveCommitCountSince,
@@ -217,7 +217,7 @@ import {
217
217
  validateActionableFields,
218
218
  validateLesson,
219
219
  validateSkillPath
220
- } from "./index-dmfbmnp7.js";
220
+ } from "./index-tppnfxkm.js";
221
221
  import {
222
222
  authorizeCuration,
223
223
  buildConfigFingerprintInput
@@ -252,12 +252,12 @@ import {
252
252
  transitionTaskWorkflowEvidence,
253
253
  withTaskEvidenceTransaction,
254
254
  writeWorkflowWalFile
255
- } from "./index-fwe1wh6r.js";
255
+ } from "./index-2j07670d.js";
256
256
  import {
257
257
  makeWorktreeBranchName,
258
258
  provisionWorktree,
259
259
  removeWorktree
260
- } from "./index-a1884hh4.js";
260
+ } from "./index-t8g88esk.js";
261
261
  import {
262
262
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
263
263
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -272,7 +272,7 @@ import {
272
272
  scanBackgroundCoderReservationsForAdmission,
273
273
  scanDelegationsForRecovery,
274
274
  sweepStaleDelegations
275
- } from "./index-yfbp4q09.js";
275
+ } from "./index-zy60xd05.js";
276
276
  import {
277
277
  compositeSessionKey,
278
278
  sessionKeySuffix
@@ -283,7 +283,7 @@ import {
283
283
  clearAllScopes,
284
284
  clearScopeBindingFromDisk,
285
285
  clearScopeBindings
286
- } from "./index-nvta6kcv.js";
286
+ } from "./index-dr2tfawg.js";
287
287
  import {
288
288
  appendLedgerEvent,
289
289
  computePlanHash,
@@ -298,7 +298,7 @@ import {
298
298
  readPlanEpochIdentity,
299
299
  replayFromLedgerWithStatus,
300
300
  takeSnapshotEvent
301
- } from "./index-6xxpwk5x.js";
301
+ } from "./index-203fqkqk.js";
302
302
  import {
303
303
  CORE_EVENT_LOCKED,
304
304
  appendCoreEventSync,
@@ -357,7 +357,7 @@ import {
357
357
  transactFile,
358
358
  transactKnowledge,
359
359
  wordBigrams
360
- } from "./index-x71shq8j.js";
360
+ } from "./index-xscjecyq.js";
361
361
  import {
362
362
  MAX_EVENT_LOG_ENTRIES,
363
363
  _internals as _internals2,
@@ -373,10 +373,10 @@ import {
373
373
  recordKnowledgeEvent,
374
374
  recordPhaseCloseIntent,
375
375
  resolveKnowledgeEventsPath
376
- } from "./index-f036tggv.js";
376
+ } from "./index-5erwyk1b.js";
377
377
  import {
378
378
  resolveWorktreeIsolationConfig
379
- } from "./index-gm10kvne.js";
379
+ } from "./index-6x9jq0cd.js";
380
380
  import {
381
381
  RetrospectiveEvidenceSchema
382
382
  } from "./index-gprxjmm7.js";
@@ -399,7 +399,7 @@ import {
399
399
  init_loader,
400
400
  loadPluginConfig,
401
401
  loadPluginConfigWithMeta
402
- } from "./index-663wnh64.js";
402
+ } from "./index-jz216dhj.js";
403
403
  import {
404
404
  DEFAULT_HARNESS_EVOLUTION_CONFIG,
405
405
  DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
@@ -415,7 +415,7 @@ import {
415
415
  package_default,
416
416
  resolveAutoReviewConfig,
417
417
  stripKnownSwarmPrefix
418
- } from "./index-f776m4r5.js";
418
+ } from "./index-mt6qjp4c.js";
419
419
  import {
420
420
  init_git_executable,
421
421
  resolveGitExecutable,
@@ -21040,7 +21040,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
21040
21040
  };
21041
21041
  }
21042
21042
  async function sweepActiveNearDuplicates(directory, options = {}) {
21043
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zawd71cg.js");
21043
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ygxb3jw4.js");
21044
21044
  const { config } = loadPluginConfigWithMeta2(directory);
21045
21045
  const sweepConfig = config.learning?.dedup_sweep;
21046
21046
  if (sweepConfig?.enabled === false)
@@ -22170,7 +22170,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
22170
22170
  }
22171
22171
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
22172
22172
  try {
22173
- const skillModule = await import("./skill-generator-frgppk1w.js");
22173
+ const skillModule = await import("./skill-generator-v2jkgp63.js");
22174
22174
  for (const cand of skillCandidates) {
22175
22175
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
22176
22176
  continue;
@@ -22642,7 +22642,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
22642
22642
  } catch {}
22643
22643
  }
22644
22644
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
22645
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-22zaj224.js");
22645
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-9py5r6c9.js");
22646
22646
  for (const { id } of contradictedEntries) {
22647
22647
  try {
22648
22648
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -23461,7 +23461,7 @@ async function runCuratorPostMortem(directory, options = {}) {
23461
23461
  warnings.push("Failed to collect knowledge summary.");
23462
23462
  }
23463
23463
  try {
23464
- const { getScanStatus } = await import("./scan-cursor-8acs9kwe.js");
23464
+ const { getScanStatus } = await import("./scan-cursor-59yj7tp9.js");
23465
23465
  const scanStatus = await getScanStatus(directory);
23466
23466
  if (scanStatus.remaining_estimate > 0) {
23467
23467
  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.`);
@@ -23633,9 +23633,9 @@ var _internals27 = {
23633
23633
  verifyPostMortemKnowledgeActions,
23634
23634
  repairPostMortemActions,
23635
23635
  loadDefaultKnowledgeConfig: async (directory) => {
23636
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rjhassd0.js");
23636
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8a7fyp87.js");
23637
23637
  try {
23638
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zawd71cg.js");
23638
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ygxb3jw4.js");
23639
23639
  const loaded = loadPluginConfigWithMeta2(directory);
23640
23640
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
23641
23641
  } catch {
@@ -23643,11 +23643,11 @@ var _internals27 = {
23643
23643
  }
23644
23644
  },
23645
23645
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
23646
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-g06sa98p.js");
23646
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-yawrnk3t.js");
23647
23647
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
23648
23648
  },
23649
23649
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
23650
- const { checkHivePromotions } = await import("./hive-promoter-zxy07gjg.js");
23650
+ const { checkHivePromotions } = await import("./hive-promoter-d661k3qq.js");
23651
23651
  return checkHivePromotions(entries, knowledgeConfig, directory);
23652
23652
  },
23653
23653
  applyProposalTriage: async (directory, triage) => {
@@ -23656,7 +23656,7 @@ var _internals27 = {
23656
23656
  activateProposal,
23657
23657
  listSkills: listSkills2,
23658
23658
  sanitizeSlug
23659
- } = await import("./skill-generator-frgppk1w.js");
23659
+ } = await import("./skill-generator-v2jkgp63.js");
23660
23660
  const result = {
23661
23661
  approved: [],
23662
23662
  rejected: [],
@@ -24986,9 +24986,9 @@ function hashContent(content) {
24986
24986
  return createHash13("sha1").update(content).digest("hex");
24987
24987
  }
24988
24988
  async function loadConfigForPolicyCurator(directory) {
24989
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rjhassd0.js");
24989
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8a7fyp87.js");
24990
24990
  try {
24991
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zawd71cg.js");
24991
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ygxb3jw4.js");
24992
24992
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
24993
24993
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
24994
24994
  } catch {
@@ -37176,7 +37176,7 @@ async function runFinalizeStage(ctx) {
37176
37176
  }
37177
37177
  }
37178
37178
  try {
37179
- const { CuratorConfigSchema: CCS } = await import("./schema-rjhassd0.js");
37179
+ const { CuratorConfigSchema: CCS } = await import("./schema-8a7fyp87.js");
37180
37180
  const { config: pmLoadedConfig } = _internals41.loadPluginConfigWithMeta(ctx.directory);
37181
37181
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
37182
37182
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -39395,9 +39395,9 @@ var _internals45 = {
39395
39395
  loadPluginConfigWithMeta,
39396
39396
  loadCuratorDeps: async () => {
39397
39397
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
39398
- import("./schema-rjhassd0.js"),
39399
- import("./curator-g06sa98p.js"),
39400
- import("./curator-llm-factory-r8q84m4g.js")
39398
+ import("./schema-8a7fyp87.js"),
39399
+ import("./curator-yawrnk3t.js"),
39400
+ import("./curator-llm-factory-21vqqvn3.js")
39401
39401
  ]);
39402
39402
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
39403
39403
  }
@@ -40406,7 +40406,7 @@ async function computeCurationDiagnostics(directory, entries) {
40406
40406
  let scanCompleted = false;
40407
40407
  let scanRemaining = 0;
40408
40408
  try {
40409
- const { getScanStatus } = await import("./scan-cursor-8acs9kwe.js");
40409
+ const { getScanStatus } = await import("./scan-cursor-59yj7tp9.js");
40410
40410
  const status = await getScanStatus(directory);
40411
40411
  scanGeneration = status.generation;
40412
40412
  scanCompleted = status.completed;
@@ -40416,10 +40416,10 @@ async function computeCurationDiagnostics(directory, entries) {
40416
40416
  try {
40417
40417
  const { isLinked: isLinked2 } = await import("./knowledge-link-cj2abbae.js");
40418
40418
  if (isLinked2(directory)) {
40419
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-rjhassd0.js");
40419
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8a7fyp87.js");
40420
40420
  let config;
40421
40421
  try {
40422
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zawd71cg.js");
40422
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ygxb3jw4.js");
40423
40423
  const loaded = loadPluginConfigWithMeta2(directory);
40424
40424
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
40425
40425
  } catch {
@@ -41739,7 +41739,7 @@ async function handleDoctorCommand(directory, args) {
41739
41739
  const result = runConfigDoctor(config, directory);
41740
41740
  let output;
41741
41741
  if (enableAutoFix && result.hasAutoFixableIssues) {
41742
- const { runConfigDoctorWithFixes } = await import("./config-doctor-ewn2kw6d.js");
41742
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-hs0x10ty.js");
41743
41743
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
41744
41744
  applyLossy: true
41745
41745
  });
@@ -42679,7 +42679,7 @@ async function handleEvidenceCommand(directory, args) {
42679
42679
  return formatTaskEvidenceMarkdown(evidenceData);
42680
42680
  }
42681
42681
  async function handleEvidenceSummaryCommand(directory) {
42682
- const { buildEvidenceSummary } = await import("./evidence-summary-service-ttd0ntm0.js");
42682
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-kmc92b95.js");
42683
42683
  const artifact = await buildEvidenceSummary(directory);
42684
42684
  if (!artifact) {
42685
42685
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -79786,7 +79786,7 @@ function buildDetailedHelp(commandName, entry) {
79786
79786
  async function handleHelpCommand(ctx) {
79787
79787
  const targetCommand = ctx.args.join(" ");
79788
79788
  if (!targetCommand) {
79789
- const { buildHelpText } = await import("./index-745dh1z1.js");
79789
+ const { buildHelpText } = await import("./index-4wy9kzjg.js");
79790
79790
  return buildHelpText();
79791
79791
  }
79792
79792
  const tokens = targetCommand.split(/\s+/);
@@ -79795,7 +79795,7 @@ async function handleHelpCommand(ctx) {
79795
79795
  return _internals100.buildDetailedHelp(resolved.key, resolved.entry);
79796
79796
  }
79797
79797
  const similar = _internals100.findSimilarCommands(targetCommand);
79798
- const { buildHelpText: fullHelp } = await import("./index-745dh1z1.js");
79798
+ const { buildHelpText: fullHelp } = await import("./index-4wy9kzjg.js");
79799
79799
  if (similar.length > 0) {
79800
79800
  return `Command '/swarm ${targetCommand}' not found.
79801
79801
 
@@ -80126,7 +80126,7 @@ var COMMAND_REGISTRY = {
80126
80126
  },
80127
80127
  "guardrail explain": {
80128
80128
  handler: async (ctx) => {
80129
- const { handleGuardrailExplain } = await import("./guardrail-explain-qf4k176t.js");
80129
+ const { handleGuardrailExplain } = await import("./guardrail-explain-7xrdp18c.js");
80130
80130
  return handleGuardrailExplain(ctx.directory, ctx.args);
80131
80131
  },
80132
80132
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -80136,7 +80136,7 @@ var COMMAND_REGISTRY = {
80136
80136
  },
80137
80137
  "guardrail reset": {
80138
80138
  handler: async (ctx) => {
80139
- const { handleGuardrailReset } = await import("./guardrail-reset-zpxk0p1j.js");
80139
+ const { handleGuardrailReset } = await import("./guardrail-reset-0ks08s0t.js");
80140
80140
  return handleGuardrailReset(ctx.args, ctx.sessionID);
80141
80141
  },
80142
80142
  description: "Reset one exact active invocation/action circuit after repair",
@@ -80145,7 +80145,7 @@ var COMMAND_REGISTRY = {
80145
80145
  },
80146
80146
  "guardrail-explain": {
80147
80147
  handler: async (ctx) => {
80148
- const { handleGuardrailExplain } = await import("./guardrail-explain-qf4k176t.js");
80148
+ const { handleGuardrailExplain } = await import("./guardrail-explain-7xrdp18c.js");
80149
80149
  return handleGuardrailExplain(ctx.directory, ctx.args);
80150
80150
  },
80151
80151
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -80155,7 +80155,7 @@ var COMMAND_REGISTRY = {
80155
80155
  },
80156
80156
  "guardrail-reset": {
80157
80157
  handler: async (ctx) => {
80158
- const { handleGuardrailReset } = await import("./guardrail-reset-zpxk0p1j.js");
80158
+ const { handleGuardrailReset } = await import("./guardrail-reset-0ks08s0t.js");
80159
80159
  return handleGuardrailReset(ctx.args, ctx.sessionID);
80160
80160
  },
80161
80161
  description: "Reset one exact active invocation/action circuit after repair",
@@ -80165,7 +80165,7 @@ var COMMAND_REGISTRY = {
80165
80165
  },
80166
80166
  "guardrail-log": {
80167
80167
  handler: async (ctx) => {
80168
- const { handleGuardrailLog } = await import("./guardrail-log-g4qc595v.js");
80168
+ const { handleGuardrailLog } = await import("./guardrail-log-f16sdc3p.js");
80169
80169
  return handleGuardrailLog(ctx.directory, ctx.args);
80170
80170
  },
80171
80171
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -86158,7 +86158,7 @@ function getDisplayFinalPromptPressure() {
86158
86158
  async function rehydratePrSubscriptions(sessionID, directory) {
86159
86159
  const map = new Map;
86160
86160
  try {
86161
- const { listActive: listActive2 } = await import("./pr-subscriptions-cgac3ydd.js");
86161
+ const { listActive: listActive2 } = await import("./pr-subscriptions-j9j70bmd.js");
86162
86162
  const records = await listActive2(directory);
86163
86163
  for (const record of records) {
86164
86164
  if (record.sessionID !== sessionID)
@@ -86604,7 +86604,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
86604
86604
  return extracted === expectedSessionId;
86605
86605
  }
86606
86606
  async function inspectStandardWorktreeCollisionOwnership(identity) {
86607
- const collisionOwnership = await import("./worktree-collision-ownership-f5sj6ffa.js");
86607
+ const collisionOwnership = await import("./worktree-collision-ownership-6x03w8h7.js");
86608
86608
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
86609
86609
  }
86610
86610
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -87013,7 +87013,7 @@ async function precreateStandardWorktreeSession(args) {
87013
87013
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
87014
87014
  if (laneProfile) {
87015
87015
  try {
87016
- const { writeLaneProfileToDiskReal } = await import("./core-72wdmzps.js");
87016
+ const { writeLaneProfileToDiskReal } = await import("./core-a42bexs1.js");
87017
87017
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
87018
87018
  } catch {}
87019
87019
  }
@@ -87938,7 +87938,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
87938
87938
  }
87939
87939
  clearWorktreeMergeStatus(statusKey);
87940
87940
  try {
87941
- const { removeLaneProfileFromDiskReal } = await import("./core-72wdmzps.js");
87941
+ const { removeLaneProfileFromDiskReal } = await import("./core-a42bexs1.js");
87942
87942
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
87943
87943
  } catch {}
87944
87944
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-x71shq8j.js";
9
+ } from "./index-xscjecyq.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-f036tggv.js";
14
+ } from "./index-5erwyk1b.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-t2jztjy1.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-nwjnjgf5.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-rjhassd0.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-zawd71cg.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-8a7fyp87.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-ygxb3jw4.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-6xxpwk5x.js";
5
+ } from "./index-203fqkqk.js";
6
6
  import {
7
7
  appendCoreEventSync
8
8
  } from "./index-nwkr6tvv.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./index-556ja8an.js";
12
12
  import {
13
13
  PlanSchema
14
- } from "./index-663wnh64.js";
14
+ } from "./index-jz216dhj.js";
15
15
  import {
16
16
  atomicWriteSwarmFile,
17
17
  atomicWriteSwarmFileSync
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  init_schema,
13
13
  stripKnownSwarmPrefix
14
- } from "./index-f776m4r5.js";
14
+ } from "./index-mt6qjp4c.js";
15
15
  import {
16
16
  init_constants
17
17
  } from "./index-yt75r1er.js";
@@ -13,7 +13,7 @@ import {
13
13
  reconcileLandedMerge,
14
14
  withTaskEvidenceTransaction,
15
15
  writeWorkflowWalFile
16
- } from "./index-fwe1wh6r.js";
16
+ } from "./index-2j07670d.js";
17
17
  import {
18
18
  canonicalRootKeyFresh
19
19
  } from "./index-ddszzne4.js";
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
478
478
  awaitingMergeByCallID,
479
479
  cleanupStandardWorktreeForCallId,
480
480
  standardWorktreeByCallID
481
- } = await import("./worktree-isolation-5b0w6bha.js");
481
+ } = await import("./worktree-isolation-s0setq2a.js");
482
482
  standardWorktreeByCallID.delete(descriptor.callID);
483
483
  if (hasResidue)
484
484
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
602
602
  awaitingMergeByCallID,
603
603
  finishStandardWorktreeDispatch,
604
604
  standardWorktreeByCallID
605
- } = await import("./worktree-isolation-5b0w6bha.js");
605
+ } = await import("./worktree-isolation-s0setq2a.js");
606
606
  const descriptor = wal.worktree;
607
607
  const reconstructedDispatch = {
608
608
  callID: descriptor.callID,
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-f776m4r5.js";
9
+ } from "./index-mt6qjp4c.js";
10
10
  import {
11
11
  GIT_BINARY_ENV_VAR,
12
12
  init_git_executable