opencode-swarm 7.200.3 → 7.200.4

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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{attest-task-k7b87zk8.js → attest-task-dch4wwmn.js} +41 -41
  4. package/dist/cli/{auto-checkpoint-pzsrkk2q.js → auto-checkpoint-7ef4x67m.js} +7 -7
  5. package/dist/cli/{checkpoint-sb3f8jfv.js → checkpoint-3a7rgjs9.js} +15 -15
  6. package/dist/cli/{coder-settlement-5jh2erx1.js → coder-settlement-5mgxjwz9.js} +10 -10
  7. package/dist/cli/{config-doctor-8keyw62b.js → config-doctor-pes681a5.js} +14 -14
  8. package/dist/cli/{core-7240e0vh.js → core-fxxnawnv.js} +3 -3
  9. package/dist/cli/{curation-policy-fth5n93x.js → curation-policy-gy868ec3.js} +4 -4
  10. package/dist/cli/{curator-drift-r4yttpe9.js → curator-drift-jtqr5rwe.js} +8 -8
  11. package/dist/cli/curator-llm-factory-fp9gzt41.js +82 -0
  12. package/dist/cli/{curator-1jhwv0ce.js → curator-tncdqrcf.js} +41 -41
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-1v5fx0rk.js → doctor-knowledge-receipt-phase-id-6wan4z5n.js} +7 -7
  14. package/dist/cli/{evidence-summary-service-zkbzsjbf.js → evidence-summary-service-cnvgae1a.js} +18 -18
  15. package/dist/cli/{gate-evidence-j4jemrv7.js → gate-evidence-hmdnb430.js} +5 -5
  16. package/dist/cli/guardrail-explain-7g0y6ahb.js +83 -0
  17. package/dist/cli/{guardrail-log-0xjg12y1.js → guardrail-log-wpm6srkg.js} +6 -6
  18. package/dist/cli/{guardrail-reset-rgbt0zgy.js → guardrail-reset-henzpvh4.js} +41 -41
  19. package/dist/cli/{hive-promoter-f0rzkbww.js → hive-promoter-zr4xnyxn.js} +41 -41
  20. package/dist/cli/{index-5ph10kdd.js → index-08h39kf4.js} +1 -1
  21. package/dist/cli/{index-dygkt0ne.js → index-0swbpe4d.js} +43 -43
  22. package/dist/cli/{index-5g0nrnyd.js → index-1qc3fhnv.js} +6 -6
  23. package/dist/cli/{index-y46b7a5g.js → index-2s3wgvj8.js} +7 -7
  24. package/dist/cli/{index-na6ph1fp.js → index-2x015vjy.js} +1 -1
  25. package/dist/cli/{index-j2x2ajz7.js → index-2xdsmkev.js} +3 -3
  26. package/dist/cli/{index-44z8mv05.js → index-3vwfpqaj.js} +4 -4
  27. package/dist/cli/{index-mff4szvk.js → index-43djb5h6.js} +4 -4
  28. package/dist/cli/{index-g57p8p1k.js → index-4fkxdnc7.js} +1 -1
  29. package/dist/cli/{index-5q3hg1pk.js → index-4krkevgc.js} +1 -1
  30. package/dist/cli/{index-5snwc3dz.js → index-4ph7ad0b.js} +1 -1
  31. package/dist/cli/{index-5c6zse74.js → index-52arsav6.js} +7 -7
  32. package/dist/cli/{index-6r93sy2k.js → index-5dkwdfh9.js} +2 -2
  33. package/dist/cli/{index-q49vqmzh.js → index-5fm37ceh.js} +3 -3
  34. package/dist/cli/{index-9cffn82s.js → index-5y245xwk.js} +3 -3
  35. package/dist/cli/{index-95k0fkhp.js → index-66c8xae5.js} +79 -79
  36. package/dist/cli/{index-v3bmwmqw.js → index-697mg68b.js} +10 -2
  37. package/dist/cli/{index-8x90j950.js → index-6rxm153v.js} +2 -2
  38. package/dist/cli/{index-vyb5xf36.js → index-70ctksz3.js} +3 -3
  39. package/dist/cli/{index-7rpcbnp8.js → index-7h22y3ew.js} +2 -2
  40. package/dist/cli/{index-2r6d72m6.js → index-81b69x1b.js} +3 -3
  41. package/dist/cli/{index-8f7wgcpz.js → index-8jbvmffw.js} +2 -2
  42. package/dist/cli/{index-ypxq0x7r.js → index-8srvdpw6.js} +1 -1
  43. package/dist/cli/{index-0vv7vzp8.js → index-bk8r4m9j.js} +2 -2
  44. package/dist/cli/{index-bcn30s7q.js → index-ddf3f3k8.js} +6 -6
  45. package/dist/cli/{index-275w8rfx.js → index-fs6t820n.js} +3 -3
  46. package/dist/cli/{index-tmhwpzdg.js → index-fz5qbpbw.js} +1 -1
  47. package/dist/cli/{index-2nq7h5cj.js → index-gs4gnndf.js} +8 -8
  48. package/dist/cli/{index-dgv5xy0b.js → index-hmndq4hk.js} +11 -11
  49. package/dist/cli/{index-v1h70r3y.js → index-mhd6kdzr.js} +1 -1
  50. package/dist/cli/{index-epzadpmm.js → index-mn75z39t.js} +1 -1
  51. package/dist/cli/{index-s3w41p1x.js → index-p2dst45x.js} +1 -1
  52. package/dist/cli/{index-xxvman1m.js → index-q8456mrf.js} +4 -4
  53. package/dist/cli/{index-9dbxpr2j.js → index-qgzg1vac.js} +1 -1
  54. package/dist/cli/{index-x48h0zsw.js → index-snft68y9.js} +41 -41
  55. package/dist/cli/{index-bft3404e.js → index-ss8wnczy.js} +2 -2
  56. package/dist/cli/{index-1j14kbak.js → index-tecp3a77.js} +5 -5
  57. package/dist/cli/{index-s9y49avf.js → index-v839c9mv.js} +1 -1
  58. package/dist/cli/{index-yg4923ga.js → index-vqzsp93p.js} +3 -3
  59. package/dist/cli/{index-nzfq1ms2.js → index-vtpt8yns.js} +1 -1
  60. package/dist/cli/{index-pmcvznag.js → index-xd5jn7nr.js} +2 -2
  61. package/dist/cli/{index-ves1rtqt.js → index-y7c4hqcj.js} +1 -1
  62. package/dist/cli/{index-v5nh2fhv.js → index-yp5p6kpf.js} +4 -4
  63. package/dist/cli/{index-traz987v.js → index-yyrnkc3a.js} +1 -1
  64. package/dist/cli/{index-eac47j2q.js → index-zbxahqb0.js} +5 -5
  65. package/dist/cli/{index-encs4mdm.js → index-zystaewy.js} +4 -4
  66. package/dist/cli/index.js +42 -42
  67. package/dist/cli/{knowledge-escalator-s25vhfrt.js → knowledge-escalator-a9mkynzv.js} +12 -12
  68. package/dist/cli/{knowledge-events-qd39qwy1.js → knowledge-events-r720tzeq.js} +10 -10
  69. package/dist/cli/{knowledge-link-wfhsfyn2.js → knowledge-link-13t3nfrz.js} +3 -3
  70. package/dist/cli/{knowledge-store-y02hfxq9.js → knowledge-store-4gktt30d.js} +4 -4
  71. package/dist/cli/{knowledge-validator-d7ysvdmw.js → knowledge-validator-fv4qgn0x.js} +6 -6
  72. package/dist/cli/{mcp-5py3efbs.js → mcp-tx4qjmr1.js} +1 -1
  73. package/dist/cli/{model-preflight-2zqrjnnh.js → model-preflight-4pexdgrc.js} +41 -41
  74. package/dist/cli/{pending-delegations-9rt59skt.js → pending-delegations-9sbf3na8.js} +11 -11
  75. package/dist/cli/{pr-subscriptions-q51ze9rn.js → pr-subscriptions-db26rzak.js} +10 -10
  76. package/dist/cli/{pr-workflow-gate-3vj3f93g.js → pr-workflow-gate-t8kewb9h.js} +41 -41
  77. package/dist/cli/{runner-s1a73y5h.js → runner-q1g9atrv.js} +4 -4
  78. package/dist/cli/{scan-cursor-0fr17e5q.js → scan-cursor-53s9zt38.js} +5 -5
  79. package/dist/cli/{schema-10j951xn.js → schema-eaq24w9q.js} +1 -1
  80. package/dist/cli/{scope-persistence-jewjr6zg.js → scope-persistence-erxj8vq6.js} +13 -13
  81. package/dist/cli/{server-0s65qjx7.js → server-95fz00er.js} +41 -41
  82. package/dist/cli/{skill-generator-7hxqq63r.js → skill-generator-kt8j40ev.js} +14 -14
  83. package/dist/cli/{snapshot-coordination-init-kh4dayg5.js → snapshot-coordination-init-b08vm3ye.js} +41 -41
  84. package/dist/cli/{speckit-checkoff-n8s920fs.js → speckit-checkoff-3g3bfv0y.js} +4 -4
  85. package/dist/cli/{workspace-snapshot-veqaqrjr.js → workspace-snapshot-7hws89e9.js} +3 -3
  86. package/dist/cli/{worktree-collision-ownership-7cz0a2sr.js → worktree-collision-ownership-sf7vbj8n.js} +13 -13
  87. package/dist/cli/{worktree-isolation-4dbza44f.js → worktree-isolation-5eh9bgcm.js} +41 -41
  88. package/dist/hooks/delegation-gate/worktree-merge-status.d.ts +4 -4
  89. package/dist/index.js +3 -3
  90. package/package.json +1 -1
  91. package/dist/cli/curator-llm-factory-wcv6x9pq.js +0 -82
  92. package/dist/cli/guardrail-explain-g95j8z79.js +0 -83
