opencode-swarm 7.163.0 → 7.163.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 (48) hide show
  1. package/dist/cli/{coder-settlement-g2g5kkv5.js → coder-settlement-f1gtvcy8.js} +3 -3
  2. package/dist/cli/{config-doctor-p16xr78z.js → config-doctor-0fnqzqz1.js} +2 -2
  3. package/dist/cli/{core-g088v0zt.js → core-w81fk5sc.js} +1 -1
  4. package/dist/cli/{curator-3m8a8qsn.js → curator-as495r18.js} +19 -19
  5. package/dist/cli/{curator-llm-factory-p00hks4v.js → curator-llm-factory-v8vwz20c.js} +19 -19
  6. package/dist/cli/{evidence-summary-service-4ghqakhx.js → evidence-summary-service-51dxfcn5.js} +6 -6
  7. package/dist/cli/{gate-evidence-4v8apasx.js → gate-evidence-nb1e8hz0.js} +2 -2
  8. package/dist/cli/{guardrail-explain-smqenqtm.js → guardrail-explain-z2qb6v67.js} +20 -20
  9. package/dist/cli/{guardrail-log-mmh4b4k4.js → guardrail-log-2kwntcqw.js} +3 -3
  10. package/dist/cli/{guardrail-reset-zge5hg4p.js → guardrail-reset-mrxrc56j.js} +19 -19
  11. package/dist/cli/{hive-promoter-vxez5s7m.js → hive-promoter-c62x2ncb.js} +19 -19
  12. package/dist/cli/{index-f7t5fn4z.js → index-08y8pccg.js} +1 -1
  13. package/dist/cli/{index-7wb2v7jg.js → index-0tervb1m.js} +48 -48
  14. package/dist/cli/{index-pykfqsk0.js → index-2n1ym7jb.js} +2 -2
  15. package/dist/cli/{index-g4bvsapf.js → index-2v06a1yh.js} +5 -5
  16. package/dist/cli/{index-3ab9tczn.js → index-4p0wyz5p.js} +3 -3
  17. package/dist/cli/{index-m4nhy4fp.js → index-5056zmpt.js} +1 -1
  18. package/dist/cli/{index-3rjxbe1p.js → index-66073kej.js} +2 -2
  19. package/dist/cli/{index-5hgn302x.js → index-d3azve4r.js} +3 -3
  20. package/dist/cli/{index-zgz81a8x.js → index-d9gdwh34.js} +1 -1
  21. package/dist/cli/{index-nwa7ctyf.js → index-etvq73mp.js} +21 -21
  22. package/dist/cli/{index-ptsmms01.js → index-f923njwh.js} +4 -4
  23. package/dist/cli/{index-qy2rm1f6.js → index-g3znh2yd.js} +3 -3
  24. package/dist/cli/{index-4t68xs0p.js → index-kvra3nv1.js} +1 -1
  25. package/dist/cli/{index-w1mc7gcm.js → index-m1fvbah1.js} +2 -2
  26. package/dist/cli/{index-t4hs3qk6.js → index-ma52g2pq.js} +1 -1
  27. package/dist/cli/{index-4xggfhge.js → index-n985274d.js} +3 -3
  28. package/dist/cli/{index-s8c6f9rr.js → index-qynqyfgj.js} +1 -1
  29. package/dist/cli/{index-453tzvkg.js → index-r56f3f81.js} +1 -1
  30. package/dist/cli/{index-w0yn4rmh.js → index-swgy9xvk.js} +3 -3
  31. package/dist/cli/{index-axx3t3k7.js → index-t34daffb.js} +1 -1
  32. package/dist/cli/{index-rqh25ns3.js → index-tnpf9wwv.js} +1 -1
  33. package/dist/cli/{index-m7yt3xmk.js → index-x2f1f011.js} +1 -1
  34. package/dist/cli/{index-eqkdjfqa.js → index-zjme8atd.js} +1 -1
  35. package/dist/cli/index.js +19 -19
  36. package/dist/cli/{knowledge-escalator-91d1n291.js → knowledge-escalator-fq7dm2g4.js} +6 -6
  37. package/dist/cli/{knowledge-events-xrd9es3p.js → knowledge-events-3zanyfkr.js} +4 -4
  38. package/dist/cli/{knowledge-store-2brg88cx.js → knowledge-store-vhehnw52.js} +1 -1
  39. package/dist/cli/{knowledge-validator-s1v7kry2.js → knowledge-validator-0tt0pe6b.js} +2 -2
  40. package/dist/cli/{pending-delegations-b341397j.js → pending-delegations-b92pecbj.js} +1 -1
  41. package/dist/cli/{scan-cursor-jm7j3w1c.js → scan-cursor-1c8a3b0m.js} +2 -2
  42. package/dist/cli/{schema-6cpgnq4s.js → schema-c554j5c8.js} +1 -1
  43. package/dist/cli/{scope-persistence-q713ck5n.js → scope-persistence-vtbcszvv.js} +4 -4
  44. package/dist/cli/{skill-generator-z9bs6vdt.js → skill-generator-0es21fck.js} +7 -7
  45. package/dist/cli/{worktree-collision-ownership-drtv7jjp.js → worktree-collision-ownership-043dg8gg.js} +1 -1
  46. package/dist/cli/{worktree-isolation-534h3c2f.js → worktree-isolation-hk42yxw7.js} +19 -19
  47. package/dist/index.js +1 -1
  48. package/package.json +1 -1
