opencode-swarm 7.164.9 → 7.164.11

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 (89) hide show
  1. package/dist/cli/{coder-settlement-8wxdx3ge.js → coder-settlement-0rfk8y11.js} +10 -10
  2. package/dist/cli/{config-doctor-zqbzjqsk.js → config-doctor-j17b7qq2.js} +8 -4
  3. package/dist/cli/{core-6b997gee.js → core-evhjjrtt.js} +2 -2
  4. package/dist/cli/{curation-policy-w829da9a.js → curation-policy-vj6z5hvr.js} +4 -4
  5. package/dist/cli/{curator-drift-5sykmtf5.js → curator-drift-ez81vg2t.js} +4 -4
  6. package/dist/cli/curator-llm-factory-sxcpmcqq.js +68 -0
  7. package/dist/cli/{curator-hvet3ccp.js → curator-vqd5yeck.js} +34 -34
  8. package/dist/cli/{evidence-summary-service-zefetqqa.js → evidence-summary-service-937x7rbg.js} +15 -15
  9. package/dist/cli/{gate-evidence-8ex11125.js → gate-evidence-q1cehr4k.js} +8 -6
  10. package/dist/cli/guardrail-explain-xv9aw1bf.js +69 -0
  11. package/dist/cli/{guardrail-log-jf1sj1zc.js → guardrail-log-3g93f3g2.js} +7 -7
  12. package/dist/cli/{guardrail-reset-0062066m.js → guardrail-reset-qe2r5qzq.js} +34 -34
  13. package/dist/cli/{hive-promoter-8nr61bhn.js → hive-promoter-09yc9mp5.js} +34 -34
  14. package/dist/cli/{index-g1rnq3pg.js → index-1ww7wj8d.js} +4 -4
  15. package/dist/cli/{index-zg9d392c.js → index-3qf1vxtb.js} +2 -1
  16. package/dist/cli/{index-1afqzpj4.js → index-47kh2103.js} +6 -6
  17. package/dist/cli/{index-sf24zdbp.js → index-4gqxppcx.js} +1 -1
  18. package/dist/cli/{index-pxzx4wxb.js → index-4vb6qa73.js} +2 -2
  19. package/dist/cli/{index-8psybzzf.js → index-50j914b5.js} +5 -0
  20. package/dist/cli/{index-qxvdwx79.js → index-5jx22kwc.js} +3 -3
  21. package/dist/cli/{index-8nsknkgs.js → index-5kcvrpkt.js} +46 -4
  22. package/dist/cli/{index-18z6gf3a.js → index-77z98j76.js} +9 -9
  23. package/dist/cli/{index-7tme4v2x.js → index-7m32fjb4.js} +5 -5
  24. package/dist/cli/{index-t1qzjhnj.js → index-9gxbjkts.js} +1 -1
  25. package/dist/cli/{index-8m3w7sr7.js → index-aqppaaqx.js} +2 -2
  26. package/dist/cli/{index-bv90qkyw.js → index-b2nj04q6.js} +1 -1
  27. package/dist/cli/{index-qkzyfnmc.js → index-c5v1w13g.js} +4 -4
  28. package/dist/cli/{index-teq4xzkh.js → index-d9entpn3.js} +2 -2
  29. package/dist/cli/{index-1anz3srx.js → index-dsg9dw3b.js} +1 -1
  30. package/dist/cli/{index-wnw2rt73.js → index-e90em0x4.js} +1 -1
  31. package/dist/cli/{index-h933exaw.js → index-ggrp3v00.js} +7 -7
  32. package/dist/cli/{index-sdhshera.js → index-ggtmsm84.js} +1 -1
  33. package/dist/cli/{index-nnetagj1.js → index-hp22pzn5.js} +2 -2
  34. package/dist/cli/{index-3qeznjj9.js → index-kc2tgcm7.js} +4 -4
  35. package/dist/cli/{index-41m7f0xj.js → index-kch6yenm.js} +3 -3
  36. package/dist/cli/{index-prmwcpqn.js → index-kv2tdkk5.js} +1 -1
  37. package/dist/cli/{index-vsxq8b54.js → index-mmjamc9b.js} +5 -5
  38. package/dist/cli/{index-sxxh4ams.js → index-n8688d12.js} +2 -2
  39. package/dist/cli/{index-s6ejwhew.js → index-nqsj0g5y.js} +1 -1
  40. package/dist/cli/{index-0rpfwzkw.js → index-pp2nya9v.js} +3 -3
  41. package/dist/cli/{index-nj2gap5p.js → index-qbw3yw2d.js} +7 -7
  42. package/dist/cli/{index-5kstr2ga.js → index-r5q5gd2a.js} +3 -3
  43. package/dist/cli/{index-mh57gjsd.js → index-r656jh9j.js} +1386 -1264
  44. package/dist/cli/{index-jpfktfb7.js → index-rhqdsc1x.js} +1 -1
  45. package/dist/cli/{index-7fyjv3f2.js → index-vdn32nws.js} +1 -1
  46. package/dist/cli/{index-vjef4fy9.js → index-w95vxjde.js} +1 -1
  47. package/dist/cli/{index-rgj5zmms.js → index-x43debgx.js} +30 -6
  48. package/dist/cli/{index-pkga8b4j.js → index-xnb3tk7x.js} +1 -1
  49. package/dist/cli/{index-hwqxp3kr.js → index-y1yqmkv7.js} +36 -36
  50. package/dist/cli/{index-83bewmqd.js → index-zfs3zqeq.js} +3 -3
  51. package/dist/cli/{index-8tqqmsav.js → index-zjg4chy2.js} +1 -1
  52. package/dist/cli/index.js +34 -34
  53. package/dist/cli/{knowledge-escalator-p60t5809.js → knowledge-escalator-j04g450p.js} +13 -13
  54. package/dist/cli/{knowledge-events-90k35k0w.js → knowledge-events-53z45rs0.js} +11 -11
  55. package/dist/cli/{knowledge-link-kbbp0rhh.js → knowledge-link-a6kfg3qm.js} +3 -3
  56. package/dist/cli/{knowledge-store-rqkyw5zp.js → knowledge-store-whm0gagt.js} +4 -4
  57. package/dist/cli/{knowledge-validator-5zqwvnvr.js → knowledge-validator-h8m7065g.js} +6 -6
  58. package/dist/cli/{model-preflight-bq035tfh.js → model-preflight-288nsgpw.js} +1 -1
  59. package/dist/cli/{pending-delegations-jdztm7v1.js → pending-delegations-6hkpe5ze.js} +4 -4
  60. package/dist/cli/{pr-subscriptions-7am85psn.js → pr-subscriptions-11zca1mh.js} +4 -4
  61. package/dist/cli/{pr-workflow-gate-2rqn6eat.js → pr-workflow-gate-6g29rkg7.js} +34 -34
  62. package/dist/cli/{runner-59cbgcdy.js → runner-5abw3t35.js} +4 -4
  63. package/dist/cli/{scan-cursor-9bm4zfx2.js → scan-cursor-mkfx410t.js} +5 -5
  64. package/dist/cli/{schema-4yjk7z24.js → schema-jbbam3ev.js} +2 -2
  65. package/dist/cli/{scope-persistence-s2ayj1c3.js → scope-persistence-q1ct4k42.js} +8 -8
  66. package/dist/cli/{skill-generator-bddg7mx1.js → skill-generator-cv8fg96x.js} +15 -15
  67. package/dist/cli/{worktree-collision-ownership-84j7w373.js → worktree-collision-ownership-xgnn8dsq.js} +5 -5
  68. package/dist/cli/{worktree-isolation-s0d3qtpv.js → worktree-isolation-k2dgfmeg.js} +34 -34
  69. package/dist/config/constants.d.ts +1 -1
  70. package/dist/config/evidence-schema.d.ts +3 -0
  71. package/dist/evaluation/contracts.d.ts +8 -2
  72. package/dist/evaluation/gate-audit.d.ts +2 -0
  73. package/dist/gate-evidence.d.ts +30 -1
  74. package/dist/hooks/final-context-accounting.d.ts +1 -1
  75. package/dist/hooks/index.d.ts +1 -1
  76. package/dist/hooks/knowledge-injector.d.ts +1 -1
  77. package/dist/hooks/messages-transform.d.ts +43 -22
  78. package/dist/hooks/system-guidance-carrier.d.ts +112 -0
  79. package/dist/index.js +351 -310
  80. package/dist/quality/git-base.d.ts +41 -0
  81. package/dist/quality/metrics.d.ts +8 -1
  82. package/dist/services/config-doctor.d.ts +28 -0
  83. package/dist/tools/index.d.ts +1 -0
  84. package/dist/tools/lean-turbo-critic.d.ts +49 -0
  85. package/dist/tools/manifest.d.ts +1 -0
  86. package/dist/tools/tool-metadata.d.ts +4 -0
  87. package/package.json +1 -1
  88. package/dist/cli/curator-llm-factory-mqyj4d2w.js +0 -68
  89. package/dist/cli/guardrail-explain-mk9z5n76.js +0 -69