@@ -7,7 +7,7 @@ import {
7
7
  runEvaluation,
8
8
  runExternalTool,
9
9
  withDisposableWorktree
10
- } from "./index-s3w41p1x.js";
10
+ } from "./index-p2dst45x.js";
11
11
  import {
12
12
  finalizeShellAuditForClose,
13
13
  isPolicyProtectedPath,
@@ -17,14 +17,14 @@ import {
17
17
  protectedRoots,
18
18
  redactDecisionLineForArchive,
19
19
  stableCanonicalStringify
20
- } from "./index-bft3404e.js";
20
+ } from "./index-ss8wnczy.js";
21
21
  import {
22
22
  detectStraySwarmDirs,
23
23
  readDoctorArtifact,
24
24
  removeStraySwarmDir,
25
25
  resolvePlanParallelizationFlag,
26
26
  runConfigDoctor
27
- } from "./index-yg4923ga.js";
27
+ } from "./index-vqzsp93p.js";
28
28
  import {
29
29
  archiveEvidence,
30
30
  checkRequirementCoverage,
@@ -36,7 +36,7 @@ import {
36
36
  sanitizeTaskId,
37
37
  saveEvidence,
38
38
  validateProjectRoot
39
- } from "./index-mff4szvk.js";
39
+ } from "./index-43djb5h6.js";
40
40
  import {
41
41
  EvaluationTaskV1Schema,
42
42
  GateAuditManifestV1Schema,
@@ -53,7 +53,7 @@ import {
53
53
  saveGateAuditResult,
54
54
  savePromotionDecision,
55
55
  saveTaskSetSnapshot
56
- } from "./index-5snwc3dz.js";
56
+ } from "./index-4ph7ad0b.js";
57
57
  import {
58
58
  JAVA_SYMBOL_GRAMMAR,
59
59
  LANGUAGE_REGISTRY,
@@ -88,12 +88,12 @@ import {
88
88
  import {
89
89
  buildEscalationBriefing,
90
90
  readRecentEscalations
91
- } from "./index-bcn30s7q.js";
91
+ } from "./index-ddf3f3k8.js";
92
92
  import {
93
93
  alreadyCuratedThisGeneration,
94
94
  claimNextScanBatch,
95
95
  resolveCohortId
96
- } from "./index-8x90j950.js";
96
+ } from "./index-6rxm153v.js";
97
97
  import {
98
98
  CURATOR_CONSOLIDATION_PROMPT,
99
99
  CURATOR_INIT_PROMPT,
@@ -112,13 +112,13 @@ import {
112
112
  getGroupCommitWriter,
113
113
  importLegacyJsonl,
114
114
  readPriorDriftReports
115
- } from "./index-q49vqmzh.js";
115
+ } from "./index-5fm37ceh.js";
116
116
  import {
117
117
  assertNoUnsettledCoderDispatch,
118
118
  listCoderSettlementWalStates,
119
119
  recoverCoderSettlement,
120
120
  recoverStaleCoderSettlements
121
- } from "./index-y46b7a5g.js";
121
+ } from "./index-2s3wgvj8.js";
122
122
  import {
123
123
  BUNDLED_PROJECT_SKILL_ROOT,
124
124
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -141,7 +141,7 @@ import {
141
141
  skillContractDigest,
142
142
  splitSkillFrontmatter,
143
143
  syncBundledProjectSkillsIfMissingAsync
144
- } from "./index-xxvman1m.js";
144
+ } from "./index-q8456mrf.js";
145
145
  import {
146
146
  fastForwardToRefAsync,
147
147
  parsePorcelainV2Snapshot,
@@ -175,7 +175,7 @@ import {
175
175
  resolveRepoTopLevelAsync,
176
176
  resolveWorkingTreeDirtyPathsAsync,
177
177
  switchPrFeedbackTrackingCandidateAsync
178
- } from "./index-0vv7vzp8.js";
178
+ } from "./index-bk8r4m9j.js";
179
179
  import {
180
180
  buildCorrelationId,
181
181
  buildIssueUrl,
@@ -196,13 +196,13 @@ import {
196
196
  sweepStale,
197
197
  unsubscribe,
198
198
  updateSnapshot
199
- } from "./index-1j14kbak.js";
199
+ } from "./index-tecp3a77.js";
200
200
  import {
201
201
  WORKTREE_LIFECYCLE_LOCK_FILE,
202
202
  recordWorktreeProvisioningOwner,
203
203
  removeWorktreeProvisioningOwner,
204
204
  scanWorktreeProvisioningOwnersForRecovery
205
- } from "./index-7rpcbnp8.js";
205
+ } from "./index-7h22y3ew.js";
206
206
  import {
207
207
  CHECKOUT_MUTATION_ACTION_TIMEOUT_MS,
208
208
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
@@ -275,7 +275,7 @@ import {
275
275
  writeAtomicJson,
276
276
  writePrWorkflowAtomicJson,
277
277
  writeStateWhileLocked
278
- } from "./index-2nq7h5cj.js";
278
+ } from "./index-gs4gnndf.js";
279
279
  import {
280
280
  getLanguageForExtension
281
281
  } from "./index-pt7h91zc.js";
