opencode-swarm 7.137.1 → 7.137.2

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 (39) hide show
  1. package/dist/cli/{config-doctor-b9r9rt2c.js → config-doctor-xrbzq4r0.js} +2 -2
  2. package/dist/cli/{curation-policy-ftx2emfw.js → curation-policy-xyradeax.js} +2 -2
  3. package/dist/cli/{curator-1sxxtbq7.js → curator-h1ea9skz.js} +12 -12
  4. package/dist/cli/{curator-llm-factory-yhqbkc5w.js → curator-llm-factory-rk7pccwc.js} +12 -12
  5. package/dist/cli/{guardrail-explain-qh1y8jsz.js → guardrail-explain-sq1kcah3.js} +13 -13
  6. package/dist/cli/{guardrail-log-84zffdv3.js → guardrail-log-7anp1z1n.js} +3 -3
  7. package/dist/cli/{hive-promoter-hpe29xrz.js → hive-promoter-qsymj94z.js} +12 -12
  8. package/dist/cli/{index-m4s91910.js → index-02jqxmh8.js} +5 -5
  9. package/dist/cli/{index-d67810xe.js → index-1da1tvtn.js} +1 -1
  10. package/dist/cli/{index-t5099rx9.js → index-4t39wzzg.js} +1 -1
  11. package/dist/cli/{index-e0nvge1c.js → index-5k0csd2m.js} +2 -2
  12. package/dist/cli/{index-t2mv25yf.js → index-9casmxdt.js} +4 -4
  13. package/dist/cli/{index-em10pmph.js → index-aygnzd04.js} +1 -1
  14. package/dist/cli/{index-9vqxf9pd.js → index-d735dzm7.js} +37 -36
  15. package/dist/cli/{index-pbe51g7h.js → index-gey6qegb.js} +1 -1
  16. package/dist/cli/{index-k8y41t4y.js → index-jdqayy7h.js} +2 -2
  17. package/dist/cli/{index-bxk0a1r9.js → index-kakb2jm0.js} +1 -1
  18. package/dist/cli/{index-7e60c7ay.js → index-p0kez6cn.js} +14 -14
  19. package/dist/cli/{index-zxf5w0jj.js → index-pwx989sa.js} +3 -3
  20. package/dist/cli/{index-gd47gp2q.js → index-rfrkt29c.js} +1 -1
  21. package/dist/cli/{index-a3gpeb4f.js → index-s9at02fn.js} +1 -1
  22. package/dist/cli/{index-1qn2gchc.js → index-vyh2prxv.js} +1 -1
  23. package/dist/cli/{index-d8rc8c9y.js → index-ysh3a2nb.js} +2 -2
  24. package/dist/cli/index.js +12 -12
  25. package/dist/cli/{knowledge-escalator-3ds615yq.js → knowledge-escalator-e9zk371p.js} +3 -3
  26. package/dist/cli/{knowledge-events-3c0g2xbm.js → knowledge-events-dnyc1k78.js} +1 -1
  27. package/dist/cli/{knowledge-store-pq43990j.js → knowledge-store-x4vqyhbz.js} +1 -1
  28. package/dist/cli/{knowledge-validator-gepda374.js → knowledge-validator-72jdx5ze.js} +4 -4
  29. package/dist/cli/{scan-cursor-5hq37qdg.js → scan-cursor-z4xpes5f.js} +2 -2
  30. package/dist/cli/{schema-mrbyt7dg.js → schema-2dkw18zz.js} +1 -1
  31. package/dist/cli/{skill-generator-3gt8em6v.js → skill-generator-0q1jk6xd.js} +5 -5
  32. package/dist/council/council-evidence-writer.d.ts +2 -1
  33. package/dist/council/council-round-state.d.ts +110 -0
  34. package/dist/council/types.d.ts +0 -2
  35. package/dist/index.js +60 -56
  36. package/dist/tools/convene-council.d.ts +2 -17
  37. package/dist/tools/submit-phase-council-verdicts.d.ts +0 -1
  38. package/dist/tools/write-final-council-evidence.d.ts +4 -18
  39. package/package.json +1 -1
