opencode-swarm 7.186.0 → 7.186.1

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 (92) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +3 -3
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +19 -1
  3. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  4. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  5. package/dist/background/pr-review-trigger-contract.d.ts +8 -0
  6. package/dist/cli/{auto-checkpoint-wd99h2bt.js → auto-checkpoint-fsd4a9q9.js} +7 -7
  7. package/dist/cli/{checkpoint-kjzwsxw2.js → checkpoint-rc61fd93.js} +14 -14
  8. package/dist/cli/{coder-settlement-kp3ph56n.js → coder-settlement-x198191a.js} +10 -10
  9. package/dist/cli/{config-doctor-28ggsms8.js → config-doctor-mj4ae4jn.js} +2 -2
  10. package/dist/cli/{core-pj2fz34e.js → core-fvsjr20m.js} +3 -3
  11. package/dist/cli/{curation-policy-ytzwb080.js → curation-policy-pxwagyh7.js} +4 -4
  12. package/dist/cli/{curator-drift-q84jn9cc.js → curator-drift-t150w08d.js} +8 -8
  13. package/dist/cli/{curator-r0jfc7xw.js → curator-h7j1xse4.js} +39 -39
  14. package/dist/cli/curator-llm-factory-29cswvhr.js +81 -0
  15. package/dist/cli/{evidence-summary-service-rsectw2t.js → evidence-summary-service-h42y6hwq.js} +17 -17
  16. package/dist/cli/{gate-evidence-mpwhcm2s.js → gate-evidence-c7caa5x2.js} +5 -5
  17. package/dist/cli/guardrail-explain-yfd11za1.js +82 -0
  18. package/dist/cli/{guardrail-log-r8zmh4rd.js → guardrail-log-hcr5rptq.js} +6 -6
  19. package/dist/cli/{guardrail-reset-11cvwgbe.js → guardrail-reset-fqgf5sdb.js} +39 -39
  20. package/dist/cli/{hive-promoter-0vg8w79a.js → hive-promoter-632ewk29.js} +39 -39
  21. package/dist/cli/{index-9g61bfj9.js → index-010en5sq.js} +1 -1
  22. package/dist/cli/{index-4dwhfbed.js → index-03d68zxw.js} +41 -41
  23. package/dist/cli/{index-hvmfa7m8.js → index-0t61279z.js} +3 -3
  24. package/dist/cli/{index-kv3n7g8w.js → index-3rd7gqfg.js} +2 -2
  25. package/dist/cli/{index-151bdyf9.js → index-4h6e73bx.js} +7 -7
  26. package/dist/cli/{index-p9m1nhds.js → index-4z0zdcd7.js} +3 -3
  27. package/dist/cli/{index-afmyp3kt.js → index-5v1sqv3m.js} +1 -1
  28. package/dist/cli/{index-vk3ngryj.js → index-8fnayk3x.js} +5 -5
  29. package/dist/cli/{index-6ndc8cmn.js → index-8jq3jsas.js} +1 -1
  30. package/dist/cli/{index-xgdypzch.js → index-92bbwjek.js} +1 -1
  31. package/dist/cli/{index-62akgg9d.js → index-92y6cpqn.js} +1 -1
  32. package/dist/cli/{index-fp4hxcsy.js → index-98j268bh.js} +3 -3
  33. package/dist/cli/{index-s68z4a39.js → index-9z9g1897.js} +2 -2
  34. package/dist/cli/{index-bajvxmnb.js → index-ay508kfq.js} +3 -3
  35. package/dist/cli/{index-8nsjefpc.js → index-bpqw4n2f.js} +1 -1
  36. package/dist/cli/{index-6sffjy74.js → index-c5e1wr7h.js} +1 -1
  37. package/dist/cli/{index-amamkcpy.js → index-chaa1v0b.js} +4 -4
  38. package/dist/cli/{index-j972ags2.js → index-dbcwvc1v.js} +5 -5
  39. package/dist/cli/{index-bgpq7wn2.js → index-ef3pecd4.js} +119 -78
  40. package/dist/cli/{index-9th8npp7.js → index-ezttvjcf.js} +5 -5
  41. package/dist/cli/{index-nxjm66qb.js → index-gbmsvfp2.js} +2 -2
  42. package/dist/cli/{index-zxck9sr7.js → index-gjrs1epm.js} +1 -1
  43. package/dist/cli/{index-jxd67x6z.js → index-hmwnegkz.js} +1 -1
  44. package/dist/cli/{index-d7mcdyqb.js → index-hq9f7fwf.js} +2 -2
  45. package/dist/cli/{index-22f1ek6k.js → index-hw8w4mkh.js} +39 -39
  46. package/dist/cli/{index-6bfcsczm.js → index-j42256hj.js} +1 -1
  47. package/dist/cli/{index-5pa0e0k3.js → index-jwkybwv0.js} +4 -4
  48. package/dist/cli/{index-yj7etak0.js → index-m8dry0a6.js} +1 -1
  49. package/dist/cli/{index-9y6cyc7z.js → index-mnb1pg1n.js} +4 -4
  50. package/dist/cli/{index-qyjyd3ej.js → index-nnmgg6z6.js} +1 -1
  51. package/dist/cli/{index-m94gfe82.js → index-pe1wgpvg.js} +7 -7
  52. package/dist/cli/{index-wkv1qdb0.js → index-ptp6d5mm.js} +10 -10
  53. package/dist/cli/{index-nen885g8.js → index-q9wnbz9q.js} +1 -1
  54. package/dist/cli/{index-7xt5m1cz.js → index-qg0nhcke.js} +5 -5
  55. package/dist/cli/{index-w2b8qq6d.js → index-qj7ewgrf.js} +7 -7
  56. package/dist/cli/{index-a6h5arqs.js → index-syt8wykh.js} +4 -4
  57. package/dist/cli/{index-74yxwf8y.js → index-t46swpqf.js} +1 -1
  58. package/dist/cli/{index-a1tpq5zr.js → index-teyvb5tr.js} +1 -1
  59. package/dist/cli/{index-4fd28s8v.js → index-vvajq163.js} +2 -2
  60. package/dist/cli/{index-1fc5aj26.js → index-w12y73z5.js} +1 -1
  61. package/dist/cli/{index-vqz0avr4.js → index-wrhf5apg.js} +2 -2
  62. package/dist/cli/{index-wmazt588.js → index-xe34ymp8.js} +2 -2
  63. package/dist/cli/{index-p6bvzgp2.js → index-xkxt1b08.js} +3 -3
  64. package/dist/cli/{index-373880cv.js → index-y7s92gte.js} +1 -1
  65. package/dist/cli/index.js +40 -40
  66. package/dist/cli/{knowledge-escalator-7xcd0zea.js → knowledge-escalator-gajaew60.js} +11 -11
  67. package/dist/cli/{knowledge-events-e4ts8y2v.js → knowledge-events-fsbgfz4z.js} +9 -9
  68. package/dist/cli/{knowledge-link-dv78fb9g.js → knowledge-link-jnnk0nmk.js} +3 -3
  69. package/dist/cli/{knowledge-store-mmeqmjwj.js → knowledge-store-vaq1g1dx.js} +4 -4
  70. package/dist/cli/{knowledge-validator-w2ttgxyj.js → knowledge-validator-pdr6m77a.js} +6 -6
  71. package/dist/cli/{mcp-5dmm4fk2.js → mcp-5sn4e5t2.js} +1 -1
  72. package/dist/cli/{model-preflight-kap3zp3g.js → model-preflight-z9p55ssn.js} +39 -39
  73. package/dist/cli/{pending-delegations-q3sj608s.js → pending-delegations-asyc469v.js} +10 -10
  74. package/dist/cli/{pr-subscriptions-qw4wjv66.js → pr-subscriptions-nacx8r6a.js} +10 -10
  75. package/dist/cli/{pr-workflow-gate-tdj50p2g.js → pr-workflow-gate-j3r636zg.js} +41 -39
  76. package/dist/cli/{runner-tb3eppeg.js → runner-fns4esbf.js} +4 -4
  77. package/dist/cli/{scan-cursor-fgecb928.js → scan-cursor-y9rchz83.js} +5 -5
  78. package/dist/cli/{schema-zrcgm9d9.js → schema-g377jsvv.js} +1 -1
  79. package/dist/cli/{scope-persistence-08xd3kyb.js → scope-persistence-dtympt37.js} +13 -13
  80. package/dist/cli/{server-kng2nggc.js → server-n51pvxds.js} +39 -39
  81. package/dist/cli/{skill-generator-dztn1ctf.js → skill-generator-k3hnf8xx.js} +13 -13
  82. package/dist/cli/{snapshot-coordination-init-5q0hac3d.js → snapshot-coordination-init-k1f93806.js} +39 -39
  83. package/dist/cli/{speckit-checkoff-hhsy83m9.js → speckit-checkoff-w7qbrzph.js} +4 -4
  84. package/dist/cli/{workspace-snapshot-kcfkk3a2.js → workspace-snapshot-1sa8m2ea.js} +3 -3
  85. package/dist/cli/{worktree-collision-ownership-e2cqcmnw.js → worktree-collision-ownership-4yxah5wy.js} +11 -11
  86. package/dist/cli/{worktree-isolation-refd2n16.js → worktree-isolation-p0pz81a1.js} +39 -39
  87. package/dist/hooks/pr-workflow-gate.d.ts +67 -0
  88. package/dist/index.js +8 -8
  89. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
  90. package/package.json +1 -1
  91. package/dist/cli/curator-llm-factory-13h02244.js +0 -81
  92. package/dist/cli/guardrail-explain-njv3pnsw.js +0 -82
