opencode-swarm 7.164.3 → 7.164.5

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 (86) hide show
  1. package/dist/cli/{coder-settlement-m918n7qj.js → coder-settlement-x9wbqx46.js} +11 -11
  2. package/dist/cli/{config-doctor-5kytbwbx.js → config-doctor-axd9d6hs.js} +2 -2
  3. package/dist/cli/{core-anw5khk2.js → core-f1a1fk13.js} +1 -1
  4. package/dist/cli/{curation-policy-7pnmnfct.js → curation-policy-2cy7wejw.js} +6 -6
  5. package/dist/cli/{curator-yq6raqgs.js → curator-b104f7a7.js} +34 -34
  6. package/dist/cli/{curator-drift-ykrdf08r.js → curator-drift-3s3q4wsy.js} +4 -4
  7. package/dist/cli/curator-llm-factory-cv7ft0mb.js +66 -0
  8. package/dist/cli/{evidence-summary-service-8sbxvt2x.js → evidence-summary-service-5xsjs3x3.js} +15 -15
  9. package/dist/cli/{gate-evidence-53v7e938.js → gate-evidence-ypja4156.js} +7 -7
  10. package/dist/cli/guardrail-explain-cvha7b9p.js +67 -0
  11. package/dist/cli/{guardrail-log-q5sj7zby.js → guardrail-log-6t4e2j5f.js} +7 -7
  12. package/dist/cli/{guardrail-reset-dw45p5zc.js → guardrail-reset-es0bg976.js} +34 -34
  13. package/dist/cli/{hive-promoter-0axzw0h5.js → hive-promoter-yzv5g7jy.js} +34 -34
  14. package/dist/cli/{index-95hhrw1d.js → index-0trtcm9n.js} +9 -9
  15. package/dist/cli/{index-hcn69kp0.js → index-0zbze3n6.js} +1 -1
  16. package/dist/cli/{index-ac39znep.js → index-164m995b.js} +2 -2
  17. package/dist/cli/{index-bzd67m2j.js → index-1dz8hv7p.js} +4 -4
  18. package/dist/cli/{index-y2f5s2cf.js → index-1f4nandk.js} +1 -1
  19. package/dist/cli/{index-aty2dfmt.js → index-1q2dwv69.js} +1 -1
  20. package/dist/cli/{index-2xj34nkh.js → index-25jze7sf.js} +1 -1
  21. package/dist/cli/{index-5d7bzpfn.js → index-25z5qwkk.js} +1 -1
  22. package/dist/cli/{index-ehf0vjhx.js → index-3gb7bw7h.js} +88 -77
  23. package/dist/cli/{index-11st3tgy.js → index-3rrc5x4v.js} +2 -2
  24. package/dist/cli/{index-zs1jrsta.js → index-4emx8hhh.js} +2 -2
  25. package/dist/cli/{index-j98116cx.js → index-4jmtdtm9.js} +2 -2
  26. package/dist/cli/{index-w5jpjaqe.js → index-4krjn1gn.js} +2 -2
  27. package/dist/cli/{index-0145kpjr.js → index-50s9q4c1.js} +2 -2
  28. package/dist/cli/{index-4wneygfx.js → index-553veay1.js} +75 -23
  29. package/dist/cli/{index-88g6q52x.js → index-7rat6nyh.js} +4 -4
  30. package/dist/cli/{index-sn2vm710.js → index-8h9nng7f.js} +5 -5
  31. package/dist/cli/{index-xkqja15t.js → index-aaqbhn9h.js} +2 -2
  32. package/dist/cli/{index-5pxdtskj.js → index-aper29nf.js} +1 -1
  33. package/dist/cli/{index-8t11vcf5.js → index-ea7sehgy.js} +3 -3
  34. package/dist/cli/{index-kyayzfxp.js → index-er8ba9be.js} +4 -4
  35. package/dist/cli/{index-9pwa798m.js → index-fwebva1m.js} +7 -7
  36. package/dist/cli/{index-yep24wn4.js → index-fxxja498.js} +1 -1
  37. package/dist/cli/{index-sb4eanpv.js → index-hnjkpk57.js} +1 -1
  38. package/dist/cli/{index-kn0y788q.js → index-j9a4fsxg.js} +1 -1
  39. package/dist/cli/{index-493mxwj5.js → index-maxz22c1.js} +21 -21
  40. package/dist/cli/{index-0e34njnm.js → index-q0gtgwyr.js} +7 -7
  41. package/dist/cli/{index-fc153g7b.js → index-rc6hec4j.js} +4 -4
  42. package/dist/cli/{index-v56mhyhs.js → index-rz87mx1c.js} +1 -1
  43. package/dist/cli/{index-rhdwrfgc.js → index-s09b63xg.js} +5 -5
  44. package/dist/cli/{index-aaqzcnb9.js → index-ssb67ff6.js} +36 -36
  45. package/dist/cli/{index-f9nfknjg.js → index-tfa2p4y4.js} +3 -3
  46. package/dist/cli/{index-jwc2v92w.js → index-wbnyc50b.js} +5 -5
  47. package/dist/cli/{index-qbr05tbw.js → index-xj4kbtdw.js} +2 -2
  48. package/dist/cli/{index-yhpbcrdk.js → index-xm7dc14y.js} +13 -13
  49. package/dist/cli/{index-c8k4cs94.js → index-y42pra05.js} +5 -5
  50. package/dist/cli/{index-84qah5h6.js → index-yrsag0vs.js} +31 -52
  51. package/dist/cli/{index-3fpqmms2.js → index-ywtcznk2.js} +12 -4
  52. package/dist/cli/index.js +34 -34
  53. package/dist/cli/{knowledge-escalator-atn5tfy2.js → knowledge-escalator-evjd8g7y.js} +13 -13
  54. package/dist/cli/{knowledge-events-58ha93tx.js → knowledge-events-q46z1wy6.js} +11 -11
  55. package/dist/cli/{knowledge-link-2gh1cnk3.js → knowledge-link-ffmzf72f.js} +5 -5
  56. package/dist/cli/{knowledge-store-2vkn4qyy.js → knowledge-store-z82f5x9k.js} +6 -6
  57. package/dist/cli/{knowledge-validator-gcbfq9er.js → knowledge-validator-19gbnxx2.js} +8 -8
  58. package/dist/cli/{pending-delegations-esp3gpac.js → pending-delegations-t4cqk5ha.js} +6 -6
  59. package/dist/cli/{pr-subscriptions-sdv0n59c.js → pr-subscriptions-3enjtq0k.js} +6 -6
  60. package/dist/cli/{pr-workflow-gate-v5wh09wz.js → pr-workflow-gate-3ecgfsge.js} +34 -34
  61. package/dist/cli/{runner-m95v9d47.js → runner-wqy2hbxn.js} +6 -6
  62. package/dist/cli/{scan-cursor-6x0sqjer.js → scan-cursor-8wcy0dvf.js} +7 -7
  63. package/dist/cli/{schema-mgpsycrr.js → schema-hsw9r2tm.js} +5 -1
  64. package/dist/cli/{scope-persistence-pwqshfyr.js → scope-persistence-mbwt4grd.js} +9 -9
  65. package/dist/cli/{skill-generator-bywdfza0.js → skill-generator-kg32a5jy.js} +15 -15
  66. package/dist/cli/{telemetry-c4j18da8.js → telemetry-j14cj552.js} +1 -1
  67. package/dist/cli/{worktree-collision-ownership-71x5pqfz.js → worktree-collision-ownership-0rfw6kp3.js} +7 -7
  68. package/dist/cli/{worktree-isolation-e6tym281.js → worktree-isolation-qcwt09ve.js} +34 -34
  69. package/dist/config/index.d.ts +3 -3
  70. package/dist/config/loader.d.ts +34 -1
  71. package/dist/config/plan-schema.d.ts +1 -1
  72. package/dist/config/schema.d.ts +61 -7
  73. package/dist/council/council-review-identity.d.ts +1 -1
  74. package/dist/index.js +69 -69
  75. package/dist/plan/ledger.d.ts +56 -29
  76. package/dist/services/skill-optimizer/store.d.ts +1 -1
  77. package/dist/tools/build-check.d.ts +8 -0
  78. package/dist/tools/placeholder-scan.d.ts +10 -1
  79. package/dist/tools/pre-check-batch.d.ts +20 -8
  80. package/dist/tools/quality-budget.d.ts +2 -0
  81. package/dist/tools/sast-scan.d.ts +10 -2
  82. package/dist/tools/sbom-generate.d.ts +14 -0
  83. package/dist/tools/syntax-check.d.ts +11 -3
  84. package/package.json +1 -1
  85. package/dist/cli/curator-llm-factory-6swjnnb1.js +0 -66
  86. package/dist/cli/guardrail-explain-jhsqdzxr.js +0 -67