@@ -318,7 +318,7 @@ import {
318
318
  swarmOverwriteCandidates,
319
319
  trackedDirtyCandidates,
320
320
  transientBackoff
321
- } from "./index-5g0nrnyd.js";
321
+ } from "./index-1qc3fhnv.js";
322
322
  import {
323
323
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
324
324
  PlanRecoverySupersededError,
@@ -350,7 +350,7 @@ import {
350
350
  updateEpicRecord,
351
351
  updateTaskStatus,
352
352
  withPlanLifecycleLock
353
- } from "./index-dgv5xy0b.js";
353
+ } from "./index-hmndq4hk.js";
354
354
  import {
355
355
  containsControlChars,
356
356
  containsPathTraversal,
@@ -367,13 +367,13 @@ import {
367
367
  resolveSpeckitProjection,
368
368
  validateSpeckit,
369
369
  writeProjectedSpecSync
370
- } from "./index-vyb5xf36.js";
370
+ } from "./index-70ctksz3.js";
371
371
  import {
372
372
  clearWorktreeMergeStatus,
373
373
  getAllWorktreeMergeFailures,
374
374
  initDurableStatusPath,
375
375
  recordWorktreeMergeFailure
376
- } from "./index-v3bmwmqw.js";
376
+ } from "./index-697mg68b.js";
377
377
  import {
378
378
  SandboxCapabilityProbe,
379
379
  getExecutor,
@@ -409,7 +409,7 @@ import {
409
409
  transitionTaskWorkflowEvidenceWithStatus,
410
410
  withTaskEvidenceTransaction,
411
411
  writeWorkflowWalFile
412
- } from "./index-j2x2ajz7.js";
412
+ } from "./index-2xdsmkev.js";
413
413
  import {
414
414
  isPathUnderSwarmWorktreeBase,
415
415
  listLiveLaneOwners,
@@ -418,7 +418,7 @@ import {
418
418
  recordLiveLaneOwner,
419
419
  removeWorktree,
420
420
  resolveWorktreeBaseDir
421
- } from "./index-2r6d72m6.js";
421
+ } from "./index-81b69x1b.js";
422
422
  import {
423
423
  MAX_EVENT_LOG_ENTRIES,
424
424
  _internals,
@@ -430,7 +430,7 @@ import {
430
430
  recordHiveKnowledgeEvent,
431
431
  recordKnowledgeEvent,
432
432
  resolveKnowledgeEventsPath
433
- } from "./index-v5nh2fhv.js";
433
+ } from "./index-yp5p6kpf.js";
434
434
  import {
435
435
  commitDisplayedMembership,
436
436
  commitEmptyRetrieval,
@@ -443,7 +443,7 @@ import {
443
443
  queryLiveMemberships,
444
444
  reconcilePhaseClose,
445
445
  recordPhaseCloseIntent
446
- } from "./index-encs4mdm.js";
446
+ } from "./index-zystaewy.js";
447
447
  import {
448
448
  sanitizeContextText
449
449
  } from "./index-m9zzj4ee.js";