@@ -15,13 +15,13 @@ import {
15
15
  protectedRoots,
16
16
  redactDecisionLineForArchive,
17
17
  stableCanonicalStringify
18
- } from "./index-s8c6f9rr.js";
18
+ } from "./index-qynqyfgj.js";
19
19
  import {
20
20
  detectStraySwarmDirs,
21
21
  readDoctorArtifact,
22
22
  removeStraySwarmDir,
23
23
  runConfigDoctor
24
- } from "./index-453tzvkg.js";
24
+ } from "./index-r56f3f81.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-5hgn302x.js";
71
+ } from "./index-d3azve4r.js";
72
72
  import {
73
73
  EvaluationTaskV1Schema,
74
74
  GateAuditManifestV1Schema,
@@ -130,15 +130,15 @@ import {
130
130
  retireSkill,
131
131
  selectCandidateEntries,
132
132
  syncBundledProjectSkillsIfMissingAsync
133
- } from "./index-4xggfhge.js";
133
+ } from "./index-n985274d.js";
134
134
  import {
135
135
  readRecentEscalations
136
- } from "./index-g4bvsapf.js";
136
+ } from "./index-2v06a1yh.js";
137
137
  import {
138
138
  alreadyCuratedThisGeneration,
139
139
  claimNextScanBatch,
140
140
  resolveCohortId
141
- } from "./index-axx3t3k7.js";
141
+ } from "./index-t34daffb.js";
142
142
  import {
143
143
  CURATOR_INIT_PROMPT,
144
144
  CURATOR_PHASE_PROMPT,
@@ -174,7 +174,7 @@ import {
174
174
  listCoderSettlementWalStates,
175
175
  recoverCoderSettlement,
176
176
  recoverStaleCoderSettlements
177
- } from "./index-qy2rm1f6.js";
177
+ } from "./index-g3znh2yd.js";
178
178
  import {
179
179
  parsePorcelainV2Snapshot,
180
180
  resolveCommitCountSince,
@@ -218,7 +218,7 @@ import {
218
218
  validateActionableFields,
219
219
  validateLesson,
220
220
  validateSkillPath
221
- } from "./index-f7t5fn4z.js";
221
+ } from "./index-08y8pccg.js";
222
222
  import {
223
223
  authorizeCuration,
224
224
  buildConfigFingerprintInput
@@ -253,12 +253,12 @@ import {
253
253
  transitionTaskWorkflowEvidence,
254
254
  withTaskEvidenceTransaction,
255
255
  writeWorkflowWalFile
256
- } from "./index-eqkdjfqa.js";
256
+ } from "./index-zjme8atd.js";
257
257
  import {
258
258
  makeWorktreeBranchName,
259
259
  provisionWorktree,
260
260
  removeWorktree
261
- } from "./index-zgz81a8x.js";
261
+ } from "./index-d9gdwh34.js";
262
262
  import {
263
263
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
264
264
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -273,7 +273,7 @@ import {
273
273
  scanBackgroundCoderReservationsForAdmission,
274
274
  scanDelegationsForRecovery,
275
275
  sweepStaleDelegations
276
- } from "./index-t4hs3qk6.js";
276
+ } from "./index-ma52g2pq.js";
277
277
  import {
278
278
  compositeSessionKey,
279
279
  sessionKeySuffix
@@ -323,7 +323,7 @@ import {
323
323
  clearAllScopes,
324
324
  clearScopeBindingFromDisk,
325
325
  clearScopeBindings
326
- } from "./index-pykfqsk0.js";
326
+ } from "./index-2n1ym7jb.js";
327
327
  import {
328
328
  appendLedgerEvent,
329
329
  computePlanHash,
@@ -338,7 +338,7 @@ import {
338
338
  readPlanEpochIdentity,
339
339
  replayFromLedgerWithStatus,
340
340
  takeSnapshotEvent
341
- } from "./index-4t68xs0p.js";
341
+ } from "./index-kvra3nv1.js";
342
342
  import {
343
343
  CORE_EVENT_LOCKED,
344
344
  appendCoreEventSync,
@@ -397,7 +397,7 @@ import {
397
397
  transactFile,
398
398
  transactKnowledge,
399
399
  wordBigrams
400
- } from "./index-ptsmms01.js";
400
+ } from "./index-f923njwh.js";
401
401
  import {
402
402
  MAX_EVENT_LOG_ENTRIES,
403
403
  _internals as _internals2,
@@ -413,10 +413,10 @@ import {
413
413
  recordKnowledgeEvent,
414
414
  recordPhaseCloseIntent,
415
415
  resolveKnowledgeEventsPath
416
- } from "./index-3ab9tczn.js";
416
+ } from "./index-4p0wyz5p.js";
417
417
  import {
418
418
  resolveWorktreeIsolationConfig
419
- } from "./index-3rjxbe1p.js";
419
+ } from "./index-66073kej.js";
420
420
  import {
421
421
  RetrospectiveEvidenceSchema
422
422
  } from "./index-zg9d392c.js";