@@ -12,8 +12,8 @@ import {
12
12
  shouldRunOnStartup,
13
13
  writeBackupArtifact,
14
14
  writeDoctorArtifact
15
- } from "./index-gd47gp2q.js";
16
- import"./index-1qn2gchc.js";
15
+ } from "./index-rfrkt29c.js";
16
+ import"./index-vyh2prxv.js";
17
17
  import"./index-bk5tah7q.js";
18
18
  import"./index-3jcyn8g6.js";
19
19
  import"./index-bpmtbmy9.js";
@@ -4,9 +4,9 @@ import {
4
4
  authorizeCuration,
5
5
  buildConfigFingerprintInput,
6
6
  readCohortConfigFingerprint
7
- } from "./index-a3gpeb4f.js";
7
+ } from "./index-s9at02fn.js";
8
8
  import"./index-rtry5xyf.js";
9
- import"./index-t5099rx9.js";
9
+ import"./index-4t39wzzg.js";
10
10
  import"./index-ae75rja9.js";
11
11
  import"./index-vft1pg34.js";
12
12
  import"./index-n3h6rmbe.js";
@@ -14,36 +14,36 @@ import {
14
14
  runCuratorInit,
15
15
  runCuratorPhase,
16
16
  writeCuratorSummary
17
- } from "./index-9vqxf9pd.js";
17
+ } from "./index-d735dzm7.js";
18
18
  import"./index-vm4xw9z3.js";
19
19
  import"./index-b2s3t517.js";
20
- import"./index-em10pmph.js";
21
- import"./index-gd47gp2q.js";
20
+ import"./index-aygnzd04.js";
21
+ import"./index-rfrkt29c.js";
22
22
  import"./index-1zrb3vt2.js";
23
23
  import"./index-5wjw05dy.js";
24
24
  import"./index-y8552snf.js";
25
25
  import"./index-4905hd2m.js";
26
26
  import"./index-134d35c1.js";
27
- import"./index-zxf5w0jj.js";
28
- import"./index-m4s91910.js";
29
- import"./index-bxk0a1r9.js";
27
+ import"./index-pwx989sa.js";
28
+ import"./index-02jqxmh8.js";
29
+ import"./index-kakb2jm0.js";
30
30
  import"./index-6mjf4vr1.js";
31
31
  import"./index-c8s9a3zh.js";
32
32
  import"./index-9ss2m4rs.js";
33
33
  import"./index-wsdnttf4.js";
34
34
  import"./index-5r6kkhd7.js";
35
- import"./index-k8y41t4y.js";
36
- import"./index-a3gpeb4f.js";
35
+ import"./index-jdqayy7h.js";
36
+ import"./index-s9at02fn.js";
37
37
  import"./index-rtry5xyf.js";
38
- import"./index-t2mv25yf.js";
39
- import"./index-t5099rx9.js";
38
+ import"./index-9casmxdt.js";
39
+ import"./index-4t39wzzg.js";
40
40
  import"./index-ae75rja9.js";
41
41
  import"./index-vft1pg34.js";
42
42
  import"./index-n3h6rmbe.js";
43
- import"./index-d67810xe.js";
43
+ import"./index-1da1tvtn.js";
44
44
  import"./index-k5jrywpr.js";
45
45
  import"./index-n832052r.js";
46
- import"./index-1qn2gchc.js";
46
+ import"./index-vyh2prxv.js";
47
47
  import"./index-bk5tah7q.js";
48
48
  import"./index-8fwhhayc.js";
49
49
  import"./index-q1exe2b3.js";
@@ -1,36 +1,36 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-9vqxf9pd.js";
4
+ } from "./index-d735dzm7.js";
5
5
  import"./index-vm4xw9z3.js";
6
6
  import"./index-b2s3t517.js";
7
- import"./index-em10pmph.js";
8
- import"./index-gd47gp2q.js";
7
+ import"./index-aygnzd04.js";
8
+ import"./index-rfrkt29c.js";
9
9
  import"./index-1zrb3vt2.js";