@@ -8,13 +8,13 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-4fd28s8v.js";
11
+ } from "./index-vvajq163.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  runConfigDoctor
17
- } from "./index-jxd67x6z.js";
17
+ } from "./index-hmwnegkz.js";
18
18
  import {
19
19
  archiveEvidence,
20
20
  checkRequirementCoverage,
@@ -26,7 +26,7 @@ import {
26
26
  sanitizeTaskId,
27
27
  saveEvidence,
28
28
  validateProjectRoot
29
- } from "./index-amamkcpy.js";
29
+ } from "./index-chaa1v0b.js";
30
30
  import {
31
31
  LANGUAGE_REGISTRY,
32
32
  _internals as _internals3,
@@ -44,7 +44,7 @@ import {
44
44
  runEvaluation,
45
45
  runExternalTool,
46
46
  withDisposableWorktree
47
- } from "./index-1fc5aj26.js";
47
+ } from "./index-w12y73z5.js";
48
48
  import {
49
49
  EvaluationTaskV1Schema,
50
50
  GateAuditManifestV1Schema,
@@ -61,7 +61,7 @@ import {
61
61
  saveGateAuditResult,
62
62
  savePromotionDecision,
63
63
  saveTaskSetSnapshot
64
- } from "./index-62akgg9d.js";
64
+ } from "./index-92y6cpqn.js";
65
65
  import {
66
66
  canonicalHash,
67
67
  canonicalJson,
@@ -77,7 +77,7 @@ import {
77
77
  alreadyCuratedThisGeneration,
78
78
  claimNextScanBatch,
79
79
  resolveCohortId
80
- } from "./index-wmazt588.js";
80
+ } from "./index-xe34ymp8.js";
81
81
  import {
82
82
  CURATOR_CONSOLIDATION_PROMPT,
83
83
  CURATOR_INIT_PROMPT,
@@ -96,13 +96,13 @@ import {
96
96
  getGroupCommitWriter,
97
97
  importLegacyJsonl,
98
98
  readPriorDriftReports
99
- } from "./index-hvmfa7m8.js";
99
+ } from "./index-0t61279z.js";
100
100
  import {
101
101
  assertNoUnsettledCoderDispatch,
102
102
  listCoderSettlementWalStates,
103
103
  recoverCoderSettlement,
104
104
  recoverStaleCoderSettlements
105
- } from "./index-151bdyf9.js";
105
+ } from "./index-4h6e73bx.js";
106
106
  import {
107
107
  BUNDLED_PROJECT_SKILL_ROOT,
108
108
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -123,11 +123,11 @@ import {
123
123
  retireSkill,
124
124
  selectCandidateEntries,
125
125
  syncBundledProjectSkillsIfMissingAsync
126
- } from "./index-9y6cyc7z.js";
126
+ } from "./index-mnb1pg1n.js";
127
127
  import {
128
128
  buildEscalationBriefing,
129
129
  readRecentEscalations
130
- } from "./index-7xt5m1cz.js";
130
+ } from "./index-qg0nhcke.js";
131
131
  import {
132
132
  parsePorcelainV2Snapshot,
133
133
  resolveCommitCountSince,
@@ -155,7 +155,7 @@ import {
155
155
  resolveRemoteUrlIdentity,
156
156
  resolveRemoteUrlIdentityAsync,
157
157
  switchPrFeedbackTrackingCandidateAsync
158
- } from "./index-s68z4a39.js";
158
+ } from "./index-9z9g1897.js";
159
159
  import {
160
160
  buildCorrelationId,
161
161
  buildIssueUrl,
@@ -176,12 +176,12 @@ import {
176
176
  sweepStale,
177
177
  unsubscribe,
178
178
  updateSnapshot
179
- } from "./index-j972ags2.js";
179
+ } from "./index-dbcwvc1v.js";
180
180
  import {
181
181
  WORKTREE_LIFECYCLE_LOCK_FILE,
182
182
  recordWorktreeProvisioningOwner,
183
183
  removeWorktreeProvisioningOwner
184
- } from "./index-vqz0avr4.js";
184
+ } from "./index-wrhf5apg.js";
185
185
  import {
186
186
  getLanguageForExtension
187
187
  } from "./index-pt7h91zc.js";
@@ -194,7 +194,7 @@ import {
194
194
  checkpoint,
195
195
  createSwarmTool,
196
196
  resolveWorkingDirectory
197
- } from "./index-a6h5arqs.js";
197
+ } from "./index-syt8wykh.js";
198
198
  import {
199
199
  MAX_TRANSIENT_RETRIES,
200
200
  PlanRecoverySupersededError,
@@ -222,7 +222,7 @@ import {
222
222
  transientBackoff,
223
223
  updateTaskStatus,
224
224
  withPlanLifecycleLock
225
- } from "./index-wkv1qdb0.js";
225
+ } from "./index-ptp6d5mm.js";
226
226
  import {
227
227
  containsControlChars,
228
228
  containsPathTraversal,
@@ -238,7 +238,7 @@ import {
238
238
  resolveSpeckitProjection,
239
239
  validateSpeckit,
240
240
  writeProjectedSpecSync
241
- } from "./index-6ndc8cmn.js";
241
+ } from "./index-8jq3jsas.js";
242
242
  import {
243
243
  clearWorktreeMergeStatus,
244
244
  getAllWorktreeMergeFailures,
@@ -269,7 +269,7 @@ import {
269
269
  transitionTaskWorkflowEvidenceWithStatus,
270
270
  withTaskEvidenceTransaction,
271
271
  writeWorkflowWalFile
272
- } from "./index-fp4hxcsy.js";
272
+ } from "./index-98j268bh.js";
273
273
  import {
274
274
  isPathUnderSwarmWorktreeBase,
275
275
  listLiveLaneOwners,
@@ -278,7 +278,7 @@ import {
278
278
  recordLiveLaneOwner,
279
279
  removeWorktree,
280
280
  resolveWorktreeBaseDir
281
- } from "./index-p9m1nhds.js";
281
+ } from "./index-4z0zdcd7.js";
282
282
  import {
283
283
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
284
284
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -312,7 +312,7 @@ import {
312
312
  scanBackgroundCoderReservationsForAdmission,
313
313
  scanDelegationsForRecovery,
314
314
  sweepStaleDelegations
315
- } from "./index-9th8npp7.js";
315
+ } from "./index-ezttvjcf.js";
316
316
  import {
317
317
  MAX_EVENT_LOG_ENTRIES,
318
318
  _internals,
@@ -331,7 +331,7 @@ import {
331
331
  recordKnowledgeEvent,
332
332
  recordPhaseCloseIntent,
333
333
  resolveKnowledgeEventsPath
334
- } from "./index-w2b8qq6d.js";
334
+ } from "./index-qj7ewgrf.js";
335
335
  import {
336
336
  estimateCharsForTokens,
337
337
  estimateTokens,
@@ -339,7 +339,7 @@ import {
339
339
  readSwarmFileAsync,
340
340
  safeHook,
341
341
  validateSwarmPath
342
- } from "./index-afmyp3kt.js";
342
+ } from "./index-5v1sqv3m.js";
343
343
  import {
344
344
  bunFile,
345
345
  bunSpawn,
@@ -359,18 +359,18 @@ import {
359
359
  validateActionableFields,
360
360
  validateLesson,
361
361
  validateSkillPath
362
- } from "./index-5pa0e0k3.js";
362
+ } from "./index-jwkybwv0.js";
363
363
  import {
364
364
  MAX_CURATION_PROPOSALS,
365
365
  authorizeCuration,
366
366
  buildConfigFingerprintInput
367
- } from "./index-8nsjefpc.js";
367
+ } from "./index-bpqw4n2f.js";
368
368
  import {
369
369
  cohortConfigFingerprint
370
370
  } from "./index-rtry5xyf.js";