@@ -6,17 +6,17 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-5d7bzpfn.js";
9
+ } from "./index-25z5qwkk.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-zs1jrsta.js";
12
+ } from "./index-4emx8hhh.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
16
16
  } from "./index-bk5tah7q.js";
17
17
  import {
18
18
  readCachedParsedFile
19
- } from "./index-f9nfknjg.js";
19
+ } from "./index-tfa2p4y4.js";
20
20
  import {
21
21
  require_proper_lockfile
22
22
  } from "./index-7g4c7s5r.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-58ha93tx.js");
716
+ } = await import("./knowledge-events-q46z1wy6.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-gcbfq9er.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-mgpsycrr.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-19gbnxx2.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-hsw9r2tm.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-3fpqmms2.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-ywtcznk2.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-sb4eanpv.js";
4
+ } from "./index-hnjkpk57.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-0e34njnm.js";
12
+ } from "./index-q0gtgwyr.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-5d7bzpfn.js";
15
+ } from "./index-25z5qwkk.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-zs1jrsta.js";
18
+ } from "./index-4emx8hhh.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-r3mvsbtq.js";
8
8
  import {
9
9
  readCachedTextFile
10
- } from "./index-f9nfknjg.js";
10
+ } from "./index-tfa2p4y4.js";
11
11
  import {
12
12
  warn
13
13
  } from "./index-zgwm4ryv.js";
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-0e34njnm.js";
9
+ } from "./index-q0gtgwyr.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-95hhrw1d.js";
14
+ } from "./index-0trtcm9n.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-gcbfq9er.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-19gbnxx2.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-mgpsycrr.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-3fpqmms2.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-hsw9r2tm.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-ywtcznk2.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-11st3tgy.js";
4
+ } from "./index-3rrc5x4v.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-5pxdtskj.js";
7
+ } from "./index-aper29nf.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -94,56 +94,56 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-ehf0vjhx.js";
98
- import"./index-2xj34nkh.js";
99
- import"./index-8t11vcf5.js";
100
- import"./index-aty2dfmt.js";
101
- import"./index-493mxwj5.js";
102
- import"./index-w5jpjaqe.js";
97
+ } from "./index-3gb7bw7h.js";
98
+ import"./index-25jze7sf.js";
99
+ import"./index-ea7sehgy.js";
100
+ import"./index-1q2dwv69.js";
101
+ import"./index-maxz22c1.js";
102
+ import"./index-4krjn1gn.js";
103
103
  import"./index-txdagbh7.js";
