opencode-swarm 7.188.12 → 7.189.0

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 (68) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-4g963859.js → auto-checkpoint-m7c4x8bk.js} +4 -4
  4. package/dist/cli/{checkpoint-y9nbjper.js → checkpoint-m7q9886q.js} +8 -8
  5. package/dist/cli/{coder-settlement-q8ea2jkw.js → coder-settlement-hh81z2f7.js} +3 -3
  6. package/dist/cli/{config-doctor-4v5m6v30.js → config-doctor-0rexy3xt.js} +7 -7
  7. package/dist/cli/{core-879105xb.js → core-ays6stz4.js} +1 -1
  8. package/dist/cli/{curator-t7g3hamd.js → curator-dfzkfgs0.js} +25 -25
  9. package/dist/cli/{curator-drift-satfdnp2.js → curator-drift-nts5atks.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-fx1qnpsh.js → curator-llm-factory-nrn6n2p1.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-y3ft2v24.js → doctor-knowledge-receipt-phase-id-ec40k5hn.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-56rqzmrf.js → evidence-summary-service-vgtm72g5.js} +9 -9
  13. package/dist/cli/{gate-evidence-zzmgph9z.js → gate-evidence-vmn65kxe.js} +2 -2
  14. package/dist/cli/{guardrail-explain-g03manbh.js → guardrail-explain-9jmr8ezt.js} +26 -26
  15. package/dist/cli/{guardrail-log-sxv7q0xw.js → guardrail-log-hc8fjm4x.js} +3 -3
  16. package/dist/cli/{guardrail-reset-37cr442b.js → guardrail-reset-ct00w300.js} +25 -25
  17. package/dist/cli/{hive-promoter-hyeta8d6.js → hive-promoter-2xax6van.js} +25 -25
  18. package/dist/cli/{index-3dqazqk4.js → index-0gejy4cx.js} +2 -2
  19. package/dist/cli/{index-yc0y5fjt.js → index-16m2m4ah.js} +1 -1
  20. package/dist/cli/{index-2h13hjbf.js → index-1cwmj1gs.js} +1 -1
  21. package/dist/cli/{index-jgr1rsr1.js → index-2btybj8w.js} +1 -1
  22. package/dist/cli/{index-94fgbb34.js → index-2nexf5vz.js} +61 -61
  23. package/dist/cli/{index-0b172h6r.js → index-34vsyj15.js} +2 -2
  24. package/dist/cli/{index-msvf6p5y.js → index-3dx0c7ve.js} +25 -25
  25. package/dist/cli/{index-z7gakzb5.js → index-4a7j5f60.js} +3 -3
  26. package/dist/cli/{index-9sps637v.js → index-4p3jh14t.js} +1 -1
  27. package/dist/cli/{index-yjjyapbf.js → index-5cfhwd65.js} +1 -1
  28. package/dist/cli/{index-5pafc9x6.js → index-5v09zw1q.js} +1 -1
  29. package/dist/cli/{index-dd6p8xb5.js → index-89f56ej4.js} +27 -27
  30. package/dist/cli/{index-m3hhaf61.js → index-9gqb5nkj.js} +3 -3
  31. package/dist/cli/{index-8jy605yf.js → index-9j3ybyfs.js} +1 -1
  32. package/dist/cli/{index-xy2403g9.js → index-bskex45z.js} +1 -1
  33. package/dist/cli/{index-95pzyv9a.js → index-bzbxn24k.js} +2 -2
  34. package/dist/cli/{index-e638qt2d.js → index-cbqkag7q.js} +1 -1
  35. package/dist/cli/{index-tmn4pf7q.js → index-cdjxzs2r.js} +4 -4
  36. package/dist/cli/{index-19yt5p2t.js → index-cj4mp0fm.js} +6 -6
  37. package/dist/cli/{index-5cksakjf.js → index-fbgjj7h5.js} +2 -2
  38. package/dist/cli/{index-kap0d52p.js → index-g03m5jhw.js} +2 -2
  39. package/dist/cli/{index-fhtcx5ag.js → index-kqegvngt.js} +2 -2
  40. package/dist/cli/{index-7z2pxxye.js → index-mfxef20k.js} +1 -1
  41. package/dist/cli/{index-84pwb6cz.js → index-nhsafbrh.js} +1 -1
  42. package/dist/cli/{index-j0qep2zr.js → index-qx3g1bbe.js} +1 -1
  43. package/dist/cli/{index-tbyvvq50.js → index-skdpgjar.js} +5 -5
  44. package/dist/cli/{index-qha2p47y.js → index-w4zscz6p.js} +1 -1
  45. package/dist/cli/{index-1krdj1sc.js → index-waxvpwbv.js} +1 -1
  46. package/dist/cli/{index-w9tfb0am.js → index-wqa31xnf.js} +3 -3
  47. package/dist/cli/{index-f0jn2nvs.js → index-z29hksyw.js} +3 -3
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-dzd35eb3.js → knowledge-escalator-v3c8w86g.js} +7 -7
  50. package/dist/cli/{knowledge-events-wkr5ne5f.js → knowledge-events-kagaccj9.js} +5 -5
  51. package/dist/cli/{knowledge-store-sme6sqrb.js → knowledge-store-ywxjk5pb.js} +1 -1
  52. package/dist/cli/{knowledge-validator-jgzeawa8.js → knowledge-validator-210gkpec.js} +2 -2
  53. package/dist/cli/{mcp-egrbh8na.js → mcp-58hgx6av.js} +1 -1
  54. package/dist/cli/{model-preflight-h7azh4m4.js → model-preflight-e69b48n0.js} +25 -25
  55. package/dist/cli/{pending-delegations-pg284vsk.js → pending-delegations-g24d3qa9.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-hzc4fg25.js → pr-subscriptions-qprh2zsm.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-j3r3g3q7.js → pr-workflow-gate-pj7dhkv4.js} +25 -25
  58. package/dist/cli/{scan-cursor-zg0a56c1.js → scan-cursor-s5wsxxd1.js} +2 -2
  59. package/dist/cli/{schema-p246rqkt.js → schema-smgngq9m.js} +1 -1
  60. package/dist/cli/{scope-persistence-7qtsmx5c.js → scope-persistence-tbv2ar4w.js} +5 -5
  61. package/dist/cli/{server-twhpwhgq.js → server-7p2ds5w2.js} +25 -25
  62. package/dist/cli/{skill-generator-7vfbmyrw.js → skill-generator-r4hsne71.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-050hf69t.js → snapshot-coordination-init-ydjwh56d.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-d3v522cb.js → speckit-checkoff-aj75vmjq.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-yy1tp8t9.js → worktree-collision-ownership-0bxj9f0t.js} +2 -2
  66. package/dist/cli/{worktree-isolation-e56skbfw.js → worktree-isolation-h0c22pm2.js} +25 -25
  67. package/dist/index.js +1 -1
  68. package/package.json +1 -1