@@ -454,7 +454,7 @@ import {
454
454
  readSwarmFileAsync,
455
455
  safeHook,
456
456
  validateSwarmPath
457
- } from "./index-5q3hg1pk.js";
457
+ } from "./index-4krkevgc.js";
458
458
  import {
459
459
  appendUnactionable,
460
460
  quarantineEntry,
@@ -465,18 +465,18 @@ import {
465
465
  validateActionableFields,
466
466
  validateLesson,
467
467
  validateSkillPath
468
- } from "./index-44z8mv05.js";
468
+ } from "./index-3vwfpqaj.js";
469
469
  import {
470
470
  MAX_CURATION_PROPOSALS,
471
471
  authorizeCuration,
472
472
  buildConfigFingerprintInput
473
- } from "./index-v1h70r3y.js";
473
+ } from "./index-mhd6kdzr.js";
474
474
  import {
475
475
  cohortConfigFingerprint
476
476
  } from "./index-rtry5xyf.js";
477
477
  import {
478
478
  resolveWorktreeIsolationConfig
479
- } from "./index-pmcvznag.js";
479
+ } from "./index-xd5jn7nr.js";
480
480
  import {
481
481
  RetrospectiveEvidenceSchema
482
482
  } from "./index-g22dps7x.js";
@@ -488,7 +488,7 @@ import {
488
488
  clearScopeBindings,
489
489
  readAuthoritativeScopeBindingSet,
490
490
  readDeclaredScopeFilesFromBindings
491
- } from "./index-eac47j2q.js";
491
+ } from "./index-zbxahqb0.js";
492
492
  import {
493
493
  DEFAULT_QA_GATES,
494
494
  computeProfileHash,
@@ -496,7 +496,7 @@ import {
496
496
  getEffectiveGates,
497
497
  getProfileLookupForIdentity,
498
498
  setGatesForIdentity
499
- } from "./index-s9y49avf.js";
499
+ } from "./index-v839c9mv.js";
500
500
  import {
501
501
  approvedSnapshotCoversPlan,
502
502
  clearPlanLedgerForReset,
@@ -513,7 +513,7 @@ import {
513
513
  replayFromLedgerWithStatus,
514
514
  resolvePlanningProfile,
515
515
  takeSnapshotEvent
516
- } from "./index-9cffn82s.js";
516
+ } from "./index-5y245xwk.js";
517
517
  import {
518
518
  MAX_COORDINATION_STATE_LIST_ROWS,
519
519
  deleteCoordinationImports,
@@ -523,7 +523,7 @@ import {
523
523
  listCoordinationStates,
524
524
  transitionCoordinationState,
525
525
  withCoordinationTransaction
526
- } from "./index-na6ph1fp.js";
526
+ } from "./index-2x015vjy.js";
527
527
  import {
528
528
  DURABILITY_CLASSES,
529
529
  closeAllProjectDbs,
@@ -532,7 +532,7 @@ import {
532
532
  projectDbExists,
533
533
  projectDbPath,
534
534
  withImmediateTransaction
535
- } from "./index-ves1rtqt.js";
535
+ } from "./index-y7c4hqcj.js";
536
536
  import {
537
537
  canonicalExistingFilesystemPath,
538
538
  canonicalPathForFutureIo,
@@ -553,7 +553,7 @@ import {
553
553
  hasSpecDriftAuditEvent,
554
554
  hasTaskRepairAuditEvent,
555
555
  readCoreEvents
556
- } from "./index-nzfq1ms2.js";
556
+ } from "./index-vtpt8yns.js";
557
557
  import {
558
558
  derivePlanId,
559
559
  derivePlanIdentityHash
@@ -570,7 +570,7 @@ import {
570
570
  observeModelLimitResolution,
571
571
  observeStoreHealth,
572
572
  readLearningHealth
573
- } from "./index-ypxq0x7r.js";
573
+ } from "./index-8srvdpw6.js";
574
574
  import {
575
575
  appendKnowledge,
576
576
  appendRejectedLesson,
@@ -601,7 +601,7 @@ import {
601
601
  transactFile,
602
602
  transactKnowledge,
603
603
  wordBigrams
604
- } from "./index-5c6zse74.js";
604
+ } from "./index-52arsav6.js";
605
605
  import {
606
606
  readTailJsonl,
607
607
  readTailJsonlDetailed,
@@ -622,10 +622,10 @@ import {
622
622
  resolveLinkDir,
623
623
  sanitizeLinkId,
624
624
  writeLinkPointer
625
- } from "./index-g57p8p1k.js";
625
+ } from "./index-4fkxdnc7.js";
626
626
  import {
627
627
  atomicWriteFile
628
- } from "./index-traz987v.js";
628
+ } from "./index-yyrnkc3a.js";
629
629
  import {
630
630
  withEvidenceLock
631
631
  } from "./index-q8vfw61p.js";
