opencode-swarm 7.192.0 → 7.192.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 (94) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +2 -2
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +18 -8
  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 +145 -0
  6. package/dist/cli/{auto-checkpoint-fzybxf58.js → auto-checkpoint-kkakqktp.js} +7 -7
  7. package/dist/cli/{checkpoint-6fr9tc3h.js → checkpoint-cefw75xe.js} +14 -14
  8. package/dist/cli/{coder-settlement-1t0r6q0r.js → coder-settlement-tgdjczyp.js} +10 -10
  9. package/dist/cli/{config-doctor-0kd6w45h.js → config-doctor-sns7gbj2.js} +13 -13
  10. package/dist/cli/{core-dxraa2ss.js → core-q8xvp8bw.js} +3 -3
  11. package/dist/cli/{curation-policy-6p6fcfjb.js → curation-policy-2q5xs0xg.js} +4 -4
  12. package/dist/cli/{curator-drift-6qb0c363.js → curator-drift-1n3akmda.js} +8 -8
  13. package/dist/cli/curator-llm-factory-tfn0cp68.js +82 -0
  14. package/dist/cli/{curator-hwwp7e2g.js → curator-mgdsxrpv.js} +40 -40
  15. package/dist/cli/{doctor-knowledge-receipt-phase-id-ay2ngn4a.js → doctor-knowledge-receipt-phase-id-33bp8fcs.js} +7 -7
  16. package/dist/cli/{evidence-summary-service-fyyzhbsc.js → evidence-summary-service-sb888pg8.js} +17 -17
  17. package/dist/cli/{gate-evidence-zt2vj631.js → gate-evidence-rmk87c6m.js} +5 -5
  18. package/dist/cli/guardrail-explain-n9ndp99q.js +83 -0
  19. package/dist/cli/{guardrail-log-ppgfsfzt.js → guardrail-log-d18dcweh.js} +6 -6
  20. package/dist/cli/{guardrail-reset-4psprskt.js → guardrail-reset-1xeeetk7.js} +40 -40
  21. package/dist/cli/{hive-promoter-vxrwvhga.js → hive-promoter-44grgbq4.js} +40 -40
  22. package/dist/cli/{index-qs9myayh.js → index-025wg2re.js} +1 -1
  23. package/dist/cli/{index-c5644p1y.js → index-0yrsvwdf.js} +6 -6
  24. package/dist/cli/{index-n8q43eff.js → index-28zgn6sm.js} +2 -2
  25. package/dist/cli/{index-3c8v05x1.js → index-2wps5fec.js} +3 -3
  26. package/dist/cli/{index-egkph2cs.js → index-3txrbsa1.js} +4 -4
  27. package/dist/cli/{index-mcv0v2dp.js → index-4cm1p2kj.js} +1 -1
  28. package/dist/cli/{index-sx3g9nwg.js → index-50b8f6qz.js} +4 -4
  29. package/dist/cli/{index-r9yvpr2m.js → index-63v3gmgr.js} +1 -1
  30. package/dist/cli/{index-p1z7pafk.js → index-6shk3n43.js} +2 -2
  31. package/dist/cli/{index-6v42d116.js → index-867d9dhf.js} +2 -2
  32. package/dist/cli/{index-x00ghp37.js → index-95hc7xn4.js} +3 -3
  33. package/dist/cli/{index-feaxsjrt.js → index-9b6bxe9b.js} +1 -1
  34. package/dist/cli/{index-sxw0jbyc.js → index-advcaree.js} +4 -4
  35. package/dist/cli/{index-ywmz75rj.js → index-af3nmk6c.js} +7 -7
  36. package/dist/cli/{index-d5dwf6q6.js → index-ajp4dabz.js} +4 -4
  37. package/dist/cli/{index-tv0m2css.js → index-b79a8pc2.js} +1 -1
  38. package/dist/cli/{index-3pkeqcxe.js → index-bwh9196c.js} +5 -5
  39. package/dist/cli/{index-aazwrwy1.js → index-cje7tt58.js} +1 -1
  40. package/dist/cli/{index-zk6ttjkt.js → index-d4cjbm4p.js} +1 -1
  41. package/dist/cli/{index-bx6x9ee7.js → index-edk2sgse.js} +2 -2
  42. package/dist/cli/{index-4d04qzw5.js → index-ejfmgkt0.js} +3 -3
  43. package/dist/cli/{index-dexj54h2.js → index-f32hs2vt.js} +3 -3
  44. package/dist/cli/{index-mjfpaxw3.js → index-f6e44xh2.js} +5 -5
  45. package/dist/cli/{index-05t8f1bj.js → index-fsm9gv1p.js} +40 -40
  46. package/dist/cli/{index-2fpv2wmc.js → index-ga1pcs49.js} +1 -1
  47. package/dist/cli/{index-ngjjwcam.js → index-jdw63xyd.js} +2 -2
  48. package/dist/cli/{index-z3ahy9c2.js → index-k6h66zm3.js} +1 -1
  49. package/dist/cli/{index-mqf06fyy.js → index-km4x7yfb.js} +10 -10
  50. package/dist/cli/{index-3zwhxk98.js → index-kvtwwj8b.js} +1 -1
  51. package/dist/cli/{index-nkgzkt7c.js → index-mhqh2dc9.js} +1 -1
  52. package/dist/cli/{index-mj237f76.js → index-nb1c3342.js} +7 -7
  53. package/dist/cli/{index-9qwmx95b.js → index-ney8qpg3.js} +1 -1
  54. package/dist/cli/{index-hqqfxytt.js → index-pkgbrrn7.js} +1 -1
  55. package/dist/cli/{index-93zvq6wn.js → index-r3gphy10.js} +5 -5
  56. package/dist/cli/{index-gv63kdd3.js → index-s81tvz98.js} +3 -3
  57. package/dist/cli/{index-b2j231jy.js → index-t0se5zwe.js} +1 -1
  58. package/dist/cli/{index-kfevm0n5.js → index-t433r606.js} +2 -2
  59. package/dist/cli/{index-646s7gp9.js → index-v3bmeqqh.js} +4 -4
  60. package/dist/cli/{index-1ajj6zbq.js → index-vf6pqke0.js} +42 -42
  61. package/dist/cli/{index-rehvfgre.js → index-vt8hk0pt.js} +89 -82
  62. package/dist/cli/{index-ecx8jh7s.js → index-w52xyp9v.js} +2 -2
  63. package/dist/cli/{index-y9v41185.js → index-xjqa26fs.js} +1 -1
  64. package/dist/cli/{index-sxj143a4.js → index-xw19x0t7.js} +1 -1
  65. package/dist/cli/{index-v9geqn2t.js → index-yfmgbhwz.js} +3 -3
  66. package/dist/cli/{index-zv71frp3.js → index-ysazjncb.js} +6 -6
  67. package/dist/cli/index.js +41 -41
  68. package/dist/cli/{knowledge-escalator-b45xccz8.js → knowledge-escalator-naq700x5.js} +12 -12
  69. package/dist/cli/{knowledge-events-rtmavbyy.js → knowledge-events-mmh5cya6.js} +10 -10
  70. package/dist/cli/{knowledge-link-6hw3z6wn.js → knowledge-link-76egdqc9.js} +3 -3
  71. package/dist/cli/{knowledge-store-0beaqdxd.js → knowledge-store-9dxr9jb9.js} +4 -4
  72. package/dist/cli/{knowledge-validator-r1kjxt80.js → knowledge-validator-eze3s6fn.js} +6 -6
  73. package/dist/cli/{mcp-gq7gy5qm.js → mcp-1x2tpk71.js} +1 -1
  74. package/dist/cli/{model-preflight-za9f75h1.js → model-preflight-hgb7kf5d.js} +40 -40
  75. package/dist/cli/{pending-delegations-ba4bbh3d.js → pending-delegations-zg4q1k5q.js} +10 -10
  76. package/dist/cli/{pr-subscriptions-9ge667xn.js → pr-subscriptions-zw8aev5s.js} +10 -10
  77. package/dist/cli/{pr-workflow-gate-p1sv3vp7.js → pr-workflow-gate-dcbpd451.js} +42 -40
  78. package/dist/cli/{runner-ssnsje35.js → runner-y529qa4d.js} +4 -4
  79. package/dist/cli/{scan-cursor-hrn48cja.js → scan-cursor-pdxmndd0.js} +5 -5
  80. package/dist/cli/{schema-6cwam61t.js → schema-hzz32642.js} +1 -1
  81. package/dist/cli/{scope-persistence-z8b0cj5e.js → scope-persistence-h4b6p951.js} +13 -13
  82. package/dist/cli/{server-sqxa4vjy.js → server-7gd7tqt5.js} +40 -40
  83. package/dist/cli/{skill-generator-6dfgb9hj.js → skill-generator-7g7sca90.js} +14 -14
  84. package/dist/cli/{snapshot-coordination-init-rt4xyayx.js → snapshot-coordination-init-4q5ykq22.js} +40 -40
  85. package/dist/cli/{speckit-checkoff-q1zqzwbw.js → speckit-checkoff-5bfxs8r7.js} +4 -4
  86. package/dist/cli/{workspace-snapshot-9f12p1s1.js → workspace-snapshot-nre732xt.js} +3 -3
  87. package/dist/cli/{worktree-collision-ownership-ge241a9e.js → worktree-collision-ownership-327d06qw.js} +11 -11
  88. package/dist/cli/{worktree-isolation-c9x73qrk.js → worktree-isolation-zqzs3wkk.js} +40 -40
  89. package/dist/hooks/pr-workflow-gate.d.ts +12 -1
  90. package/dist/index.js +6 -6
  91. package/dist/tools/write-pr-review-trigger-eval.d.ts +4 -0
  92. package/package.json +1 -1
  93. package/dist/cli/curator-llm-factory-w6hvns5a.js +0 -82
  94. package/dist/cli/guardrail-explain-ddtj3djc.js +0 -83
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-6v42d116.js";
11
+ } from "./index-867d9dhf.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-x00ghp37.js";
18
+ } from "./index-95hc7xn4.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-d5dwf6q6.js";
30
+ } from "./index-ajp4dabz.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -56,7 +56,7 @@ import {
56
56
  runEvaluation,