@@ -7,50 +7,50 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-94fgbb34.js";
11
- import"./index-9sps637v.js";
12
- import"./index-5cksakjf.js";
13
- import"./index-84pwb6cz.js";
10
+ } from "./index-2nexf5vz.js";
11
+ import"./index-4p3jh14t.js";
12
+ import"./index-fbgjj7h5.js";
13
+ import"./index-nhsafbrh.js";
14
14
  import"./index-j2vv0h13.js";
15
15
  import"./index-k8sarme1.js";
16
16
  import"./index-8xabhfwr.js";
17
17
  import"./index-txdagbh7.js";
18
- import"./index-xy2403g9.js";
18
+ import"./index-bskex45z.js";
19
19
  import"./index-rdec0y3z.js";
20
- import"./index-e638qt2d.js";
21
- import"./index-w9tfb0am.js";
22
- import"./index-m3hhaf61.js";
23
- import"./index-19yt5p2t.js";
20
+ import"./index-cbqkag7q.js";
21
+ import"./index-wqa31xnf.js";
22
+ import"./index-9gqb5nkj.js";
23
+ import"./index-cj4mp0fm.js";
24
24
  import"./index-kaqdzhj3.js";
25
25
  import"./index-9czp2dcg.js";
26
26
  import"./index-cjapb4hy.js";
27
27
  import"./index-f6exny9m.js";
28
28
  import"./index-pt7h91zc.js";
29
29
  import"./index-q7sjgr1y.js";
30
- import"./index-f0jn2nvs.js";
31
- import"./index-tbyvvq50.js";
30
+ import"./index-z29hksyw.js";
31
+ import"./index-skdpgjar.js";
32
32
  import"./index-6b295cas.js";
33
33
  import"./index-9nyqt3kb.js";