@@ -439,7 +439,7 @@ import {
439
439
  init_loader,
440
440
  loadPluginConfig,
441
441
  loadPluginConfigWithMeta
442
- } from "./index-rqh25ns3.js";
442
+ } from "./index-tnpf9wwv.js";
443
443
  import {
444
444
  DEFAULT_HARNESS_EVOLUTION_CONFIG,
445
445
  DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
@@ -455,7 +455,7 @@ import {
455
455
  package_default,
456
456
  resolveAutoReviewConfig,
457
457
  stripKnownSwarmPrefix
458
- } from "./index-m7yt3xmk.js";
458
+ } from "./index-x2f1f011.js";
459
459
  import {
460
460
  init_git_executable,
461
461
  resolveGitExecutable,
@@ -20856,7 +20856,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
20856
20856
  };
20857
20857
  }
20858
20858
  async function sweepActiveNearDuplicates(directory, options = {}) {
20859
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w0yn4rmh.js");
20859
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-swgy9xvk.js");
20860
20860
  const { config } = loadPluginConfigWithMeta2(directory);
20861
20861
  const sweepConfig = config.learning?.dedup_sweep;
20862
20862
  if (sweepConfig?.enabled === false)
@@ -21993,7 +21993,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
21993
21993
  }
21994
21994
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
21995
21995
  try {
21996
- const skillModule = await import("./skill-generator-z9bs6vdt.js");
21996
+ const skillModule = await import("./skill-generator-0es21fck.js");
21997
21997
  for (const cand of skillCandidates) {
21998
21998
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
21999
21999
  continue;
@@ -22465,7 +22465,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
22465
22465
  } catch {}
22466
22466
  }