57
57
  runExternalTool,
58
58
  withDisposableWorktree
59
- } from "./index-y9v41185.js";
59
+ } from "./index-xjqa26fs.js";
60
60
  import {
61
61
  EvaluationTaskV1Schema,
62
62
  GateAuditManifestV1Schema,
@@ -73,7 +73,7 @@ import {
73
73
  saveGateAuditResult,
74
74
  savePromotionDecision,
75
75
  saveTaskSetSnapshot
76
- } from "./index-b2j231jy.js";
76
+ } from "./index-t0se5zwe.js";
77
77
  import {
78
78
  canonicalHash,
79
79
  canonicalJson,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-ecx8jh7s.js";
92
+ } from "./index-w52xyp9v.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-3c8v05x1.js";
111
+ } from "./index-2wps5fec.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-mj237f76.js";
117
+ } from "./index-nb1c3342.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -135,11 +135,11 @@ import {
135
135
  retireSkill,
136
136
  selectCandidateEntries,
137
137
  syncBundledProjectSkillsIfMissingAsync
138
- } from "./index-sx3g9nwg.js";
138
+ } from "./index-50b8f6qz.js";
139
139
  import {
140
140
  buildEscalationBriefing,
141
141
  readRecentEscalations
142
- } from "./index-c5644p1y.js";
142
+ } from "./index-0yrsvwdf.js";
143
143
  import {
144
144
  parsePorcelainV2Snapshot,
145
145
  resolveCommitCountSince,
@@ -167,7 +167,7 @@ import {
167
167
  resolveRemoteUrlIdentity,
168
168
  resolveRemoteUrlIdentityAsync,
169
169
  switchPrFeedbackTrackingCandidateAsync
170
- } from "./index-kfevm0n5.js";
170
+ } from "./index-t433r606.js";
171
171
  import {
172
172
  buildCorrelationId,
173
173
  buildIssueUrl,
@@ -188,13 +188,13 @@ import {
188
188
  sweepStale,
189
189
  unsubscribe,
190
190
  updateSnapshot
191
- } from "./index-mjfpaxw3.js";
191
+ } from "./index-f6e44xh2.js";
192
192
  import {
193
193
  WORKTREE_LIFECYCLE_LOCK_FILE,
194
194
  recordWorktreeProvisioningOwner,
195
195
  removeWorktreeProvisioningOwner,
196
196
  scanWorktreeProvisioningOwnersForRecovery
197
- } from "./index-n8q43eff.js";
197
+ } from "./index-28zgn6sm.js";
198
198
  import {
199
199
  getLanguageForExtension
200
200
  } from "./index-pt7h91zc.js";