34
- import"./index-yc0y5fjt.js";
34
+ import"./index-16m2m4ah.js";
35
35
  import"./index-zsrtt42s.js";
36
- import"./index-yjjyapbf.js";
37
- import"./index-5pafc9x6.js";
38
- import"./index-7z2pxxye.js";
36
+ import"./index-5cfhwd65.js";
37
+ import"./index-5v09zw1q.js";
38
+ import"./index-mfxef20k.js";
39
39
  import"./index-g4fs6z4e.js";
40
- import"./index-8jy605yf.js";
41
- import"./index-fhtcx5ag.js";
42
- import"./index-0b172h6r.js";
40
+ import"./index-9j3ybyfs.js";
41
+ import"./index-kqegvngt.js";
42
+ import"./index-34vsyj15.js";
43
43
  import"./index-m9zzj4ee.js";
44
44
  import"./index-7hr5m7yp.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-jgr1rsr1.js";
46
+ import"./index-2btybj8w.js";
47
47
  import"./index-q9kefh33.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-kap0d52p.js";
49
+ import"./index-g03m5jhw.js";
50
50
  import"./index-pkhbd2t5.js";
51
51
  import"./index-0725jpp7.js";
52
- import"./index-qha2p47y.js";
53
- import"./index-95pzyv9a.js";
52
+ import"./index-w4zscz6p.js";
53
+ import"./index-bzbxn24k.js";
54
54
  import"./index-wrdktgpy.js";
55
55
  import"./index-x1eh2636.js";
56
56
  import"./index-ntda6tje.js";
@@ -61,7 +61,7 @@ import"./index-7pmbnjvj.js";
61
61
  import"./index-1xa8wq76.js";
62
62
  import {
63
63
  resolveHiveKnowledgePath
64
- } from "./index-tmn4pf7q.js";
64
+ } from "./index-cdjxzs2r.js";
65
65
  import"./index-vzm6zre7.js";
66
66
  import"./index-ae75rja9.js";
67
67
  import"./index-8q8783g0.js";
@@ -74,9 +74,9 @@ import"./index-ejhxgyvm.js";
74
74
  import"./index-7g4c7s5r.js";
75
75
  import"./index-p2tqzwh6.js";
76
76
  import"./index-gx2vp8gx.js";
77
- import"./index-1krdj1sc.js";
77
+ import"./index-waxvpwbv.js";
78
78
  import"./index-zxdawwc7.js";
79
- import"./index-2h13hjbf.js";
79
+ import"./index-1cwmj1gs.js";
80
80
  import"./index-zfbxfm2m.js";
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-gknz3bv1.js";
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-94fgbb34.js";
17
+ } from "./index-2nexf5vz.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-9sps637v.js";
24
+ } from "./index-4p3jh14t.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
  writeSpeckitCheckoffLedger
4
- } from "./index-yjjyapbf.js";
4
+ } from "./index-5cfhwd65.js";
5
5
  import {
6
6
  validateSpecContent
7
7
  } from "./index-0725jpp7.js";
@@ -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.188.12",
24
+ version: "7.189.0",
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",
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-tmn4pf7q.js";
12
+ } from "./index-cdjxzs2r.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-8q8783g0.js";
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-9sps637v.js";
11
+ } from "./index-4p3jh14t.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-5cksakjf.js";
18
+ } from "./index-fbgjj7h5.js";
19
19
  import {
20
20
  archiveEvidence,
21
21
  checkRequirementCoverage,
@@ -27,7 +27,7 @@ import {
27
27
  sanitizeTaskId,
28
28
  saveEvidence,
29
29
  validateProjectRoot
30
- } from "./index-84pwb6cz.js";
30
+ } from "./index-nhsafbrh.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-xy2403g9.js";
92
+ } from "./index-bskex45z.js";
93
93
  import {
94
94
  CURATOR_CONSOLIDATION_PROMPT,
95
95
  CURATOR_INIT_PROMPT,
@@ -108,13 +108,13 @@ import {
108
108
  getGroupCommitWriter,
109
109
  importLegacyJsonl,
110
110
  readPriorDriftReports
111
- } from "./index-e638qt2d.js";
111
+ } from "./index-cbqkag7q.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-w9tfb0am.js";
117
+ } from "./index-wqa31xnf.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -135,11 +135,11 @@ import {
135
135
  retireSkill,