@@ -7,65 +7,65 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-mh57gjsd.js";
11
- import"./index-vjef4fy9.js";
12
- import"./index-41m7f0xj.js";
13
- import"./index-8nsknkgs.js";
14
- import"./index-18z6gf3a.js";
15
- import"./index-0rpfwzkw.js";
10
+ } from "./index-r656jh9j.js";
11
+ import"./index-w95vxjde.js";
12
+ import"./index-kch6yenm.js";
13
+ import"./index-5kcvrpkt.js";
14
+ import"./index-77z98j76.js";
15
+ import"./index-pp2nya9v.js";
16
16
  import"./index-txdagbh7.js";
17
17
  import"./index-cw912re7.js";
18
18
  import"./index-3146wmgv.js";
19
- import"./index-g1rnq3pg.js";
20
- import"./index-7tme4v2x.js";
21
- import"./index-teq4xzkh.js";
19
+ import"./index-1ww7wj8d.js";
20
+ import"./index-7m32fjb4.js";
21
+ import"./index-d9entpn3.js";
22
22
  import"./index-70ha9e09.js";
23
- import"./index-s6ejwhew.js";
24
- import"./index-bv90qkyw.js";
23
+ import"./index-nqsj0g5y.js";
24
+ import"./index-b2nj04q6.js";
25
25
  import"./index-n4fzmqz8.js";