104
104
  import"./index-3146wmgv.js";
105
- import"./index-88g6q52x.js";
106
- import"./index-rhdwrfgc.js";
107
- import"./index-xkqja15t.js";
105
+ import"./index-7rat6nyh.js";
106
+ import"./index-s09b63xg.js";
107
+ import"./index-aaqbhn9h.js";
108
108
  import"./index-70ha9e09.js";
109
- import"./index-y2f5s2cf.js";
110
- import"./index-hcn69kp0.js";
109
+ import"./index-1f4nandk.js";
110
+ import"./index-0zbze3n6.js";
111
111
  import"./index-zaab1wz9.js";
112
- import"./index-c8k4cs94.js";
112
+ import"./index-y42pra05.js";
113
113
  import"./index-zsrtt42s.js";
114
- import"./index-9pwa798m.js";
114
+ import"./index-fwebva1m.js";
115
115
  import"./index-3f7hqtgg.js";
116
- import"./index-qbr05tbw.js";
117
- import"./index-fc153g7b.js";
118
- import"./index-sb4eanpv.js";
116
+ import"./index-xj4kbtdw.js";
117
+ import"./index-rc6hec4j.js";
118
+ import"./index-hnjkpk57.js";
119
119
  import"./index-rtry5xyf.js";
120
- import"./index-jwc2v92w.js";
121
- import"./index-kn0y788q.js";
122
- import"./index-kyayzfxp.js";
120
+ import"./index-wbnyc50b.js";
121
+ import"./index-j9a4fsxg.js";
122
+ import"./index-er8ba9be.js";
123
123
  import"./index-ddszzne4.js";