136
136
  selectCandidateEntries,
137
137
  syncBundledProjectSkillsIfMissingAsync
138
- } from "./index-m3hhaf61.js";
138
+ } from "./index-9gqb5nkj.js";
139
139
  import {
140
140
  buildEscalationBriefing,
141
141
  readRecentEscalations
142
- } from "./index-19yt5p2t.js";
142
+ } from "./index-cj4mp0fm.js";
143
143
  import {
144
144
  parsePorcelainV2Snapshot,
145
145
  resolveCommitCountSince,
@@ -219,7 +219,7 @@ import {
219
219
  resolveWorkingDirectory,
220
220
  swarmOverwriteCandidates,
221
221
  trackedDirtyCandidates
222
- } from "./index-f0jn2nvs.js";
222
+ } from "./index-z29hksyw.js";
223
223
  import {
224
224
  MAX_TRANSIENT_RETRIES,
225
225
  PlanRecoverySupersededError,
@@ -246,7 +246,7 @@ import {
246
246
  transientBackoff,
247
247
  updateTaskStatus,
248
248
  withPlanLifecycleLock
249
- } from "./index-tbyvvq50.js";
249
+ } from "./index-skdpgjar.js";
250
250
  import {
251
251
  containsControlChars,
252
252
  containsPathTraversal,
@@ -262,7 +262,7 @@ import {
262
262
  resolveSpeckitProjection,
263
263
  validateSpeckit,
264
264
  writeProjectedSpecSync
265
- } from "./index-yc0y5fjt.js";
265
+ } from "./index-16m2m4ah.js";
266
266
  import {
267
267
  clearWorktreeMergeStatus,
268
268
  getAllWorktreeMergeFailures,
@@ -293,7 +293,7 @@ import {
293
293
  transitionTaskWorkflowEvidenceWithStatus,
294
294
  withTaskEvidenceTransaction,
295
295
  writeWorkflowWalFile
296
- } from "./index-5pafc9x6.js";
296
+ } from "./index-5v09zw1q.js";
297
297
  import {
298
298
  isPathUnderSwarmWorktreeBase,
299
299
  listLiveLaneOwners,
@@ -302,7 +302,7 @@ import {
302
302
  recordLiveLaneOwner,
303
303
  removeWorktree,
304
304
  resolveWorktreeBaseDir
305
- } from "./index-7z2pxxye.js";
305
+ } from "./index-mfxef20k.js";
306
306
  import {
307
307
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
308
308
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -336,7 +336,7 @@ import {
336
336
  scanBackgroundCoderReservationsForAdmission,
337
337
  scanDelegationsForRecovery,
338
338
  sweepStaleDelegations
339
- } from "./index-8jy605yf.js";
339
+ } from "./index-9j3ybyfs.js";
340
340
  import {
341
341
  MAX_EVENT_LOG_ENTRIES,
342
342
  _internals,
@@ -348,7 +348,7 @@ import {
348
348
  recordHiveKnowledgeEvent,
349
349
  recordKnowledgeEvent,
350
350
  resolveKnowledgeEventsPath
351
- } from "./index-fhtcx5ag.js";
351
+ } from "./index-kqegvngt.js";
352
352
  import {
353
353
  commitDisplayedMembership,
354
354
  commitEmptyRetrieval,
@@ -361,7 +361,7 @@ import {
361
361
  queryLiveMemberships,
362
362
  reconcilePhaseClose,
363
363
  recordPhaseCloseIntent
364
- } from "./index-0b172h6r.js";
364
+ } from "./index-34vsyj15.js";
365
365
  import {
366
366
  sanitizeContextText
367
367
  } from "./index-m9zzj4ee.js";
@@ -392,7 +392,7 @@ import {
392
392
  validateActionableFields,
393
393
  validateLesson,
394
394
  validateSkillPath
395
- } from "./index-jgr1rsr1.js";
395
+ } from "./index-2btybj8w.js";
396
396
  import {
397
397
  MAX_CURATION_PROPOSALS,
398
398
  authorizeCuration,
@@ -403,7 +403,7 @@ import {
403
403
  } from "./index-rtry5xyf.js";
404
404
  import {
405
405
  resolveWorktreeIsolationConfig
406
- } from "./index-kap0d52p.js";
406
+ } from "./index-g03m5jhw.js";
407
407
  import {
408
408
  RetrospectiveEvidenceSchema
409
409
  } from "./index-pkhbd2t5.js";
@@ -415,7 +415,7 @@ import {
415
415
  clearScopeBindings,
416
416
  readAuthoritativeScopeBindingSet,
417
417
  readDeclaredScopeFilesFromBindings
418
- } from "./index-qha2p47y.js";
418
+ } from "./index-w4zscz6p.js";
419
419
  import {
420
420
  clearPlanLedgerForReset,
421
421
  computePlanStructureHash,
@@ -431,7 +431,7 @@ import {
431
431
  replayFromLedgerWithStatus,
432
432
  resolvePlanningProfile,
433
433
  takeSnapshotEvent
434
- } from "./index-95pzyv9a.js";
434
+ } from "./index-bzbxn24k.js";
435
435
  import {
436
436
  CORE_EVENT_LOCKED,
437
437
  appendCoreEventSync,
@@ -520,7 +520,7 @@ import {
520
520
  transactFile,
521
521
  transactKnowledge,
522
522
  wordBigrams
523
- } from "./index-tmn4pf7q.js";
523
+ } from "./index-cdjxzs2r.js";
524
524
  import {
525
525
  readTailJsonl,
526
526
  readTailJsonlDetailed,
@@ -601,7 +601,7 @@ import {
601
601
  loadGateOverrides,
602
602
  loadPluginConfig,
603
603
  loadPluginConfigWithMeta
604
- } from "./index-1krdj1sc.js";
604
+ } from "./index-waxvpwbv.js";
605
605
  import {
606
606
  addDeferredWarning,
607
607
  advisoryWarn,
@@ -632,7 +632,7 @@ import {
632
632
  resolveContextWindow,
633
633
  resolveGeneratedAgentRole,
634
634
  stripKnownSwarmPrefix
635
- } from "./index-2h13hjbf.js";
635
+ } from "./index-1cwmj1gs.js";
636
636
  import {
637
637
  AGENT_TOOL_MAP,
638
638
  ALL_AGENT_NAMES,
@@ -3421,7 +3421,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3421
3421
  return null;
3422
3422
  throw error2;
3423
3423
  }
3424
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-j3r3g3q7.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3424
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-pj7dhkv4.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3425
3425
  if (!legacy)
3426
3426
  return null;
3427
3427
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3508,7 +3508,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3508
3508
  let recoveryState = null;
3509
3509
  if (!currentAuthoritative) {
3510
3510
  if (options.allowSalvagedRead) {
3511
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-j3r3g3q7.js");
3511
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-pj7dhkv4.js");
3512
3512
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3513
3513
  }
3514
3514
  if (!recoveryState) {
@@ -15081,7 +15081,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
15081
15081
  return extracted === expectedSessionId;
15082
15082
  }
15083
15083
  async function inspectStandardWorktreeCollisionOwnership(identity) {
15084
- const collisionOwnership = await import("./worktree-collision-ownership-yy1tp8t9.js");
15084
+ const collisionOwnership = await import("./worktree-collision-ownership-0bxj9f0t.js");
15085
15085
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
15086
15086
  }
15087
15087
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -15507,7 +15507,7 @@ async function precreateStandardWorktreeSession(args) {
15507
15507
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
15508
15508
  if (laneProfile) {
15509
15509
  try {
15510
- const { writeLaneProfileToDiskReal } = await import("./core-879105xb.js");
15510
+ const { writeLaneProfileToDiskReal } = await import("./core-ays6stz4.js");
15511
15511
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
15512
15512
  } catch {}
15513
15513
  }
@@ -16486,7 +16486,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
16486
16486
  }
16487
16487
  clearWorktreeMergeStatus(statusKey);
16488
16488
  try {
16489
- const { removeLaneProfileFromDiskReal } = await import("./core-879105xb.js");
16489
+ const { removeLaneProfileFromDiskReal } = await import("./core-ays6stz4.js");
16490
16490
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
16491
16491
  } catch {}
16492
16492
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -24124,7 +24124,7 @@ function clearCriticalShownIds(sessionID) {
24124
24124
  async function rehydratePrSubscriptions(sessionID, directory) {
24125
24125
  const map = new Map;
24126
24126
  try {
24127
- const { listActive: listActive2 } = await import("./pr-subscriptions-hzc4fg25.js");
24127
+ const { listActive: listActive2 } = await import("./pr-subscriptions-qprh2zsm.js");
24128
24128
  const records = await listActive2(directory);
24129
24129
  for (const record of records) {
24130
24130
  if (record.sessionID !== sessionID)
@@ -40671,9 +40671,9 @@ function hashContent(content) {
40671
40671
  return createHash27("sha1").update(content).digest("hex");
40672
40672
  }
40673
40673
  async function loadConfigForPolicyCurator(directory) {
40674
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-p246rqkt.js");
40674
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-smgngq9m.js");
40675
40675
  try {
40676
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z7gakzb5.js");
40676
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4a7j5f60.js");
40677
40677
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
40678
40678
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
40679
40679
  } catch {
@@ -43731,7 +43731,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
43731
43731
  const seam = _internals38.createCuratorLLMDelegate;
43732
43732
  if (seam)
43733
43733
  return seam(directory, mode, sessionId);
43734
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-fx1qnpsh.js");
43734
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-nrn6n2p1.js");
43735
43735
  return createCuratorLLMDelegate(directory, mode, sessionId);
43736
43736
  }
43737
43737
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -44126,7 +44126,7 @@ async function runFinalizeStage(ctx) {
44126
44126
  }
44127
44127
  }
44128
44128
  try {
44129
- const { CuratorConfigSchema: CCS } = await import("./schema-p246rqkt.js");
44129
+ const { CuratorConfigSchema: CCS } = await import("./schema-smgngq9m.js");
44130
44130
  const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
44131
44131
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
44132
44132
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -46363,7 +46363,7 @@ function serializeAgentSession(s) {
46363
46363
  }
46364
46364
  async function writeSnapshot(directory, state) {
46365
46365
  try {
46366
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-050hf69t.js");
46366
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ydjwh56d.js");
46367
46367
  await ensureSnapshotCoordinationReady(directory);
46368
46368
  const snapshot = {
46369
46369
  version: 3,
@@ -49373,7 +49373,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
49373
49373
  };
49374
49374
  }
49375
49375
  async function sweepActiveNearDuplicates(directory, options = {}) {
49376
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z7gakzb5.js");
49376
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4a7j5f60.js");
49377
49377
  const { config } = loadPluginConfigWithMeta2(directory);
49378
49378
  const sweepConfig = config.learning?.dedup_sweep;
49379
49379
  if (sweepConfig?.enabled === false)
@@ -50497,7 +50497,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
50497
50497
  }
50498
50498
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
50499
50499
  try {
50500
- const skillModule = await import("./skill-generator-7vfbmyrw.js");
50500
+ const skillModule = await import("./skill-generator-r4hsne71.js");
50501
50501
  for (const cand of skillCandidates) {
50502
50502
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
50503
50503
  continue;
@@ -50969,7 +50969,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
50969
50969
  } catch {}
50970
50970
  }
50971
50971
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
50972
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-dzd35eb3.js");
50972
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-v3c8w86g.js");
50973
50973
  for (const { id } of contradictedEntries) {
50974
50974
  try {
50975
50975
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -51801,7 +51801,7 @@ async function runCuratorPostMortem(directory, options = {}) {
51801
51801
  warnings.push("Failed to collect knowledge summary.");
51802
51802
  }
51803
51803
  try {
51804
- const { getScanStatus } = await import("./scan-cursor-zg0a56c1.js");
51804
+ const { getScanStatus } = await import("./scan-cursor-s5wsxxd1.js");
51805
51805
  const scanStatus = await getScanStatus(directory);
51806
51806
  if (scanStatus.remaining_estimate > 0) {
51807
51807
  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.`);
@@ -51973,9 +51973,9 @@ var _internals56 = {
51973
51973
  verifyPostMortemKnowledgeActions,
51974
51974
  repairPostMortemActions,
51975
51975
  loadDefaultKnowledgeConfig: async (directory) => {
51976
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-p246rqkt.js");
51976
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-smgngq9m.js");
51977
51977
  try {
51978
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z7gakzb5.js");
51978
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4a7j5f60.js");
51979
51979
  const loaded = loadPluginConfigWithMeta2(directory);
51980
51980
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
51981
51981
  } catch {
@@ -51983,11 +51983,11 @@ var _internals56 = {
51983
51983
  }
51984
51984
  },
51985
51985
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
51986
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-t7g3hamd.js");
51986
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-dfzkfgs0.js");
51987
51987
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
51988
51988
  },
51989
51989
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
51990
- const { checkHivePromotions } = await import("./hive-promoter-hyeta8d6.js");
51990
+ const { checkHivePromotions } = await import("./hive-promoter-2xax6van.js");
51991
51991
  return checkHivePromotions(entries2, knowledgeConfig, directory);
51992
51992
  },
51993
51993
  applyProposalTriage: async (directory, triage) => {
@@ -51996,7 +51996,7 @@ var _internals56 = {
51996
51996
  activateProposal,
51997
51997
  listSkills: listSkills2,
51998
51998
  sanitizeSlug
51999
- } = await import("./skill-generator-7vfbmyrw.js");
51999
+ } = await import("./skill-generator-r4hsne71.js");
52000
52000
  const result = {
52001
52001
  approved: [],
52002
52002
  rejected: [],
@@ -52038,7 +52038,7 @@ var _internals56 = {
52038
52038
  return result;
52039
52039
  },
52040
52040
  readPriorDriftReports: async (directory) => {
52041
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-satfdnp2.js");
52041
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-nts5atks.js");
52042
52042
  return readPriorDriftReports2(directory);
52043
52043
  },
52044
52044
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -61841,9 +61841,9 @@ var _internals66 = {
61841
61841
  loadPluginConfigWithMeta,
61842
61842
  loadCuratorDeps: async () => {
61843
61843
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
61844
- import("./schema-p246rqkt.js"),
61845
- import("./curator-t7g3hamd.js"),
61846
- import("./curator-llm-factory-fx1qnpsh.js")
61844
+ import("./schema-smgngq9m.js"),
61845
+ import("./curator-dfzkfgs0.js"),
61846
+ import("./curator-llm-factory-nrn6n2p1.js")
61847
61847
  ]);
61848
61848
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
61849
61849
  }
@@ -64281,7 +64281,7 @@ async function computeCurationDiagnostics(directory, entries2) {
64281
64281
  let scanCompleted = false;
64282
64282
  let scanRemaining = 0;
64283
64283
  try {
64284
- const { getScanStatus } = await import("./scan-cursor-zg0a56c1.js");
64284
+ const { getScanStatus } = await import("./scan-cursor-s5wsxxd1.js");
64285
64285
  const status = await getScanStatus(directory);
64286
64286
  scanGeneration = status.generation;
64287
64287
  scanCompleted = status.completed;
@@ -64291,10 +64291,10 @@ async function computeCurationDiagnostics(directory, entries2) {
64291
64291
  try {
64292
64292
  const { isLinked: isLinked2 } = await import("./knowledge-link-h4pdcnya.js");
64293
64293
  if (isLinked2(directory)) {
64294
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-p246rqkt.js");
64294
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-smgngq9m.js");
64295
64295
  let config;
64296
64296
  try {
64297
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z7gakzb5.js");
64297
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4a7j5f60.js");
64298
64298
  const loaded = loadPluginConfigWithMeta2(directory);
64299
64299
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
64300
64300
  } catch {
@@ -65750,7 +65750,7 @@ async function handleDoctorCommand(directory, args) {
65750
65750
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
65751
65751
  let output;
65752
65752
  if (enableAutoFix && result.hasAutoFixableIssues) {
65753
- const { runConfigDoctorWithFixes } = await import("./config-doctor-4v5m6v30.js");
65753
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-0rexy3xt.js");
65754
65754
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
65755
65755
  applyLossy: true
65756
65756
  });
@@ -65788,7 +65788,7 @@ async function handleDoctorCommand(directory, args) {
65788
65788
  `;
65789
65789
  }
65790
65790
  try {
65791
- const { runModelPreflight } = await import("./model-preflight-h7azh4m4.js");
65791
+ const { runModelPreflight } = await import("./model-preflight-e69b48n0.js");
65792
65792
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
65793
65793
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
65794
65794
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -65822,7 +65822,7 @@ async function handleDoctorCommand(directory, args) {
65822
65822
  }
65823
65823
  } catch {}
65824
65824
  try {
65825
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-y3ft2v24.js");
65825
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-ec40k5hn.js");
65826
65826
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
65827
65827
  } catch {}
65828
65828
  const strayDirs = detectStraySwarmDirs(directory);
@@ -66719,7 +66719,7 @@ async function handleEvidenceCommand(directory, args) {
66719
66719
  return formatTaskEvidenceMarkdown(evidenceData);
66720
66720
  }
66721
66721
  async function handleEvidenceSummaryCommand(directory) {
66722
- const { buildEvidenceSummary } = await import("./evidence-summary-service-56rqzmrf.js");
66722
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-vgtm72g5.js");
66723
66723
  const artifact = await buildEvidenceSummary(directory);
66724
66724
  if (!artifact) {
66725
66725
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -91163,7 +91163,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
91163
91163
  }
91164
91164
  const sdkOpts = signal ? { signal } : {};
91165
91165
  try {
91166
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-msvf6p5y.js");
91166
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-3dx0c7ve.js");
91167
91167
  const createResult = await client.session.create({
91168
91168
  ...sessionId ? {
91169
91169
  body: {
@@ -93500,7 +93500,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
93500
93500
  clearedEvents: []
93501
93501
  };
93502
93502
  try {
93503
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-j3r3g3q7.js");
93503
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-pj7dhkv4.js");
93504
93504
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
93505
93505
  } catch (err) {
93506
93506
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -109888,7 +109888,7 @@ function buildDetailedHelp(commandName, entry) {
109888
109888
  async function handleHelpCommand(ctx) {
109889
109889
  const targetCommand = ctx.args.join(" ");
109890
109890
  if (!targetCommand) {
109891
- const { buildHelpText } = await import("./index-dd6p8xb5.js");
109891
+ const { buildHelpText } = await import("./index-89f56ej4.js");
109892
109892
  return buildHelpText();
109893
109893
  }
109894
109894
  const tokens = targetCommand.split(/\s+/);
@@ -109902,7 +109902,7 @@ async function handleHelpCommand(ctx) {
109902
109902
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
109903
109903
  }
109904
109904
  const similar = _internals27.findSimilarCommands(targetCommand);
109905
- const { buildHelpText: fullHelp } = await import("./index-dd6p8xb5.js");
109905
+ const { buildHelpText: fullHelp } = await import("./index-89f56ej4.js");
109906
109906
  if (similar.length > 0) {
109907
109907
  return `Command '/swarm ${targetCommand}' not found.
109908
109908
 
@@ -110230,7 +110230,7 @@ var COMMAND_REGISTRY = {
110230
110230
  },
110231
110231
  "guardrail explain": {
110232
110232
  handler: async (ctx) => {
110233
- const { handleGuardrailExplain } = await import("./guardrail-explain-g03manbh.js");
110233
+ const { handleGuardrailExplain } = await import("./guardrail-explain-9jmr8ezt.js");
110234
110234
  return handleGuardrailExplain(ctx.directory, ctx.args);
110235
110235
  },
110236
110236
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -110240,7 +110240,7 @@ var COMMAND_REGISTRY = {
110240
110240
  },
110241
110241
  "guardrail reset": {
110242
110242
  handler: async (ctx) => {
110243
- const { handleGuardrailReset } = await import("./guardrail-reset-37cr442b.js");
110243
+ const { handleGuardrailReset } = await import("./guardrail-reset-ct00w300.js");
110244
110244
  return handleGuardrailReset(ctx.args, ctx.sessionID);
110245
110245
  },
110246
110246
  description: "Reset one exact active invocation/action circuit after repair",
@@ -110261,7 +110261,7 @@ var COMMAND_REGISTRY = {
110261
110261
  },
110262
110262
  "guardrail-log": {
110263
110263
  handler: async (ctx) => {
110264
- const { handleGuardrailLog } = await import("./guardrail-log-sxv7q0xw.js");
110264
+ const { handleGuardrailLog } = await import("./guardrail-log-hc8fjm4x.js");
110265
110265
  return handleGuardrailLog(ctx.directory, ctx.args);
110266
110266
  },
110267
110267
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -19,11 +19,11 @@ import {
19
19
  } from "./index-gx2vp8gx.js";
20
20
  import {
21
21
  loadPluginConfigWithMeta
22
- } from "./index-1krdj1sc.js";
22
+ } from "./index-waxvpwbv.js";
23
23
  import {
24
24
  KnowledgeConfigSchema,
25
25
  init_schema
26
- } from "./index-2h13hjbf.js";
26
+ } from "./index-1cwmj1gs.js";
27
27
 
28
28
  // src/utils/context-decisions.ts
29
29
  function extractContextDecisions(content) {