22467
22467
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
22468
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-91d1n291.js");
22468
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-fq7dm2g4.js");
22469
22469
  for (const { id } of contradictedEntries) {
22470
22470
  try {
22471
22471
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -23284,7 +23284,7 @@ async function runCuratorPostMortem(directory, options = {}) {
23284
23284
  warnings.push("Failed to collect knowledge summary.");
23285
23285
  }
23286
23286
  try {
23287
- const { getScanStatus } = await import("./scan-cursor-jm7j3w1c.js");
23287
+ const { getScanStatus } = await import("./scan-cursor-1c8a3b0m.js");
23288
23288
  const scanStatus = await getScanStatus(directory);
23289
23289
  if (scanStatus.remaining_estimate > 0) {
23290
23290
  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.`);
@@ -23456,9 +23456,9 @@ var _internals27 = {
23456
23456
  verifyPostMortemKnowledgeActions,
23457
23457
  repairPostMortemActions,
23458
23458
  loadDefaultKnowledgeConfig: async (directory) => {
23459
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cpgnq4s.js");
23459
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-c554j5c8.js");
23460
23460
  try {
23461
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w0yn4rmh.js");
23461
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-swgy9xvk.js");
23462
23462
  const loaded = loadPluginConfigWithMeta2(directory);
23463
23463
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
23464
23464
  } catch {
@@ -23466,11 +23466,11 @@ var _internals27 = {
23466
23466
  }
23467
23467
  },
23468
23468
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
23469
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-3m8a8qsn.js");
23469
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-as495r18.js");
23470
23470
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
23471
23471
  },
23472
23472
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
23473
- const { checkHivePromotions } = await import("./hive-promoter-vxez5s7m.js");
23473
+ const { checkHivePromotions } = await import("./hive-promoter-c62x2ncb.js");
23474
23474
  return checkHivePromotions(entries, knowledgeConfig, directory);
23475
23475
  },
23476
23476
  applyProposalTriage: async (directory, triage) => {
@@ -23479,7 +23479,7 @@ var _internals27 = {
23479
23479
  activateProposal,
23480
23480
  listSkills: listSkills2,
23481
23481
  sanitizeSlug
23482
- } = await import("./skill-generator-z9bs6vdt.js");
23482
+ } = await import("./skill-generator-0es21fck.js");
23483
23483
  const result = {
23484
23484
  approved: [],
23485
23485
  rejected: [],
@@ -24809,9 +24809,9 @@ function hashContent(content) {
24809
24809
  return createHash15("sha1").update(content).digest("hex");
24810
24810
  }
24811
24811
  async function loadConfigForPolicyCurator(directory) {
24812
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cpgnq4s.js");
24812
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-c554j5c8.js");
24813
24813
  try {
24814
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w0yn4rmh.js");
24814
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-swgy9xvk.js");
24815
24815
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
24816
24816
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
24817
24817
  } catch {
@@ -37496,7 +37496,7 @@ async function runFinalizeStage(ctx) {
37496
37496
  }
37497
37497
  }
37498
37498
  try {
37499
- const { CuratorConfigSchema: CCS } = await import("./schema-6cpgnq4s.js");
37499
+ const { CuratorConfigSchema: CCS } = await import("./schema-c554j5c8.js");
37500
37500
  const { config: pmLoadedConfig } = _internals41.loadPluginConfigWithMeta(ctx.directory);
37501
37501
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
37502
37502
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -39720,9 +39720,9 @@ var _internals45 = {
39720
39720
  loadPluginConfigWithMeta,
39721
39721
  loadCuratorDeps: async () => {
39722
39722
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
39723
- import("./schema-6cpgnq4s.js"),
39724
- import("./curator-3m8a8qsn.js"),
39725
- import("./curator-llm-factory-p00hks4v.js")
39723
+ import("./schema-c554j5c8.js"),
39724
+ import("./curator-as495r18.js"),
39725
+ import("./curator-llm-factory-v8vwz20c.js")
39726
39726
  ]);
39727
39727
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
39728
39728
  }
@@ -40731,7 +40731,7 @@ async function computeCurationDiagnostics(directory, entries) {
40731
40731
  let scanCompleted = false;
40732
40732
  let scanRemaining = 0;
40733
40733
  try {
40734
- const { getScanStatus } = await import("./scan-cursor-jm7j3w1c.js");
40734
+ const { getScanStatus } = await import("./scan-cursor-1c8a3b0m.js");
40735
40735
  const status = await getScanStatus(directory);
40736
40736
  scanGeneration = status.generation;
40737
40737
  scanCompleted = status.completed;
@@ -40741,10 +40741,10 @@ async function computeCurationDiagnostics(directory, entries) {
40741
40741
  try {
40742
40742
  const { isLinked: isLinked2 } = await import("./knowledge-link-vmdj5e5d.js");
40743
40743
  if (isLinked2(directory)) {
40744
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cpgnq4s.js");
40744
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-c554j5c8.js");
40745
40745
  let config;
40746
40746
  try {
40747
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w0yn4rmh.js");
40747
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-swgy9xvk.js");
40748
40748
  const loaded = loadPluginConfigWithMeta2(directory);
40749
40749
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
40750
40750
  } catch {
@@ -42092,7 +42092,7 @@ async function handleDoctorCommand(directory, args) {
42092
42092
  const result = runConfigDoctor(config, directory);
42093
42093
  let output;
42094
42094
  if (enableAutoFix && result.hasAutoFixableIssues) {
42095
- const { runConfigDoctorWithFixes } = await import("./config-doctor-p16xr78z.js");
42095
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-0fnqzqz1.js");
42096
42096
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
42097
42097
  applyLossy: true
42098
42098
  });
@@ -43032,7 +43032,7 @@ async function handleEvidenceCommand(directory, args) {
43032
43032
  return formatTaskEvidenceMarkdown(evidenceData);
43033
43033
  }
43034
43034
  async function handleEvidenceSummaryCommand(directory) {
43035
- const { buildEvidenceSummary } = await import("./evidence-summary-service-4ghqakhx.js");
43035
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-51dxfcn5.js");
43036
43036
  const artifact = await buildEvidenceSummary(directory);
43037
43037
  if (!artifact) {
43038
43038
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -80516,7 +80516,7 @@ function buildDetailedHelp(commandName, entry) {
80516
80516
  async function handleHelpCommand(ctx) {
80517
80517
  const targetCommand = ctx.args.join(" ");
80518
80518
  if (!targetCommand) {
80519
- const { buildHelpText } = await import("./index-nwa7ctyf.js");
80519
+ const { buildHelpText } = await import("./index-etvq73mp.js");
80520
80520
  return buildHelpText();
80521
80521
  }
80522
80522
  const tokens = targetCommand.split(/\s+/);
@@ -80525,7 +80525,7 @@ async function handleHelpCommand(ctx) {
80525
80525
  return _internals101.buildDetailedHelp(resolved.key, resolved.entry);
80526
80526
  }
80527
80527
  const similar = _internals101.findSimilarCommands(targetCommand);
80528
- const { buildHelpText: fullHelp } = await import("./index-nwa7ctyf.js");
80528
+ const { buildHelpText: fullHelp } = await import("./index-etvq73mp.js");
80529
80529
  if (similar.length > 0) {
80530
80530
  return `Command '/swarm ${targetCommand}' not found.
80531
80531
 
@@ -80856,7 +80856,7 @@ var COMMAND_REGISTRY = {
80856
80856
  },
80857
80857
  "guardrail explain": {
80858
80858
  handler: async (ctx) => {
80859
- const { handleGuardrailExplain } = await import("./guardrail-explain-smqenqtm.js");
80859
+ const { handleGuardrailExplain } = await import("./guardrail-explain-z2qb6v67.js");
80860
80860
  return handleGuardrailExplain(ctx.directory, ctx.args);
80861
80861
  },
80862
80862
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -80866,7 +80866,7 @@ var COMMAND_REGISTRY = {
80866
80866
  },
80867
80867
  "guardrail reset": {
80868
80868
  handler: async (ctx) => {
80869
- const { handleGuardrailReset } = await import("./guardrail-reset-zge5hg4p.js");
80869
+ const { handleGuardrailReset } = await import("./guardrail-reset-mrxrc56j.js");
80870
80870
  return handleGuardrailReset(ctx.args, ctx.sessionID);
80871
80871
  },
80872
80872
  description: "Reset one exact active invocation/action circuit after repair",
@@ -80875,7 +80875,7 @@ var COMMAND_REGISTRY = {
80875
80875
  },
80876
80876
  "guardrail-explain": {
80877
80877
  handler: async (ctx) => {
80878
- const { handleGuardrailExplain } = await import("./guardrail-explain-smqenqtm.js");
80878
+ const { handleGuardrailExplain } = await import("./guardrail-explain-z2qb6v67.js");
80879
80879
  return handleGuardrailExplain(ctx.directory, ctx.args);
80880
80880
  },
80881
80881
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -80885,7 +80885,7 @@ var COMMAND_REGISTRY = {
80885
80885
  },
80886
80886
  "guardrail-reset": {
80887
80887
  handler: async (ctx) => {
80888
- const { handleGuardrailReset } = await import("./guardrail-reset-zge5hg4p.js");
80888
+ const { handleGuardrailReset } = await import("./guardrail-reset-mrxrc56j.js");
80889
80889
  return handleGuardrailReset(ctx.args, ctx.sessionID);
80890
80890
  },
80891
80891
  description: "Reset one exact active invocation/action circuit after repair",
@@ -80895,7 +80895,7 @@ var COMMAND_REGISTRY = {
80895
80895
  },
80896
80896
  "guardrail-log": {
80897
80897
  handler: async (ctx) => {
80898
- const { handleGuardrailLog } = await import("./guardrail-log-mmh4b4k4.js");
80898
+ const { handleGuardrailLog } = await import("./guardrail-log-2kwntcqw.js");
80899
80899
  return handleGuardrailLog(ctx.directory, ctx.args);
80900
80900
  },
80901
80901
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -87337,7 +87337,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
87337
87337
  return extracted === expectedSessionId;
87338
87338
  }
87339
87339
  async function inspectStandardWorktreeCollisionOwnership(identity) {
87340
- const collisionOwnership = await import("./worktree-collision-ownership-drtv7jjp.js");
87340
+ const collisionOwnership = await import("./worktree-collision-ownership-043dg8gg.js");
87341
87341
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
87342
87342
  }
87343
87343
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -87746,7 +87746,7 @@ async function precreateStandardWorktreeSession(args) {
87746
87746
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
87747
87747
  if (laneProfile) {
87748
87748
  try {
87749
- const { writeLaneProfileToDiskReal } = await import("./core-g088v0zt.js");
87749
+ const { writeLaneProfileToDiskReal } = await import("./core-w81fk5sc.js");
87750
87750
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
87751
87751
  } catch {}
87752
87752
  }
@@ -88671,7 +88671,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
88671
88671
  }
88672
88672
  clearWorktreeMergeStatus(statusKey);
88673
88673
  try {
88674
- const { removeLaneProfileFromDiskReal } = await import("./core-g088v0zt.js");
88674
+ const { removeLaneProfileFromDiskReal } = await import("./core-w81fk5sc.js");
88675
88675
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
88676
88676
  } catch {}
88677
88677
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-4t68xs0p.js";
5
+ } from "./index-kvra3nv1.js";
6
6
  import {
7
7
  appendCoreEventSync
8
8
  } from "./index-8ada7ag7.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./index-556ja8an.js";
12
12
  import {
13
13
  PlanSchema
14
- } from "./index-rqh25ns3.js";
14
+ } from "./index-tnpf9wwv.js";
15
15
  import {
16
16
  assertProjectRoot
17
17
  } from "./index-9crtmnqg.js";
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-ptsmms01.js";
9
+ } from "./index-f923njwh.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-3ab9tczn.js";
14
+ } from "./index-4p0wyz5p.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-s1v7kry2.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-0tt0pe6b.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-6cpgnq4s.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-w0yn4rmh.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-c554j5c8.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-swgy9xvk.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -4,11 +4,11 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-rqh25ns3.js";
7
+ } from "./index-tnpf9wwv.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-m7yt3xmk.js";
11
+ } from "./index-x2f1f011.js";
12
12
  import {
13
13
  observeReceiptTransition
14
14
  } from "./index-cqgpvx2d.js";
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2810
2810
  }
2811
2811
  let bumps = 0;
2812
2812
  if (deltas.length > 0) {
2813
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-2brg88cx.js");
2813
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-vhehnw52.js");
2814
2814
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2815
2815
  }
2816
2816
  return {
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-s8c6f9rr.js";
7
+ } from "./index-qynqyfgj.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-rqh25ns3.js";
5
+ } from "./index-tnpf9wwv.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-m7yt3xmk.js";
8
+ } from "./index-x2f1f011.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-eqkdjfqa.js";
26
+ } from "./index-zjme8atd.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-4t68xs0p.js";
46
+ } from "./index-kvra3nv1.js";
47
47
  import {
48
48
  appendCoreEventSync
49
49
  } from "./index-8ada7ag7.js";