26
- import"./index-83bewmqd.js";
26
+ import"./index-zfs3zqeq.js";
27
27
  import"./index-zsrtt42s.js";
28
- import"./index-1afqzpj4.js";
28
+ import"./index-47kh2103.js";
29
29
  import"./index-w3gtqey0.js";
30
- import"./index-sxxh4ams.js";
31
- import"./index-3qeznjj9.js";
32
- import"./index-sdhshera.js";
30
+ import"./index-n8688d12.js";
31
+ import"./index-kc2tgcm7.js";
32
+ import"./index-ggtmsm84.js";
33
33
  import"./index-rtry5xyf.js";
34
- import"./index-rgj5zmms.js";
35
- import"./index-pxzx4wxb.js";
36
- import"./index-qxvdwx79.js";
37
- import"./index-qkzyfnmc.js";
38
- import"./index-wnw2rt73.js";
34
+ import"./index-x43debgx.js";
35
+ import"./index-4vb6qa73.js";
36
+ import"./index-5jx22kwc.js";
37
+ import"./index-c5v1w13g.js";
38
+ import"./index-e90em0x4.js";
39
39
  import"./index-ry16d01s.js";
40
- import"./index-sf24zdbp.js";
40
+ import"./index-4gqxppcx.js";
41
41
  import"./index-556ja8an.js";
42
42
  import"./index-4fwbbad3.js";
43
43
  import"./index-b43rt5ph.js";
44
44
  import"./index-q7sjgr1y.js";