10
10
  import"./index-5wjw05dy.js";
11
11
  import"./index-y8552snf.js";
12
12
  import"./index-4905hd2m.js";
13
13
  import"./index-134d35c1.js";
14
- import"./index-zxf5w0jj.js";
15
- import"./index-m4s91910.js";
16
- import"./index-bxk0a1r9.js";
14
+ import"./index-pwx989sa.js";
15
+ import"./index-02jqxmh8.js";
16
+ import"./index-kakb2jm0.js";
17
17
  import"./index-6mjf4vr1.js";
18
18
  import"./index-c8s9a3zh.js";
19
19
  import"./index-9ss2m4rs.js";
20
20
  import"./index-wsdnttf4.js";
21
21
  import"./index-5r6kkhd7.js";
22
- import"./index-k8y41t4y.js";
23
- import"./index-a3gpeb4f.js";
22
+ import"./index-jdqayy7h.js";
23
+ import"./index-s9at02fn.js";
24
24
  import"./index-rtry5xyf.js";
25
- import"./index-t2mv25yf.js";
26
- import"./index-t5099rx9.js";
25
+ import"./index-9casmxdt.js";
26
+ import"./index-4t39wzzg.js";
27
27
  import"./index-ae75rja9.js";
28
28
  import"./index-vft1pg34.js";
29
29
  import"./index-n3h6rmbe.js";
30
- import"./index-d67810xe.js";
30
+ import"./index-1da1tvtn.js";
31
31
  import"./index-k5jrywpr.js";
32
32
  import"./index-n832052r.js";
33
- import"./index-1qn2gchc.js";
33
+ import"./index-vyh2prxv.js";
34
34
  import"./index-bk5tah7q.js";
35
35
  import"./index-8fwhhayc.js";
36
36
  import"./index-q1exe2b3.js";
@@ -1,37 +1,37 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-d8rc8c9y.js";
5
- import"./index-9vqxf9pd.js";
4
+ } from "./index-ysh3a2nb.js";
5
+ import"./index-d735dzm7.js";
6
6
  import"./index-vm4xw9z3.js";
7
7
  import"./index-b2s3t517.js";
8
- import"./index-em10pmph.js";
9
- import"./index-gd47gp2q.js";
8
+ import"./index-aygnzd04.js";
9
+ import"./index-rfrkt29c.js";
10
10
  import"./index-1zrb3vt2.js";
11
11
  import"./index-5wjw05dy.js";
12
12
  import"./index-y8552snf.js";
13
13
  import"./index-4905hd2m.js";
14
14
  import"./index-134d35c1.js";
15
- import"./index-zxf5w0jj.js";
16
- import"./index-m4s91910.js";
17
- import"./index-bxk0a1r9.js";
15
+ import"./index-pwx989sa.js";
16
+ import"./index-02jqxmh8.js";
17
+ import"./index-kakb2jm0.js";
18
18
  import"./index-6mjf4vr1.js";
19
19
  import"./index-c8s9a3zh.js";
20
20
  import"./index-9ss2m4rs.js";
21
21
  import"./index-wsdnttf4.js";
22
22
  import"./index-5r6kkhd7.js";
23
- import"./index-k8y41t4y.js";
24
- import"./index-a3gpeb4f.js";
23
+ import"./index-jdqayy7h.js";
24
+ import"./index-s9at02fn.js";
25
25
  import"./index-rtry5xyf.js";
26
- import"./index-t2mv25yf.js";
27
- import"./index-t5099rx9.js";
26
+ import"./index-9casmxdt.js";
27
+ import"./index-4t39wzzg.js";
28
28
  import"./index-ae75rja9.js";
29
29
  import"./index-vft1pg34.js";
30
30
  import"./index-n3h6rmbe.js";
31
- import"./index-d67810xe.js";
31
+ import"./index-1da1tvtn.js";
32
32
  import"./index-k5jrywpr.js";
33
33
  import"./index-n832052r.js";