@@ -70,7 +70,7 @@ import {
70
70
  } from "./index-r3mvsbtq.js";
71
71
  import {
72
72
  PlanSchema
73
- } from "./index-rqh25ns3.js";
73
+ } from "./index-tnpf9wwv.js";
74
74
  import {
75
75
  GIT_BINARY_ENV_VAR,
76
76
  describeGitResolution,
@@ -92,7 +92,7 @@ var _internals = {
92
92
  symlinkSync: fs.symlinkSync
93
93
  },
94
94
  writeScopeToDisk: async (directory, taskId, files) => {
95
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-q713ck5n.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-vtbcszvv.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-w1mc7gcm.js";
4
+ } from "./index-m1fvbah1.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-m4nhy4fp.js";
7
+ } from "./index-5056zmpt.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -94,55 +94,55 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-7wb2v7jg.js";
97
+ } from "./index-0tervb1m.js";
98
98
  import"./index-xyhmt813.js";
99
- import"./index-s8c6f9rr.js";
100
- import"./index-453tzvkg.js";
101
- import"./index-5hgn302x.js";
99
+ import"./index-qynqyfgj.js";
100
+ import"./index-r56f3f81.js";
101
+ import"./index-d3azve4r.js";
102
102
  import"./index-0103w5pf.js";