45
45
  import {
46
46
  resolveHiveKnowledgePath
47
- } from "./index-nj2gap5p.js";
48
- import"./index-h933exaw.js";
49
- import"./index-5kstr2ga.js";
50
- import"./index-zg9d392c.js";
47
+ } from "./index-qbw3yw2d.js";
48
+ import"./index-ggrp3v00.js";
49
+ import"./index-r5q5gd2a.js";
50
+ import"./index-3qf1vxtb.js";
51
51
  import"./index-n832052r.js";
52
- import"./index-8tqqmsav.js";
52
+ import"./index-zjg4chy2.js";
53
53
  import"./index-z6xqpmqg.js";
54
54
  import"./index-r3mvsbtq.js";
55
- import"./index-jpfktfb7.js";
56
- import"./index-8m3w7sr7.js";
55
+ import"./index-rhqdsc1x.js";
56
+ import"./index-aqppaaqx.js";
57
57
  import"./index-9e6fdz2h.js";
58
58
  import"./index-4rhhvd1a.js";
59
- import"./index-1anz3srx.js";
60
- import"./index-8psybzzf.js";
59
+ import"./index-dsg9dw3b.js";
60
+ import"./index-50j914b5.js";
61
61
  import"./index-zjygnfay.js";
62
62
  import"./index-ae75rja9.js";
63
- import"./index-7fyjv3f2.js";
64
- import"./index-pkga8b4j.js";
63
+ import"./index-vdn32nws.js";
64
+ import"./index-xnb3tk7x.js";
65
65
  import"./index-bk5tah7q.js";
66
66
  import"./index-7qefgq4j.js";
67
67
  import"./index-2bgr671r.js";
68
- import"./index-t1qzjhnj.js";
68
+ import"./index-9gxbjkts.js";
69
69
  import"./index-ww6zm5hr.js";
70
70
  import"./index-7g4c7s5r.js";
71
71
  import"./index-bpmtbmy9.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-3qeznjj9.js";
5
+ } from "./index-kc2tgcm7.js";
6
6
  import {
7
7
  withTimeoutSignal
8
8
  } from "./index-q7sjgr1y.js";
@@ -12,11 +12,11 @@ import {
12
12
  resolveHiveKnowledgePath,
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge
15
- } from "./index-nj2gap5p.js";
15
+ } from "./index-qbw3yw2d.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-h933exaw.js";
19
+ } from "./index-ggrp3v00.js";
20
20
  import {
21
21
  advisoryWarn,
22
22
  init_warning_buffer
@@ -31,7 +31,7 @@ import {
31
31
  import {
32
32
  atomicWriteFileAnyRoot,
33
33
  atomicWriteSwarmFile
34
- } from "./index-t1qzjhnj.js";
34
+ } from "./index-9gxbjkts.js";
35
35
  import {
36
36
  init_logger,
37
37
  log,
@@ -226,7 +226,8 @@ var QualityBudgetEvidenceSchema = BaseEvidenceSchema.extend({
226
226
  complexity_delta: exports_external.number(),
227
227
  public_api_delta: exports_external.number(),
228
228
  duplication_ratio: exports_external.number(),
229
- test_to_code_ratio: exports_external.number()
229
+ test_to_code_ratio: exports_external.number(),
230
+ base_resolved: exports_external.boolean().default(false)
230
231
  }),
231
232
  thresholds: exports_external.object({
232
233
  max_complexity_delta: exports_external.number(),
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-w3gtqey0.js";
6
6
  import {
7
7
  removeWorktreeProvisioningOwner
8
- } from "./index-sxxh4ams.js";
8
+ } from "./index-n8688d12.js";
9
9
  import {
10
10
  SOURCE_WORKTREE_GONE_STAGE,
11
11
  ensureTaskGateRequirementsReceiptForSettledTransition,
@@ -14,16 +14,16 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-rgj5zmms.js";
17
+ } from "./index-x43debgx.js";
18
18
  import {
19
19
  appendCoreEventSync
20
- } from "./index-sf24zdbp.js";
20
+ } from "./index-4gqxppcx.js";
21
21
  import {
22
22
  isPathWithinDeclaredScope
23
23
  } from "./index-556ja8an.js";
24
24
  import {
25
25
  validateSwarmPath
26
- } from "./index-8tqqmsav.js";
26
+ } from "./index-zjg4chy2.js";
27
27
  import {
28
28
  init_git_executable,
29
29
  resolveGitExecutable
@@ -487,7 +487,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
487
487
  awaitingMergeByCallID,
488
488
  cleanupStandardWorktreeForCallId,
489
489
  standardWorktreeByCallID
490
- } = await import("./worktree-isolation-s0d3qtpv.js");
490
+ } = await import("./worktree-isolation-k2dgfmeg.js");
491
491
  standardWorktreeByCallID.delete(descriptor.callID);