34
- import"./index-1qn2gchc.js";
34
+ import"./index-vyh2prxv.js";
35
35
  import"./index-bk5tah7q.js";
36
36
  import"./index-8fwhhayc.js";
37
37
  import"./index-q1exe2b3.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-pbe51g7h.js";
5
- import"./index-em10pmph.js";
6
- import"./index-1qn2gchc.js";
4
+ } from "./index-gey6qegb.js";
5
+ import"./index-aygnzd04.js";
6
+ import"./index-vyh2prxv.js";
7
7
  import"./index-bk5tah7q.js";
8
8
  import"./index-3jcyn8g6.js";
9
9
  import"./index-bpmtbmy9.js";
@@ -7,38 +7,38 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-9vqxf9pd.js";
10
+ } from "./index-d735dzm7.js";
11
11
  import"./index-vm4xw9z3.js";
12
12
  import"./index-b2s3t517.js";
13
- import"./index-em10pmph.js";
14
- import"./index-gd47gp2q.js";
13
+ import"./index-aygnzd04.js";
14
+ import"./index-rfrkt29c.js";
15
15
  import"./index-1zrb3vt2.js";
16
16
  import"./index-5wjw05dy.js";
17
17
  import"./index-y8552snf.js";
18
18
  import"./index-4905hd2m.js";
19
19
  import"./index-134d35c1.js";
20
- import"./index-zxf5w0jj.js";
21
- import"./index-m4s91910.js";
22
- import"./index-bxk0a1r9.js";
20
+ import"./index-pwx989sa.js";
21
+ import"./index-02jqxmh8.js";
22
+ import"./index-kakb2jm0.js";
23
23
  import"./index-6mjf4vr1.js";
24
24
  import"./index-c8s9a3zh.js";
25
25
  import"./index-9ss2m4rs.js";
26
26
  import"./index-wsdnttf4.js";
27
27
  import"./index-5r6kkhd7.js";
28
- import"./index-k8y41t4y.js";
29
- import"./index-a3gpeb4f.js";
28
+ import"./index-jdqayy7h.js";
29
+ import"./index-s9at02fn.js";
30
30
  import"./index-rtry5xyf.js";
31
31
  import {
32
32
  resolveHiveKnowledgePath
33
- } from "./index-t2mv25yf.js";
34
- import"./index-t5099rx9.js";
33
+ } from "./index-9casmxdt.js";
34
+ import"./index-4t39wzzg.js";
35
35
  import"./index-ae75rja9.js";
36
36
  import"./index-vft1pg34.js";
37
37
  import"./index-n3h6rmbe.js";
38
- import"./index-d67810xe.js";
38
+ import"./index-1da1tvtn.js";
39
39
  import"./index-k5jrywpr.js";
40
40
  import"./index-n832052r.js";
41
- import"./index-1qn2gchc.js";
41
+ import"./index-vyh2prxv.js";
42
42
  import"./index-bk5tah7q.js";
43
43
  import"./index-8fwhhayc.js";
44
44
  import"./index-q1exe2b3.js";
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-t2mv25yf.js";
9
+ } from "./index-9casmxdt.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-t5099rx9.js";
15
+ } from "./index-4t39wzzg.js";
16
16
  import {
17
17
  init_knowledge_types,
18
18
  isActiveStatus
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
190
190
  alreadyInactive: true
191
191
  };
192
192
  }
193
- const { quarantineEntry } = await import("./knowledge-validator-gepda374.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-72jdx5ze.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-mrbyt7dg.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-e0nvge1c.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-2dkw18zz.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-5k0csd2m.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-1qn2gchc.js";
9
+ } from "./index-vyh2prxv.js";
10
10
  import {
11
11
  advisoryWarn,
12
12
  init_warning_buffer
@@ -625,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
625
625
  deltas.push({ id, delta });
626
626
  }
627
627
  if (deltas.length > 0) {
628
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-pq43990j.js");
628
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-x4vqyhbz.js");
629
629
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
630
630
  }