103
103
  import"./index-txdagbh7.js";
104
104
  import"./index-n249fbw7.js";
105
105
  import"./index-3146wmgv.js";
106
- import"./index-4xggfhge.js";
107
- import"./index-g4bvsapf.js";
108
- import"./index-axx3t3k7.js";
106
+ import"./index-n985274d.js";
107
+ import"./index-2v06a1yh.js";
108
+ import"./index-t34daffb.js";
109
109
  import"./index-70ha9e09.js";
110
110
  import"./index-c8s9a3zh.js";
111
111
  import"./index-9ss2m4rs.js";
112
112
  import"./index-7n9jznv0.js";
113
113
  import"./index-zsrtt42s.js";
114
- import"./index-qy2rm1f6.js";
114
+ import"./index-g3znh2yd.js";
115
115
  import"./index-3f7hqtgg.js";
116
116
  import"./index-fckfgptr.js";
117
- import"./index-f7t5fn4z.js";
117
+ import"./index-08y8pccg.js";
118
118
  import"./index-hm239n1p.js";
119
119
  import"./index-rtry5xyf.js";
120
- import"./index-eqkdjfqa.js";
121
- import"./index-zgz81a8x.js";
122
- import"./index-t4hs3qk6.js";
120
+ import"./index-zjme8atd.js";
121
+ import"./index-d9gdwh34.js";
122
+ import"./index-ma52g2pq.js";
123
123
  import"./index-ddszzne4.js";