@@ -668,7 +668,7 @@ import {
668
668
  matchTempGrammar,
669
669
  parseTargetBasename,
670
670
  resetSwarmArtifactCache
671
- } from "./index-epzadpmm.js";
671
+ } from "./index-mn75z39t.js";
672
672
  import {
673
673
  PlanSchema,
674
674
  TaskStatusSchema,
@@ -686,7 +686,7 @@ import {
686
686
  loadPluginConfig,
687
687
  loadPluginConfigWithMeta,
688
688
  resolveEpicConfig
689
- } from "./index-tmhwpzdg.js";
689
+ } from "./index-fz5qbpbw.js";
690
690
  import {
691
691
  addDeferredWarning,
692
692
  advisoryWarn,
@@ -734,7 +734,7 @@ import {
734
734
  resolveContextWindow,
735
735
  resolveGeneratedAgentRole,
736
736
  stripKnownSwarmPrefix
737
- } from "./index-5ph10kdd.js";
737
+ } from "./index-08h39kf4.js";
738
738
  import {
739
739
  AGENT_TOOL_MAP,
740
740
  ALL_AGENT_NAMES,
@@ -9662,7 +9662,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
9662
9662
  return extracted === expectedSessionId;
9663
9663
  }
9664
9664
  async function inspectStandardWorktreeCollisionOwnership(identity) {
9665
- const collisionOwnership = await import("./worktree-collision-ownership-7cz0a2sr.js");
9665
+ const collisionOwnership = await import("./worktree-collision-ownership-sf7vbj8n.js");
9666
9666
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
9667
9667
  }
9668
9668
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -10090,7 +10090,7 @@ async function precreateStandardWorktreeSession(args) {
10090
10090
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
10091
10091
  if (laneProfile) {
10092
10092
  try {
10093
- const { writeLaneProfileToDiskReal } = await import("./core-7240e0vh.js");
10093
+ const { writeLaneProfileToDiskReal } = await import("./core-fxxnawnv.js");
10094
10094
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
10095
10095
  } catch {}
10096
10096
  }
@@ -11084,7 +11084,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
11084
11084
  }
11085
11085
  clearWorktreeMergeStatus(statusKey);
11086
11086
  try {
11087
- const { removeLaneProfileFromDiskReal } = await import("./core-7240e0vh.js");
11087
+ const { removeLaneProfileFromDiskReal } = await import("./core-fxxnawnv.js");
11088
11088
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
11089
11089
  } catch {}