@@ -223,7 +223,7 @@ import {
223
223
  swarmOverwriteCandidates,
224
224
  trackedDirtyCandidates,
225
225
  transientBackoff
226
- } from "./index-zv71frp3.js";
226
+ } from "./index-ysazjncb.js";
227
227
  import {
228
228
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
229
229
  PlanRecoverySupersededError,
@@ -255,7 +255,7 @@ import {
255
255
  updateEpicRecord,
256
256
  updateTaskStatus,
257
257
  withPlanLifecycleLock
258
- } from "./index-mqf06fyy.js";
258
+ } from "./index-km4x7yfb.js";
259
259
  import {
260
260
  containsControlChars,
261
261
  containsPathTraversal,
@@ -271,7 +271,7 @@ import {
271
271
  resolveSpeckitProjection,
272
272
  validateSpeckit,
273
273
  writeProjectedSpecSync
274
- } from "./index-hqqfxytt.js";
274
+ } from "./index-pkgbrrn7.js";
275
275
  import {
276
276
  clearWorktreeMergeStatus,
277
277
  getAllWorktreeMergeFailures,
@@ -303,7 +303,7 @@ import {
303
303
  transitionTaskWorkflowEvidenceWithStatus,
304
304
  withTaskEvidenceTransaction,
305
305
  writeWorkflowWalFile
306
- } from "./index-dexj54h2.js";
306
+ } from "./index-f32hs2vt.js";
307
307
  import {
308
308
  isPathUnderSwarmWorktreeBase,
309
309
  listLiveLaneOwners,
@@ -312,7 +312,7 @@ import {
312
312
  recordLiveLaneOwner,
313
313
  removeWorktree,
314
314
  resolveWorktreeBaseDir
315
- } from "./index-4d04qzw5.js";
315
+ } from "./index-ejfmgkt0.js";
316
316
  import {
317
317
  GitBinaryMissingError,
318
318
  GitSpawnCwdError,
@@ -354,7 +354,7 @@ import {
354
354
  scanBackgroundCoderReservationsForAdmission,
355
355
  scanDelegationsForRecovery,
356
356
  sweepStaleDelegations
357
- } from "./index-3pkeqcxe.js";
357
+ } from "./index-bwh9196c.js";
358
358
  import {
359
359
  MAX_EVENT_LOG_ENTRIES,
360
360
  _internals,
@@ -366,7 +366,7 @@ import {
366
366
  recordHiveKnowledgeEvent,
367
367
  recordKnowledgeEvent,
368
368
  resolveKnowledgeEventsPath
369
- } from "./index-sxw0jbyc.js";
369
+ } from "./index-advcaree.js";
370
370
  import {
371
371
  commitDisplayedMembership,
372
372
  commitEmptyRetrieval,
@@ -379,7 +379,7 @@ import {
379
379
  queryLiveMemberships,
380
380
  reconcilePhaseClose,
381
381
  recordPhaseCloseIntent
382
- } from "./index-646s7gp9.js";
382
+ } from "./index-v3bmeqqh.js";
383
383
  import {
384
384
  sanitizeContextText
385
385
  } from "./index-m9zzj4ee.js";
@@ -390,7 +390,7 @@ import {
390
390
  readSwarmFileAsync,
391
391
  safeHook,
392
392
  validateSwarmPath
393
- } from "./index-nkgzkt7c.js";
393
+ } from "./index-mhqh2dc9.js";
394
394
  import {
395
395
  bunFile,
396
396
  bunSpawn,
@@ -410,18 +410,18 @@ import {
410
410
  validateActionableFields,
411
411
  validateLesson,
412
412
  validateSkillPath
413
- } from "./index-egkph2cs.js";
413
+ } from "./index-3txrbsa1.js";
414
414
  import {
415
415
  MAX_CURATION_PROPOSALS,
416
416
  authorizeCuration,
417
417
  buildConfigFingerprintInput
418
- } from "./index-sxj143a4.js";
418
+ } from "./index-xw19x0t7.js";
419
419
  import {
420
420
  cohortConfigFingerprint
421
421
  } from "./index-rtry5xyf.js";
422
422
  import {
423
423
  resolveWorktreeIsolationConfig
424
- } from "./index-p1z7pafk.js";
424
+ } from "./index-6shk3n43.js";
425
425
  import {
426
426
  RetrospectiveEvidenceSchema
427
427
  } from "./index-g22dps7x.js";