492
492
  if (hasResidue)
493
493
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -611,7 +611,7 @@ async function recoverCoderSettlement(directory, taskId) {
611
611
  awaitingMergeByCallID,
612
612
  finishStandardWorktreeDispatch,
613
613
  standardWorktreeByCallID
614
- } = await import("./worktree-isolation-s0d3qtpv.js");
614
+ } = await import("./worktree-isolation-k2dgfmeg.js");
615
615
  const descriptor = wal.worktree;
616
616
  const reconstructedDispatch = {
617
617
  callID: descriptor.callID,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-1anz3srx.js";
4
+ } from "./index-dsg9dw3b.js";
5
5
  import {
6
6
  telemetry
7
7
  } from "./index-ww6zm5hr.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SWARM_WORKTREE_DIR_NAME,
15
15
  init_constants
16
- } from "./index-8psybzzf.js";
16
+ } from "./index-50j914b5.js";
17
17
  import {
18
18
  log
19
19
  } from "./index-zgwm4ryv.js";
@@ -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-s2ayj1c3.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-q1ct4k42.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -848,6 +848,10 @@ var init_tool_metadata = __esm(() => {
848
848
  description: "read Lean Turbo run state from .swarm/turbo-state.json",
849
849
  agents: []
850
850
  },
851
+ lean_turbo_critic: {
852
+ description: "dispatch a read-only critic agent to evaluate boundary conditions for a completed Lean Turbo phase (satisfies the turbo.lean.phase_critic gate)",
853
+ agents: []
854
+ },
851
855
  lean_turbo_review: {
852
856
  description: "dispatch a read-only reviewer agent to evaluate a completed Lean Turbo phase",
853
857
  agents: []
@@ -1118,6 +1122,7 @@ var init_constants = __esm(() => {
1118
1122
  "lean_turbo_acquire_locks",
1119
1123
  "lean_turbo_runner_status",
1120
1124
  "lean_turbo_review",
1125
+ "lean_turbo_critic",
1121
1126
  "lean_turbo_run_phase",
1122
1127
  "lean_turbo_status"
1123
1128
  ];
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-8tqqmsav.js";
4
+ } from "./index-zjg4chy2.js";
5
5
  import {
6
6
  bunWrite
7
7
  } from "./index-r3mvsbtq.js";
8
8
  import {
9
9
  observeDelegationLedgerPressure
10
- } from "./index-1anz3srx.js";
10
+ } from "./index-dsg9dw3b.js";
11
11
  import {
12
12
  canonicalRootKeyFresh,
13
13
  sameProjectRoot
@@ -3988,7 +3988,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
3988
3988
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
3989
3989
  if (candidates.length === 0)
3990
3990
  return 0;
3991
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-8wxdx3ge.js");
3991
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-0rfk8y11.js");
3992
3992
  let transferred = 0;
3993
3993
  for (const record of candidates) {
3994
3994
  try {
@@ -12,11 +12,13 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-8m3w7sr7.js";
15
+ } from "./index-aqppaaqx.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
- init_constants
19
- } from "./index-8psybzzf.js";
18
+ TOOL_NAME_SET,
19
+ init_constants,
20
+ init_tool_metadata
21
+ } from "./index-50j914b5.js";
20
22
  import {
21
23
  log
22
24
  } from "./index-zgwm4ryv.js";
@@ -24,6 +26,7 @@ import {
24
26
  // src/services/config-doctor.ts
25
27
  init_constants();
26
28
  init_schema();
29
+ init_tool_metadata();
27
30
  import * as crypto from "crypto";
28
31
  import * as fs from "fs";
29
32
  import * as os from "os";
@@ -159,6 +162,44 @@ function collectRawCouncilPolicyFindings(directory) {
159
162
  }
160
163
  return findings;
161
164
  }
165
+ var LEAN_TURBO_GATE_PRODUCERS = [
166
+ {
167
+ gate: "phase_critic",
168
+ producerTool: "lean_turbo_critic",
169
+ evidencePathConvention: ".swarm/evidence/{phase}/lean-turbo-critic.json"
170
+ },
171
+ {
172
+ gate: "phase_reviewer",
173
+ producerTool: "lean_turbo_review",
174
+ evidencePathConvention: ".swarm/evidence/{phase}/lean-turbo-reviewer.json"
175
+ },
176
+ {
177
+ gate: "integrated_diff_required",
178
+ producerTool: "lean_turbo_run_phase",
179
+ evidencePathConvention: ".swarm/evidence/{phase}/lean-turbo/lean-turbo-phase.json"
180
+ }
181
+ ];
182
+ function collectLeanTurboGateSatisfiabilityFindings(config, registeredToolNames = TOOL_NAME_SET) {
183
+ const findings = [];
184
+ const lean = config?.turbo?.lean;
185
+ for (const entry of LEAN_TURBO_GATE_PRODUCERS) {
186
+ const enabled = lean?.[entry.gate] ?? true;
187
+ if (!enabled)
188
+ continue;
189
+ if (registeredToolNames.has(entry.producerTool))
190
+ continue;
191
+ findings.push({
192
+ id: `lean-turbo-gate-unsatisfiable-${entry.gate}`,
193
+ title: `turbo.lean.${entry.gate} gate has no registered producer tool`,
194
+ description: `turbo.lean.${entry.gate} is enabled (default true), but its evidence producer tool ` + `"${entry.producerTool}" is not registered, so the gate that reads ` + `${entry.evidencePathConvention} is structurally unsatisfiable in production and ` + "Lean Turbo phase_complete would dead-end. Re-register the producer tool or disable the gate (issue #2470 / #2007).",
195
+ severity: "error",
196
+ path: `turbo.lean.${entry.gate}`,
197
+ currentValue: enabled,
198
+ autoFixable: false
199
+ });
200
+ }
201
+ return findings;
202
+ }
162
203
  function collectRawGatesConfigFindings(directory) {
163
204
  const findings = [];
164
205
  const { userConfigPath, projectConfigPath } = getConfigPaths(directory);
@@ -1329,6 +1370,7 @@ function runConfigDoctor(config, directory) {
1329
1370
  findings.push(...collectRawStrictSectionFindings(directory));
1330
1371
  findings.push(...collectRawValueConstraintFindings(directory));
1331
1372
  findings.push(...collectRawAutoReviewCompatibilityFindings(directory));
1373
+ findings.push(...collectLeanTurboGateSatisfiabilityFindings(config));
1332
1374
  emitWorktreeIsolationLayeringAdvisory(config, findings);
1333
1375
  const summary = {
1334
1376
  info: findings.filter((f) => f.severity === "info").length,
@@ -1764,4 +1806,4 @@ function removeStraySwarmDir(projectRoot, strayPath) {
1764
1806
  }
1765
1807
  }
1766
1808
 
1767
- export { getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
1809
+ export { LEAN_TURBO_GATE_PRODUCERS, collectLeanTurboGateSatisfiabilityFindings, getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
@@ -3,7 +3,7 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-0rpfwzkw.js";
6
+ } from "./index-pp2nya9v.js";
7
7
  import {
8
8
  validateWorkspaceRoot
9
9
  } from "./index-cw912re7.js";
@@ -13,7 +13,7 @@ import {
13
13
  projectDbExists,
14
14
  readEffectiveSpecSync,
15
15
  withDurabilityClass
16
- } from "./index-bv90qkyw.js";
16
+ } from "./index-b2nj04q6.js";
17
17
  import {
18
18
  getWorktreeMergeFailure
19
19
  } from "./index-zsrtt42s.js";
@@ -27,7 +27,7 @@ import {
27
27
  readTaskEvidence,
28
28
  readTaskEvidenceRaw,
29
29
  sanitizeTaskId
30
- } from "./index-rgj5zmms.js";
30
+ } from "./index-x43debgx.js";
31
31
  import {
32
32
  LedgerStaleWriterError,
33
33
  appendLedgerEvent,
@@ -47,10 +47,10 @@ import {
47
47
  replayFromLedgerWithStatus,
48
48
  takeSnapshotEvent,
49
49
  takeSnapshotWithRetry
50
- } from "./index-wnw2rt73.js";
50
+ } from "./index-e90em0x4.js";
51
51
  import {
52
52
  appendCoreEventSync
53
- } from "./index-sf24zdbp.js";
53
+ } from "./index-4gqxppcx.js";
54
54
  import {
55
55
  init_executor,
56
56
  isUntrustedEnvKey,
@@ -60,13 +60,13 @@ import {
60
60
  EVIDENCE_MAX_JSON_BYTES,
61
61
  EvidenceBundleSchema,
62
62
  EvidenceSchema
63
- } from "./index-zg9d392c.js";
63
+ } from "./index-3qf1vxtb.js";
64
64
  import {
65
65
  estimateCharsForTokens,
66
66
  estimateTokens,
67
67
  readSwarmFileAsync,
68
68
  validateSwarmPath
69
- } from "./index-8tqqmsav.js";
69
+ } from "./index-zjg4chy2.js";
70
70
  import {
71
71
  bunHash,
72
72
  bunWrite,
@@ -74,7 +74,7 @@ import {
74
74
  } from "./index-r3mvsbtq.js";
75
75
  import {
76
76
  PlanSchema
77
- } from "./index-jpfktfb7.js";
77
+ } from "./index-rhqdsc1x.js";
78
78
  import {
79
79
  GIT_BINARY_ENV_VAR,
80
80
  describeGitResolution,
@@ -92,7 +92,7 @@ import {
92
92
  import {
93
93
  invalidateCachedArtifact,
94
94
  readCachedParsedFile
95
- } from "./index-t1qzjhnj.js";
95
+ } from "./index-9gxbjkts.js";
96
96
  import {
97
97
  emit
98
98
  } from "./index-ww6zm5hr.js";
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-nj2gap5p.js";
9
+ } from "./index-qbw3yw2d.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-h933exaw.js";
14
+ } from "./index-ggrp3v00.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-5zqwvnvr.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-h8m7065g.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-4yjk7z24.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-vsxq8b54.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-jbbam3ev.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-mmjamc9b.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -229,7 +229,7 @@ var SWARM_TEMP_GRAMMARS = [
229
229
  "src/hooks/review-receipt.ts:812",
