opencode-swarm 7.184.7 → 7.184.9
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.
- package/.opencode/skills/issue-ingest/SKILL.md +1 -1
- package/.opencode/skills/swarm-pr-review/SKILL.md +3 -3
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +20 -0
- package/README.md +12 -4
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-2759zt77.js → coder-settlement-wv26kvbq.js} +10 -10
- package/dist/cli/{config-doctor-g48tz4kt.js → config-doctor-0v3a8gwd.js} +2 -2
- package/dist/cli/{core-1jfgxw72.js → core-sw3g54fw.js} +3 -3
- package/dist/cli/{curation-policy-k43q6b91.js → curation-policy-734npcqk.js} +4 -4
- package/dist/cli/{curator-m7sja3jp.js → curator-1ffd62zb.js} +37 -37
- package/dist/cli/{curator-drift-5wc9jfmy.js → curator-drift-hbpphpph.js} +8 -8
- package/dist/cli/curator-llm-factory-0n05cgjf.js +75 -0
- package/dist/cli/{evidence-summary-service-sx8x12w0.js → evidence-summary-service-yynh7bqj.js} +16 -16
- package/dist/cli/{gate-evidence-znfffz94.js → gate-evidence-72cmq7sq.js} +5 -5
- package/dist/cli/guardrail-explain-sadek1sk.js +76 -0
- package/dist/cli/{guardrail-log-mcv4ad3t.js → guardrail-log-7202nsc9.js} +6 -6
- package/dist/cli/{guardrail-reset-ksrr2r0n.js → guardrail-reset-nwyhnz98.js} +37 -37
- package/dist/cli/{hive-promoter-06dzq5ms.js → hive-promoter-0b8ht2g0.js} +37 -37
- package/dist/cli/{index-3h0f07e9.js → index-0hzr6vdh.js} +1 -1
- package/dist/cli/{index-2t4zv1ag.js → index-1r22v0js.js} +1 -1
- package/dist/cli/{index-fr6x6vn2.js → index-22qpvevn.js} +1 -1
- package/dist/cli/{index-14j1jkyy.js → index-2ebf550v.js} +6 -6
- package/dist/cli/{index-q4a0j3nh.js → index-48ceyvpc.js} +5 -5
- package/dist/cli/{index-rmspt7xm.js → index-5egfk9c6.js} +1 -1
- package/dist/cli/{index-s95ghsy1.js → index-7e1ecg26.js} +1 -1
- package/dist/cli/{index-7xv2hvr6.js → index-7wth46ez.js} +2 -2
- package/dist/cli/{index-qeqn241m.js → index-955e0wpp.js} +1 -1
- package/dist/cli/{index-dyddcx8h.js → index-cbwmx38c.js} +95 -89
- package/dist/cli/{index-8bvpcbk8.js → index-cq1gpknp.js} +39 -39
- package/dist/cli/{index-z7recmq5.js → index-cvrtpb52.js} +3 -3
- package/dist/cli/{index-b1v0zxnh.js → index-d5vkn5eg.js} +2 -2
- package/dist/cli/{index-82j1een1.js → index-et6gxgbn.js} +3 -3
- package/dist/cli/{index-sxxj47cy.js → index-f2xrc6r5.js} +6 -6
- package/dist/cli/{index-bf055zyw.js → index-fanhmwk3.js} +2 -2
- package/dist/cli/{index-98a0rxby.js → index-fx0kf5jt.js} +1 -1
- package/dist/cli/{index-e1zrgvqg.js → index-g2jbpm6g.js} +1 -1
- package/dist/cli/{index-1t2ctwkd.js → index-g4ft1r0z.js} +1 -1
- package/dist/cli/{index-m8rt7a3g.js → index-gj0121y5.js} +4 -4
- package/dist/cli/{index-enjsn68b.js → index-hkbs7pcd.js} +7 -7
- package/dist/cli/{index-42pchr9f.js → index-hp5xyqxs.js} +1 -1
- package/dist/cli/{index-xqxqepsy.js → index-hq9fezjc.js} +2 -2
- package/dist/cli/{index-eecz2kna.js → index-jnts5d04.js} +7 -7
- package/dist/cli/{index-ywmknn6m.js → index-kf8gkdtq.js} +1 -1
- package/dist/cli/{index-g2r6t7by.js → index-kjetx4xq.js} +1 -1
- package/dist/cli/{index-16smfppa.js → index-mk9kd5wr.js} +3 -3
- package/dist/cli/{index-raj6y6d3.js → index-na3qxeha.js} +2 -2
- package/dist/cli/{index-rwzrbcm9.js → index-qjs6cgb9.js} +1 -1
- package/dist/cli/{index-mp60wy1f.js → index-rgrae86w.js} +4 -4
- package/dist/cli/{index-t0mb5a9p.js → index-s9pq2q6h.js} +1 -1
- package/dist/cli/{index-x16a0c6b.js → index-snzz0yvz.js} +7 -7
- package/dist/cli/{index-1npynszx.js → index-tdtqm702.js} +12 -12
- package/dist/cli/{index-1nwkzj24.js → index-tkk06smw.js} +2 -2
- package/dist/cli/{index-1kz2repk.js → index-tps93cp3.js} +3 -3
- package/dist/cli/{index-4qmeshfa.js → index-v5r7w16s.js} +5 -5
- package/dist/cli/{index-kbd6apth.js → index-vx1dt9x3.js} +37 -37
- package/dist/cli/{index-z1qs160n.js → index-yn0nsxwv.js} +1 -1
- package/dist/cli/{index-0prgjynb.js → index-z5nqpnem.js} +5 -5
- package/dist/cli/{index-c5c7hrz1.js → index-zg40ap5c.js} +2 -2
- package/dist/cli/{index-2s0gy81b.js → index-zvz722td.js} +2 -2
- package/dist/cli/{index-q39ecyaq.js → index-zygpw9qb.js} +1 -1
- package/dist/cli/index.js +38 -38
- package/dist/cli/{knowledge-escalator-ghx76dcv.js → knowledge-escalator-a9h29ayc.js} +11 -11
- package/dist/cli/{knowledge-events-kpw6fbmc.js → knowledge-events-sjdhtwm2.js} +9 -9
- package/dist/cli/{knowledge-link-xw6vsbx3.js → knowledge-link-6kxpc4x5.js} +3 -3
- package/dist/cli/{knowledge-store-fhdrpxdm.js → knowledge-store-g3h4gqe7.js} +4 -4
- package/dist/cli/{knowledge-validator-7jr0aka1.js → knowledge-validator-br05bd3x.js} +6 -6
- package/dist/cli/{mcp-v7cgf5tn.js → mcp-167c0dnd.js} +1 -1
- package/dist/cli/{model-preflight-kn3xqvfk.js → model-preflight-dxm5dcej.js} +37 -37
- package/dist/cli/{pending-delegations-z7mcbecn.js → pending-delegations-q9n8bry1.js} +10 -10
- package/dist/cli/{pr-subscriptions-1sb07tx3.js → pr-subscriptions-qs9fhjpk.js} +10 -10
- package/dist/cli/{pr-workflow-gate-ph4fvf47.js → pr-workflow-gate-nfbbc2c0.js} +37 -37
- package/dist/cli/{runner-pvdhxh74.js → runner-wfd9dys9.js} +4 -4
- package/dist/cli/{scan-cursor-7ny9bnmk.js → scan-cursor-z59x53tn.js} +5 -5
- package/dist/cli/{schema-pjkzvcw8.js → schema-y3rs9evj.js} +1 -1
- package/dist/cli/{scope-persistence-mkb8yc5s.js → scope-persistence-54g2j63h.js} +13 -13
- package/dist/cli/{server-4e853cwk.js → server-gwgsy9t3.js} +37 -37
- package/dist/cli/{skill-generator-v6n0kwh0.js → skill-generator-qc4bfp4z.js} +13 -13
- package/dist/cli/{snapshot-coordination-init-agx2sn6h.js → snapshot-coordination-init-0pytgxbn.js} +37 -37
- package/dist/cli/{speckit-checkoff-wfsbvt1b.js → speckit-checkoff-d14y1jnc.js} +4 -4
- package/dist/cli/{workspace-snapshot-553c6cd3.js → workspace-snapshot-bvnyzzr2.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-4znww3nt.js → worktree-collision-ownership-9gmtsqmf.js} +11 -11
- package/dist/cli/{worktree-isolation-w4k8q59z.js → worktree-isolation-22dntk4t.js} +37 -37
- package/dist/hooks/extractors.d.ts +23 -0
- package/dist/hooks/issue-trace-reducer.d.ts +20 -2
- package/dist/hooks/issue-trace-state.d.ts +6 -2
- package/dist/hooks/issue-trace.d.ts +2 -0
- package/dist/index.js +18 -18
- package/dist/services/context-budget-service.d.ts +12 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-jjd0cxb2.js +0 -75
- package/dist/cli/guardrail-explain-x81m4s8q.js +0 -76
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
protectedRoots,
|
|
9
9
|
redactDecisionLineForArchive,
|
|
10
10
|
stableCanonicalStringify
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-zg40ap5c.js";
|
|
12
12
|
import {
|
|
13
13
|
LANGUAGE_REGISTRY,
|
|
14
14
|
_internals as _internals3,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
runEvaluation,
|
|
28
28
|
runExternalTool,
|
|
29
29
|
withDisposableWorktree
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-zygpw9qb.js";
|
|
31
31
|
import {
|
|
32
32
|
buildDriftInjectionText,
|
|
33
33
|
canonicalProjectKey,
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
getGroupCommitWriter,
|
|
37
37
|
importLegacyJsonl,
|
|
38
38
|
readPriorDriftReports
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-cvrtpb52.js";
|
|
40
40
|
import {
|
|
41
41
|
detectStraySwarmDirs,
|
|
42
42
|
readDoctorArtifact,
|
|
43
43
|
removeStraySwarmDir,
|
|
44
44
|
runConfigDoctor
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-qjs6cgb9.js";
|
|
46
46
|
import {
|
|
47
47
|
MAX_TRANSIENT_RETRIES,
|
|
48
48
|
PlanRecoverySupersededError,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
updateTaskStatus,
|
|
84
84
|
validateProjectRoot,
|
|
85
85
|
withPlanLifecycleLock
|
|
86
|
-
} from "./index-
|
|
86
|
+
} from "./index-tdtqm702.js";
|
|
87
87
|
import {
|
|
88
88
|
EvaluationTaskV1Schema,
|
|
89
89
|
GateAuditManifestV1Schema,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
saveGateAuditResult,
|
|
101
101
|
savePromotionDecision,
|
|
102
102
|
saveTaskSetSnapshot
|
|
103
|
-
} from "./index-
|
|
103
|
+
} from "./index-g4ft1r0z.js";
|
|
104
104
|
import {
|
|
105
105
|
canonicalHash,
|
|
106
106
|
canonicalJson,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
resolveSpeckitProjection,
|
|
121
121
|
validateSpeckit,
|
|
122
122
|
writeProjectedSpecSync
|
|
123
|
-
} from "./index-
|
|
123
|
+
} from "./index-yn0nsxwv.js";
|
|
124
124
|
import {
|
|
125
125
|
containsControlChars,
|
|
126
126
|
containsPathTraversal,
|
|
@@ -148,16 +148,16 @@ import {
|
|
|
148
148
|
retireSkill,
|
|
149
149
|
selectCandidateEntries,
|
|
150
150
|
syncBundledProjectSkillsIfMissingAsync
|
|
151
|
-
} from "./index-
|
|
151
|
+
} from "./index-rgrae86w.js";
|
|
152
152
|
import {
|
|
153
153
|
buildEscalationBriefing,
|
|
154
154
|
readRecentEscalations
|
|
155
|
-
} from "./index-
|
|
155
|
+
} from "./index-v5r7w16s.js";
|
|
156
156
|
import {
|
|
157
157
|
alreadyCuratedThisGeneration,
|
|
158
158
|
claimNextScanBatch,
|
|
159
159
|
resolveCohortId
|
|
160
|
-
} from "./index-
|
|
160
|
+
} from "./index-na3qxeha.js";
|
|
161
161
|
import {
|
|
162
162
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
163
163
|
CURATOR_INIT_PROMPT,
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
sweepStale,
|
|
178
178
|
unsubscribe,
|
|
179
179
|
updateSnapshot
|
|
180
|
-
} from "./index-
|
|
180
|
+
} from "./index-2ebf550v.js";
|
|
181
181
|
import {
|
|
182
182
|
clearWorktreeMergeStatus,
|
|
183
183
|
getAllWorktreeMergeFailures,
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
listCoderSettlementWalStates,
|
|
190
190
|
recoverCoderSettlement,
|
|
191
191
|
recoverStaleCoderSettlements
|
|
192
|
-
} from "./index-
|
|
192
|
+
} from "./index-snzz0yvz.js";
|
|
193
193
|
import {
|
|
194
194
|
parsePorcelainV2Snapshot,
|
|
195
195
|
resolveCommitCountSince,
|
|
@@ -217,12 +217,12 @@ import {
|
|
|
217
217
|
resolveRemoteUrlIdentity,
|
|
218
218
|
resolveRemoteUrlIdentityAsync,
|
|
219
219
|
switchPrFeedbackTrackingCandidateAsync
|
|
220
|
-
} from "./index-
|
|
220
|
+
} from "./index-d5vkn5eg.js";
|
|
221
221
|
import {
|
|
222
222
|
WORKTREE_LIFECYCLE_LOCK_FILE,
|
|
223
223
|
recordWorktreeProvisioningOwner,
|
|
224
224
|
removeWorktreeProvisioningOwner
|
|
225
|
-
} from "./index-
|
|
225
|
+
} from "./index-7wth46ez.js";
|
|
226
226
|
import {
|
|
227
227
|
getLanguageForExtension
|
|
228
228
|
} from "./index-pt7h91zc.js";
|
|
@@ -260,7 +260,7 @@ import {
|
|
|
260
260
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
261
261
|
withTaskEvidenceTransaction,
|
|
262
262
|
writeWorkflowWalFile
|
|
263
|
-
} from "./index-
|
|
263
|
+
} from "./index-et6gxgbn.js";
|
|
264
264
|
import {
|
|
265
265
|
isPathUnderSwarmWorktreeBase,
|
|
266
266
|
listLiveLaneOwners,
|
|
@@ -269,7 +269,7 @@ import {
|
|
|
269
269
|
recordLiveLaneOwner,
|
|
270
270
|
removeWorktree,
|
|
271
271
|
resolveWorktreeBaseDir
|
|
272
|
-
} from "./index-
|
|
272
|
+
} from "./index-tps93cp3.js";
|
|
273
273
|
import {
|
|
274
274
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
275
275
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
scanBackgroundCoderReservationsForAdmission,
|
|
304
304
|
scanDelegationsForRecovery,
|
|
305
305
|
sweepStaleDelegations
|
|
306
|
-
} from "./index-
|
|
306
|
+
} from "./index-f2xrc6r5.js";
|
|
307
307
|
import {
|
|
308
308
|
MAX_EVENT_LOG_ENTRIES,
|
|
309
309
|
_internals,
|
|
@@ -322,7 +322,7 @@ import {
|
|
|
322
322
|
recordKnowledgeEvent,
|
|
323
323
|
recordPhaseCloseIntent,
|
|
324
324
|
resolveKnowledgeEventsPath
|
|
325
|
-
} from "./index-
|
|
325
|
+
} from "./index-jnts5d04.js";
|
|
326
326
|
import {
|
|
327
327
|
estimateCharsForTokens,
|
|
328
328
|
estimateTokens,
|
|
@@ -330,7 +330,7 @@ import {
|
|
|
330
330
|
readSwarmFileAsync,
|
|
331
331
|
safeHook,
|
|
332
332
|
validateSwarmPath
|
|
333
|
-
} from "./index-
|
|
333
|
+
} from "./index-fx0kf5jt.js";
|
|
334
334
|
import {
|
|
335
335
|
bunFile,
|
|
336
336
|
bunSpawn,
|
|
@@ -350,18 +350,18 @@ import {
|
|
|
350
350
|
validateActionableFields,
|
|
351
351
|
validateLesson,
|
|
352
352
|
validateSkillPath
|
|
353
|
-
} from "./index-
|
|
353
|
+
} from "./index-gj0121y5.js";
|
|
354
354
|
import {
|
|
355
355
|
MAX_CURATION_PROPOSALS,
|
|
356
356
|
authorizeCuration,
|
|
357
357
|
buildConfigFingerprintInput
|
|
358
|
-
} from "./index-
|
|
358
|
+
} from "./index-955e0wpp.js";
|
|
359
359
|
import {
|
|
360
360
|
cohortConfigFingerprint
|
|
361
361
|
} from "./index-rtry5xyf.js";
|
|
362
362
|
import {
|
|
363
363
|
resolveWorktreeIsolationConfig
|
|
364
|
-
} from "./index-
|
|
364
|
+
} from "./index-zvz722td.js";
|
|
365
365
|
import {
|
|
366
366
|
RetrospectiveEvidenceSchema
|
|
367
367
|
} from "./index-frcemc0b.js";
|
|
@@ -373,7 +373,7 @@ import {
|
|
|
373
373
|
clearScopeBindings,
|
|
374
374
|
readAuthoritativeScopeBindingSet,
|
|
375
375
|
readDeclaredScopeFilesFromBindings
|
|
376
|
-
} from "./index-
|
|
376
|
+
} from "./index-z5nqpnem.js";
|
|
377
377
|
import {
|
|
378
378
|
clearPlanLedgerForReset,
|
|
379
379
|
computePlanStructureHash,
|
|
@@ -389,7 +389,7 @@ import {
|
|
|
389
389
|
replayFromLedgerWithStatus,
|
|
390
390
|
resolvePlanningProfile,
|
|
391
391
|
takeSnapshotEvent
|
|
392
|
-
} from "./index-
|
|
392
|
+
} from "./index-48ceyvpc.js";
|
|
393
393
|
import {
|
|
394
394
|
CORE_EVENT_LOCKED,
|
|
395
395
|
appendCoreEventSync,
|
|
@@ -399,7 +399,7 @@ import {
|
|
|
399
399
|
hasSpecDriftAuditEvent,
|
|
400
400
|
hasTaskRepairAuditEvent,
|
|
401
401
|
readCoreEvents
|
|
402
|
-
} from "./index-
|
|
402
|
+
} from "./index-7e1ecg26.js";
|
|
403
403
|
import {
|
|
404
404
|
DEFAULT_QA_GATES,
|
|
405
405
|
computeProfileHash,
|
|
@@ -407,7 +407,7 @@ import {
|
|
|
407
407
|
getEffectiveGates,
|
|
408
408
|
getProfileLookupForIdentity,
|
|
409
409
|
setGatesForIdentity
|
|
410
|
-
} from "./index-
|
|
410
|
+
} from "./index-hq9fezjc.js";
|
|
411
411
|
import {
|
|
412
412
|
MAX_COORDINATION_STATE_LIST_ROWS,
|
|
413
413
|
deleteCoordinationImports,
|
|
@@ -420,7 +420,7 @@ import {
|
|
|
420
420
|
listCoordinationStates,
|
|
421
421
|
transitionCoordinationState,
|
|
422
422
|
withCoordinationTransaction
|
|
423
|
-
} from "./index-
|
|
423
|
+
} from "./index-5egfk9c6.js";
|
|
424
424
|
import {
|
|
425
425
|
DURABILITY_CLASSES,
|
|
426
426
|
closeAllProjectDbs,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
projectDbExists,
|
|
430
430
|
projectDbPath,
|
|
431
431
|
withImmediateTransaction
|
|
432
|
-
} from "./index-
|
|
432
|
+
} from "./index-s9pq2q6h.js";
|
|
433
433
|
import {
|
|
434
434
|
loadDatabaseCtor
|
|
435
435
|
} from "./index-rdm3px0g.js";
|
|
@@ -445,7 +445,7 @@ import {
|
|
|
445
445
|
observeModelLimitResolution,
|
|
446
446
|
observeStoreHealth,
|
|
447
447
|
readLearningHealth
|
|
448
|
-
} from "./index-
|
|
448
|
+
} from "./index-22qpvevn.js";
|
|
449
449
|
import {
|
|
450
450
|
appendKnowledge,
|
|
451
451
|
appendRejectedLesson,
|
|
@@ -476,7 +476,7 @@ import {
|
|
|
476
476
|
transactFile,
|
|
477
477
|
transactKnowledge,
|
|
478
478
|
wordBigrams
|
|
479
|
-
} from "./index-
|
|
479
|
+
} from "./index-hkbs7pcd.js";
|
|
480
480
|
import {
|
|
481
481
|
readTailJsonl,
|
|
482
482
|
readTailJsonlDetailed,
|
|
@@ -497,11 +497,11 @@ import {
|
|
|
497
497
|
resolveLinkDir,
|
|
498
498
|
sanitizeLinkId,
|
|
499
499
|
writeLinkPointer
|
|
500
|
-
} from "./index-
|
|
500
|
+
} from "./index-kjetx4xq.js";
|
|
501
501
|
import {
|
|
502
502
|
atomicWriteFile,
|
|
503
503
|
withEvidenceLock
|
|
504
|
-
} from "./index-
|
|
504
|
+
} from "./index-g2jbpm6g.js";
|
|
505
505
|
import {
|
|
506
506
|
assertProjectRoot,
|
|
507
507
|
hasExplicitProjectBoundary,
|
|
@@ -543,7 +543,7 @@ import {
|
|
|
543
543
|
matchTempGrammar,
|
|
544
544
|
parseTargetBasename,
|
|
545
545
|
resetSwarmArtifactCache
|
|
546
|
-
} from "./index-
|
|
546
|
+
} from "./index-1r22v0js.js";
|
|
547
547
|
import {
|
|
548
548
|
PlanSchema,
|
|
549
549
|
TaskStatusSchema,
|
|
@@ -557,7 +557,7 @@ import {
|
|
|
557
557
|
loadGateOverrides,
|
|
558
558
|
loadPluginConfig,
|
|
559
559
|
loadPluginConfigWithMeta
|
|
560
|
-
} from "./index-
|
|
560
|
+
} from "./index-hp5xyqxs.js";
|
|
561
561
|
import {
|
|
562
562
|
addDeferredWarning,
|
|
563
563
|
advisoryWarn,
|
|
@@ -589,7 +589,7 @@ import {
|
|
|
589
589
|
resolveContextWindow,
|
|
590
590
|
resolveGeneratedAgentRole,
|
|
591
591
|
stripKnownSwarmPrefix
|
|
592
|
-
} from "./index-
|
|
592
|
+
} from "./index-0hzr6vdh.js";
|
|
593
593
|
import {
|
|
594
594
|
AGENT_TOOL_MAP,
|
|
595
595
|
ALL_AGENT_NAMES,
|
|
@@ -3352,7 +3352,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3352
3352
|
return null;
|
|
3353
3353
|
throw error2;
|
|
3354
3354
|
}
|
|
3355
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3355
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-nfbbc2c0.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3356
3356
|
if (!legacy)
|
|
3357
3357
|
return null;
|
|
3358
3358
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3439,7 +3439,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3439
3439
|
let recoveryState = null;
|
|
3440
3440
|
if (!currentAuthoritative) {
|
|
3441
3441
|
if (options.allowSalvagedRead) {
|
|
3442
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3442
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-nfbbc2c0.js");
|
|
3443
3443
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3444
3444
|
}
|
|
3445
3445
|
if (!recoveryState) {
|
|
@@ -14824,7 +14824,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
14824
14824
|
return extracted === expectedSessionId;
|
|
14825
14825
|
}
|
|
14826
14826
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
14827
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
14827
|
+
const collisionOwnership = await import("./worktree-collision-ownership-9gmtsqmf.js");
|
|
14828
14828
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
14829
14829
|
}
|
|
14830
14830
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -15250,7 +15250,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
15250
15250
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
15251
15251
|
if (laneProfile) {
|
|
15252
15252
|
try {
|
|
15253
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
15253
|
+
const { writeLaneProfileToDiskReal } = await import("./core-sw3g54fw.js");
|
|
15254
15254
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
15255
15255
|
} catch {}
|
|
15256
15256
|
}
|
|
@@ -16229,7 +16229,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
16229
16229
|
}
|
|
16230
16230
|
clearWorktreeMergeStatus(statusKey);
|
|
16231
16231
|
try {
|
|
16232
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
16232
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-sw3g54fw.js");
|
|
16233
16233
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
16234
16234
|
} catch {}
|
|
16235
16235
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -23858,7 +23858,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
23858
23858
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
23859
23859
|
const map = new Map;
|
|
23860
23860
|
try {
|
|
23861
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
23861
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-qs9fhjpk.js");
|
|
23862
23862
|
const records = await listActive2(directory);
|
|
23863
23863
|
for (const record of records) {
|
|
23864
23864
|
if (record.sessionID !== sessionID)
|
|
@@ -40983,9 +40983,9 @@ function hashContent(content) {
|
|
|
40983
40983
|
return createHash25("sha1").update(content).digest("hex");
|
|
40984
40984
|
}
|
|
40985
40985
|
async function loadConfigForPolicyCurator(directory) {
|
|
40986
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
40986
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-y3rs9evj.js");
|
|
40987
40987
|
try {
|
|
40988
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
40988
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mk9kd5wr.js");
|
|
40989
40989
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
40990
40990
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
40991
40991
|
} catch {
|
|
@@ -44043,7 +44043,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
44043
44043
|
const seam = _internals38.createCuratorLLMDelegate;
|
|
44044
44044
|
if (seam)
|
|
44045
44045
|
return seam(directory, mode, sessionId);
|
|
44046
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
44046
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-0n05cgjf.js");
|
|
44047
44047
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
44048
44048
|
}
|
|
44049
44049
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -44438,7 +44438,7 @@ async function runFinalizeStage(ctx) {
|
|
|
44438
44438
|
}
|
|
44439
44439
|
}
|
|
44440
44440
|
try {
|
|
44441
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
44441
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-y3rs9evj.js");
|
|
44442
44442
|
const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
|
|
44443
44443
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
44444
44444
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -46624,7 +46624,7 @@ function serializeAgentSession(s) {
|
|
|
46624
46624
|
}
|
|
46625
46625
|
async function writeSnapshot(directory, state) {
|
|
46626
46626
|
try {
|
|
46627
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
46627
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-0pytgxbn.js");
|
|
46628
46628
|
await ensureSnapshotCoordinationReady(directory);
|
|
46629
46629
|
const snapshot = {
|
|
46630
46630
|
version: 3,
|
|
@@ -49802,7 +49802,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
49802
49802
|
};
|
|
49803
49803
|
}
|
|
49804
49804
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
49805
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49805
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mk9kd5wr.js");
|
|
49806
49806
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
49807
49807
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
49808
49808
|
if (sweepConfig?.enabled === false)
|
|
@@ -50926,7 +50926,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
50926
50926
|
}
|
|
50927
50927
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
50928
50928
|
try {
|
|
50929
|
-
const skillModule = await import("./skill-generator-
|
|
50929
|
+
const skillModule = await import("./skill-generator-qc4bfp4z.js");
|
|
50930
50930
|
for (const cand of skillCandidates) {
|
|
50931
50931
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
50932
50932
|
continue;
|
|
@@ -51398,7 +51398,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
51398
51398
|
} catch {}
|
|
51399
51399
|
}
|
|
51400
51400
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
51401
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
51401
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-a9h29ayc.js");
|
|
51402
51402
|
for (const { id } of contradictedEntries) {
|
|
51403
51403
|
try {
|
|
51404
51404
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -52230,7 +52230,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
52230
52230
|
warnings.push("Failed to collect knowledge summary.");
|
|
52231
52231
|
}
|
|
52232
52232
|
try {
|
|
52233
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
52233
|
+
const { getScanStatus } = await import("./scan-cursor-z59x53tn.js");
|
|
52234
52234
|
const scanStatus = await getScanStatus(directory);
|
|
52235
52235
|
if (scanStatus.remaining_estimate > 0) {
|
|
52236
52236
|
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.`);
|
|
@@ -52402,9 +52402,9 @@ var _internals57 = {
|
|
|
52402
52402
|
verifyPostMortemKnowledgeActions,
|
|
52403
52403
|
repairPostMortemActions,
|
|
52404
52404
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
52405
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
52405
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-y3rs9evj.js");
|
|
52406
52406
|
try {
|
|
52407
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
52407
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mk9kd5wr.js");
|
|
52408
52408
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
52409
52409
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
52410
52410
|
} catch {
|
|
@@ -52412,11 +52412,11 @@ var _internals57 = {
|
|
|
52412
52412
|
}
|
|
52413
52413
|
},
|
|
52414
52414
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
52415
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
52415
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-1ffd62zb.js");
|
|
52416
52416
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
52417
52417
|
},
|
|
52418
52418
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
52419
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
52419
|
+
const { checkHivePromotions } = await import("./hive-promoter-0b8ht2g0.js");
|
|
52420
52420
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
52421
52421
|
},
|
|
52422
52422
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -52425,7 +52425,7 @@ var _internals57 = {
|
|
|
52425
52425
|
activateProposal,
|
|
52426
52426
|
listSkills: listSkills2,
|
|
52427
52427
|
sanitizeSlug
|
|
52428
|
-
} = await import("./skill-generator-
|
|
52428
|
+
} = await import("./skill-generator-qc4bfp4z.js");
|
|
52429
52429
|
const result = {
|
|
52430
52430
|
approved: [],
|
|
52431
52431
|
rejected: [],
|
|
@@ -52467,7 +52467,7 @@ var _internals57 = {
|
|
|
52467
52467
|
return result;
|
|
52468
52468
|
},
|
|
52469
52469
|
readPriorDriftReports: async (directory) => {
|
|
52470
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
52470
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-hbpphpph.js");
|
|
52471
52471
|
return readPriorDriftReports2(directory);
|
|
52472
52472
|
},
|
|
52473
52473
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -62263,9 +62263,9 @@ var _internals67 = {
|
|
|
62263
62263
|
loadPluginConfigWithMeta,
|
|
62264
62264
|
loadCuratorDeps: async () => {
|
|
62265
62265
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
62266
|
-
import("./schema-
|
|
62267
|
-
import("./curator-
|
|
62268
|
-
import("./curator-llm-factory-
|
|
62266
|
+
import("./schema-y3rs9evj.js"),
|
|
62267
|
+
import("./curator-1ffd62zb.js"),
|
|
62268
|
+
import("./curator-llm-factory-0n05cgjf.js")
|
|
62269
62269
|
]);
|
|
62270
62270
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
62271
62271
|
}
|
|
@@ -64658,7 +64658,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64658
64658
|
let scanCompleted = false;
|
|
64659
64659
|
let scanRemaining = 0;
|
|
64660
64660
|
try {
|
|
64661
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
64661
|
+
const { getScanStatus } = await import("./scan-cursor-z59x53tn.js");
|
|
64662
64662
|
const status = await getScanStatus(directory);
|
|
64663
64663
|
scanGeneration = status.generation;
|
|
64664
64664
|
scanCompleted = status.completed;
|
|
@@ -64666,19 +64666,19 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64666
64666
|
} catch {}
|
|
64667
64667
|
let configMatch = null;
|
|
64668
64668
|
try {
|
|
64669
|
-
const { isLinked: isLinked2 } = await import("./knowledge-link-
|
|
64669
|
+
const { isLinked: isLinked2 } = await import("./knowledge-link-6kxpc4x5.js");
|
|
64670
64670
|
if (isLinked2(directory)) {
|
|
64671
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
64671
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-y3rs9evj.js");
|
|
64672
64672
|
let config;
|
|
64673
64673
|
try {
|
|
64674
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
64674
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-mk9kd5wr.js");
|
|
64675
64675
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
64676
64676
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
64677
64677
|
} catch {
|
|
64678
64678
|
config = KnowledgeConfigSchema2.parse({});
|
|
64679
64679
|
}
|
|
64680
64680
|
const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
|
|
64681
|
-
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-
|
|
64681
|
+
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-734npcqk.js");
|
|
64682
64682
|
const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
|
|
64683
64683
|
const cohortFp = await readCohortConfigFingerprint(directory);
|
|
64684
64684
|
configMatch = cohortFp === null ? null : currentFp === cohortFp;
|
|
@@ -66126,7 +66126,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
66126
66126
|
const result = runConfigDoctor(config, directory);
|
|
66127
66127
|
let output;
|
|
66128
66128
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
66129
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
66129
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-0v3a8gwd.js");
|
|
66130
66130
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
66131
66131
|
applyLossy: true
|
|
66132
66132
|
});
|
|
@@ -66164,7 +66164,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
66164
66164
|
`;
|
|
66165
66165
|
}
|
|
66166
66166
|
try {
|
|
66167
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
66167
|
+
const { runModelPreflight } = await import("./model-preflight-dxm5dcej.js");
|
|
66168
66168
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
66169
66169
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
66170
66170
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -67091,7 +67091,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
67091
67091
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
67092
67092
|
}
|
|
67093
67093
|
async function handleEvidenceSummaryCommand(directory) {
|
|
67094
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
67094
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-yynh7bqj.js");
|
|
67095
67095
|
const artifact = await buildEvidenceSummary(directory);
|
|
67096
67096
|
if (!artifact) {
|
|
67097
67097
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -80037,28 +80037,34 @@ ${USAGE12}`;
|
|
|
80037
80037
|
timestamp: new Date().toISOString()
|
|
80038
80038
|
};
|
|
80039
80039
|
}
|
|
80040
|
-
const traceState = {
|
|
80040
|
+
const traceState = parsed.trace ? {
|
|
80041
80041
|
issueNumber: issueInfo.number,
|
|
80042
80042
|
lastTransition: null,
|
|
80043
80043
|
status: "in_progress"
|
|
80044
|
-
};
|
|
80044
|
+
} : null;
|
|
80045
80045
|
let oldTraceState = null;
|
|
80046
|
-
|
|
80047
|
-
|
|
80048
|
-
|
|
80046
|
+
if (traceState) {
|
|
80047
|
+
try {
|
|
80048
|
+
oldTraceState = _internals84.readFileSync(path108.join(swarmDir, "issue-trace-state.json"), "utf-8");
|
|
80049
|
+
} catch {}
|
|
80050
|
+
}
|
|
80049
80051
|
try {
|
|
80050
80052
|
_internals84.mkdirSync(swarmDir, { recursive: true });
|
|
80051
|
-
|
|
80053
|
+
if (traceState) {
|
|
80054
|
+
atomicWriteFileSync(swarmDir, "issue-trace-state.json", JSON.stringify(traceState, null, 2));
|
|
80055
|
+
}
|
|
80052
80056
|
atomicWriteFileSync(swarmDir, "issue-reference.json", JSON.stringify(issueReference, null, 2));
|
|
80053
80057
|
} catch (e) {
|
|
80054
|
-
if (
|
|
80055
|
-
|
|
80056
|
-
|
|
80057
|
-
|
|
80058
|
-
|
|
80059
|
-
|
|
80060
|
-
|
|
80061
|
-
|
|
80058
|
+
if (traceState) {
|
|
80059
|
+
if (oldTraceState !== null) {
|
|
80060
|
+
try {
|
|
80061
|
+
atomicWriteFileSync(swarmDir, "issue-trace-state.json", oldTraceState);
|
|
80062
|
+
} catch {}
|
|
80063
|
+
} else {
|
|
80064
|
+
try {
|
|
80065
|
+
_internals84.unlinkSync(path108.join(swarmDir, "issue-trace-state.json"));
|
|
80066
|
+
} catch {}
|
|
80067
|
+
}
|
|
80062
80068
|
}
|
|
80063
80069
|
try {
|
|
80064
80070
|
_internals84.unlinkSync(path108.join(swarmDir, "issue-reference.json"));
|
|
@@ -91365,7 +91371,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
91365
91371
|
}
|
|
91366
91372
|
const sdkOpts = signal ? { signal } : {};
|
|
91367
91373
|
try {
|
|
91368
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
91374
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-vx1dt9x3.js");
|
|
91369
91375
|
const createResult = await client.session.create({
|
|
91370
91376
|
...sessionId ? {
|
|
91371
91377
|
body: {
|
|
@@ -93338,7 +93344,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
93338
93344
|
clearedEvents: []
|
|
93339
93345
|
};
|
|
93340
93346
|
try {
|
|
93341
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
93347
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-nfbbc2c0.js");
|
|
93342
93348
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
93343
93349
|
} catch (err) {
|
|
93344
93350
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -106876,7 +106882,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
|
|
|
106876
106882
|
if (!input.dispatcher) {
|
|
106877
106883
|
throw new Error("no evaluation dispatcher available (cannot run validation)");
|
|
106878
106884
|
}
|
|
106879
|
-
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-
|
|
106885
|
+
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-wfd9dys9.js");
|
|
106880
106886
|
const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
|
|
106881
106887
|
const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals128.evaluateCandidateV1({
|
|
106882
106888
|
projectRoot: input.directory,
|
|
@@ -109505,7 +109511,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
109505
109511
|
async function handleHelpCommand(ctx) {
|
|
109506
109512
|
const targetCommand = ctx.args.join(" ");
|
|
109507
109513
|
if (!targetCommand) {
|
|
109508
|
-
const { buildHelpText } = await import("./index-
|
|
109514
|
+
const { buildHelpText } = await import("./index-cq1gpknp.js");
|
|
109509
109515
|
return buildHelpText();
|
|
109510
109516
|
}
|
|
109511
109517
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -109519,7 +109525,7 @@ async function handleHelpCommand(ctx) {
|
|
|
109519
109525
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
109520
109526
|
}
|
|
109521
109527
|
const similar = _internals26.findSimilarCommands(targetCommand);
|
|
109522
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
109528
|
+
const { buildHelpText: fullHelp } = await import("./index-cq1gpknp.js");
|
|
109523
109529
|
if (similar.length > 0) {
|
|
109524
109530
|
return `Command '/swarm ${targetCommand}' not found.
|
|
109525
109531
|
|
|
@@ -109834,7 +109840,7 @@ var COMMAND_REGISTRY = {
|
|
|
109834
109840
|
},
|
|
109835
109841
|
"guardrail explain": {
|
|
109836
109842
|
handler: async (ctx) => {
|
|
109837
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
109843
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-sadek1sk.js");
|
|
109838
109844
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
109839
109845
|
},
|
|
109840
109846
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -109844,7 +109850,7 @@ var COMMAND_REGISTRY = {
|
|
|
109844
109850
|
},
|
|
109845
109851
|
"guardrail reset": {
|
|
109846
109852
|
handler: async (ctx) => {
|
|
109847
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
109853
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-nwyhnz98.js");
|
|
109848
109854
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
109849
109855
|
},
|
|
109850
109856
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -109865,7 +109871,7 @@ var COMMAND_REGISTRY = {
|
|
|
109865
109871
|
},
|
|
109866
109872
|
"guardrail-log": {
|
|
109867
109873
|
handler: async (ctx) => {
|
|
109868
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
109874
|
+
const { handleGuardrailLog } = await import("./guardrail-log-7202nsc9.js");
|
|
109869
109875
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
109870
109876
|
},
|
|
109871
109877
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|