371
371
  import {
372
372
  resolveWorktreeIsolationConfig
373
- } from "./index-d7mcdyqb.js";
373
+ } from "./index-hq9f7fwf.js";
374
374
  import {
375
375
  RetrospectiveEvidenceSchema
376
376
  } from "./index-frcemc0b.js";
@@ -382,7 +382,7 @@ import {
382
382
  clearScopeBindings,
383
383
  readAuthoritativeScopeBindingSet,
384
384
  readDeclaredScopeFilesFromBindings
385
- } from "./index-vk3ngryj.js";
385
+ } from "./index-8fnayk3x.js";
386
386
  import {
387
387
  clearPlanLedgerForReset,
388
388
  computePlanStructureHash,
@@ -398,7 +398,7 @@ import {
398
398
  replayFromLedgerWithStatus,
399
399
  resolvePlanningProfile,
400
400
  takeSnapshotEvent
401
- } from "./index-bajvxmnb.js";
401
+ } from "./index-ay508kfq.js";
402
402
  import {
403
403
  CORE_EVENT_LOCKED,
404
404
  appendCoreEventSync,
@@ -408,7 +408,7 @@ import {
408
408
  hasSpecDriftAuditEvent,
409
409
  hasTaskRepairAuditEvent,
410
410
  readCoreEvents
411
- } from "./index-373880cv.js";
411
+ } from "./index-y7s92gte.js";
412
412
  import {
413
413
  DEFAULT_QA_GATES,
414
414
  computeProfileHash,
@@ -416,7 +416,7 @@ import {
416
416
  getEffectiveGates,
417
417
  getProfileLookupForIdentity,
418
418
  setGatesForIdentity
419
- } from "./index-9g61bfj9.js";
419
+ } from "./index-010en5sq.js";
420
420
  import {
421
421
  MAX_COORDINATION_STATE_LIST_ROWS,
422
422
  deleteCoordinationImports,
@@ -427,7 +427,7 @@ import {
427
427
  listCoordinationStates,
428
428
  transitionCoordinationState,
429
429
  withCoordinationTransaction
430
- } from "./index-nen885g8.js";
430
+ } from "./index-q9wnbz9q.js";
431
431
  import {
432
432
  DURABILITY_CLASSES,
433
433
  closeAllProjectDbs,
@@ -436,7 +436,7 @@ import {
436
436
  projectDbExists,
437
437
  projectDbPath,
438
438
  withImmediateTransaction
439
- } from "./index-74yxwf8y.js";
439
+ } from "./index-t46swpqf.js";
440
440
  import {
441
441
  canonicalExistingFilesystemPath,
442
442
  canonicalPathForFutureIo,
@@ -456,7 +456,7 @@ import {
456
456
  observeModelLimitResolution,
457
457
  observeStoreHealth,
458
458
  readLearningHealth
459
- } from "./index-xgdypzch.js";
459
+ } from "./index-92bbwjek.js";
460
460
  import {
461
461
  appendKnowledge,
462
462
  appendRejectedLesson,
@@ -487,7 +487,7 @@ import {
487
487
  transactFile,
488
488
  transactKnowledge,
489
489
  wordBigrams
490
- } from "./index-m94gfe82.js";
490
+ } from "./index-pe1wgpvg.js";
491
491
  import {
492
492
  readTailJsonl,
493
493
  readTailJsonlDetailed,
@@ -508,10 +508,10 @@ import {
508
508
  resolveLinkDir,
509
509
  sanitizeLinkId,
510
510
  writeLinkPointer
511
- } from "./index-zxck9sr7.js";
511
+ } from "./index-gjrs1epm.js";
512
512
  import {
513
513
  atomicWriteFile
514
- } from "./index-6sffjy74.js";
514
+ } from "./index-c5e1wr7h.js";
515
515
  import {
516
516
  withEvidenceLock
517
517
  } from "./index-6cjpmvpa.js";
@@ -554,7 +554,7 @@ import {
554
554
  matchTempGrammar,
555
555
  parseTargetBasename,
556
556
  resetSwarmArtifactCache
557
- } from "./index-yj7etak0.js";
557
+ } from "./index-m8dry0a6.js";
558
558
  import {
559
559
  PlanSchema,
560
560
  TaskStatusSchema,
@@ -568,7 +568,7 @@ import {
568
568
  loadGateOverrides,
569
569
  loadPluginConfig,
570
570
  loadPluginConfigWithMeta
571
- } from "./index-a1tpq5zr.js";
571
+ } from "./index-teyvb5tr.js";
572
572
  import {
573
573
  addDeferredWarning,
574
574
  advisoryWarn,
@@ -600,7 +600,7 @@ import {
600
600
  resolveContextWindow,
601
601
  resolveGeneratedAgentRole,
602
602
  stripKnownSwarmPrefix
603
- } from "./index-qyjyd3ej.js";
603
+ } from "./index-nnmgg6z6.js";
604
604
  import {
605
605
  AGENT_TOOL_MAP,
606
606
  ALL_AGENT_NAMES,
@@ -3389,7 +3389,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3389
3389
  return null;
3390
3390
  throw error2;
3391
3391
  }
3392
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-tdj50p2g.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3392
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-j3r636zg.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3393
3393
  if (!legacy)
3394
3394
  return null;
3395
3395
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3476,7 +3476,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3476
3476
  let recoveryState = null;