230
230
  "src/knowledge/identity.ts:209",
231
231
  "src/evidence/phase-participation.ts:303 (pre-#2035)",
232
- "src/turbo/lean/integration.ts:426",
232
+ "src/turbo/lean/integration.ts:428",
233
233
  "src/turbo/lean/reviewer.ts:403",
234
234
  "src/plan/ledger.ts:746",
235
235
  "src/services/synonym-map.ts:389",
@@ -3,7 +3,7 @@ import {
3
3
  ALL_AGENT_NAMES,
4
4
  SUMMARIZER_EXEMPT_TOOL_NAMES,
5
5
  init_constants
6
- } from "./index-8psybzzf.js";
6
+ } from "./index-50j914b5.js";
7
7
  import {
8
8
  OUTCOME_BLOCK_THRESHOLD,
9
9
  init_knowledge_types
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.164.9",
24
+ version: "7.164.11",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -18,7 +18,7 @@ import {
18
18
  } from "./index-7qefgq4j.js";
19
19
  import {
20
20
  atomicWriteSwarmFileSync
21
- } from "./index-t1qzjhnj.js";
21
+ } from "./index-9gxbjkts.js";
22
22
 
23
23
  // src/sdd/effective-spec.ts
24
24
  import { createHash } from "crypto";
@@ -2,27 +2,27 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-wnw2rt73.js";
5
+ } from "./index-e90em0x4.js";
6
6
  import {
7
7
  canonicalExistingFilesystemPath,
8
8
  legacyCanonicalExistingFilesystemPath
9
9
  } from "./index-ry16d01s.js";