631
631
  return {
@@ -7,7 +7,7 @@ import {
7
7
  loadPluginConfigWithMeta,
8
8
  loadPluginConfigWithMetaAsync,
9
9
  resolveWorktreeIsolationConfig
10
- } from "./index-d67810xe.js";
10
+ } from "./index-1da1tvtn.js";
11
11
  import {
12
12
  ApprovalEvidenceSchema,
13
13
  BaseEvidenceSchema,
@@ -54,7 +54,7 @@ import {
54
54
  TurboConfigSchema,
55
55
  WorktreeIsolationConfigSchema,
56
56
  resolveAutoReviewConfig
57
- } from "./index-1qn2gchc.js";
57
+ } from "./index-vyh2prxv.js";
58
58
  import"./index-bk5tah7q.js";
59
59
  import {
60
60
  MigrationStatusSchema,
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
702
702
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
703
703
  if (atFloor.length === 0 && recovered.length === 0)
704
704
  return;
705
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-3c0g2xbm.js");
705
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-dnyc1k78.js");
706
706
  const rollups = await readKnowledgeCounterRollups(directory);
707
707
  const flagIds = new Set;
708
708
  for (const e of atFloor) {
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
769
769
  });
770
770
  }
771
771
  if (action === "quarantine" && toQuarantine.length > 0) {
772
- const { quarantineEntry } = await import("./knowledge-validator-gepda374.js");
773
- const { KnowledgeConfigSchema } = await import("./schema-mrbyt7dg.js");
772
+ const { quarantineEntry } = await import("./knowledge-validator-72jdx5ze.js");
773
+ const { KnowledgeConfigSchema } = await import("./schema-2dkw18zz.js");
774
774
  let config;
775
775
  try {
776
- const { loadPluginConfigWithMeta } = await import("./index-e0nvge1c.js");
776
+ const { loadPluginConfigWithMeta } = await import("./index-5k0csd2m.js");
777
777
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
778
778
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
779
779
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  init_schema,
4
4
  stripKnownSwarmPrefix
5
- } from "./index-1qn2gchc.js";
5
+ } from "./index-vyh2prxv.js";
6
6
  import {
7
7
  init_constants
8
8
  } from "./index-3jcyn8g6.js";
@@ -16,13 +16,13 @@ import {
16
16
  } from "./index-b2s3t517.js";
17
17
  import {
18
18
  stableCanonicalStringify
19
- } from "./index-em10pmph.js";
19
+ } from "./index-aygnzd04.js";
20
20
  import {
21
21
  detectStraySwarmDirs,
22
22
  readDoctorArtifact,
23
23
  removeStraySwarmDir,
24
24
  runConfigDoctor
25
- } from "./index-gd47gp2q.js";
25
+ } from "./index-rfrkt29c.js";
26
26
  import {
27
27
  MAX_TRANSIENT_RETRIES,
28
28
  archiveEvidence,
@@ -114,15 +114,15 @@ import {
114
114
  retireSkill,
115
115
  selectCandidateEntries,
116
116
  syncBundledProjectSkillsIfMissingAsync
117
- } from "./index-zxf5w0jj.js";
117
+ } from "./index-pwx989sa.js";
118
118
  import {
119
119
  readRecentEscalations
120
- } from "./index-m4s91910.js";
120
+ } from "./index-02jqxmh8.js";
121
121
  import {
122
122
  alreadyCuratedThisGeneration,
123
123
  claimNextScanBatch,
124
124
  resolveCohortId
125
- } from "./index-bxk0a1r9.js";
125
+ } from "./index-kakb2jm0.js";
126
126
  import {
127
127
  CURATOR_INIT_PROMPT,
128
128
  CURATOR_PHASE_PROMPT,
@@ -175,11 +175,11 @@ import {
175
175
  validateActionableFields,
176
176
  validateLesson,
177
177
  validateSkillPath
178
- } from "./index-k8y41t4y.js";
178
+ } from "./index-jdqayy7h.js";
179
179
  import {
180
180
  authorizeCuration,
181
181
  buildConfigFingerprintInput
182
- } from "./index-a3gpeb4f.js";
182
+ } from "./index-s9at02fn.js";
183
183
  import {
184
184
  cohortConfigFingerprint
185
185
  } from "./index-rtry5xyf.js";