@@ -433,7 +433,7 @@ import {
433
433
  clearScopeBindings,
434
434
  readAuthoritativeScopeBindingSet,
435
435
  readDeclaredScopeFilesFromBindings
436
- } from "./index-93zvq6wn.js";
436
+ } from "./index-r3gphy10.js";
437
437
  import {
438
438
  clearPlanLedgerForReset,
439
439
  computePlanStructureHash,
@@ -449,7 +449,7 @@ import {
449
449
  replayFromLedgerWithStatus,
450
450
  resolvePlanningProfile,
451
451
  takeSnapshotEvent
452
- } from "./index-v9geqn2t.js";
452
+ } from "./index-yfmgbhwz.js";
453
453
  import {
454
454
  CORE_EVENT_LOCKED,
455
455
  appendCoreEventSync,
@@ -459,7 +459,7 @@ import {
459
459
  hasSpecDriftAuditEvent,
460
460
  hasTaskRepairAuditEvent,
461
461
  readCoreEvents
462
- } from "./index-zk6ttjkt.js";
462
+ } from "./index-d4cjbm4p.js";
463
463
  import {
464
464
  DEFAULT_QA_GATES,
465
465
  computeProfileHash,
@@ -467,7 +467,7 @@ import {
467
467
  getEffectiveGates,
468
468
  getProfileLookupForIdentity,
469
469
  setGatesForIdentity
470
- } from "./index-mcv0v2dp.js";
470
+ } from "./index-4cm1p2kj.js";
471
471
  import {
472
472
  MAX_COORDINATION_STATE_LIST_ROWS,
473
473
  deleteCoordinationImports,
@@ -478,7 +478,7 @@ import {
478
478
  listCoordinationStates,
479
479
  transitionCoordinationState,
480
480
  withCoordinationTransaction
481
- } from "./index-feaxsjrt.js";
481
+ } from "./index-9b6bxe9b.js";
482
482
  import {
483
483
  DURABILITY_CLASSES,
484
484
  closeAllProjectDbs,
@@ -487,7 +487,7 @@ import {
487
487
  projectDbExists,
488
488
  projectDbPath,
489
489
  withImmediateTransaction
490
- } from "./index-2fpv2wmc.js";
490
+ } from "./index-ga1pcs49.js";
491
491
  import {
492
492
  canonicalExistingFilesystemPath,
493
493
  canonicalPathForFutureIo,
@@ -507,7 +507,7 @@ import {
507
507
  observeModelLimitResolution,
508
508
  observeStoreHealth,
509
509
  readLearningHealth
510
- } from "./index-z3ahy9c2.js";
510
+ } from "./index-k6h66zm3.js";
511
511
  import {
512
512
  appendKnowledge,
513
513
  appendRejectedLesson,
@@ -538,7 +538,7 @@ import {
538
538
  transactFile,
539
539
  transactKnowledge,
540
540
  wordBigrams
541
- } from "./index-ywmz75rj.js";
541
+ } from "./index-af3nmk6c.js";
542
542
  import {
543
543
  readTailJsonl,
544
544
  readTailJsonlDetailed,
@@ -559,10 +559,10 @@ import {
559
559
  resolveLinkDir,
560
560
  sanitizeLinkId,
561
561
  writeLinkPointer
562
- } from "./index-3zwhxk98.js";
562
+ } from "./index-kvtwwj8b.js";
563
563
  import {
564
564
  atomicWriteFile
565
- } from "./index-r9yvpr2m.js";
565
+ } from "./index-63v3gmgr.js";
566
566
  import {
567
567
  withEvidenceLock
568
568
  } from "./index-8bx6vhzk.js";
@@ -605,7 +605,7 @@ import {
605
605
  matchTempGrammar,
606
606
  parseTargetBasename,
607
607
  resetSwarmArtifactCache
608
- } from "./index-qs9myayh.js";
608
+ } from "./index-025wg2re.js";
609
609
  import {
610
610
  PlanSchema,
611
611
  TaskStatusSchema,
@@ -623,7 +623,7 @@ import {
623
623
  loadPluginConfig,
624
624
  loadPluginConfigWithMeta,
625
625
  resolveEpicConfig
626
- } from "./index-9qwmx95b.js";
626
+ } from "./index-ney8qpg3.js";
627
627
  import {
628
628
  GIT_BINARY_ENV_VAR,
629
629
  addDeferredWarning,
@@ -656,7 +656,7 @@ import {
656
656
  resolveContextWindow,
657
657
  resolveGeneratedAgentRole,
658
658
  stripKnownSwarmPrefix
659
- } from "./index-tv0m2css.js";
659
+ } from "./index-b79a8pc2.js";
660
660
  import {
661
661
  AGENT_TOOL_MAP,
662
662
  ALL_AGENT_NAMES,
@@ -2505,6 +2505,11 @@ var TriggerCoverageDegradationSchema = exports_external.object({
2505
2505
  source_lane_id: exports_external.string().trim().min(1),
2506
2506
  reason: exports_external.string().trim().min(1)
2507
2507
  }).strict();
2508
+ var TriggerReceiptCoveredFamilySchema = exports_external.object({
2509
+ trigger_id: TriggerIdSchema,
2510
+ source_batch_id: exports_external.string().trim().min(1),
2511
+ source_lane_id: exports_external.string().trim().min(1)
2512
+ }).strict();
2508
2513
  var ReceiptEnvelopeSchema = exports_external.object({
2509
2514
  run_id: exports_external.string().regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/),
2510
2515
  pr_head_sha: exports_external.string().trim().regex(/^[0-9a-f]{6,64}$/i),
@@ -2521,6 +2526,7 @@ var V2ReceiptSchema = ReceiptEnvelopeSchema.extend({
2521
2526
  no_match_count: exports_external.number().int().min(0),
2522
2527
  rows: exports_external.array(V2RowSchema),
2523
2528
  coverage_degradations: exports_external.array(TriggerCoverageDegradationSchema).default([]),
2529
+ receipt_covered_families: exports_external.array(TriggerReceiptCoveredFamilySchema).default([]),
2524
2530
  base_verification: exports_external.enum(["live", "bound_fallback"]).optional()
2525
2531
  }).strict();
2526
2532
  function assertCanonicalDefinitionFields(rows) {
@@ -2571,13 +2577,14 @@ function prReviewTriggerLedgerDigest(rows) {
2571
2577
  ]);
2572
2578
  return createHash3("sha256").update(JSON.stringify(canonical)).digest("hex");
2573
2579
  }
2574
- function parsedReceipt(schemaVersion, rows, coverageDegradations = [], baseVerification) {
2580
+ function parsedReceipt(schemaVersion, rows, coverageDegradations = [], baseVerification, receiptCoveredFamilies = []) {
2575
2581
  return {
2576
2582
  schemaVersion,
2577
2583
  rows,
2578
2584
  matchedRows: rows.filter((row) => row.result === "MATCHED"),
2579
2585
  notTriggeredRows: rows.filter((row) => row.result === "NOT_TRIGGERED"),
2580
2586
  coverageDegradations,
2587
+ receiptCoveredFamilies,
2581
2588
  ...baseVerification ? { baseVerification } : {}
2582
2589
  };
2583
2590
  }
@@ -2611,7 +2618,7 @@ function parsePrReviewTriggerReceipt(input) {
2611
2618
  throw new Error(`PR_REVIEW trigger receipt ${field} is inconsistent: expected ${expected}`);
2612
2619
  }
2613
2620
  }
2614
- return parsedReceipt(2, validated2.rows, receipt.coverage_degradations, receipt.base_verification);
2621
+ return parsedReceipt(2, validated2.rows, receipt.coverage_degradations, receipt.base_verification, receipt.receipt_covered_families);
2615
2622
  }