10
10
  import {
11
11
  appendCoreEventSync
12
- } from "./index-sf24zdbp.js";
12
+ } from "./index-4gqxppcx.js";
13
13
  import {
14
14
  unsafePathTextReason
15
15
  } from "./index-556ja8an.js";
16
16
  import {
17
17
  PlanSchema
18
- } from "./index-jpfktfb7.js";
18
+ } from "./index-rhqdsc1x.js";
19
19
  import {
20
20
  assertProjectRoot
21
21
  } from "./index-2bgr671r.js";
22
22
  import {
23
23
  atomicWriteSwarmFile,
24
24
  atomicWriteSwarmFileSync
25
- } from "./index-t1qzjhnj.js";
25
+ } from "./index-9gxbjkts.js";
26
26
  import {
27
27
  require_proper_lockfile
28
28
  } from "./index-7g4c7s5r.js";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-nj2gap5p.js";
5
+ } from "./index-qbw3yw2d.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
9
9
  } from "./index-9e6fdz2h.js";
10
10
  import {
11
11
  resolveKnowledgeStoreDir
12
- } from "./index-7fyjv3f2.js";
12
+ } from "./index-vdn32nws.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-7qefgq4j.js";
5
5
  import {
6
6
  atomicWriteSwarmFile
7
- } from "./index-t1qzjhnj.js";
7
+ } from "./index-9gxbjkts.js";
8
8
  import {
9
9
  pseudonymousRef,
10
10
  resolveLineageSalt,
@@ -4,7 +4,7 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-jpfktfb7.js";
7
+ } from "./index-rhqdsc1x.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock
@@ -1,26 +1,26 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-8tqqmsav.js";
4
+ } from "./index-zjg4chy2.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-jpfktfb7.js";
7
+ } from "./index-rhqdsc1x.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-8m3w7sr7.js";
11
+ } from "./index-aqppaaqx.js";
12
12
  import {
13
13
  observeReceiptTransition
14
- } from "./index-1anz3srx.js";
14
+ } from "./index-dsg9dw3b.js";
15
15
  import {
16
16
  resolveHiveEventsPath
17
17
  } from "./index-ae75rja9.js";