@@ -212,7 +212,7 @@ import {
212
212
  transactFile,
213
213
  transactKnowledge,
214
214
  wordBigrams
215
- } from "./index-t2mv25yf.js";
215
+ } from "./index-9casmxdt.js";
216
216
  import {
217
217
  MAX_EVENT_LOG_ENTRIES,
218
218
  _internals,
@@ -222,7 +222,7 @@ import {
222
222
  recordHiveKnowledgeEvent,
223
223
  recordKnowledgeEvent,
224
224
  resolveKnowledgeEventsPath
225
- } from "./index-t5099rx9.js";
225
+ } from "./index-4t39wzzg.js";
226
226
  import {
227
227
  resolveHiveDataDir,
228
228
  resolveHiveEventsPath,
@@ -247,7 +247,7 @@ import {
247
247
  init_loader,
248
248
  loadPluginConfig,
249
249
  loadPluginConfigWithMeta
250
- } from "./index-d67810xe.js";
250
+ } from "./index-1da1tvtn.js";
251
251
  import {
252
252
  RetrospectiveEvidenceSchema
253
253
  } from "./index-k5jrywpr.js";
@@ -263,7 +263,7 @@ import {
263
263
  package_default,
264
264
  resolveAutoReviewConfig,
265
265
  stripKnownSwarmPrefix
266
- } from "./index-1qn2gchc.js";
266
+ } from "./index-vyh2prxv.js";
267
267
  import {
268
268
  KNOWLEDGE_SCHEMA_VERSION,
269
269
  OUTCOME_BLOCK_THRESHOLD,
@@ -18469,7 +18469,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
18469
18469
  };
18470
18470
  }
18471
18471
  async function sweepActiveNearDuplicates(directory, options = {}) {
18472
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e0nvge1c.js");
18472
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5k0csd2m.js");
18473
18473
  const { config } = loadPluginConfigWithMeta2(directory);
18474
18474
  const sweepConfig = config.learning?.dedup_sweep;
18475
18475
  if (sweepConfig?.enabled === false)
@@ -20062,7 +20062,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
20062
20062
  }
20063
20063
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
20064
20064
  try {
20065
- const skillModule = await import("./skill-generator-3gt8em6v.js");
20065
+ const skillModule = await import("./skill-generator-0q1jk6xd.js");
20066
20066
  for (const cand of skillCandidates) {
20067
20067
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
20068
20068
  continue;
@@ -20522,7 +20522,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
20522
20522
  } catch {}
20523
20523
  }