124
124
  import"./index-mmngnxev.js";
125
125
  import"./index-w7ekntej.js";
126
- import"./index-pykfqsk0.js";
127
- import"./index-4t68xs0p.js";
126
+ import"./index-2n1ym7jb.js";
127
+ import"./index-kvra3nv1.js";
128
128
  import"./index-8ada7ag7.js";
129
129
  import"./index-556ja8an.js";
130
130
  import"./index-4fwbbad3.js";
131
131
  import"./index-b43rt5ph.js";
132
132
  import"./index-q7sjgr1y.js";
133
- import"./index-ptsmms01.js";
134
- import"./index-3ab9tczn.js";
135
- import"./index-3rjxbe1p.js";
133
+ import"./index-f923njwh.js";
134
+ import"./index-4p0wyz5p.js";
135
+ import"./index-66073kej.js";
136
136
  import"./index-zg9d392c.js";
137
137
  import"./index-n832052r.js";
138
138
  import"./index-dtn0pne5.js";
139
139
  import"./index-z6xqpmqg.js";
140
140
  import"./index-r3mvsbtq.js";
141
- import"./index-rqh25ns3.js";
141
+ import"./index-tnpf9wwv.js";
142
142
  import {
143
143
  init_schema,
144
144
  stripKnownSwarmPrefix
145
- } from "./index-m7yt3xmk.js";
145
+ } from "./index-x2f1f011.js";
146
146
  import"./index-9e6fdz2h.js";
147
147
  import"./index-4rhhvd1a.js";
148
148
  import"./index-cqgpvx2d.js";
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-xrd9es3p.js");
716
+ } = await import("./knowledge-events-3zanyfkr.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-s1v7kry2.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-6cpgnq4s.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-0tt0pe6b.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-c554j5c8.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-w0yn4rmh.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-swgy9xvk.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -13,7 +13,7 @@ import {
13
13
  reconcileLandedMerge,
14
14
  withTaskEvidenceTransaction,
15
15
  writeWorkflowWalFile
16
- } from "./index-eqkdjfqa.js";
16
+ } from "./index-zjme8atd.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-534h3c2f.js");
481
+ } = await import("./worktree-isolation-hk42yxw7.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-534h3c2f.js");
605
+ } = await import("./worktree-isolation-hk42yxw7.js");
606
606
  const descriptor = wal.worktree;
607
607
  const reconstructedDispatch = {
608
608
  callID: descriptor.callID,
@@ -4,7 +4,7 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-rqh25ns3.js";
7
+ } from "./index-tnpf9wwv.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock