opencode-swarm 7.197.2 → 7.197.3

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-6qp3jn7f.js → auto-checkpoint-e6t09fc1.js} +4 -4
  4. package/dist/cli/{checkpoint-qe10m65d.js → checkpoint-5j752d1a.js} +8 -8
  5. package/dist/cli/{coder-settlement-ry7zxj9v.js → coder-settlement-8t3yznbq.js} +3 -3
  6. package/dist/cli/{config-doctor-vcjcdf3f.js → config-doctor-8pdsjzsw.js} +7 -7
  7. package/dist/cli/{core-czytse6q.js → core-1dty31az.js} +1 -1
  8. package/dist/cli/{curator-0wa5gjc8.js → curator-9gwwtyjt.js} +25 -25
  9. package/dist/cli/{curator-drift-vf2egpr8.js → curator-drift-7htrxbht.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-k4f4c61r.js → curator-llm-factory-ew2h0zed.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-tkjsgcp6.js → doctor-knowledge-receipt-phase-id-y2v12h2y.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-p9wx1m45.js → evidence-summary-service-gthqb26q.js} +9 -9
  13. package/dist/cli/{gate-evidence-bfmc23yw.js → gate-evidence-xv1228n3.js} +2 -2
  14. package/dist/cli/{guardrail-explain-vv4c5b39.js → guardrail-explain-h41yf31c.js} +26 -26
  15. package/dist/cli/{guardrail-log-dtkzgxz8.js → guardrail-log-6f55sa60.js} +3 -3
  16. package/dist/cli/{guardrail-reset-pbcfymhq.js → guardrail-reset-j9bk61er.js} +25 -25
  17. package/dist/cli/{hive-promoter-g2sngbc0.js → hive-promoter-6y24tdbf.js} +25 -25
  18. package/dist/cli/{index-tbm7q03h.js → index-04xgdmps.js} +1 -1
  19. package/dist/cli/{index-rbevpmff.js → index-1pek46cc.js} +61 -61
  20. package/dist/cli/{index-1x9ybm51.js → index-2fwsd357.js} +5 -5
  21. package/dist/cli/{index-evpq5mqt.js → index-2jd8sark.js} +2 -2
  22. package/dist/cli/{index-pnbcknzr.js → index-4b64v1kx.js} +1 -1
  23. package/dist/cli/{index-e21b8sjj.js → index-6dz5venm.js} +1 -1
  24. package/dist/cli/{index-n0ghdmvx.js → index-7m5cf6nb.js} +4 -4
  25. package/dist/cli/{index-fz45trs6.js → index-841jrejq.js} +1 -1
  26. package/dist/cli/{index-z7zk3enh.js → index-9exby7at.js} +1 -1
  27. package/dist/cli/{index-ptxtqhwv.js → index-a4jwt70q.js} +1 -1
  28. package/dist/cli/{index-xq0w60za.js → index-ax7n55cd.js} +3 -3
  29. package/dist/cli/{index-n06vxt1k.js → index-aynf8fgp.js} +3 -3
  30. package/dist/cli/{index-xa7ak8ss.js → index-c602bgyp.js} +1 -1
  31. package/dist/cli/{index-gw7nkn2q.js → index-f87r78zb.js} +2 -2
  32. package/dist/cli/{index-h5g0nyy8.js → index-fws15qp0.js} +2 -2
  33. package/dist/cli/{index-2vtr85p8.js → index-j8bgrxc8.js} +2 -2
  34. package/dist/cli/{index-zh1dmz46.js → index-mpc3z3ky.js} +3 -3
  35. package/dist/cli/{index-mk15vyfe.js → index-mqk09xcm.js} +6 -6
  36. package/dist/cli/{index-65n2ccy2.js → index-p0ha6zyg.js} +1 -1
  37. package/dist/cli/{index-15j2cze3.js → index-pd98xk00.js} +27 -27
  38. package/dist/cli/{index-sx4brx0w.js → index-pwgb4ysh.js} +1 -1
  39. package/dist/cli/{index-ntr6263n.js → index-rpa47vzb.js} +1 -1
  40. package/dist/cli/{index-23kb8srf.js → index-s67cbrd1.js} +3 -3
  41. package/dist/cli/{index-xg9t03dg.js → index-svmhj9x2.js} +25 -25
  42. package/dist/cli/{index-ztchs2p8.js → index-t7egd710.js} +1 -1
  43. package/dist/cli/{index-nhz85frs.js → index-tf3y0x41.js} +1 -1
  44. package/dist/cli/{index-afrdvad3.js → index-yed14yth.js} +1 -1
  45. package/dist/cli/{index-5fzc5krd.js → index-yg2qwadj.js} +1 -1
  46. package/dist/cli/{index-q267bpej.js → index-z250fgd9.js} +2 -2
  47. package/dist/cli/{index-6ayj4y71.js → index-z75fz6x3.js} +3 -3
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-pad570yc.js → knowledge-escalator-xvkfez9d.js} +7 -7
  50. package/dist/cli/{knowledge-events-gx3x4wfs.js → knowledge-events-t4enxfp7.js} +5 -5
  51. package/dist/cli/{knowledge-store-me6bx879.js → knowledge-store-tdqx1z7e.js} +1 -1
  52. package/dist/cli/{knowledge-validator-qykag9de.js → knowledge-validator-3n52kff9.js} +2 -2
  53. package/dist/cli/{mcp-bn8qx2m6.js → mcp-yqfahteb.js} +1 -1
  54. package/dist/cli/{model-preflight-5pjf9jd2.js → model-preflight-s3s7t38g.js} +25 -25
  55. package/dist/cli/{pending-delegations-5w5f18wt.js → pending-delegations-j89ak26j.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-psecfgcz.js → pr-subscriptions-r5q1035f.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-g8q09z1c.js → pr-workflow-gate-dahpc06k.js} +25 -25
  58. package/dist/cli/{scan-cursor-w0w1axgk.js → scan-cursor-yjk3czah.js} +2 -2
  59. package/dist/cli/{schema-yav9fk87.js → schema-1bs31fpf.js} +1 -1
  60. package/dist/cli/{scope-persistence-4wakfabk.js → scope-persistence-0mpbc1ht.js} +5 -5
  61. package/dist/cli/{server-y8c23gcg.js → server-8swemw8w.js} +25 -25
  62. package/dist/cli/{skill-generator-ddrq8e52.js → skill-generator-mx125j7w.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-ckz8tz0b.js → snapshot-coordination-init-sayvd15t.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-789etrtx.js → speckit-checkoff-76j7h7qt.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-yv7y35wq.js → worktree-collision-ownership-8f8c9bcr.js} +2 -2
  66. package/dist/cli/{worktree-isolation-5tebr6z1.js → worktree-isolation-kgfk5aj8.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-rbevpmff.js";
11
- import"./index-nhz85frs.js";
12
- import"./index-n06vxt1k.js";
13
- import"./index-xa7ak8ss.js";
10
+ } from "./index-1pek46cc.js";
11
+ import"./index-tf3y0x41.js";
12
+ import"./index-aynf8fgp.js";
13
+ import"./index-c602bgyp.js";
14
14
  import"./index-j2vv0h13.js";
15
15
  import"./index-c5xvm318.js";
16
16
  import"./index-necqa5bj.js";
17
17
  import"./index-txdagbh7.js";
18
- import"./index-5fzc5krd.js";
18
+ import"./index-yg2qwadj.js";
19
19
  import"./index-rdec0y3z.js";
20
- import"./index-fz45trs6.js";
21
- import"./index-23kb8srf.js";
22
- import"./index-6ayj4y71.js";
23
- import"./index-mk15vyfe.js";
20
+ import"./index-841jrejq.js";
21
+ import"./index-s67cbrd1.js";
22
+ import"./index-z75fz6x3.js";
23
+ import"./index-mqk09xcm.js";
24
24
  import"./index-ghckhk16.js";
25
25
  import"./index-ypkfhqbc.js";
26
26
  import"./index-cjapb4hy.js";
27
27
  import"./index-dfrcc46h.js";
28
28
  import"./index-pt7h91zc.js";
29
29
  import"./index-q7sjgr1y.js";
30
- import"./index-xq0w60za.js";
31
- import"./index-1x9ybm51.js";
30
+ import"./index-ax7n55cd.js";
31
+ import"./index-2fwsd357.js";
32
32
  import"./index-6b295cas.js";
33
33
  import"./index-9nyqt3kb.js";
34
- import"./index-ptxtqhwv.js";
34
+ import"./index-a4jwt70q.js";
35
35
  import"./index-v3bmwmqw.js";
36
- import"./index-ntr6263n.js";
37
- import"./index-65n2ccy2.js";
38
- import"./index-e21b8sjj.js";
36
+ import"./index-rpa47vzb.js";
37
+ import"./index-p0ha6zyg.js";
38
+ import"./index-6dz5venm.js";
39
39
  import"./index-g4fs6z4e.js";
40
- import"./index-tbm7q03h.js";
41
- import"./index-h5g0nyy8.js";
42
- import"./index-2vtr85p8.js";
40
+ import"./index-04xgdmps.js";
41
+ import"./index-fws15qp0.js";
42
+ import"./index-j8bgrxc8.js";
43
43
  import"./index-m9zzj4ee.js";
44
44
  import"./index-kphy4we7.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-sx4brx0w.js";
46
+ import"./index-pwgb4ysh.js";
47
47
  import"./index-hy2fqapm.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-q267bpej.js";
49
+ import"./index-z250fgd9.js";
50
50
  import"./index-g22dps7x.js";
51
51
  import"./index-0725jpp7.js";
52
- import"./index-z7zk3enh.js";
53
- import"./index-gw7nkn2q.js";
52
+ import"./index-9exby7at.js";
53
+ import"./index-f87r78zb.js";
54
54
  import"./index-6183at3v.js";
55
55
  import"./index-j8t1g5qd.js";
56
56
  import"./index-crz772sx.js";
@@ -61,7 +61,7 @@ import"./index-7pmbnjvj.js";
61
61
  import"./index-gc0aeth5.js";
62
62
  import {
63
63
  resolveHiveKnowledgePath
64
- } from "./index-n0ghdmvx.js";
64
+ } from "./index-7m5cf6nb.js";
65
65
  import"./index-vzm6zre7.js";
66
66
  import"./index-ae75rja9.js";
67
67
  import"./index-ry5g9s8d.js";
@@ -74,9 +74,9 @@ import"./index-ejhxgyvm.js";
74
74
  import"./index-7g4c7s5r.js";
75
75
  import"./index-yf2z4j7s.js";
76
76
  import"./index-gx2vp8gx.js";
77
- import"./index-afrdvad3.js";
77
+ import"./index-yed14yth.js";
78
78
  import"./index-zxdawwc7.js";
79
- import"./index-pnbcknzr.js";
79
+ import"./index-4b64v1kx.js";
80
80
  import"./index-hqrkr9ag.js";
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-gknz3bv1.js";
@@ -4737,7 +4737,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4737
4737
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4738
4738
  if (candidates.length === 0)
4739
4739
  return 0;
4740
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-ry7zxj9v.js");
4740
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-8t3yznbq.js");
4741
4741
  let transferred = 0;
4742
4742
  for (const record of candidates) {
4743
4743
  try {
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-nhz85frs.js";
11
+ } from "./index-tf3y0x41.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-n06vxt1k.js";
18
+ } from "./index-aynf8fgp.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-xa7ak8ss.js";
30
+ } from "./index-c602bgyp.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-5fzc5krd.js";
92
+ } from "./index-yg2qwadj.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-fz45trs6.js";
111
+ } from "./index-841jrejq.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-23kb8srf.js";
117
+ } from "./index-s67cbrd1.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -137,11 +137,11 @@ import {
137
137
  skillContractDigest,
138
138
  splitSkillFrontmatter,
139
139
  syncBundledProjectSkillsIfMissingAsync
140
- } from "./index-6ayj4y71.js";
140
+ } from "./index-z75fz6x3.js";
141
141
  import {
142
142
  buildEscalationBriefing,
143
143
  readRecentEscalations
144
- } from "./index-mk15vyfe.js";
144
+ } from "./index-mqk09xcm.js";
145
145
  import {
146
146
  parsePorcelainV2Snapshot,
147
147
  resolveCommitCountSince,
@@ -225,7 +225,7 @@ import {
225
225
  swarmOverwriteCandidates,
226
226
  trackedDirtyCandidates,
227
227
  transientBackoff
228
- } from "./index-xq0w60za.js";
228
+ } from "./index-ax7n55cd.js";
229
229
  import {
230
230
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
231
231
  PlanRecoverySupersededError,
@@ -257,7 +257,7 @@ import {
257
257
  updateEpicRecord,
258
258
  updateTaskStatus,
259
259
  withPlanLifecycleLock
260
- } from "./index-1x9ybm51.js";
260
+ } from "./index-2fwsd357.js";
261
261
  import {
262
262
  containsControlChars,
263
263
  containsPathTraversal,
@@ -273,7 +273,7 @@ import {
273
273
  resolveSpeckitProjection,
274
274
  validateSpeckit,
275
275
  writeProjectedSpecSync
276
- } from "./index-ptxtqhwv.js";
276
+ } from "./index-a4jwt70q.js";
277
277
  import {
278
278
  clearWorktreeMergeStatus,
279
279
  getAllWorktreeMergeFailures,
@@ -305,7 +305,7 @@ import {
305
305
  transitionTaskWorkflowEvidenceWithStatus,
306
306
  withTaskEvidenceTransaction,
307
307
  writeWorkflowWalFile
308
- } from "./index-65n2ccy2.js";
308
+ } from "./index-p0ha6zyg.js";
309
309
  import {
310
310
  isPathUnderSwarmWorktreeBase,
311
311
  listLiveLaneOwners,
@@ -314,7 +314,7 @@ import {
314
314
  recordLiveLaneOwner,
315
315
  removeWorktree,
316
316
  resolveWorktreeBaseDir
317
- } from "./index-e21b8sjj.js";
317
+ } from "./index-6dz5venm.js";
318
318
  import {
319
319
  GitBinaryMissingError,
320
320
  GitSpawnCwdError,
@@ -356,7 +356,7 @@ import {
356
356
  scanBackgroundCoderReservationsForAdmission,
357
357
  scanDelegationsForRecovery,
358
358
  sweepStaleDelegations
359
- } from "./index-tbm7q03h.js";
359
+ } from "./index-04xgdmps.js";
360
360
  import {
361
361
  MAX_EVENT_LOG_ENTRIES,
362
362
  _internals,
@@ -368,7 +368,7 @@ import {
368
368
  recordHiveKnowledgeEvent,
369
369
  recordKnowledgeEvent,
370
370
  resolveKnowledgeEventsPath
371
- } from "./index-h5g0nyy8.js";
371
+ } from "./index-fws15qp0.js";
372
372
  import {
373
373
  commitDisplayedMembership,
374
374
  commitEmptyRetrieval,
@@ -381,7 +381,7 @@ import {
381
381
  queryLiveMemberships,
382
382
  reconcilePhaseClose,
383
383
  recordPhaseCloseIntent
384
- } from "./index-2vtr85p8.js";
384
+ } from "./index-j8bgrxc8.js";
385
385
  import {
386
386
  sanitizeContextText
387
387
  } from "./index-m9zzj4ee.js";
@@ -412,7 +412,7 @@ import {
412
412
  validateActionableFields,
413
413
  validateLesson,
414
414
  validateSkillPath
415
- } from "./index-sx4brx0w.js";
415
+ } from "./index-pwgb4ysh.js";
416
416
  import {
417
417
  MAX_CURATION_PROPOSALS,
418
418
  authorizeCuration,
@@ -423,7 +423,7 @@ import {
423
423
  } from "./index-rtry5xyf.js";
424
424
  import {
425
425
  resolveWorktreeIsolationConfig
426
- } from "./index-q267bpej.js";
426
+ } from "./index-z250fgd9.js";
427
427
  import {
428
428
  RetrospectiveEvidenceSchema
429
429
  } from "./index-g22dps7x.js";
@@ -435,7 +435,7 @@ import {
435
435
  clearScopeBindings,
436
436
  readAuthoritativeScopeBindingSet,
437
437
  readDeclaredScopeFilesFromBindings
438
- } from "./index-z7zk3enh.js";
438
+ } from "./index-9exby7at.js";
439
439
  import {
440
440
  approvedSnapshotCoversPlan,
441
441
  clearPlanLedgerForReset,
@@ -452,7 +452,7 @@ import {
452
452
  replayFromLedgerWithStatus,
453
453
  resolvePlanningProfile,
454
454
  takeSnapshotEvent
455
- } from "./index-gw7nkn2q.js";
455
+ } from "./index-f87r78zb.js";
456
456
  import {
457
457
  CORE_EVENT_LOCKED,
458
458
  appendCoreEventSync,
@@ -541,7 +541,7 @@ import {
541
541
  transactFile,
542
542
  transactKnowledge,
543
543
  wordBigrams
544
- } from "./index-n0ghdmvx.js";
544
+ } from "./index-7m5cf6nb.js";
545
545
  import {
546
546
  readTailJsonl,
547
547
  readTailJsonlDetailed,
@@ -626,7 +626,7 @@ import {
626
626
  loadPluginConfig,
627
627
  loadPluginConfigWithMeta,
628
628
  resolveEpicConfig
629
- } from "./index-afrdvad3.js";
629
+ } from "./index-yed14yth.js";
630
630
  import {
631
631
  GIT_BINARY_ENV_VAR,
632
632
  addDeferredWarning,
@@ -659,7 +659,7 @@ import {
659
659
  resolveContextWindow,
660
660
  resolveGeneratedAgentRole,
661
661
  stripKnownSwarmPrefix
662
- } from "./index-pnbcknzr.js";
662
+ } from "./index-4b64v1kx.js";
663
663
  import {
664
664
  AGENT_TOOL_MAP,
665
665
  ALL_AGENT_NAMES,
@@ -3461,7 +3461,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3461
3461
  return null;
3462
3462
  throw error2;
3463
3463
  }
3464
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-g8q09z1c.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3464
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-dahpc06k.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3465
3465
  if (!legacy)
3466
3466
  return null;
3467
3467
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3595,7 +3595,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3595
3595
  let recoveryState = null;
3596
3596
  if (!currentAuthoritative) {
3597
3597
  if (options.allowSalvagedRead) {
3598
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-g8q09z1c.js");
3598
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-dahpc06k.js");
3599
3599
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3600
3600
  }
3601
3601
  if (!recoveryState) {
@@ -11369,7 +11369,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
11369
11369
  return extracted === expectedSessionId;
11370
11370
  }
11371
11371
  async function inspectStandardWorktreeCollisionOwnership(identity) {
11372
- const collisionOwnership = await import("./worktree-collision-ownership-yv7y35wq.js");
11372
+ const collisionOwnership = await import("./worktree-collision-ownership-8f8c9bcr.js");
11373
11373
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
11374
11374
  }
11375
11375
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -11797,7 +11797,7 @@ async function precreateStandardWorktreeSession(args) {
11797
11797
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
11798
11798
  if (laneProfile) {
11799
11799
  try {
11800
- const { writeLaneProfileToDiskReal } = await import("./core-czytse6q.js");
11800
+ const { writeLaneProfileToDiskReal } = await import("./core-1dty31az.js");
11801
11801
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
11802
11802
  } catch {}
11803
11803
  }
@@ -12791,7 +12791,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
12791
12791
  }
12792
12792
  clearWorktreeMergeStatus(statusKey);
12793
12793
  try {
12794
- const { removeLaneProfileFromDiskReal } = await import("./core-czytse6q.js");
12794
+ const { removeLaneProfileFromDiskReal } = await import("./core-1dty31az.js");
12795
12795
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
12796
12796
  } catch {}
12797
12797
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -29224,7 +29224,7 @@ function clearCriticalShownIds(sessionID) {
29224
29224
  async function rehydratePrSubscriptions(sessionID, directory) {
29225
29225
  const map = new Map;
29226
29226
  try {
29227
- const { listActive: listActive2 } = await import("./pr-subscriptions-psecfgcz.js");
29227
+ const { listActive: listActive2 } = await import("./pr-subscriptions-r5q1035f.js");
29228
29228
  const records = await listActive2(directory);
29229
29229
  for (const record of records) {
29230
29230
  if (record.sessionID !== sessionID)
@@ -46250,9 +46250,9 @@ function hashContent(content) {
46250
46250
  return createHash29("sha1").update(content).digest("hex");
46251
46251
  }
46252
46252
  async function loadConfigForPolicyCurator(directory) {
46253
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
46253
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1bs31fpf.js");
46254
46254
  try {
46255
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
46255
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mpc3z3ky.js");
46256
46256
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
46257
46257
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
46258
46258
  } catch {
@@ -49310,7 +49310,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
49310
49310
  const seam = _internals50.createCuratorLLMDelegate;
49311
49311
  if (seam)
49312
49312
  return seam(directory, mode, sessionId);
49313
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-k4f4c61r.js");
49313
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-ew2h0zed.js");
49314
49314
  return createCuratorLLMDelegate(directory, mode, sessionId);
49315
49315
  }
49316
49316
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -49705,7 +49705,7 @@ async function runFinalizeStage(ctx) {
49705
49705
  }
49706
49706
  }
49707
49707
  try {
49708
- const { CuratorConfigSchema: CCS } = await import("./schema-yav9fk87.js");
49708
+ const { CuratorConfigSchema: CCS } = await import("./schema-1bs31fpf.js");
49709
49709
  const { config: pmLoadedConfig } = _internals50.loadPluginConfigWithMeta(ctx.directory);
49710
49710
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
49711
49711
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -53738,7 +53738,7 @@ function serializeAgentSession(s) {
53738
53738
  }
53739
53739
  async function writeSnapshot(directory, state) {
53740
53740
  try {
53741
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ckz8tz0b.js");
53741
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-sayvd15t.js");
53742
53742
  await ensureSnapshotCoordinationReady(directory);
53743
53743
  const snapshot = {
53744
53744
  version: 3,
@@ -56794,7 +56794,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
56794
56794
  };
56795
56795
  }
56796
56796
  async function sweepActiveNearDuplicates(directory, options = {}) {
56797
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
56797
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mpc3z3ky.js");
56798
56798
  const { config } = loadPluginConfigWithMeta2(directory);
56799
56799
  const sweepConfig = config.learning?.dedup_sweep;
56800
56800
  if (sweepConfig?.enabled === false)
@@ -57918,7 +57918,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
57918
57918
  }
57919
57919
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
57920
57920
  try {
57921
- const skillModule = await import("./skill-generator-ddrq8e52.js");
57921
+ const skillModule = await import("./skill-generator-mx125j7w.js");
57922
57922
  for (const cand of skillCandidates) {
57923
57923
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
57924
57924
  continue;
@@ -58390,7 +58390,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
58390
58390
  } catch {}
58391
58391
  }
58392
58392
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
58393
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-pad570yc.js");
58393
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-xvkfez9d.js");
58394
58394
  for (const { id } of contradictedEntries) {
58395
58395
  try {
58396
58396
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -59222,7 +59222,7 @@ async function runCuratorPostMortem(directory, options = {}) {
59222
59222
  warnings.push("Failed to collect knowledge summary.");
59223
59223
  }
59224
59224
  try {
59225
- const { getScanStatus } = await import("./scan-cursor-w0w1axgk.js");
59225
+ const { getScanStatus } = await import("./scan-cursor-yjk3czah.js");
59226
59226
  const scanStatus = await getScanStatus(directory);
59227
59227
  if (scanStatus.remaining_estimate > 0) {
59228
59228
  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.`);
@@ -59394,9 +59394,9 @@ var _internals72 = {
59394
59394
  verifyPostMortemKnowledgeActions,
59395
59395
  repairPostMortemActions,
59396
59396
  loadDefaultKnowledgeConfig: async (directory) => {
59397
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
59397
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1bs31fpf.js");
59398
59398
  try {
59399
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
59399
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mpc3z3ky.js");
59400
59400
  const loaded = loadPluginConfigWithMeta2(directory);
59401
59401
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
59402
59402
  } catch {
@@ -59404,11 +59404,11 @@ var _internals72 = {
59404
59404
  }
59405
59405
  },
59406
59406
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
59407
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-0wa5gjc8.js");
59407
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-9gwwtyjt.js");
59408
59408
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
59409
59409
  },
59410
59410
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
59411
- const { checkHivePromotions } = await import("./hive-promoter-g2sngbc0.js");
59411
+ const { checkHivePromotions } = await import("./hive-promoter-6y24tdbf.js");
59412
59412
  return checkHivePromotions(entries2, knowledgeConfig, directory);
59413
59413
  },
59414
59414
  applyProposalTriage: async (directory, triage) => {
@@ -59417,7 +59417,7 @@ var _internals72 = {
59417
59417
  activateProposal,
59418
59418
  listSkills: listSkills2,
59419
59419
  sanitizeSlug
59420
- } = await import("./skill-generator-ddrq8e52.js");
59420
+ } = await import("./skill-generator-mx125j7w.js");
59421
59421
  const result = {
59422
59422
  approved: [],
59423
59423
  rejected: [],
@@ -59459,7 +59459,7 @@ var _internals72 = {
59459
59459
  return result;
59460
59460
  },
59461
59461
  readPriorDriftReports: async (directory) => {
59462
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-vf2egpr8.js");
59462
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-7htrxbht.js");
59463
59463
  return readPriorDriftReports2(directory);
59464
59464
  },
59465
59465
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -69729,9 +69729,9 @@ var _internals80 = {
69729
69729
  loadPluginConfigWithMeta,
69730
69730
  loadCuratorDeps: async () => {
69731
69731
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
69732
- import("./schema-yav9fk87.js"),
69733
- import("./curator-0wa5gjc8.js"),
69734
- import("./curator-llm-factory-k4f4c61r.js")
69732
+ import("./schema-1bs31fpf.js"),
69733
+ import("./curator-9gwwtyjt.js"),
69734
+ import("./curator-llm-factory-ew2h0zed.js")
69735
69735
  ]);
69736
69736
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
69737
69737
  }
@@ -72181,7 +72181,7 @@ async function computeCurationDiagnostics(directory, entries2) {
72181
72181
  let scanCompleted = false;
72182
72182
  let scanRemaining = 0;
72183
72183
  try {
72184
- const { getScanStatus } = await import("./scan-cursor-w0w1axgk.js");
72184
+ const { getScanStatus } = await import("./scan-cursor-yjk3czah.js");
72185
72185
  const status = await getScanStatus(directory);
72186
72186
  scanGeneration = status.generation;
72187
72187
  scanCompleted = status.completed;
@@ -72191,10 +72191,10 @@ async function computeCurationDiagnostics(directory, entries2) {
72191
72191
  try {
72192
72192
  const { isLinked: isLinked2 } = await import("./knowledge-link-8bn2b7vr.js");
72193
72193
  if (isLinked2(directory)) {
72194
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
72194
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1bs31fpf.js");
72195
72195
  let config;
72196
72196
  try {
72197
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
72197
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mpc3z3ky.js");
72198
72198
  const loaded = loadPluginConfigWithMeta2(directory);
72199
72199
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
72200
72200
  } catch {
@@ -73650,7 +73650,7 @@ async function handleDoctorCommand(directory, args) {
73650
73650
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
73651
73651
  let output;
73652
73652
  if (enableAutoFix && result.hasAutoFixableIssues) {
73653
- const { runConfigDoctorWithFixes } = await import("./config-doctor-vcjcdf3f.js");
73653
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-8pdsjzsw.js");
73654
73654
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
73655
73655
  applyLossy: true
73656
73656
  });
@@ -73688,7 +73688,7 @@ async function handleDoctorCommand(directory, args) {
73688
73688
  `;
73689
73689
  }
73690
73690
  try {
73691
- const { runModelPreflight } = await import("./model-preflight-5pjf9jd2.js");
73691
+ const { runModelPreflight } = await import("./model-preflight-s3s7t38g.js");
73692
73692
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
73693
73693
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
73694
73694
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -73722,7 +73722,7 @@ async function handleDoctorCommand(directory, args) {
73722
73722
  }
73723
73723
  } catch {}
73724
73724
  try {
73725
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-tkjsgcp6.js");
73725
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-y2v12h2y.js");
73726
73726
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
73727
73727
  } catch {}
73728
73728
  const strayDirs = detectStraySwarmDirs(directory);
@@ -75739,7 +75739,7 @@ async function handleEvidenceCommand(directory, args) {
75739
75739
  return formatTaskEvidenceMarkdown(evidenceData);
75740
75740
  }
75741
75741
  async function handleEvidenceSummaryCommand(directory) {
75742
- const { buildEvidenceSummary } = await import("./evidence-summary-service-p9wx1m45.js");
75742
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-gthqb26q.js");
75743
75743
  const artifact = await buildEvidenceSummary(directory);
75744
75744
  if (!artifact) {
75745
75745
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -100205,7 +100205,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
100205
100205
  }
100206
100206
  const sdkOpts = signal ? { signal } : {};
100207
100207
  try {
100208
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-xg9t03dg.js");
100208
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-svmhj9x2.js");
100209
100209
  const createResult = await client.session.create({
100210
100210
  ...sessionId ? {
100211
100211
  body: {
@@ -102303,7 +102303,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
102303
102303
  clearedEvents: []
102304
102304
  };
102305
102305
  try {
102306
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-g8q09z1c.js");
102306
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-dahpc06k.js");
102307
102307
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
102308
102308
  } catch (err) {
102309
102309
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -118769,7 +118769,7 @@ function buildDetailedHelp(commandName, entry) {
118769
118769
  async function handleHelpCommand(ctx) {
118770
118770
  const targetCommand = ctx.args.join(" ");
118771
118771
  if (!targetCommand) {
118772
- const { buildHelpText } = await import("./index-15j2cze3.js");
118772
+ const { buildHelpText } = await import("./index-pd98xk00.js");
118773
118773
  return buildHelpText();
118774
118774
  }
118775
118775
  const tokens = targetCommand.split(/\s+/);
@@ -118783,7 +118783,7 @@ async function handleHelpCommand(ctx) {
118783
118783
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
118784
118784
  }
118785
118785
  const similar = _internals39.findSimilarCommands(targetCommand);
118786
- const { buildHelpText: fullHelp } = await import("./index-15j2cze3.js");
118786
+ const { buildHelpText: fullHelp } = await import("./index-pd98xk00.js");
118787
118787
  if (similar.length > 0) {
118788
118788
  return `Command '/swarm ${targetCommand}' not found.
118789
118789
 
@@ -119111,7 +119111,7 @@ var COMMAND_REGISTRY = {
119111
119111
  },
119112
119112
  "guardrail explain": {
119113
119113
  handler: async (ctx) => {
119114
- const { handleGuardrailExplain } = await import("./guardrail-explain-vv4c5b39.js");
119114
+ const { handleGuardrailExplain } = await import("./guardrail-explain-h41yf31c.js");
119115
119115
  return handleGuardrailExplain(ctx.directory, ctx.args);
119116
119116
  },
119117
119117
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -119121,7 +119121,7 @@ var COMMAND_REGISTRY = {
119121
119121
  },
119122
119122
  "guardrail reset": {
119123
119123
  handler: async (ctx) => {
119124
- const { handleGuardrailReset } = await import("./guardrail-reset-pbcfymhq.js");
119124
+ const { handleGuardrailReset } = await import("./guardrail-reset-j9bk61er.js");
119125
119125
  return handleGuardrailReset(ctx.args, ctx.sessionID);
119126
119126
  },
119127
119127
  description: "Reset one exact active invocation/action circuit after repair",
@@ -119142,7 +119142,7 @@ var COMMAND_REGISTRY = {
119142
119142
  },
119143
119143
  "guardrail-log": {
119144
119144
  handler: async (ctx) => {
119145
- const { handleGuardrailLog } = await import("./guardrail-log-dtkzgxz8.js");
119145
+ const { handleGuardrailLog } = await import("./guardrail-log-6f55sa60.js");
119146
119146
  return handleGuardrailLog(ctx.directory, ctx.args);
119147
119147
  },
119148
119148
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-6b295cas.js";
5
5
  import {
6
6
  readEffectiveSpecSync
7
- } from "./index-ptxtqhwv.js";
7
+ } from "./index-a4jwt70q.js";
8
8
  import {
9
9
  _internals,
10
10
  clearWorktreeMergeStatus,
@@ -43,7 +43,7 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-gw7nkn2q.js";
46
+ } from "./index-f87r78zb.js";
47
47
  import {
48
48
  appendCoreEventSync
49
49
  } from "./index-6183at3v.js";
@@ -93,7 +93,7 @@ import {
93
93
  init_loader,
94
94
  isEpicModeConfigEnabled,
95
95
  loadPluginConfigWithMeta
96
- } from "./index-afrdvad3.js";
96
+ } from "./index-yed14yth.js";
97
97
  import {
98
98
  exports_external,
99
99
  init_zod
@@ -2664,7 +2664,7 @@ ${markdown}`;
2664
2664
  }
2665
2665
  }
2666
2666
  async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
2667
- const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-6qp3jn7f.js");
2667
+ const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-e6t09fc1.js");
2668
2668
  return maybeSaveAutoCheckpoint(directory, plan);
2669
2669
  }
2670
2670
  async function updateTaskStatus(directory, taskId, status, options) {
@@ -2740,7 +2740,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
2740
2740
  if (status === "completed") {
2741
2741
  try {
2742
2742
  const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
2743
- const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-789etrtx.js");
2743
+ const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-76j7h7qt.js");
2744
2744
  await maybePropagateSpeckitCheckoff(directory, {
2745
2745
  taskId,
2746
2746
  frRefs: completedTask?.fr_refs ?? [],
@@ -19,14 +19,14 @@ import {
19
19
  mergeWriteAnalyses,
20
20
  resolveWindowsWriteAuthority,
21
21
  resolveWriteTargets
22
- } from "./index-rbevpmff.js";
22
+ } from "./index-1pek46cc.js";
23
23
  import {
24
24
  checkFileAuthority,
25
25
  classifyFile,
26
26
  isInDeclaredScope,
27
27
  redactPath,
28
28
  redactShellCommand
29
- } from "./index-nhz85frs.js";
29
+ } from "./index-tf3y0x41.js";
30
30
 
31
31
  // src/services/guardrail-explain-service.ts
32
32
  import path from "path";
@@ -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.197.2",
24
+ version: "7.197.3",
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",