18
18
  import {
19
19
  resolveKnowledgeStoreDir
20
- } from "./index-7fyjv3f2.js";
20
+ } from "./index-vdn32nws.js";
21
21
  import {
22
22
  atomicWriteFile
23
- } from "./index-pkga8b4j.js";
23
+ } from "./index-xnb3tk7x.js";
24
24
  import {
25
25
  canonicalRootKey
26
26
  } from "./index-7qefgq4j.js";
@@ -2815,7 +2815,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2815
2815
  }
2816
2816
  let bumps = 0;
2817
2817
  if (deltas.length > 0) {
2818
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-rqkyw5zp.js");
2818
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-whm0gagt.js");
2819
2819
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2820
2820
  }
2821
2821
  return {
@@ -7,7 +7,7 @@ import {
7
7
  readLinkPointer,
8
8
  resolveKnowledgeStoreDir,
9
9
  resolveLinkDir
10
- } from "./index-7fyjv3f2.js";
10
+ } from "./index-vdn32nws.js";
11
11
 
12
12
  // src/knowledge/curation-policy.ts
13
13
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-mh57gjsd.js";
17
+ } from "./index-r656jh9j.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-41m7f0xj.js";
24
+ } from "./index-kch6yenm.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-sdhshera.js";
4
+ } from "./index-ggtmsm84.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-nj2gap5p.js";
12
+ } from "./index-qbw3yw2d.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-7fyjv3f2.js";
15
+ } from "./index-vdn32nws.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-pkga8b4j.js";
18
+ } from "./index-xnb3tk7x.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";