124
- import"./index-sn2vm710.js";
125
- import"./index-yhpbcrdk.js";
126
- import"./index-0145kpjr.js";
124
+ import"./index-8h9nng7f.js";
125
+ import"./index-xm7dc14y.js";
126
+ import"./index-50s9q4c1.js";
127
127
  import"./index-556ja8an.js";
128
128
  import"./index-4fwbbad3.js";
129
129
  import"./index-b43rt5ph.js";
130
130
  import"./index-q7sjgr1y.js";
131
- import"./index-0e34njnm.js";
132
- import"./index-95hhrw1d.js";
133
- import"./index-j98116cx.js";
131
+ import"./index-q0gtgwyr.js";
132
+ import"./index-0trtcm9n.js";
133
+ import"./index-4jmtdtm9.js";
134
134
  import"./index-zg9d392c.js";
135
135
  import"./index-n832052r.js";
136
- import"./index-v56mhyhs.js";
136
+ import"./index-rz87mx1c.js";
137
137
  import"./index-z6xqpmqg.js";
138
138
  import"./index-r3mvsbtq.js";
139
- import"./index-4wneygfx.js";
139
+ import"./index-553veay1.js";
140
140
  import {
141
141
  init_schema,
142
142
  stripKnownSwarmPrefix
143
- } from "./index-84qah5h6.js";
143
+ } from "./index-yrsag0vs.js";
144
144
  import"./index-9e6fdz2h.js";
145
145
  import"./index-4rhhvd1a.js";
146
- import"./index-ac39znep.js";
146
+ import"./index-164m995b.js";
147
147
  import {
148
148
  AGENT_TOOL_MAP,
149
149
  ORCHESTRATOR_NAME,
@@ -151,12 +151,12 @@ import {
151
151
  } from "./index-m1nrd3yd.js";
152
152
  import"./index-zjygnfay.js";
153
153
  import"./index-ae75rja9.js";
154
- import"./index-5d7bzpfn.js";
155
- import"./index-zs1jrsta.js";
154
+ import"./index-25z5qwkk.js";
155
+ import"./index-4emx8hhh.js";
156
156
  import"./index-bk5tah7q.js";
157
- import"./index-yep24wn4.js";
158
- import"./index-f9nfknjg.js";
159
- import"./index-bzd67m2j.js";
157
+ import"./index-fxxja498.js";
158
+ import"./index-tfa2p4y4.js";
159
+ import"./index-1dz8hv7p.js";
160
160
  import"./index-7g4c7s5r.js";
161
161
  import"./index-bpmtbmy9.js";
162
162
  import"./index-zgwm4ryv.js";
@@ -231,7 +231,7 @@ var SWARM_TEMP_GRAMMARS = [
231
231
  "src/evidence/phase-participation.ts:303 (pre-#2035)",
232
232
  "src/turbo/lean/integration.ts:426",
233
233
  "src/turbo/lean/reviewer.ts:403",
234
- "src/plan/ledger.ts:713",
234
+ "src/plan/ledger.ts:737",
235
235
  "src/services/synonym-map.ts:389",
236
236
  "src/services/skill-optimizer/store.ts:340",
237
237
  "src/services/skill-optimizer/store.ts:503",
@@ -402,8 +402,8 @@ var SWARM_TEMP_GRAMMARS = [
402
402
  "src/hooks/skill-usage-log.ts:1675",
403
403
  "src/hooks/skill-usage-pending.ts:817",
404
404
  "src/parallel/file-locks.ts:113",
405
- "src/plan/ledger.ts:1302",
406
- "src/plan/ledger.ts:1303"
405
+ "src/plan/ledger.ts:1333",
406
+ "src/plan/ledger.ts:1334"
407
407
  ],
408
408
  note: "constant-name temps: reported when stale, never auto-quarantined. file-locks meta sidecars live under the scanner-skipped .swarm/locks/ subtree; the ledger reconcile temp embeds instance tokens but its .tmp-suffix shape maps here (conservatively report-only)"
409
409
  }
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-kn0y788q.js";
5
+ } from "./index-j9a4fsxg.js";
6
6
  import {
7
7
  isPathWithinDeclaredScope,
8
8
  unsafePathTextReason
9
9
  } from "./index-556ja8an.js";