11090
11090
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -28655,7 +28655,7 @@ function clearCriticalShownIds(sessionID) {
28655
28655
  async function rehydratePrSubscriptions(sessionID, directory) {
28656
28656
  const map = new Map;
28657
28657
  try {
28658
- const { listActive: listActive2 } = await import("./pr-subscriptions-q51ze9rn.js");
28658
+ const { listActive: listActive2 } = await import("./pr-subscriptions-db26rzak.js");
28659
28659
  const records = await listActive2(directory);
28660
28660
  for (const record of records) {
28661
28661
  if (record.sessionID !== sessionID)
@@ -39286,7 +39286,7 @@ async function handleAttestCommand(directory, args, sessionID) {
39286
39286
  `);
39287
39287
  }
39288
39288
  const taskId = args[0];
39289
- const { executeAttestTask } = await import("./attest-task-k7b87zk8.js");
39289
+ const { executeAttestTask } = await import("./attest-task-dch4wwmn.js");
39290
39290
  const result = await executeAttestTask({
39291
39291
  task_id: taskId,
39292
39292
  working_directory: directory,
@@ -46478,9 +46478,9 @@ function hashContent(content) {
46478
46478
  return createHash28("sha1").update(content).digest("hex");
46479
46479
  }
46480
46480
  async function loadConfigForPolicyCurator(directory) {
46481
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-10j951xn.js");
46481
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eaq24w9q.js");
46482
46482
  try {
46483
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-275w8rfx.js");
46483
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fs6t820n.js");
46484
46484
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
46485
46485
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
46486
46486
  } catch {
@@ -49538,7 +49538,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
49538
49538
  const seam = _internals49.createCuratorLLMDelegate;
49539
49539
  if (seam)
49540
49540
  return seam(directory, mode, sessionId);
49541
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-wcv6x9pq.js");
49541
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-fp9gzt41.js");
49542
49542
  return createCuratorLLMDelegate(directory, mode, sessionId);
49543
49543
  }
49544
49544
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -49933,7 +49933,7 @@ async function runFinalizeStage(ctx) {
49933
49933
  }
49934
49934
  }
49935
49935
  try {
49936
- const { CuratorConfigSchema: CCS } = await import("./schema-10j951xn.js");
49936
+ const { CuratorConfigSchema: CCS } = await import("./schema-eaq24w9q.js");
49937
49937
  const { config: pmLoadedConfig } = _internals49.loadPluginConfigWithMeta(ctx.directory);
49938
49938
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
49939
49939
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -54006,7 +54006,7 @@ function adviseClosingStop(directory) {
54006
54006
  }
54007
54007
  async function writeSnapshot(directory, state) {
54008
54008
  try {
54009
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-kh4dayg5.js");
54009
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-b08vm3ye.js");
54010
54010
  await ensureSnapshotCoordinationReady(directory);
54011
54011
  if (closingStopAdvisedRoots.size > 0) {
54012
54012
  closingStopAdvisedRoots.delete(canonicalProjectKey(directory));
@@ -57235,7 +57235,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
57235
57235
  };
57236
57236
  }
57237
57237
  async function sweepActiveNearDuplicates(directory, options = {}) {
57238
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-275w8rfx.js");
57238
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fs6t820n.js");
57239
57239
  const { config } = loadPluginConfigWithMeta2(directory);
57240
57240
  const sweepConfig = config.learning?.dedup_sweep;
57241
57241
  if (sweepConfig?.enabled === false)
@@ -58359,7 +58359,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
58359
58359
  }
58360
58360
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
58361
58361
  try {
58362
- const skillModule = await import("./skill-generator-7hxqq63r.js");
58362
+ const skillModule = await import("./skill-generator-kt8j40ev.js");
58363
58363
  for (const cand of skillCandidates) {
58364
58364
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
58365
58365
  continue;
@@ -58831,7 +58831,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
58831
58831
  } catch {}
58832
58832
  }
58833
58833
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
58834
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-s25vhfrt.js");
58834
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-a9mkynzv.js");
58835
58835
  for (const { id } of contradictedEntries) {
58836
58836
  try {
58837
58837
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -59663,7 +59663,7 @@ async function runCuratorPostMortem(directory, options = {}) {
59663
59663
  warnings.push("Failed to collect knowledge summary.");
59664
59664
  }
59665
59665
  try {
59666
- const { getScanStatus } = await import("./scan-cursor-0fr17e5q.js");
59666
+ const { getScanStatus } = await import("./scan-cursor-53s9zt38.js");
59667
59667
  const scanStatus = await getScanStatus(directory);
59668
59668
  if (scanStatus.remaining_estimate > 0) {
59669
59669
  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.`);
@@ -59835,9 +59835,9 @@ var _internals71 = {
59835
59835
  verifyPostMortemKnowledgeActions,
59836
59836
  repairPostMortemActions,
59837
59837
  loadDefaultKnowledgeConfig: async (directory) => {
59838
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-10j951xn.js");
59838
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eaq24w9q.js");
59839
59839
  try {
59840
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-275w8rfx.js");
59840
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fs6t820n.js");
59841
59841
  const loaded = loadPluginConfigWithMeta2(directory);
59842
59842
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
59843
59843
  } catch {
@@ -59845,11 +59845,11 @@ var _internals71 = {
59845
59845
  }
59846
59846
  },
59847
59847
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
59848
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-1jhwv0ce.js");
59848
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-tncdqrcf.js");
59849
59849
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
59850
59850
  },
59851
59851
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
59852
- const { checkHivePromotions } = await import("./hive-promoter-f0rzkbww.js");
59852
+ const { checkHivePromotions } = await import("./hive-promoter-zr4xnyxn.js");
59853
59853
  return checkHivePromotions(entries2, knowledgeConfig, directory);
59854
59854
  },
59855
59855
  applyProposalTriage: async (directory, triage) => {
@@ -59858,7 +59858,7 @@ var _internals71 = {
59858
59858
  activateProposal,
59859
59859
  listSkills: listSkills2,
59860
59860
  sanitizeSlug
59861
- } = await import("./skill-generator-7hxqq63r.js");
59861
+ } = await import("./skill-generator-kt8j40ev.js");
59862
59862
  const result = {
59863
59863
  approved: [],
59864
59864
  rejected: [],
@@ -59900,7 +59900,7 @@ var _internals71 = {
59900
59900
  return result;
59901
59901
  },
59902
59902
  readPriorDriftReports: async (directory) => {
59903
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-r4yttpe9.js");
59903
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-jtqr5rwe.js");
59904
59904
  return readPriorDriftReports2(directory);
59905
59905
  },
59906
59906
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -70171,9 +70171,9 @@ var _internals79 = {
70171
70171
  loadPluginConfigWithMeta,
70172
70172
  loadCuratorDeps: async () => {
70173
70173
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
70174
- import("./schema-10j951xn.js"),
70175
- import("./curator-1jhwv0ce.js"),
70176
- import("./curator-llm-factory-wcv6x9pq.js")
70174
+ import("./schema-eaq24w9q.js"),
70175
+ import("./curator-tncdqrcf.js"),
70176
+ import("./curator-llm-factory-fp9gzt41.js")
70177
70177
  ]);
70178
70178
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
70179
70179
  }
@@ -72621,7 +72621,7 @@ async function computeCurationDiagnostics(directory, entries2) {
72621
72621
  let scanCompleted = false;
72622
72622
  let scanRemaining = 0;
72623
72623
  try {
72624
- const { getScanStatus } = await import("./scan-cursor-0fr17e5q.js");
72624
+ const { getScanStatus } = await import("./scan-cursor-53s9zt38.js");
72625
72625
  const status = await getScanStatus(directory);
72626
72626
  scanGeneration = status.generation;
72627
72627
  scanCompleted = status.completed;
@@ -72629,19 +72629,19 @@ async function computeCurationDiagnostics(directory, entries2) {
72629
72629
  } catch {}
72630
72630
  let configMatch = null;
72631
72631
  try {
72632
- const { isLinked: isLinked2 } = await import("./knowledge-link-wfhsfyn2.js");
72632
+ const { isLinked: isLinked2 } = await import("./knowledge-link-13t3nfrz.js");
72633
72633
  if (isLinked2(directory)) {
72634
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-10j951xn.js");
72634
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eaq24w9q.js");
72635
72635
  let config;
72636
72636
  try {
72637
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-275w8rfx.js");
72637
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fs6t820n.js");
72638
72638
  const loaded = loadPluginConfigWithMeta2(directory);
72639
72639
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
72640
72640
  } catch {
72641
72641
  config = KnowledgeConfigSchema2.parse({});
72642
72642
  }
72643
72643
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
72644
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-fth5n93x.js");
72644
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-gy868ec3.js");
72645
72645
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
72646
72646
  const cohortFp = await readCohortConfigFingerprint(directory);
72647
72647
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -74114,7 +74114,7 @@ async function handleDoctorCommand(directory, args) {
74114
74114
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
74115
74115
  let output;
74116
74116
  if (enableAutoFix && result.hasAutoFixableIssues) {
74117
- const { runConfigDoctorWithFixes } = await import("./config-doctor-8keyw62b.js");
74117
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-pes681a5.js");
74118
74118
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
74119
74119
  applyLossy: true
74120
74120
  });
@@ -74152,7 +74152,7 @@ async function handleDoctorCommand(directory, args) {
74152
74152
  `;
74153
74153
  }
74154
74154
  try {
74155
- const { runModelPreflight } = await import("./model-preflight-2zqrjnnh.js");
74155
+ const { runModelPreflight } = await import("./model-preflight-4pexdgrc.js");
74156
74156
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
74157
74157
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
74158
74158
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -74186,7 +74186,7 @@ async function handleDoctorCommand(directory, args) {
74186
74186
  }
74187
74187
  } catch {}
74188
74188
  try {
74189
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-1v5fx0rk.js");
74189
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-6wan4z5n.js");
74190
74190
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
74191
74191
  } catch {}
74192
74192
  const strayDirs = detectStraySwarmDirs(directory);
@@ -76203,7 +76203,7 @@ async function handleEvidenceCommand(directory, args) {
76203
76203
  return formatTaskEvidenceMarkdown(evidenceData);
76204
76204
  }
76205
76205
  async function handleEvidenceSummaryCommand(directory) {
76206
- const { buildEvidenceSummary } = await import("./evidence-summary-service-zkbzsjbf.js");
76206
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-cnvgae1a.js");
76207
76207
  const artifact = await buildEvidenceSummary(directory);
76208
76208
  if (!artifact) {
76209
76209
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -100641,7 +100641,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
100641
100641
  }
100642
100642
  const sdkOpts = signal ? { signal } : {};
100643
100643
  try {
100644
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-x48h0zsw.js");
100644
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-snft68y9.js");
100645
100645
  const createResult = await client.session.create({
100646
100646
  ...sessionId ? {
100647
100647
  body: {
@@ -102740,7 +102740,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
102740
102740
  clearedEvents: []
102741
102741
  };
102742
102742
  try {
102743
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-3vj3f93g.js");
102743
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-t8kewb9h.js");
102744
102744
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
102745
102745
  } catch (err) {
102746
102746
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -116737,7 +116737,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
116737
116737
  if (!input.dispatcher) {
116738
116738
  throw new Error("no evaluation dispatcher available (cannot run validation)");
116739
116739
  }
116740
- const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-s1a73y5h.js");
116740
+ const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-q1g9atrv.js");
116741
116741
  const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
116742
116742
  const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals143.evaluateCandidateV1({
116743
116743
  projectRoot: input.directory,
@@ -119370,7 +119370,7 @@ function buildDetailedHelp(commandName, entry) {
119370
119370
  async function handleHelpCommand(ctx) {
119371
119371
  const targetCommand = ctx.args.join(" ");
119372
119372
  if (!targetCommand) {
119373
- const { buildHelpText } = await import("./index-dygkt0ne.js");
119373
+ const { buildHelpText } = await import("./index-0swbpe4d.js");
119374
119374
  return buildHelpText();
119375
119375
  }
119376
119376
  const tokens = targetCommand.split(/\s+/);
@@ -119384,7 +119384,7 @@ async function handleHelpCommand(ctx) {
119384
119384
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
119385
119385
  }
119386
119386
  const similar = _internals38.findSimilarCommands(targetCommand);
119387
- const { buildHelpText: fullHelp } = await import("./index-dygkt0ne.js");
119387
+ const { buildHelpText: fullHelp } = await import("./index-0swbpe4d.js");
119388
119388
  if (similar.length > 0) {
119389
119389
  return `Command '/swarm ${targetCommand}' not found.
119390
119390
 
@@ -119712,7 +119712,7 @@ var COMMAND_REGISTRY = {
119712
119712
  },
119713
119713
  "guardrail explain": {
119714
119714
  handler: async (ctx) => {
119715
- const { handleGuardrailExplain } = await import("./guardrail-explain-g95j8z79.js");
119715
+ const { handleGuardrailExplain } = await import("./guardrail-explain-7g0y6ahb.js");
119716
119716
  return handleGuardrailExplain(ctx.directory, ctx.args);
119717
119717
  },
119718
119718
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -119722,7 +119722,7 @@ var COMMAND_REGISTRY = {
119722
119722
  },
119723
119723
  "guardrail reset": {
119724
119724
  handler: async (ctx) => {
119725
- const { handleGuardrailReset } = await import("./guardrail-reset-rgbt0zgy.js");
119725
+ const { handleGuardrailReset } = await import("./guardrail-reset-henzpvh4.js");
119726
119726
  return handleGuardrailReset(ctx.args, ctx.sessionID);
119727
119727
  },
119728
119728
  description: "Reset one exact active invocation/action circuit after repair",
@@ -119743,7 +119743,7 @@ var COMMAND_REGISTRY = {
119743
119743
  },
119744
119744
  "guardrail-log": {
119745
119745
  handler: async (ctx) => {
119746
- const { handleGuardrailLog } = await import("./guardrail-log-0xjg12y1.js");
119746
+ const { handleGuardrailLog } = await import("./guardrail-log-wpm6srkg.js");
119747
119747
  return handleGuardrailLog(ctx.directory, ctx.args);
119748
119748
  },
119749
119749
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -36,8 +36,16 @@ function loadDurableStatus(statusPath) {
36
36
  function saveDurableStatus(statusPath) {
37
37
  const dir = path.dirname(statusPath);
38
38
  try {
39
- if (!fs.existsSync(dir))
40
- fs.mkdirSync(dir, { recursive: true });
39
+ if (!fs.existsSync(dir)) {
40
+ if (!fs.existsSync(path.dirname(dir)))
41
+ return;
42
+ try {
43
+ fs.mkdirSync(dir);
44
+ } catch (err) {
45
+ if (err.code !== "EEXIST")
46
+ throw err;
47
+ }
48
+ }
41
49
  const tempPath = `${statusPath}.tmp.${crypto.randomBytes(8).toString("hex")}`;
42
50
  const data = Object.fromEntries(failuresByTask);
43
51
  try {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-5c6zse74.js";
5
+ } from "./index-52arsav6.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
- } from "./index-g57p8p1k.js";
8
+ } from "./index-4fkxdnc7.js";
9
9
  import {
10
10
  init_git_executable,
11
11
  resolveGitExecutableAsync