3477
3477
  if (!currentAuthoritative) {
3478
3478
  if (options.allowSalvagedRead) {
3479
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-tdj50p2g.js");
3479
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-j3r636zg.js");
3480
3480
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3481
3481
  }
3482
3482
  if (!recoveryState) {
@@ -15039,7 +15039,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
15039
15039
  return extracted === expectedSessionId;
15040
15040
  }
15041
15041
  async function inspectStandardWorktreeCollisionOwnership(identity) {
15042
- const collisionOwnership = await import("./worktree-collision-ownership-e2cqcmnw.js");
15042
+ const collisionOwnership = await import("./worktree-collision-ownership-4yxah5wy.js");
15043
15043
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
15044
15044
  }
15045
15045
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -15465,7 +15465,7 @@ async function precreateStandardWorktreeSession(args) {
15465
15465
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
15466
15466
  if (laneProfile) {
15467
15467
  try {
15468
- const { writeLaneProfileToDiskReal } = await import("./core-pj2fz34e.js");
15468
+ const { writeLaneProfileToDiskReal } = await import("./core-fvsjr20m.js");
15469
15469
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
15470
15470
  } catch {}
15471
15471
  }
@@ -16444,7 +16444,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
16444
16444
  }
16445
16445
  clearWorktreeMergeStatus(statusKey);
16446
16446
  try {
16447
- const { removeLaneProfileFromDiskReal } = await import("./core-pj2fz34e.js");
16447
+ const { removeLaneProfileFromDiskReal } = await import("./core-fvsjr20m.js");
16448
16448
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
16449
16449
  } catch {}
16450
16450
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -24083,7 +24083,7 @@ function clearCriticalShownIds(sessionID) {
24083
24083
  async function rehydratePrSubscriptions(sessionID, directory) {
24084
24084
  const map = new Map;
24085
24085
  try {
24086
- const { listActive: listActive2 } = await import("./pr-subscriptions-qw4wjv66.js");
24086
+ const { listActive: listActive2 } = await import("./pr-subscriptions-nacx8r6a.js");
24087
24087
  const records = await listActive2(directory);
24088
24088
  for (const record of records) {
24089
24089
  if (record.sessionID !== sessionID)
@@ -24427,6 +24427,16 @@ var PrReviewValidationBatchRecordSchema = exports_external.object({
24427
24427
  }).strict()).min(1),
24428
24428
  validatedAt: exports_external.string().min(1)
24429
24429
  }).strict();
24430
+ var PrReviewMicroFamilyDispatchRecordSchema = exports_external.object({
24431
+ batchId: exports_external.string().min(1),
24432
+ prHeadSha: exports_external.string().min(1),
24433
+ lanes: exports_external.array(exports_external.object({
24434
+ laneId: exports_external.string().min(1),
24435
+ workflowLane: exports_external.string().min(1),
24436
+ ownedWorkflowLanes: exports_external.array(exports_external.string().min(1)).min(1).optional()
24437
+ }).strict()).min(1),
24438
+ admittedAt: exports_external.string().min(1)
24439
+ }).strict();
24430
24440
  var PrReviewBatchCoherenceRecordSchema = exports_external.object({
24431
24441
  validatedInventory: exports_external.array(exports_external.string().min(1)),
24432
24442
  reviewerItemBindings: exports_external.record(exports_external.string().min(1), exports_external.string().regex(/^[0-9a-f]{64}$/)).optional(),
@@ -24495,6 +24505,7 @@ var PrWorkflowGateStateSchema = exports_external.object({
24495
24505
  prReviewResilience: PrReviewResilienceStateRecordSchema.optional(),
24496
24506
  prReviewContractRetryDimensions: exports_external.array(PrReviewBaseDimensionIdSchema).max(PR_REVIEW_BASE_DIMENSION_IDS.length).optional(),
24497
24507
  prReviewTriggerLedger: exports_external.array(PrReviewInlineTriggerRowSchema).length(PR_REVIEW_REQUIRED_TRIGGER_IDS.length).optional(),
24508
+ prReviewMicroFamilyDispatches: exports_external.array(PrReviewMicroFamilyDispatchRecordSchema).max(MAX_WORKFLOW_BATCHES).optional(),
24498
24509
  prReviewTriggerEvalPath: exports_external.string().min(1).optional(),
24499
24510
  prReviewTriggerEvalRunId: exports_external.string().min(1).optional(),
24500
24511
  prReviewValidationBatches: exports_external.array(PrReviewValidationBatchRecordSchema).max(MAX_WORKFLOW_BATCHES).optional(),
@@ -26917,6 +26928,36 @@ async function assertPrReviewBaseCoverageSettled2(directory, sessionID, gateCont
26917
26928
  settlement: settled.settlement
26918
26929
  };
26919
26930
  }
26931
+ async function recordPrReviewMicroFamilyDispatch(directory, sessionID, lanes, options) {
26932
+ const state = await bindPrWorkflowHead(directory, sessionID, options.prHeadSha);
26933
+ if (state.mode !== "PR_REVIEW")
26934
+ throw wrongModeError(state, "PR_REVIEW");
26935
+ const batchId = normalizeBatchId(options.batchId);
26936
+ const previous = state.prReviewMicroFamilyDispatches ?? [];
26937
+ if (previous.some((record2) => record2.batchId === batchId)) {
26938
+ return state;
26939
+ }
26940
+ if (previous.length >= MAX_WORKFLOW_BATCHES) {
26941
+ throw new Error(`BLOCKED: PR_REVIEW micro-family dispatch ledger limit reached (${MAX_WORKFLOW_BATCHES} recorded acknowledgments). Nothing was appended and no lane was launched, so re-issuing this dispatch call is safe once the ledger has room. A healthy run records at most ~${11 * (1 + 2)} acknowledgments (11 families x initial dispatch + 2 retries), so reaching the cap indicates a dispatch loop. Recovery: let the active workflow settle or restart with abort_pr_workflow (kind "recovery").`);
26942
+ }
26943
+ const record = {
26944
+ batchId,
26945
+ prHeadSha: options.prHeadSha,
26946
+ lanes: normalizeWorkflowLanes(lanes).map((lane) => ({
26947
+ laneId: lane.laneId,
26948
+ workflowLane: lane.workflowLane,
26949
+ ...lane.ownedWorkflowLanes?.length ? { ownedWorkflowLanes: lane.ownedWorkflowLanes } : {}
26950
+ })),
26951
+ admittedAt: isoNow()
26952
+ };
26953
+ const nextState = {
26954
+ ...state,
26955
+ updatedAt: isoNow(),
26956
+ prReviewMicroFamilyDispatches: [...previous, record]
26957
+ };
26958
+ await persistState(directory, nextState);
26959
+ return nextState;
26960
+ }
26920
26961
  async function recordPrReviewValidationBatch(directory, sessionID, phase, lanes, options) {
26921
26962
  let state = await bindPrWorkflowHead(directory, sessionID, options.prHeadSha);
26922
26963
  if (state.mode !== "PR_REVIEW")
@@ -40453,9 +40494,9 @@ function hashContent(content) {
40453
40494
  return createHash27("sha1").update(content).digest("hex");
40454
40495
  }
40455
40496
  async function loadConfigForPolicyCurator(directory) {
40456
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zrcgm9d9.js");
40497
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-g377jsvv.js");
40457
40498
  try {
40458
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p6bvzgp2.js");
40499
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xkxt1b08.js");
40459
40500
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
40460
40501
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
40461
40502
  } catch {
@@ -43513,7 +43554,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
43513
43554
  const seam = _internals38.createCuratorLLMDelegate;
43514
43555
  if (seam)
43515
43556
  return seam(directory, mode, sessionId);
43516
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-13h02244.js");
43557
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-29cswvhr.js");
43517
43558
  return createCuratorLLMDelegate(directory, mode, sessionId);
43518
43559
  }
43519
43560
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -43908,7 +43949,7 @@ async function runFinalizeStage(ctx) {
43908
43949
  }
43909
43950
  }
43910
43951
  try {
43911
- const { CuratorConfigSchema: CCS } = await import("./schema-zrcgm9d9.js");
43952
+ const { CuratorConfigSchema: CCS } = await import("./schema-g377jsvv.js");
43912
43953
  const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
43913
43954
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
43914
43955
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -46094,7 +46135,7 @@ function serializeAgentSession(s) {
46094
46135
  }
46095
46136
  async function writeSnapshot(directory, state) {
46096
46137
  try {
46097
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-5q0hac3d.js");
46138
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-k1f93806.js");
46098
46139
  await ensureSnapshotCoordinationReady(directory);
46099
46140
  const snapshot = {
46100
46141
  version: 3,
@@ -49272,7 +49313,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
49272
49313
  };
49273
49314
  }
49274
49315
  async function sweepActiveNearDuplicates(directory, options = {}) {
49275
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p6bvzgp2.js");
49316
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xkxt1b08.js");
49276
49317
  const { config } = loadPluginConfigWithMeta2(directory);
49277
49318
  const sweepConfig = config.learning?.dedup_sweep;
49278
49319
  if (sweepConfig?.enabled === false)
@@ -50396,7 +50437,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
50396
50437
  }
50397
50438
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
50398
50439
  try {
50399
- const skillModule = await import("./skill-generator-dztn1ctf.js");
50440
+ const skillModule = await import("./skill-generator-k3hnf8xx.js");
50400
50441
  for (const cand of skillCandidates) {
50401
50442
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
50402
50443
  continue;
@@ -50868,7 +50909,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
50868
50909
  } catch {}
50869
50910
  }
50870
50911
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
50871
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-7xcd0zea.js");
50912
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-gajaew60.js");
50872
50913
  for (const { id } of contradictedEntries) {
50873
50914
  try {
50874
50915
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -51700,7 +51741,7 @@ async function runCuratorPostMortem(directory, options = {}) {
51700
51741
  warnings.push("Failed to collect knowledge summary.");
51701
51742
  }
51702
51743
  try {
51703
- const { getScanStatus } = await import("./scan-cursor-fgecb928.js");
51744
+ const { getScanStatus } = await import("./scan-cursor-y9rchz83.js");
51704
51745
  const scanStatus = await getScanStatus(directory);
51705
51746
  if (scanStatus.remaining_estimate > 0) {
51706
51747
  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.`);
@@ -51872,9 +51913,9 @@ var _internals57 = {
51872
51913
  verifyPostMortemKnowledgeActions,
51873
51914
  repairPostMortemActions,
51874
51915
  loadDefaultKnowledgeConfig: async (directory) => {
51875
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zrcgm9d9.js");
51916
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-g377jsvv.js");
51876
51917
  try {
51877
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p6bvzgp2.js");
51918
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xkxt1b08.js");
51878
51919
  const loaded = loadPluginConfigWithMeta2(directory);
51879
51920
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
51880
51921
  } catch {
@@ -51882,11 +51923,11 @@ var _internals57 = {
51882
51923
  }
51883
51924
  },
51884
51925
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
51885
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-r0jfc7xw.js");
51926
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-h7j1xse4.js");
51886
51927
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
51887
51928
  },
51888
51929
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
51889
- const { checkHivePromotions } = await import("./hive-promoter-0vg8w79a.js");
51930
+ const { checkHivePromotions } = await import("./hive-promoter-632ewk29.js");
51890
51931
  return checkHivePromotions(entries2, knowledgeConfig, directory);
51891
51932
  },
51892
51933
  applyProposalTriage: async (directory, triage) => {
@@ -51895,7 +51936,7 @@ var _internals57 = {
51895
51936
  activateProposal,
51896
51937
  listSkills: listSkills2,
51897
51938
  sanitizeSlug
51898
- } = await import("./skill-generator-dztn1ctf.js");
51939
+ } = await import("./skill-generator-k3hnf8xx.js");
51899
51940
  const result = {
51900
51941
  approved: [],
51901
51942
  rejected: [],
@@ -51937,7 +51978,7 @@ var _internals57 = {
51937
51978
  return result;
51938
51979
  },
51939
51980
  readPriorDriftReports: async (directory) => {
51940
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-q84jn9cc.js");
51981
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-t150w08d.js");
51941
51982
  return readPriorDriftReports2(directory);
51942
51983
  },
51943
51984
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -61733,9 +61774,9 @@ var _internals67 = {
61733
61774
  loadPluginConfigWithMeta,
61734
61775
  loadCuratorDeps: async () => {
61735
61776
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
61736
- import("./schema-zrcgm9d9.js"),
61737
- import("./curator-r0jfc7xw.js"),
61738
- import("./curator-llm-factory-13h02244.js")
61777
+ import("./schema-g377jsvv.js"),
61778
+ import("./curator-h7j1xse4.js"),
61779
+ import("./curator-llm-factory-29cswvhr.js")
61739
61780
  ]);
61740
61781
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
61741
61782
  }
@@ -64128,7 +64169,7 @@ async function computeCurationDiagnostics(directory, entries2) {
64128
64169
  let scanCompleted = false;
64129
64170
  let scanRemaining = 0;
64130
64171
  try {
64131
- const { getScanStatus } = await import("./scan-cursor-fgecb928.js");
64172
+ const { getScanStatus } = await import("./scan-cursor-y9rchz83.js");
64132
64173
  const status = await getScanStatus(directory);
64133
64174
  scanGeneration = status.generation;
64134
64175
  scanCompleted = status.completed;
@@ -64136,19 +64177,19 @@ async function computeCurationDiagnostics(directory, entries2) {
64136
64177
  } catch {}
64137
64178
  let configMatch = null;
64138
64179
  try {
64139
- const { isLinked: isLinked2 } = await import("./knowledge-link-dv78fb9g.js");
64180
+ const { isLinked: isLinked2 } = await import("./knowledge-link-jnnk0nmk.js");
64140
64181
  if (isLinked2(directory)) {
64141
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zrcgm9d9.js");
64182
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-g377jsvv.js");
64142
64183
  let config;
64143
64184
  try {
64144
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p6bvzgp2.js");
64185
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xkxt1b08.js");
64145
64186
  const loaded = loadPluginConfigWithMeta2(directory);
64146
64187
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
64147
64188
  } catch {
64148
64189
  config = KnowledgeConfigSchema2.parse({});
64149
64190
  }
64150
64191
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
64151
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-ytzwb080.js");
64192
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-pxwagyh7.js");
64152
64193
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
64153
64194
  const cohortFp = await readCohortConfigFingerprint(directory);
64154
64195
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -65596,7 +65637,7 @@ async function handleDoctorCommand(directory, args) {
65596
65637
  const result = runConfigDoctor(config, directory);
65597
65638
  let output;
65598
65639
  if (enableAutoFix && result.hasAutoFixableIssues) {
65599
- const { runConfigDoctorWithFixes } = await import("./config-doctor-28ggsms8.js");
65640
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-mj4ae4jn.js");
65600
65641
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
65601
65642
  applyLossy: true
65602
65643
  });
@@ -65634,7 +65675,7 @@ async function handleDoctorCommand(directory, args) {
65634
65675
  `;
65635
65676
  }
65636
65677
  try {
65637
- const { runModelPreflight } = await import("./model-preflight-kap3zp3g.js");
65678
+ const { runModelPreflight } = await import("./model-preflight-z9p55ssn.js");
65638
65679
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
65639
65680
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
65640
65681
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -66561,7 +66602,7 @@ async function handleEvidenceCommand(directory, args) {
66561
66602
  return formatTaskEvidenceMarkdown(evidenceData);
66562
66603
  }
66563
66604
  async function handleEvidenceSummaryCommand(directory) {
66564
- const { buildEvidenceSummary } = await import("./evidence-summary-service-rsectw2t.js");
66605
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-h42y6hwq.js");
66565
66606
  const artifact = await buildEvidenceSummary(directory);
66566
66607
  if (!artifact) {
66567
66608
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -90894,7 +90935,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
90894
90935
  }
90895
90936
  const sdkOpts = signal ? { signal } : {};
90896
90937
  try {
90897
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-22f1ek6k.js");
90938
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-hw8w4mkh.js");
90898
90939
  const createResult = await client.session.create({
90899
90940
  ...sessionId ? {
90900
90941
  body: {
@@ -93231,7 +93272,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
93231
93272
  clearedEvents: []
93232
93273
  };
93233
93274
  try {
93234
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-tdj50p2g.js");
93275
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-j3r636zg.js");
93235
93276
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
93236
93277
  } catch (err) {
93237
93278
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -106856,7 +106897,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
106856
106897
  if (!input.dispatcher) {
106857
106898
  throw new Error("no evaluation dispatcher available (cannot run validation)");
106858
106899
  }
106859
- const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-tb3eppeg.js");
106900
+ const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-fns4esbf.js");
106860
106901
  const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
106861
106902
  const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals129.evaluateCandidateV1({
106862
106903
  projectRoot: input.directory,
@@ -109485,7 +109526,7 @@ function buildDetailedHelp(commandName, entry) {
109485
109526
  async function handleHelpCommand(ctx) {
109486
109527
  const targetCommand = ctx.args.join(" ");
109487
109528
  if (!targetCommand) {
109488
- const { buildHelpText } = await import("./index-4dwhfbed.js");
109529
+ const { buildHelpText } = await import("./index-03d68zxw.js");
109489
109530
  return buildHelpText();
109490
109531
  }
109491
109532
  const tokens = targetCommand.split(/\s+/);
@@ -109499,7 +109540,7 @@ async function handleHelpCommand(ctx) {
109499
109540
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
109500
109541
  }
109501
109542
  const similar = _internals27.findSimilarCommands(targetCommand);
109502
- const { buildHelpText: fullHelp } = await import("./index-4dwhfbed.js");
109543
+ const { buildHelpText: fullHelp } = await import("./index-03d68zxw.js");
109503
109544
  if (similar.length > 0) {
109504
109545
  return `Command '/swarm ${targetCommand}' not found.
109505
109546
 
@@ -109827,7 +109868,7 @@ var COMMAND_REGISTRY = {
109827
109868
  },
109828
109869
  "guardrail explain": {
109829
109870
  handler: async (ctx) => {
109830
- const { handleGuardrailExplain } = await import("./guardrail-explain-njv3pnsw.js");
109871
+ const { handleGuardrailExplain } = await import("./guardrail-explain-yfd11za1.js");
109831
109872
  return handleGuardrailExplain(ctx.directory, ctx.args);
109832
109873
  },
109833
109874
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -109837,7 +109878,7 @@ var COMMAND_REGISTRY = {
109837
109878
  },
109838
109879
  "guardrail reset": {
109839
109880
  handler: async (ctx) => {
109840
- const { handleGuardrailReset } = await import("./guardrail-reset-11cvwgbe.js");
109881
+ const { handleGuardrailReset } = await import("./guardrail-reset-fqgf5sdb.js");
109841
109882
  return handleGuardrailReset(ctx.args, ctx.sessionID);
109842
109883
  },
109843
109884
  description: "Reset one exact active invocation/action circuit after repair",
@@ -109858,7 +109899,7 @@ var COMMAND_REGISTRY = {
109858
109899
  },
109859
109900
  "guardrail-log": {
109860
109901
  handler: async (ctx) => {
109861
- const { handleGuardrailLog } = await import("./guardrail-log-r8zmh4rd.js");
109902
+ const { handleGuardrailLog } = await import("./guardrail-log-hcr5rptq.js");
109862
109903
  return handleGuardrailLog(ctx.directory, ctx.args);
109863
109904
  },
109864
109905
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -115166,4 +115207,4 @@ function getAgentConfigs(config, directory, sessionId, projectContext) {
115166
115207
  return result;
115167
115208
  }
115168
115209
 
115169
- export { resetActionCircuitExternally, getBlockingActionCircuit, resolveConfiguredAgentModel, resolveRegisteredAgentModel, resolveEffectiveAgentOverride, dcNormalizeCommand, dcUnwrapWrappers, dcSplitSegments, dcExtractRecursiveRmTargets, dcEvaluateRecursiveDeleteTargets, dcCheckJunctionCreation, dcExtractWindowsCmdTargets, dcExtractPowerShellTargets, getSharedClassifierGuardrailBlock, classifyCommand, MAX_PARALLEL_VERDICT_TASKS, computeParallelVerdict, resetArchitectPromptBudgetAdvisories, createArchitectAgent, createCoderAgent, GENERALIST_COUNCIL_PROMPT, SKEPTIC_COUNCIL_PROMPT, DOMAIN_EXPERT_COUNCIL_PROMPT, createCriticAgent, createCuratorAgent, createDesignerAgent, createDocsAgent, createResearcherAgent, SECURITY_CATEGORIES, createReviewerAgent, createSMEAgent, createTestEngineerAgent, _internals132 as _internals, stripSwarmPrefix, extractSwarmIdFromAgentName, resolveFallbackModel, getSwarmAgents, createAgents, resolvePrimaryAgentNames, getAgentConfigs, SWARM_COMMAND_TOOL_COMMANDS, SWARM_COMMAND_TOOL_ALLOWLIST, HUMAN_ONLY_SWARM_COMMANDS, classifySwarmCommandToolUse, classifySwarmCommandChatFallbackUse, detectPosixWrites, detectWindowsWrites, resolveWriteTargets, getAgentSession, parseLeanLaneIndex, computeLaneRuntimeProfile, MAX_TRACKED_STANDARD_WORKTREE_CALLS, awaitingMergeByCallID, standardWorktreeByCallID, standardWorktreeSerializationSessions, getStandardWorktreeDegradationReason, resetStandardWorktreeIsolationState, checkStandardWorktreeSerializationRelease, sanitizeWorktreeTaskId, preProvisionCollisionCheck, isLaneOwnedByCurrentSession, precreateStandardWorktreeSession, preserveBackgroundWorktreeOwnershipForCallId, preserveDirtyWorktreeForCallId, preserveDirtyWorktreeAtPath, cleanupStandardWorktreeForCallId, abortStandardWorktreeDispatch, finishStandardWorktreeDispatch, readLaneEnvFileFromDisk, _internals24 as _internals1, redactSecrets, prWorkflowSessionFileStem, ensurePrWorkflowSafeParentDirectory, writePrWorkflowAtomicJson, PrWorkflowCheckoutMutationTimeoutError, withPrWorkflowCheckoutMutationLock, PR_REVIEW_REPORT_VERDICTS, allowedPrReviewReportVerdicts, normalizePrReviewPartialBaseCoverageRecord, rollbackPrReviewPartialBaseCoverageAdmission, readPrReviewTerminalCoverageForReport, PR_REVIEW_REQUIRED_MICRO_LANE_IDS, PR_REVIEW_DEPTH_TIER_THRESHOLDS, PR_REVIEW_BASE_LANE_FLOORS, PR_REVIEW_TIER_L_CONSOLIDATED_LANE_FLOOR, PR_REVIEW_MICRO_LANE_FLOORS, computePrReviewDepthTier, MAX_PR_REVIEW_SUBMIT_REJECTIONS, MAX_PR_FEEDBACK_INVENTORY_AMENDMENTS, activatePrWorkflow, appendPrWorkflowSkillContractAdvisories, readPrWorkflowGateState, recordPrReviewSubmitRejection, latestPrReviewSubmitRejectionMessage, submitPrReviewResult, withPrWorkflowCheckoutPreparationLock, withInactivePrWorkflowCheckoutRestoreLock, clearPrWorkflowGateState, terminalizePrWorkflowGateForSession2 as terminalizePrWorkflowGateForSession, PR_WORKFLOW_PROBE_SKIPPED_NO_BUDGET_REASON, collectPrWorkflowPendingLaneLiveness, settlePresumedStalePrWorkflowLanes, abortPrWorkflow, recoverArmedPrWorkflow, bindPrWorkflowHead, rebindPrFeedbackHead, bindPrReviewBase, assertCurrentCheckoutHead, assertPrReviewCleanCheckout, enforcePrWorkflowDispatchLanesAsync, PrReviewResilienceCircuitOpenError, PrReviewResilienceRetryExhaustedError, enforcePrReviewBaseDimensions, rollbackPrReviewBaseAdmissionIfUnlaunched, admitPrReviewPartialBaseCoverage2 as admitPrReviewPartialBaseCoverage, assertPrReviewBaseCoverageSettled2 as assertPrReviewBaseCoverageSettled, recordPrReviewValidationBatch, assertPrReviewValidationSettled, declarePrFeedbackInventory, enforcePrFeedbackVerificationOwnership, assertPrFeedbackVerificationSettled, recordPrFeedbackStageA, recordPrFeedbackGateBatch, assertPrFeedbackGatePhaseSettled, assertPrFeedbackReadyToPublish, invalidatePrFeedbackPublication, describePrWorkflowPublicationSection, findDanglingLivePublicationGeneration, recordPrFeedbackPushAttemptResult, cancelPrFeedbackPublication, resolvePrReviewWriterRunId, markPrReviewTriggerEvaluationComplete, bindPrReviewTriggerLedger, assertPrReviewArtifactBoundary, assertPrReviewArtifactRecordsMatchAuthoritativeVerdicts, markPrReviewArtifactBoundary, markPrReviewHandoffComplete, readPrReviewFinalFindingPolicyForReport, transitionPrReviewToFeedback, declarePrFeedbackScope, resolvePrFeedbackScopeDeclaration, consumePrFeedbackScopeDeclaration, validatePrFeedbackScopeBinding, enforcePrWorkflowToolBefore, readPrReviewReentryBindingContext, hasActivePrReviewReentryAuthorization, reserveActivePrReviewReentryAuthorization, completePrWorkflow, _test_exports2 as _test_exports, normalizePrWorkflowShellCommand, describePrWorkflowRevisionDigestFailure, readAuthoritativePrReviewCriticSettlements, readAuthoritativePrReviewCriticVerdicts, formatPrReviewLaneValidationFailure, validatePrReviewDiscoveryLaneCompletion2 as validatePrReviewDiscoveryLaneCompletion, validatePrWorkflowTransportRecovery, prReviewDiscoveryArtifactCoversLane, MAX_SALVAGED_SCHEMA_ERROR_CHARS, readPrWorkflowGateStateForRecovery, handleAcknowledgeSpecDriftCommand, handleAgentsCommand, handleAnalyzeCommand, handleApproveWriteCommand, handleArchiveCommand, handleAutoProceedCommand, handleBenchmarkCommand, handleBrainstormCommand, handleCheckpointCommand, DEFAULT_CI_DEADLINE_MS2 as DEFAULT_CI_DEADLINE_MS, createSignalCancellation, handleCiCommand, handleCiSimulateCommand, handleClarifyCommand, safeRealpathSync, createCuratorLLMDelegate, startSnapshotCoordinationInitialization, ensureSnapshotCoordinationReady, retrySnapshotCoordinationInitialization, getSnapshotCoordinationStatus, beginSnapshotCoordinationReset, closeSnapshotCoordinationInitialization, markSnapshotCoordinationClosing, _snapshotCoordinationInternals, handleCloseCommand, _internals56 as _internals2, normalizeRecommendationEntryIdToken, parseKnowledgeRecommendations, parseKnowledgeRecommendationsWithDiagnostics, parseStructuredCuratorBlocks, readCuratorSummary, writeCuratorSummary, appendCuratorRecommendation, mergeCuratorPhaseSummary, filterPhaseEvents, checkPhaseCompliance, runCuratorInit, runCuratorPhase, applyCuratorKnowledgeUpdates, isHiveEligible, countDistinctProjects, checkHivePromotions, _internals60 as _internals3, createHivePromoterHook, promoteToHive, promoteFromSwarm, createMemoryGateway, handleCodebaseReviewCommand, handleConcurrencyCommand, handleConfigCommand, handleConsolidateCommand, handleCostsCommand, handleCouncilCommand, getCoChangePairs, handleCurateCommand, handleDarkMatterCommand, handleDeepDiveCommand, handleDeepResearchCommand, getHostConfigDir, getPluginCachePaths, getPluginLockFilePaths, VERSION_PINNED_LEAF, discoverVersionPinnedCachePaths, readCachePackageVersion, handleDiagnoseCommand, handleDoctorCommand, handleEvidenceCommand, handleEvidenceSummaryCommand, handleExportCommand, handleFullAutoCommand, computeQualityBudget, computeSastScan, handleGateAuditCommand, handleGateStatsCommand, handleHandoffCommand, handleBlueprintValidateCommand, handleBlueprintCurrentCommand, handleBlueprintHistoryCommand, handleBlueprintDiffCommand, handleBlueprintExportCommand, handleHarnessCandidateValidateCommand, handleHarnessCandidateShowCommand, handleHarnessCandidateDiffCommand, handleHistoryCommand, handleKnowledgeQuarantineCommand, handleKnowledgeRestoreCommand, handleKnowledgeMigrateCommand, handleKnowledgeListCommand, handleKnowledgeUnactionableCommand, handleKnowledgeRetryHardeningCommand, handleLearningCommand, handleLinkCommand, searchKnowledge, symbols, handleMemoryCommand, handleMemoryStatusCommand, handleMemoryValueLogCommand, handleMemoryMigrateCommand, handleMemoryImportCommand, handleMemoryExportCommand, handlePlanCommand, handlePreflightCommand, handlePromoteCommand, handleQaGatesCommand, handleRecoverCommand, handleResetCommand, handleResetSessionCommand, handleRetrieveCommand, handleReviewCommand, handleRollbackCommand, handleSddStatusCommand, handleSddValidateCommand, handleSddProjectCommand, handleSddCommand, handleSimulateCommand, handleSpecifyCommand, handleStatusCommand, handleSyncPlanCommand, handleTurboCommand, handleUnlinkCommand, handleWriteRetroCommand, handleHelpCommand, isCommandFailure, COMMAND_REGISTRY, VALID_COMMANDS, _internals27 as _internals4, resolveCommand, normalizeSwarmCommandInput, canonicalCommandKey, formatCommandNotFound, executeSwarmCommand };
115210
+ export { resetActionCircuitExternally, getBlockingActionCircuit, resolveConfiguredAgentModel, resolveRegisteredAgentModel, resolveEffectiveAgentOverride, dcNormalizeCommand, dcUnwrapWrappers, dcSplitSegments, dcExtractRecursiveRmTargets, dcEvaluateRecursiveDeleteTargets, dcCheckJunctionCreation, dcExtractWindowsCmdTargets, dcExtractPowerShellTargets, getSharedClassifierGuardrailBlock, classifyCommand, MAX_PARALLEL_VERDICT_TASKS, computeParallelVerdict, resetArchitectPromptBudgetAdvisories, createArchitectAgent, createCoderAgent, GENERALIST_COUNCIL_PROMPT, SKEPTIC_COUNCIL_PROMPT, DOMAIN_EXPERT_COUNCIL_PROMPT, createCriticAgent, createCuratorAgent, createDesignerAgent, createDocsAgent, createResearcherAgent, SECURITY_CATEGORIES, createReviewerAgent, createSMEAgent, createTestEngineerAgent, _internals132 as _internals, stripSwarmPrefix, extractSwarmIdFromAgentName, resolveFallbackModel, getSwarmAgents, createAgents, resolvePrimaryAgentNames, getAgentConfigs, SWARM_COMMAND_TOOL_COMMANDS, SWARM_COMMAND_TOOL_ALLOWLIST, HUMAN_ONLY_SWARM_COMMANDS, classifySwarmCommandToolUse, classifySwarmCommandChatFallbackUse, detectPosixWrites, detectWindowsWrites, resolveWriteTargets, getAgentSession, parseLeanLaneIndex, computeLaneRuntimeProfile, MAX_TRACKED_STANDARD_WORKTREE_CALLS, awaitingMergeByCallID, standardWorktreeByCallID, standardWorktreeSerializationSessions, getStandardWorktreeDegradationReason, resetStandardWorktreeIsolationState, checkStandardWorktreeSerializationRelease, sanitizeWorktreeTaskId, preProvisionCollisionCheck, isLaneOwnedByCurrentSession, precreateStandardWorktreeSession, preserveBackgroundWorktreeOwnershipForCallId, preserveDirtyWorktreeForCallId, preserveDirtyWorktreeAtPath, cleanupStandardWorktreeForCallId, abortStandardWorktreeDispatch, finishStandardWorktreeDispatch, readLaneEnvFileFromDisk, _internals24 as _internals1, redactSecrets, prWorkflowSessionFileStem, ensurePrWorkflowSafeParentDirectory, writePrWorkflowAtomicJson, PrWorkflowCheckoutMutationTimeoutError, withPrWorkflowCheckoutMutationLock, PR_REVIEW_REPORT_VERDICTS, allowedPrReviewReportVerdicts, normalizePrReviewPartialBaseCoverageRecord, rollbackPrReviewPartialBaseCoverageAdmission, readPrReviewTerminalCoverageForReport, PR_REVIEW_REQUIRED_MICRO_LANE_IDS, PR_REVIEW_DEPTH_TIER_THRESHOLDS, PR_REVIEW_BASE_LANE_FLOORS, PR_REVIEW_TIER_L_CONSOLIDATED_LANE_FLOOR, PR_REVIEW_MICRO_LANE_FLOORS, computePrReviewDepthTier, MAX_PR_REVIEW_SUBMIT_REJECTIONS, MAX_PR_FEEDBACK_INVENTORY_AMENDMENTS, activatePrWorkflow, appendPrWorkflowSkillContractAdvisories, readPrWorkflowGateState, recordPrReviewSubmitRejection, latestPrReviewSubmitRejectionMessage, submitPrReviewResult, withPrWorkflowCheckoutPreparationLock, withInactivePrWorkflowCheckoutRestoreLock, clearPrWorkflowGateState, terminalizePrWorkflowGateForSession2 as terminalizePrWorkflowGateForSession, PR_WORKFLOW_PROBE_SKIPPED_NO_BUDGET_REASON, collectPrWorkflowPendingLaneLiveness, settlePresumedStalePrWorkflowLanes, abortPrWorkflow, recoverArmedPrWorkflow, bindPrWorkflowHead, rebindPrFeedbackHead, bindPrReviewBase, assertCurrentCheckoutHead, assertPrReviewCleanCheckout, enforcePrWorkflowDispatchLanesAsync, PrReviewResilienceCircuitOpenError, PrReviewResilienceRetryExhaustedError, enforcePrReviewBaseDimensions, rollbackPrReviewBaseAdmissionIfUnlaunched, admitPrReviewPartialBaseCoverage2 as admitPrReviewPartialBaseCoverage, assertPrReviewBaseCoverageSettled2 as assertPrReviewBaseCoverageSettled, recordPrReviewMicroFamilyDispatch, recordPrReviewValidationBatch, assertPrReviewValidationSettled, declarePrFeedbackInventory, enforcePrFeedbackVerificationOwnership, assertPrFeedbackVerificationSettled, recordPrFeedbackStageA, recordPrFeedbackGateBatch, assertPrFeedbackGatePhaseSettled, assertPrFeedbackReadyToPublish, invalidatePrFeedbackPublication, describePrWorkflowPublicationSection, findDanglingLivePublicationGeneration, recordPrFeedbackPushAttemptResult, cancelPrFeedbackPublication, resolvePrReviewWriterRunId, markPrReviewTriggerEvaluationComplete, bindPrReviewTriggerLedger, assertPrReviewArtifactBoundary, assertPrReviewArtifactRecordsMatchAuthoritativeVerdicts, markPrReviewArtifactBoundary, markPrReviewHandoffComplete, readPrReviewFinalFindingPolicyForReport, transitionPrReviewToFeedback, declarePrFeedbackScope, resolvePrFeedbackScopeDeclaration, consumePrFeedbackScopeDeclaration, validatePrFeedbackScopeBinding, enforcePrWorkflowToolBefore, readPrReviewReentryBindingContext, hasActivePrReviewReentryAuthorization, reserveActivePrReviewReentryAuthorization, completePrWorkflow, _test_exports2 as _test_exports, normalizePrWorkflowShellCommand, describePrWorkflowRevisionDigestFailure, readAuthoritativePrReviewCriticSettlements, readAuthoritativePrReviewCriticVerdicts, formatPrReviewLaneValidationFailure, validatePrReviewDiscoveryLaneCompletion2 as validatePrReviewDiscoveryLaneCompletion, validatePrWorkflowTransportRecovery, prReviewDiscoveryArtifactCoversLane, MAX_SALVAGED_SCHEMA_ERROR_CHARS, readPrWorkflowGateStateForRecovery, handleAcknowledgeSpecDriftCommand, handleAgentsCommand, handleAnalyzeCommand, handleApproveWriteCommand, handleArchiveCommand, handleAutoProceedCommand, handleBenchmarkCommand, handleBrainstormCommand, handleCheckpointCommand, DEFAULT_CI_DEADLINE_MS2 as DEFAULT_CI_DEADLINE_MS, createSignalCancellation, handleCiCommand, handleCiSimulateCommand, handleClarifyCommand, safeRealpathSync, createCuratorLLMDelegate, startSnapshotCoordinationInitialization, ensureSnapshotCoordinationReady, retrySnapshotCoordinationInitialization, getSnapshotCoordinationStatus, beginSnapshotCoordinationReset, closeSnapshotCoordinationInitialization, markSnapshotCoordinationClosing, _snapshotCoordinationInternals, handleCloseCommand, _internals56 as _internals2, normalizeRecommendationEntryIdToken, parseKnowledgeRecommendations, parseKnowledgeRecommendationsWithDiagnostics, parseStructuredCuratorBlocks, readCuratorSummary, writeCuratorSummary, appendCuratorRecommendation, mergeCuratorPhaseSummary, filterPhaseEvents, checkPhaseCompliance, runCuratorInit, runCuratorPhase, applyCuratorKnowledgeUpdates, isHiveEligible, countDistinctProjects, checkHivePromotions, _internals60 as _internals3, createHivePromoterHook, promoteToHive, promoteFromSwarm, createMemoryGateway, handleCodebaseReviewCommand, handleConcurrencyCommand, handleConfigCommand, handleConsolidateCommand, handleCostsCommand, handleCouncilCommand, getCoChangePairs, handleCurateCommand, handleDarkMatterCommand, handleDeepDiveCommand, handleDeepResearchCommand, getHostConfigDir, getPluginCachePaths, getPluginLockFilePaths, VERSION_PINNED_LEAF, discoverVersionPinnedCachePaths, readCachePackageVersion, handleDiagnoseCommand, handleDoctorCommand, handleEvidenceCommand, handleEvidenceSummaryCommand, handleExportCommand, handleFullAutoCommand, computeQualityBudget, computeSastScan, handleGateAuditCommand, handleGateStatsCommand, handleHandoffCommand, handleBlueprintValidateCommand, handleBlueprintCurrentCommand, handleBlueprintHistoryCommand, handleBlueprintDiffCommand, handleBlueprintExportCommand, handleHarnessCandidateValidateCommand, handleHarnessCandidateShowCommand, handleHarnessCandidateDiffCommand, handleHistoryCommand, handleKnowledgeQuarantineCommand, handleKnowledgeRestoreCommand, handleKnowledgeMigrateCommand, handleKnowledgeListCommand, handleKnowledgeUnactionableCommand, handleKnowledgeRetryHardeningCommand, handleLearningCommand, handleLinkCommand, searchKnowledge, symbols, handleMemoryCommand, handleMemoryStatusCommand, handleMemoryValueLogCommand, handleMemoryMigrateCommand, handleMemoryImportCommand, handleMemoryExportCommand, handlePlanCommand, handlePreflightCommand, handlePromoteCommand, handleQaGatesCommand, handleRecoverCommand, handleResetCommand, handleResetSessionCommand, handleRetrieveCommand, handleReviewCommand, handleRollbackCommand, handleSddStatusCommand, handleSddValidateCommand, handleSddProjectCommand, handleSddCommand, handleSimulateCommand, handleSpecifyCommand, handleStatusCommand, handleSyncPlanCommand, handleTurboCommand, handleUnlinkCommand, handleWriteRetroCommand, handleHelpCommand, isCommandFailure, COMMAND_REGISTRY, VALID_COMMANDS, _internals27 as _internals4, resolveCommand, normalizeSwarmCommandInput, canonicalCommandKey, formatCommandNotFound, executeSwarmCommand };