10
10
  import {
11
11
  validateSwarmPath
12
- } from "./index-v56mhyhs.js";
12
+ } from "./index-rz87mx1c.js";
13
13
  import {
14
14
  bunSpawn,
15
15
  classifySpawnFailure
@@ -26,13 +26,13 @@ import {
26
26
  atomicWriteFile,
27
27
  taskEvidencePath,
28
28
  withTaskEvidenceLock
29
- } from "./index-zs1jrsta.js";
29
+ } from "./index-4emx8hhh.js";
30
30
  import {
31
31
  assertProjectRoot
32
- } from "./index-yep24wn4.js";
32
+ } from "./index-fxxja498.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-bzd67m2j.js";
35
+ } from "./index-1dz8hv7p.js";
36
36
  import {
37
37
  exports_external,
38
38
  init_zod
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-v56mhyhs.js";
4
+ } from "./index-rz87mx1c.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-f9nfknjg.js";
7
+ } from "./index-tfa2p4y4.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -4,14 +4,14 @@ import {
4
4
  PlanSchema,
5
5
  TaskStatusSchema,
6
6
  init_loader
7
- } from "./index-4wneygfx.js";
7
+ } from "./index-553veay1.js";
8
8
  import {
9
9
  assertProjectRoot,
10
10
  withEvidenceLock
11
- } from "./index-yep24wn4.js";
11
+ } from "./index-fxxja498.js";
12
12
  import {
13
13
  emit
14
- } from "./index-bzd67m2j.js";
14
+ } from "./index-1dz8hv7p.js";
15
15
  import {
16
16
  criticalWarn,
17
17
  init_logger,
@@ -50,7 +50,7 @@ var LEDGER_SCHEMA_VERSION = "1.1.0";
50
50
  function resolvePlanEpochIdentity(events, authoritativePlan) {
51
51
  const planId = derivePlanId(authoritativePlan);
52
52
  const planIdentityHash = derivePlanIdentityHash(authoritativePlan);
53
- const payloadHash = computePlanHash(authoritativePlan);
53
+ const payloadHash = computePlanLedgerHash(authoritativePlan);
54
54
  const candidates = extractPlanEpochCandidates(events, planId);
55
55
  const distinctCandidateKeys = new Set(candidates.map((candidate) => `${candidate.planEpoch}:${candidate.rootEventHash}`));
56
56
  if (distinctCandidateKeys.size > 1) {
@@ -158,7 +158,7 @@ function extractPlanEpochCandidates(events, expectedPlanId) {
158
158
  if (derivePlanId(embeddedPlan.data) !== expectedPlanId) {
159
159
  throw new Error(`Plan epoch adoption snapshot at seq ${event.seq} embeds a different plan identity.`);
160
160
  }
161
- if (computePlanHash(embeddedPlan.data) !== payloadHash) {
161
+ if (computePlanLedgerHash(embeddedPlan.data) !== payloadHash) {
162
162
  throw new Error(`Plan epoch adoption snapshot at seq ${event.seq} has a mismatched payload_hash.`);
163
163
  }
164
164
  candidates.push({
@@ -218,7 +218,7 @@ function findRawMalformedSuffix(content) {
218
218
  }
219
219
  return Buffer.alloc(0);
220
220
  }
221
- function computePlanHash(plan) {
221
+ function computePlanLedgerHash(plan) {
222
222
  const normalized = {
223
223
  schema_version: plan.schema_version,
224
224
  title: plan.title,
@@ -281,7 +281,7 @@ function computeCurrentPlanHash(directory) {
281
281
  try {
282
282
  const content = fs.readFileSync(planPath, "utf8");
283
283
  const plan = JSON.parse(content);
284
- return computePlanHash(plan);
284
+ return computePlanLedgerHash(plan);
285
285
  } catch {
286
286
  return "";
287
287
  }
@@ -358,7 +358,7 @@ async function initLedger(directory, planId, initialPlanHash, initialPlan) {
358
358
  if (fs.existsSync(planJsonPath)) {
359
359
  const content = fs.readFileSync(planJsonPath, "utf8");
360
360
  const plan = JSON.parse(content);
361
- planHashAfter = computePlanHash(plan);
361
+ planHashAfter = computePlanLedgerHash(plan);
362
362
  if (!embeddedPlan)
363
363
  embeddedPlan = plan;
364
364
  }
@@ -409,7 +409,7 @@ async function getOrAdoptPlanEpochUnderLock(directory, authoritativePlan) {
409
409
  assertProjectRoot(directory);
410
410
  const planId = derivePlanId(authoritativePlan);
411
411
  const planIdentityHash = derivePlanIdentityHash(authoritativePlan);
412
- const payloadHash = computePlanHash(authoritativePlan);
412
+ const payloadHash = computePlanLedgerHash(authoritativePlan);
413
413
  let lastStaleWriterError;
414
414
  for (let attempt = 0;attempt < 4; attempt++) {
415
415
  if (!await ledgerExists(directory)) {
@@ -575,7 +575,7 @@ async function takeSnapshotWithRetry(directory, plan, options) {
575
575
  } catch {}
576
576
  }
577
577
  async function takeSnapshotEvent(directory, plan, options) {
578
- const payloadHash = options?.payloadHashOverride ?? computePlanHash(plan);
578
+ const payloadHash = options?.payloadHashOverride ?? (options?.source === "critic_approved" ? computePlanStructureHash(plan) : computePlanLedgerHash(plan));
579
579
  const snapshotPayload = {
580
580
  plan,
581
581
  payload_hash: payloadHash
@@ -633,7 +633,7 @@ async function replaceTruncatedLedgerWithRecoveryRoot(directory, plan, expected)
633
633
  }
634
634
  const archiveTempPath = `${archivePath}.tmp`;
635
635
  const canonicalTempPath = `${ledgerPath}.reconcile.${Date.now()}.${Math.floor(Math.random() * 1e9)}.tmp`;
636
- const planHash = computePlanHash(validated);
636
+ const planHash = computePlanLedgerHash(validated);
637
637
  const rawBadSuffix = findRawMalformedSuffix(originalBytes);
638
638
  if (rawBadSuffix.length === 0) {
639
639
  throw new LedgerStaleWriterError("Stale writer: raw ledger bytes no longer contain the malformed suffix detected during replay");
@@ -938,7 +938,7 @@ function findLastApprovedSnapshot(events, expectedPlanId, extraFilter) {
938
938
  return null;
939
939
  }
940
940
  var _internals = {
941
- computePlanHash,
941
+ computePlanLedgerHash,
942
942
  computePlanStructureHash,
943
943
  computeCurrentPlanHash,
944
944
  ledgerExists,
@@ -962,4 +962,4 @@ var _internals = {
962
962
  randomUUID: () => crypto.randomUUID()
963
963
  };
964
964
 
965
- export { normalizeExecutionProfileForHash, derivePlanId, derivePlanIdentityHash, LedgerStaleWriterError, computePlanHash, computePlanStructureHash, computeCurrentPlanHash, ledgerExists, getLatestLedgerSeq, readLedgerEvents, initLedger, readPlanEpochIdentity, getOrAdoptPlanEpochUnderLock, appendLedgerEvent, takeSnapshotWithRetry, takeSnapshotEvent, replaceTruncatedLedgerWithRecoveryRoot, replayFromLedger, replayFromLedgerWithStatus, readLedgerEventsWithIntegrity, loadLastApprovedPlan };
965
+ export { normalizeExecutionProfileForHash, derivePlanId, derivePlanIdentityHash, LedgerStaleWriterError, computePlanLedgerHash, computePlanStructureHash, computeCurrentPlanHash, ledgerExists, getLatestLedgerSeq, readLedgerEvents, initLedger, readPlanEpochIdentity, getOrAdoptPlanEpochUnderLock, appendLedgerEvent, takeSnapshotWithRetry, takeSnapshotEvent, replaceTruncatedLedgerWithRecoveryRoot, replayFromLedger, replayFromLedgerWithStatus, readLedgerEventsWithIntegrity, loadLastApprovedPlan };
@@ -1,19 +1,19 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-v56mhyhs.js";
4
+ } from "./index-rz87mx1c.js";
5
5
  import {
6
6
  observeStoreHealth
7
- } from "./index-ac39znep.js";
7
+ } from "./index-164m995b.js";
8
8
  import {
9
9
  withEvidenceLock
10
- } from "./index-yep24wn4.js";
10
+ } from "./index-fxxja498.js";
11
11
  import {
12
12
  atomicWriteSwarmFileSync
13
- } from "./index-f9nfknjg.js";
13
+ } from "./index-tfa2p4y4.js";
14
14
  import {
15
15
  telemetry
16
- } from "./index-bzd67m2j.js";
16
+ } from "./index-1dz8hv7p.js";
17
17
  import {
18
18
  exports_external,
19
19
  init_zod
@@ -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.3",
24
+ version: "7.164.5",
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",
@@ -317,7 +317,7 @@ function resolveExternalSkillsConfig(input) {
317
317
  };
318
318
  return merged;
319
319
  }
320
- var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
320
+ var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
321
321
  var init_schema = __esm(() => {
322
322
  init_zod();
323
323
  init_package();
@@ -465,58 +465,37 @@ var init_schema = __esm(() => {
465
465
  enforce_on_globs: exports_external.array(exports_external.string()).default(["src/**"]),
466
466
  exclude_globs: exports_external.array(exports_external.string()).default(["docs/**", "tests/**", "**/*.test.*"])
467
467
  });
468
- GATE_CONFIG_KNOWN_SECTION_KEYS = {
469
- syntax_check: ["enabled"],
470
- placeholder_scan: [
471
- "enabled",
472
- "deny_patterns",
473
- "allow_globs",
474
- "max_allowed_findings"
475
- ],
476
- sast_scan: ["enabled"],
477
- sbom_generate: ["enabled"],
478
- build_check: ["enabled"],
468
+ GATE_SECTION_SCHEMAS = {
469
+ syntax_check: GateFeatureSchema,
470
+ placeholder_scan: PlaceholderScanConfigSchema,
471
+ sast_scan: GateFeatureSchema,
472
+ sbom_generate: GateFeatureSchema,
473
+ build_check: GateFeatureSchema,
474
+ quality_budget: QualityBudgetConfigSchema
475
+ };
476
+ GateConfigSchema = exports_external.object({
477
+ syntax_check: GATE_SECTION_SCHEMAS.syntax_check.default({ enabled: true }),
478
+ placeholder_scan: GATE_SECTION_SCHEMAS.placeholder_scan.default(() => GATE_SECTION_SCHEMAS.placeholder_scan.parse({})),
479
+ sast_scan: GATE_SECTION_SCHEMAS.sast_scan.default({ enabled: true }),
480
+ sbom_generate: GATE_SECTION_SCHEMAS.sbom_generate.default({ enabled: true }),
481
+ build_check: GATE_SECTION_SCHEMAS.build_check.default({ enabled: true }),
482
+ quality_budget: GATE_SECTION_SCHEMAS.quality_budget.default(() => GATE_SECTION_SCHEMAS.quality_budget.parse({}))
483
+ });
484
+ GATE_CONFIG_KNOWN_SECTION_KEYS = Object.fromEntries(Object.entries(GATE_SECTION_SCHEMAS).map(([section, schema]) => [
485
+ section,
486
+ Object.keys(schema.shape)
487
+ ]));
488
+ GATE_CONFIG_READERS = {
489
+ syntax_check: ["src/tools/syntax-check.ts"],
490
+ placeholder_scan: ["src/tools/placeholder-scan.ts"],
491
+ sast_scan: ["src/tools/sast-scan.ts", "src/tools/pre-check-batch.ts"],
492
+ sbom_generate: ["src/tools/sbom-generate.ts"],
493
+ build_check: ["src/tools/build-check.ts"],
479
494
  quality_budget: [
480
- "enabled",
481
- "max_complexity_delta",
482
- "max_public_api_delta",
483
- "max_duplication_ratio",
484
- "min_test_to_code_ratio",
485
- "enforce_on_globs",
486
- "exclude_globs"
495
+ "src/tools/quality-budget.ts",
496
+ "src/tools/pre-check-batch.ts"
487
497
  ]
488
498
  };
489
- GateConfigSchema = exports_external.object({
490
- syntax_check: GateFeatureSchema.default({ enabled: true }),
491
- placeholder_scan: PlaceholderScanConfigSchema.default({
492
- enabled: true,
493
- deny_patterns: [
494
- "TODO",
495
- "FIXME",
496
- "TBD",
497
- "XXX",
498
- "placeholder",
499
- "stub",
500
- "wip",
501
- "not implemented"
502
- ],
503
- allow_globs: [
504
- "docs/**",
505
- "examples/**",
506
- "tests/**",
507
- "**/*.test.*",
508
- "**/*.spec.*",
509
- "**/mocks/**",
510
- "**/__tests__/**"
511
- ],
512
- max_allowed_findings: 0,
513
- sentinel_allowlist: []
514
- }),
515
- sast_scan: GateFeatureSchema.default({ enabled: true }),
516
- sbom_generate: GateFeatureSchema.default({ enabled: true }),
517
- build_check: GateFeatureSchema.default({ enabled: true }),
518
- quality_budget: QualityBudgetConfigSchema.default(() => QualityBudgetConfigSchema.parse({}))
519
- });
520
499
  PipelineConfigSchema = exports_external.object({
521
500
  parallel_precheck: exports_external.boolean().default(true)
522
501
  });
@@ -1915,4 +1894,4 @@ var init_schema = __esm(() => {
1915
1894
  });
1916
1895
  });
1917
1896
 
1918
- export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
1897
+ export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-j98116cx.js";
5
+ } from "./index-4jmtdtm9.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -39,10 +39,12 @@ import {
39
39
  TaskStatusSchema,
40
40
  getSafeDefaultConfigLoadResult,
41
41
  loadAgentPrompt,
42
+ loadGateOverrides,
42
43
  loadPluginConfig,
43
44
  loadPluginConfigWithMeta,
44
- loadPluginConfigWithMetaAsync
45
- } from "./index-4wneygfx.js";
45
+ loadPluginConfigWithMetaAsync,
46
+ resetConfigAdvisoryDedup
47
+ } from "./index-553veay1.js";
46
48
  import {
47
49
  AUTO_REVIEW_V8_BURN_IN_DECISION,
48
50
  AgentOverrideConfigSchema,
@@ -51,6 +53,8 @@ import {
51
53
  AutomationCapabilitiesSchema,
52
54
  AutomationConfigSchema,
53
55
  AutomationModeSchema,
56
+ GATE_CONFIG_READERS,
57
+ GATE_SECTION_SCHEMAS,
54
58
  LeanTurboConfigSchema,
55
59
  MemoryConfigSchema,
56
60
  ModelPricingConfigSchema,
@@ -64,7 +68,7 @@ import {
64
68
  TurboConfigSchema,
65
69
  WorktreeIsolationConfigSchema,
66
70
  resolveAutoReviewConfig
67
- } from "./index-84qah5h6.js";
71
+ } from "./index-yrsag0vs.js";
68
72
  import"./index-9e6fdz2h.js";
69
73
  import"./index-4rhhvd1a.js";
70
74
  import {
@@ -86,9 +90,11 @@ export {
86
90
  validateSpecContent,
87
91
  resolveWorktreeIsolationConfig,
88
92
  resolveAutoReviewConfig,
93
+ resetConfigAdvisoryDedup,
89
94
  loadPluginConfigWithMetaAsync,
90
95
  loadPluginConfigWithMeta,
91
96
  loadPluginConfig,
97
+ loadGateOverrides,
92
98
  loadAgentPrompt,
93
99
  isSubagent,
94
100
  isQAAgent,
@@ -125,6 +131,8 @@ export {
125
131
  MigrationStatusSchema,
126
132
  MemoryConfigSchema,
127
133
  LeanTurboConfigSchema,
134
+ GATE_SECTION_SCHEMAS,
135
+ GATE_CONFIG_READERS,
128
136
  ExecutionProfileSchema,
129
137
  EvidenceVerdictSchema,
130
138
  EvidenceTypeSchema,