20524
20524
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
20525
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-3ds615yq.js");
20525
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-e9zk371p.js");
20526
20526
  for (const { id } of contradictedEntries) {
20527
20527
  try {
20528
20528
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -21341,7 +21341,7 @@ async function runCuratorPostMortem(directory, options = {}) {
21341
21341
  warnings.push("Failed to collect knowledge summary.");
21342
21342
  }
21343
21343
  try {
21344
- const { getScanStatus } = await import("./scan-cursor-5hq37qdg.js");
21344
+ const { getScanStatus } = await import("./scan-cursor-z4xpes5f.js");
21345
21345
  const scanStatus = await getScanStatus(directory);
21346
21346
  if (scanStatus.remaining_estimate > 0) {
21347
21347
  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.`);
@@ -21513,9 +21513,9 @@ var _internals24 = {
21513
21513
  verifyPostMortemKnowledgeActions,
21514
21514
  repairPostMortemActions,
21515
21515
  loadDefaultKnowledgeConfig: async (directory) => {
21516
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mrbyt7dg.js");
21516
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2dkw18zz.js");
21517
21517
  try {
21518
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e0nvge1c.js");
21518
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5k0csd2m.js");
21519
21519
  const loaded = loadPluginConfigWithMeta2(directory);
21520
21520
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
21521
21521
  } catch {
@@ -21523,11 +21523,11 @@ var _internals24 = {
21523
21523
  }
21524
21524
  },
21525
21525
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
21526
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-1sxxtbq7.js");
21526
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-h1ea9skz.js");
21527
21527
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
21528
21528
  },
21529
21529
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
21530
- const { checkHivePromotions } = await import("./hive-promoter-hpe29xrz.js");
21530
+ const { checkHivePromotions } = await import("./hive-promoter-qsymj94z.js");
21531
21531
  return checkHivePromotions(entries, knowledgeConfig, directory);
21532
21532
  },
21533
21533
  applyProposalTriage: async (directory, triage) => {
@@ -21536,7 +21536,7 @@ var _internals24 = {
21536
21536
  activateProposal,
21537
21537
  listSkills: listSkills2,
21538
21538
  sanitizeSlug
21539
- } = await import("./skill-generator-3gt8em6v.js");
21539
+ } = await import("./skill-generator-0q1jk6xd.js");
21540
21540
  const result = {
21541
21541
  approved: [],
21542
21542
  rejected: [],
@@ -24163,9 +24163,9 @@ function hashContent(content) {
24163
24163
  return createHash9("sha1").update(content).digest("hex");
24164
24164
  }
24165
24165
  async function loadConfigForPolicyCurator(directory) {
24166
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mrbyt7dg.js");
24166
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2dkw18zz.js");
24167
24167
  try {
24168
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e0nvge1c.js");
24168
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5k0csd2m.js");
24169
24169
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
24170
24170
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
24171
24171
  } catch {
@@ -27242,6 +27242,7 @@ var KNOWLEDGE_FAMILY_ARTIFACTS = new Set([
27242
27242
  "knowledge-rejected.jsonl"
27243
27243
  ]);
27244
27244
  var ACTIVE_STATE_DIRS_TO_CLEAN = [
27245
+ "council",
27245
27246
  "evidence",
27246
27247
  "session",
27247
27248
  "scopes",
@@ -27510,7 +27511,7 @@ async function runFinalizeStage(ctx) {
27510
27511
  }
27511
27512
  }
27512
27513
  try {
27513
- const { CuratorConfigSchema: CCS } = await import("./schema-mrbyt7dg.js");
27514
+ const { CuratorConfigSchema: CCS } = await import("./schema-2dkw18zz.js");
27514
27515
  const { config: pmLoadedConfig } = _internals34.loadPluginConfigWithMeta(ctx.directory);
27515
27516
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
27516
27517
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -29740,9 +29741,9 @@ var _internals39 = {
29740
29741
  loadPluginConfigWithMeta,
29741
29742
  loadCuratorDeps: async () => {
29742
29743
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
29743
- import("./schema-mrbyt7dg.js"),
29744
- import("./curator-1sxxtbq7.js"),
29745
- import("./curator-llm-factory-yhqbkc5w.js")
29744
+ import("./schema-2dkw18zz.js"),
29745
+ import("./curator-h1ea9skz.js"),
29746
+ import("./curator-llm-factory-rk7pccwc.js")
29746
29747
  ]);
29747
29748
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
29748
29749
  }
@@ -30647,7 +30648,7 @@ async function computeCurationDiagnostics(directory, entries) {
30647
30648
  let scanCompleted = false;
30648
30649
  let scanRemaining = 0;
30649
30650
  try {
30650
- const { getScanStatus } = await import("./scan-cursor-5hq37qdg.js");
30651
+ const { getScanStatus } = await import("./scan-cursor-z4xpes5f.js");
30651
30652
  const status = await getScanStatus(directory);
30652
30653
  scanGeneration = status.generation;
30653
30654
  scanCompleted = status.completed;
@@ -30657,17 +30658,17 @@ async function computeCurationDiagnostics(directory, entries) {
30657
30658
  try {
30658
30659
  const { isLinked: isLinked2 } = await import("./knowledge-link-t94b79qe.js");
30659
30660
  if (isLinked2(directory)) {
30660
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mrbyt7dg.js");
30661
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2dkw18zz.js");
30661
30662
  let config;
30662
30663
  try {
30663
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e0nvge1c.js");
30664
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-5k0csd2m.js");
30664
30665
  const loaded = loadPluginConfigWithMeta2(directory);
30665
30666
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
30666
30667
  } catch {
30667
30668
  config = KnowledgeConfigSchema2.parse({});
30668
30669
  }
30669
30670
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
30670
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-ftx2emfw.js");
30671
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-xyradeax.js");
30671
30672
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
30672
30673
  const cohortFp = await readCohortConfigFingerprint(directory);
30673
30674
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -31878,7 +31879,7 @@ async function handleDoctorCommand(directory, args) {
31878
31879
  const result = runConfigDoctor(config, directory);
31879
31880
  let output;
31880
31881
  if (enableAutoFix && result.hasAutoFixableIssues) {
31881
- const { runConfigDoctorWithFixes } = await import("./config-doctor-b9r9rt2c.js");
31882
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-xrbzq4r0.js");
31882
31883
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
31883
31884
  applyLossy: true
31884
31885
  });
@@ -54929,7 +54930,7 @@ function buildDetailedHelp(commandName, entry) {
54929
54930
  async function handleHelpCommand(ctx) {
54930
54931
  const targetCommand = ctx.args.join(" ");
54931
54932
  if (!targetCommand) {
54932
- const { buildHelpText } = await import("./index-7e60c7ay.js");
54933
+ const { buildHelpText } = await import("./index-p0kez6cn.js");
54933
54934
  return buildHelpText();
54934
54935
  }
54935
54936
  const tokens = targetCommand.split(/\s+/);
@@ -54938,7 +54939,7 @@ async function handleHelpCommand(ctx) {
54938
54939
  return _internals14.buildDetailedHelp(resolved.key, resolved.entry);
54939
54940
  }
54940
54941
  const similar = _internals14.findSimilarCommands(targetCommand);
54941
- const { buildHelpText: fullHelp } = await import("./index-7e60c7ay.js");
54942
+ const { buildHelpText: fullHelp } = await import("./index-p0kez6cn.js");
54942
54943
  if (similar.length > 0) {
54943
54944
  return `Command '/swarm ${targetCommand}' not found.
54944
54945
 
@@ -55115,7 +55116,7 @@ var COMMAND_REGISTRY = {
55115
55116
  },
55116
55117
  "guardrail explain": {
55117
55118
  handler: async (ctx) => {
55118
- const { handleGuardrailExplain } = await import("./guardrail-explain-qh1y8jsz.js");
55119
+ const { handleGuardrailExplain } = await import("./guardrail-explain-sq1kcah3.js");
55119
55120
  return handleGuardrailExplain(ctx.directory, ctx.args);
55120
55121
  },
55121
55122
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -55125,7 +55126,7 @@ var COMMAND_REGISTRY = {
55125
55126
  },
55126
55127
  "guardrail-explain": {
55127
55128
  handler: async (ctx) => {
55128
- const { handleGuardrailExplain } = await import("./guardrail-explain-qh1y8jsz.js");
55129
+ const { handleGuardrailExplain } = await import("./guardrail-explain-sq1kcah3.js");
55129
55130
  return handleGuardrailExplain(ctx.directory, ctx.args);
55130
55131
  },
55131
55132
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -55135,7 +55136,7 @@ var COMMAND_REGISTRY = {
55135
55136
  },
55136
55137
  "guardrail-log": {
55137
55138
  handler: async (ctx) => {
55138
- const { handleGuardrailLog } = await import("./guardrail-log-84zffdv3.js");
55139
+ const { handleGuardrailLog } = await import("./guardrail-log-7anp1z1n.js");
55139
55140
  return handleGuardrailLog(ctx.directory, ctx.args);
55140
55141
  },
55141
55142
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-em10pmph.js";
5
+ } from "./index-aygnzd04.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-a3gpeb4f.js";
4
+ } from "./index-s9at02fn.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-t2mv25yf.js";
12
+ } from "./index-9casmxdt.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-vft1pg34.js";