2616
2623
  if (schemaVersion !== undefined && schemaVersion !== 1) {
2617
2624
  throw new Error(`Unsupported PR_REVIEW trigger schema_version: ${schemaVersion}`);
@@ -3449,7 +3456,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3449
3456
  return null;
3450
3457
  throw error2;
3451
3458
  }
3452
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-p1sv3vp7.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3459
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-dcbpd451.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3453
3460
  if (!legacy)
3454
3461
  return null;
3455
3462
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3536,7 +3543,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3536
3543
  let recoveryState = null;
3537
3544
  if (!currentAuthoritative) {
3538
3545
  if (options.allowSalvagedRead) {
3539
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-p1sv3vp7.js");
3546
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-dcbpd451.js");
3540
3547
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3541
3548
  }
3542
3549
  if (!recoveryState) {
@@ -10334,7 +10341,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
10334
10341
  return extracted === expectedSessionId;
10335
10342
  }
10336
10343
  async function inspectStandardWorktreeCollisionOwnership(identity) {
10337
- const collisionOwnership = await import("./worktree-collision-ownership-ge241a9e.js");
10344
+ const collisionOwnership = await import("./worktree-collision-ownership-327d06qw.js");
10338
10345
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
10339
10346
  }
10340
10347
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -10761,7 +10768,7 @@ async function precreateStandardWorktreeSession(args) {
10761
10768
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
10762
10769
  if (laneProfile) {
10763
10770
  try {
10764
- const { writeLaneProfileToDiskReal } = await import("./core-dxraa2ss.js");
10771
+ const { writeLaneProfileToDiskReal } = await import("./core-q8xvp8bw.js");
10765
10772
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
10766
10773
  } catch {}
10767
10774
  }
@@ -11754,7 +11761,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
11754
11761
  }
11755
11762
  clearWorktreeMergeStatus(statusKey);
11756
11763
  try {
11757
- const { removeLaneProfileFromDiskReal } = await import("./core-dxraa2ss.js");
11764
+ const { removeLaneProfileFromDiskReal } = await import("./core-q8xvp8bw.js");
11758
11765
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
11759
11766
  } catch {}
11760
11767
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -27502,7 +27509,7 @@ function clearCriticalShownIds(sessionID) {
27502
27509
  async function rehydratePrSubscriptions(sessionID, directory) {
27503
27510
  const map = new Map;
27504
27511
  try {
27505
- const { listActive: listActive2 } = await import("./pr-subscriptions-9ge667xn.js");
27512
+ const { listActive: listActive2 } = await import("./pr-subscriptions-zw8aev5s.js");
27506
27513
  const records = await listActive2(directory);
27507
27514
  for (const record of records) {
27508
27515
  if (record.sessionID !== sessionID)
@@ -44048,9 +44055,9 @@ function hashContent(content) {
44048
44055
  return createHash29("sha1").update(content).digest("hex");
44049
44056
  }
44050
44057
  async function loadConfigForPolicyCurator(directory) {
44051
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
44058
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hzz32642.js");
44052
44059
  try {
44053
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
44060
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s81tvz98.js");
44054
44061
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
44055
44062
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
44056
44063
  } catch {
@@ -47108,7 +47115,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
47108
47115
  const seam = _internals46.createCuratorLLMDelegate;
47109
47116
  if (seam)
47110
47117
  return seam(directory, mode, sessionId);
47111
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-w6hvns5a.js");
47118
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-tfn0cp68.js");
47112
47119
  return createCuratorLLMDelegate(directory, mode, sessionId);
47113
47120
  }
47114
47121
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -47503,7 +47510,7 @@ async function runFinalizeStage(ctx) {
47503
47510
  }
47504
47511
  }
47505
47512
  try {
47506
- const { CuratorConfigSchema: CCS } = await import("./schema-6cwam61t.js");
47513
+ const { CuratorConfigSchema: CCS } = await import("./schema-hzz32642.js");
47507
47514
  const { config: pmLoadedConfig } = _internals46.loadPluginConfigWithMeta(ctx.directory);
47508
47515
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
47509
47516
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -51536,7 +51543,7 @@ function serializeAgentSession(s) {
51536
51543
  }
51537
51544
  async function writeSnapshot(directory, state) {
51538
51545
  try {
51539
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-rt4xyayx.js");
51546
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-4q5ykq22.js");
51540
51547
  await ensureSnapshotCoordinationReady(directory);
51541
51548
  const snapshot = {
51542
51549
  version: 3,
@@ -54557,7 +54564,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
54557
54564
  };
54558
54565
  }
54559
54566
  async function sweepActiveNearDuplicates(directory, options = {}) {
54560
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
54567
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s81tvz98.js");
54561
54568
  const { config } = loadPluginConfigWithMeta2(directory);
54562
54569
  const sweepConfig = config.learning?.dedup_sweep;
54563
54570
  if (sweepConfig?.enabled === false)
@@ -55681,7 +55688,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
55681
55688
  }
55682
55689
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
55683
55690
  try {
55684
- const skillModule = await import("./skill-generator-6dfgb9hj.js");
55691
+ const skillModule = await import("./skill-generator-7g7sca90.js");
55685
55692
  for (const cand of skillCandidates) {
55686
55693
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
55687
55694
  continue;
@@ -56153,7 +56160,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
56153
56160
  } catch {}
56154
56161
  }
56155
56162
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
56156
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b45xccz8.js");
56163
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-naq700x5.js");
56157
56164
  for (const { id } of contradictedEntries) {
56158
56165
  try {
56159
56166
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -56985,7 +56992,7 @@ async function runCuratorPostMortem(directory, options = {}) {
56985
56992
  warnings.push("Failed to collect knowledge summary.");
56986
56993
  }
56987
56994
  try {
56988
- const { getScanStatus } = await import("./scan-cursor-hrn48cja.js");
56995
+ const { getScanStatus } = await import("./scan-cursor-pdxmndd0.js");
56989
56996
  const scanStatus = await getScanStatus(directory);
56990
56997
  if (scanStatus.remaining_estimate > 0) {
56991
56998
  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.`);
@@ -57157,9 +57164,9 @@ var _internals68 = {
57157
57164
  verifyPostMortemKnowledgeActions,
57158
57165
  repairPostMortemActions,
57159
57166
  loadDefaultKnowledgeConfig: async (directory) => {
57160
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
57167
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hzz32642.js");
57161
57168
  try {
57162
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
57169
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s81tvz98.js");
57163
57170
  const loaded = loadPluginConfigWithMeta2(directory);
57164
57171
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
57165
57172
  } catch {
@@ -57167,11 +57174,11 @@ var _internals68 = {
57167
57174
  }
57168
57175
  },
57169
57176
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
57170
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-hwwp7e2g.js");
57177
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-mgdsxrpv.js");
57171
57178
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
57172
57179
  },
57173
57180
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
57174
- const { checkHivePromotions } = await import("./hive-promoter-vxrwvhga.js");
57181
+ const { checkHivePromotions } = await import("./hive-promoter-44grgbq4.js");
57175
57182
  return checkHivePromotions(entries2, knowledgeConfig, directory);
57176
57183
  },
57177
57184
  applyProposalTriage: async (directory, triage) => {
@@ -57180,7 +57187,7 @@ var _internals68 = {
57180
57187
  activateProposal,
57181
57188
  listSkills: listSkills2,
57182
57189
  sanitizeSlug
57183
- } = await import("./skill-generator-6dfgb9hj.js");
57190
+ } = await import("./skill-generator-7g7sca90.js");
57184
57191
  const result = {
57185
57192
  approved: [],
57186
57193
  rejected: [],
@@ -57222,7 +57229,7 @@ var _internals68 = {
57222
57229
  return result;
57223
57230
  },
57224
57231
  readPriorDriftReports: async (directory) => {
57225
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-6qb0c363.js");
57232
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-1n3akmda.js");
57226
57233
  return readPriorDriftReports2(directory);
57227
57234
  },
57228
57235
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -67492,9 +67499,9 @@ var _internals76 = {
67492
67499
  loadPluginConfigWithMeta,
67493
67500
  loadCuratorDeps: async () => {
67494
67501
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
67495
- import("./schema-6cwam61t.js"),
67496
- import("./curator-hwwp7e2g.js"),
67497
- import("./curator-llm-factory-w6hvns5a.js")
67502
+ import("./schema-hzz32642.js"),
67503
+ import("./curator-mgdsxrpv.js"),
67504
+ import("./curator-llm-factory-tfn0cp68.js")
67498
67505
  ]);
67499
67506
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
67500
67507
  }
@@ -69944,7 +69951,7 @@ async function computeCurationDiagnostics(directory, entries2) {
69944
69951
  let scanCompleted = false;
69945
69952
  let scanRemaining = 0;
69946
69953
  try {
69947
- const { getScanStatus } = await import("./scan-cursor-hrn48cja.js");
69954
+ const { getScanStatus } = await import("./scan-cursor-pdxmndd0.js");
69948
69955
  const status = await getScanStatus(directory);
69949
69956
  scanGeneration = status.generation;
69950
69957
  scanCompleted = status.completed;
@@ -69952,19 +69959,19 @@ async function computeCurationDiagnostics(directory, entries2) {
69952
69959
  } catch {}
69953
69960
  let configMatch = null;
69954
69961
  try {
69955
- const { isLinked: isLinked2 } = await import("./knowledge-link-6hw3z6wn.js");
69962
+ const { isLinked: isLinked2 } = await import("./knowledge-link-76egdqc9.js");
69956
69963
  if (isLinked2(directory)) {
69957
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
69964
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hzz32642.js");
69958
69965
  let config;
69959
69966
  try {
69960
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
69967
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s81tvz98.js");
69961
69968
  const loaded = loadPluginConfigWithMeta2(directory);
69962
69969
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
69963
69970
  } catch {
69964
69971
  config = KnowledgeConfigSchema2.parse({});
69965
69972
  }
69966
69973
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
69967
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-6p6fcfjb.js");
69974
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-2q5xs0xg.js");
69968
69975
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
69969
69976
  const cohortFp = await readCohortConfigFingerprint(directory);
69970
69977
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -71413,7 +71420,7 @@ async function handleDoctorCommand(directory, args) {
71413
71420
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
71414
71421
  let output;
71415
71422
  if (enableAutoFix && result.hasAutoFixableIssues) {
71416
- const { runConfigDoctorWithFixes } = await import("./config-doctor-0kd6w45h.js");
71423
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-sns7gbj2.js");
71417
71424
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
71418
71425
  applyLossy: true
71419
71426
  });
@@ -71451,7 +71458,7 @@ async function handleDoctorCommand(directory, args) {
71451
71458
  `;
71452
71459
  }
71453
71460
  try {
71454
- const { runModelPreflight } = await import("./model-preflight-za9f75h1.js");
71461
+ const { runModelPreflight } = await import("./model-preflight-hgb7kf5d.js");
71455
71462
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
71456
71463
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
71457
71464
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -71485,7 +71492,7 @@ async function handleDoctorCommand(directory, args) {
71485
71492
  }
71486
71493
  } catch {}
71487
71494
  try {
71488
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-ay2ngn4a.js");
71495
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-33bp8fcs.js");
71489
71496
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
71490
71497
  } catch {}
71491
71498
  const strayDirs = detectStraySwarmDirs(directory);
@@ -73502,7 +73509,7 @@ async function handleEvidenceCommand(directory, args) {
73502
73509
  return formatTaskEvidenceMarkdown(evidenceData);
73503
73510
  }
73504
73511
  async function handleEvidenceSummaryCommand(directory) {
73505
- const { buildEvidenceSummary } = await import("./evidence-summary-service-fyyzhbsc.js");
73512
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-sb888pg8.js");
73506
73513
  const artifact = await buildEvidenceSummary(directory);
73507
73514
  if (!artifact) {
73508
73515
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -97968,7 +97975,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
97968
97975
  }
97969
97976
  const sdkOpts = signal ? { signal } : {};
97970
97977
  try {
97971
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-05t8f1bj.js");
97978
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-fsm9gv1p.js");
97972
97979
  const createResult = await client.session.create({
97973
97980
  ...sessionId ? {
97974
97981
  body: {
@@ -100305,7 +100312,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
100305
100312
  clearedEvents: []
100306
100313
  };
100307
100314
  try {
100308
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-p1sv3vp7.js");
100315
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-dcbpd451.js");
100309
100316
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
100310
100317
  } catch (err) {
100311
100318
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -114178,7 +114185,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
114178
114185
  if (!input.dispatcher) {
114179
114186
  throw new Error("no evaluation dispatcher available (cannot run validation)");
114180
114187
  }
114181
- const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-ssnsje35.js");
114188
+ const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-y529qa4d.js");
114182
114189
  const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
114183
114190
  const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals141.evaluateCandidateV1({
114184
114191
  projectRoot: input.directory,
@@ -116771,7 +116778,7 @@ function buildDetailedHelp(commandName, entry) {
116771
116778
  async function handleHelpCommand(ctx) {
116772
116779
  const targetCommand = ctx.args.join(" ");
116773
116780
  if (!targetCommand) {
116774
- const { buildHelpText } = await import("./index-1ajj6zbq.js");
116781
+ const { buildHelpText } = await import("./index-vf6pqke0.js");
116775
116782
  return buildHelpText();
116776
116783
  }
116777
116784
  const tokens = targetCommand.split(/\s+/);
@@ -116785,7 +116792,7 @@ async function handleHelpCommand(ctx) {
116785
116792
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
116786
116793
  }
116787
116794
  const similar = _internals35.findSimilarCommands(targetCommand);
116788
- const { buildHelpText: fullHelp } = await import("./index-1ajj6zbq.js");
116795
+ const { buildHelpText: fullHelp } = await import("./index-vf6pqke0.js");
116789
116796
  if (similar.length > 0) {
116790
116797
  return `Command '/swarm ${targetCommand}' not found.
116791
116798
 
@@ -117113,7 +117120,7 @@ var COMMAND_REGISTRY = {
117113
117120
  },
117114
117121
  "guardrail explain": {
117115
117122
  handler: async (ctx) => {
117116
- const { handleGuardrailExplain } = await import("./guardrail-explain-ddtj3djc.js");
117123
+ const { handleGuardrailExplain } = await import("./guardrail-explain-n9ndp99q.js");
117117
117124
  return handleGuardrailExplain(ctx.directory, ctx.args);
117118
117125
  },
117119
117126
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -117123,7 +117130,7 @@ var COMMAND_REGISTRY = {
117123
117130
  },
117124
117131
  "guardrail reset": {
117125
117132
  handler: async (ctx) => {
117126
- const { handleGuardrailReset } = await import("./guardrail-reset-4psprskt.js");
117133
+ const { handleGuardrailReset } = await import("./guardrail-reset-1xeeetk7.js");
117127
117134
  return handleGuardrailReset(ctx.args, ctx.sessionID);
117128
117135
  },
117129
117136
  description: "Reset one exact active invocation/action circuit after repair",
@@ -117144,7 +117151,7 @@ var COMMAND_REGISTRY = {
117144
117151
  },
117145
117152
  "guardrail-log": {
117146
117153
  handler: async (ctx) => {
117147
- const { handleGuardrailLog } = await import("./guardrail-log-ppgfsfzt.js");
117154
+ const { handleGuardrailLog } = await import("./guardrail-log-d18dcweh.js");
117148
117155
  return handleGuardrailLog(ctx.directory, ctx.args);
117149
117156
  },
117150
117157
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -122466,4 +122473,4 @@ function getAgentConfigs(config, directory, sessionId, projectContext) {
122466
122473
  return result;
122467
122474
  }
122468
122475
 
122469
- export { resetActionCircuitExternally, getBlockingActionCircuit, resolveConfiguredAgentModel, resolveRegisteredAgentModel, resolveEffectiveAgentOverride, MAX_PARALLEL_VERDICT_TASKS, computeParallelVerdict, dcNormalizeCommand, dcUnwrapWrappers, dcSplitSegments, dcExtractRecursiveRmTargets, dcEvaluateRecursiveDeleteTargets, dcCheckJunctionCreation, dcExtractWindowsCmdTargets, dcExtractPowerShellTargets, getSharedClassifierGuardrailBlock, classifyCommand, resetArchitectPromptBudgetAdvisories, createArchitectAgent, createCoderAgent, GENERALIST_COUNCIL_PROMPT, SKEPTIC_COUNCIL_PROMPT, DOMAIN_EXPERT_COUNCIL_PROMPT, createCriticAgent, createCuratorAgent, createDesignerAgent, createDocsAgent, createResearcherAgent, SECURITY_CATEGORIES, createReviewerAgent, createSMEAgent, createTestEngineerAgent, _internals144 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, runSerializedWithMergeBacks, finishStandardWorktreeDispatch, readLaneEnvFileFromDisk, _internals20 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, getCoChangePairs, startSnapshotCoordinationInitialization, ensureSnapshotCoordinationReady, retrySnapshotCoordinationInitialization, getSnapshotCoordinationStatus, beginSnapshotCoordinationReset, closeSnapshotCoordinationInitialization, markSnapshotCoordinationClosing, _snapshotCoordinationInternals, handleCloseCommand, _internals67 as _internals2, normalizeRecommendationEntryIdToken, parseKnowledgeRecommendations, parseKnowledgeRecommendationsWithDiagnostics, parseStructuredCuratorBlocks, readCuratorSummary, writeCuratorSummary, appendCuratorRecommendation, mergeCuratorPhaseSummary, filterPhaseEvents, checkPhaseCompliance, runCuratorInit, runCuratorPhase, applyCuratorKnowledgeUpdates, isHiveEligible, countDistinctProjects, checkHivePromotions, _internals71 as _internals3, createHivePromoterHook, promoteToHive, promoteFromSwarm, createMemoryGateway, handleCodebaseReviewCommand, handleConcurrencyCommand, handleConfigCommand, handleConsolidateCommand, handleCostsCommand, handleCouncilCommand, 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, _internals35 as _internals4, resolveCommand, normalizeSwarmCommandInput, canonicalCommandKey, formatCommandNotFound, executeSwarmCommand };
122476
+ export { resetActionCircuitExternally, getBlockingActionCircuit, resolveConfiguredAgentModel, resolveRegisteredAgentModel, resolveEffectiveAgentOverride, MAX_PARALLEL_VERDICT_TASKS, computeParallelVerdict, dcNormalizeCommand, dcUnwrapWrappers, dcSplitSegments, dcExtractRecursiveRmTargets, dcEvaluateRecursiveDeleteTargets, dcCheckJunctionCreation, dcExtractWindowsCmdTargets, dcExtractPowerShellTargets, getSharedClassifierGuardrailBlock, classifyCommand, resetArchitectPromptBudgetAdvisories, createArchitectAgent, createCoderAgent, GENERALIST_COUNCIL_PROMPT, SKEPTIC_COUNCIL_PROMPT, DOMAIN_EXPERT_COUNCIL_PROMPT, createCriticAgent, createCuratorAgent, createDesignerAgent, createDocsAgent, createResearcherAgent, SECURITY_CATEGORIES, createReviewerAgent, createSMEAgent, createTestEngineerAgent, _internals144 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, runSerializedWithMergeBacks, finishStandardWorktreeDispatch, readLaneEnvFileFromDisk, _internals20 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, validateExactStructuredReceiptCoverage2 as validateExactStructuredReceiptCoverage, 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, getCoChangePairs, startSnapshotCoordinationInitialization, ensureSnapshotCoordinationReady, retrySnapshotCoordinationInitialization, getSnapshotCoordinationStatus, beginSnapshotCoordinationReset, closeSnapshotCoordinationInitialization, markSnapshotCoordinationClosing, _snapshotCoordinationInternals, handleCloseCommand, _internals67 as _internals2, normalizeRecommendationEntryIdToken, parseKnowledgeRecommendations, parseKnowledgeRecommendationsWithDiagnostics, parseStructuredCuratorBlocks, readCuratorSummary, writeCuratorSummary, appendCuratorRecommendation, mergeCuratorPhaseSummary, filterPhaseEvents, checkPhaseCompliance, runCuratorInit, runCuratorPhase, applyCuratorKnowledgeUpdates, isHiveEligible, countDistinctProjects, checkHivePromotions, _internals71 as _internals3, createHivePromoterHook, promoteToHive, promoteFromSwarm, createMemoryGateway, handleCodebaseReviewCommand, handleConcurrencyCommand, handleConfigCommand, handleConsolidateCommand, handleCostsCommand, handleCouncilCommand, 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, _internals35 as _internals4, resolveCommand, normalizeSwarmCommandInput, canonicalCommandKey, formatCommandNotFound, executeSwarmCommand };