opencode-swarm 7.164.3 → 7.164.5
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/dist/cli/{coder-settlement-m918n7qj.js → coder-settlement-x9wbqx46.js} +11 -11
- package/dist/cli/{config-doctor-5kytbwbx.js → config-doctor-axd9d6hs.js} +2 -2
- package/dist/cli/{core-anw5khk2.js → core-f1a1fk13.js} +1 -1
- package/dist/cli/{curation-policy-7pnmnfct.js → curation-policy-2cy7wejw.js} +6 -6
- package/dist/cli/{curator-yq6raqgs.js → curator-b104f7a7.js} +34 -34
- package/dist/cli/{curator-drift-ykrdf08r.js → curator-drift-3s3q4wsy.js} +4 -4
- package/dist/cli/curator-llm-factory-cv7ft0mb.js +66 -0
- package/dist/cli/{evidence-summary-service-8sbxvt2x.js → evidence-summary-service-5xsjs3x3.js} +15 -15
- package/dist/cli/{gate-evidence-53v7e938.js → gate-evidence-ypja4156.js} +7 -7
- package/dist/cli/guardrail-explain-cvha7b9p.js +67 -0
- package/dist/cli/{guardrail-log-q5sj7zby.js → guardrail-log-6t4e2j5f.js} +7 -7
- package/dist/cli/{guardrail-reset-dw45p5zc.js → guardrail-reset-es0bg976.js} +34 -34
- package/dist/cli/{hive-promoter-0axzw0h5.js → hive-promoter-yzv5g7jy.js} +34 -34
- package/dist/cli/{index-95hhrw1d.js → index-0trtcm9n.js} +9 -9
- package/dist/cli/{index-hcn69kp0.js → index-0zbze3n6.js} +1 -1
- package/dist/cli/{index-ac39znep.js → index-164m995b.js} +2 -2
- package/dist/cli/{index-bzd67m2j.js → index-1dz8hv7p.js} +4 -4
- package/dist/cli/{index-y2f5s2cf.js → index-1f4nandk.js} +1 -1
- package/dist/cli/{index-aty2dfmt.js → index-1q2dwv69.js} +1 -1
- package/dist/cli/{index-2xj34nkh.js → index-25jze7sf.js} +1 -1
- package/dist/cli/{index-5d7bzpfn.js → index-25z5qwkk.js} +1 -1
- package/dist/cli/{index-ehf0vjhx.js → index-3gb7bw7h.js} +88 -77
- package/dist/cli/{index-11st3tgy.js → index-3rrc5x4v.js} +2 -2
- package/dist/cli/{index-zs1jrsta.js → index-4emx8hhh.js} +2 -2
- package/dist/cli/{index-j98116cx.js → index-4jmtdtm9.js} +2 -2
- package/dist/cli/{index-w5jpjaqe.js → index-4krjn1gn.js} +2 -2
- package/dist/cli/{index-0145kpjr.js → index-50s9q4c1.js} +2 -2
- package/dist/cli/{index-4wneygfx.js → index-553veay1.js} +75 -23
- package/dist/cli/{index-88g6q52x.js → index-7rat6nyh.js} +4 -4
- package/dist/cli/{index-sn2vm710.js → index-8h9nng7f.js} +5 -5
- package/dist/cli/{index-xkqja15t.js → index-aaqbhn9h.js} +2 -2
- package/dist/cli/{index-5pxdtskj.js → index-aper29nf.js} +1 -1
- package/dist/cli/{index-8t11vcf5.js → index-ea7sehgy.js} +3 -3
- package/dist/cli/{index-kyayzfxp.js → index-er8ba9be.js} +4 -4
- package/dist/cli/{index-9pwa798m.js → index-fwebva1m.js} +7 -7
- package/dist/cli/{index-yep24wn4.js → index-fxxja498.js} +1 -1
- package/dist/cli/{index-sb4eanpv.js → index-hnjkpk57.js} +1 -1
- package/dist/cli/{index-kn0y788q.js → index-j9a4fsxg.js} +1 -1
- package/dist/cli/{index-493mxwj5.js → index-maxz22c1.js} +21 -21
- package/dist/cli/{index-0e34njnm.js → index-q0gtgwyr.js} +7 -7
- package/dist/cli/{index-fc153g7b.js → index-rc6hec4j.js} +4 -4
- package/dist/cli/{index-v56mhyhs.js → index-rz87mx1c.js} +1 -1
- package/dist/cli/{index-rhdwrfgc.js → index-s09b63xg.js} +5 -5
- package/dist/cli/{index-aaqzcnb9.js → index-ssb67ff6.js} +36 -36
- package/dist/cli/{index-f9nfknjg.js → index-tfa2p4y4.js} +3 -3
- package/dist/cli/{index-jwc2v92w.js → index-wbnyc50b.js} +5 -5
- package/dist/cli/{index-qbr05tbw.js → index-xj4kbtdw.js} +2 -2
- package/dist/cli/{index-yhpbcrdk.js → index-xm7dc14y.js} +13 -13
- package/dist/cli/{index-c8k4cs94.js → index-y42pra05.js} +5 -5
- package/dist/cli/{index-84qah5h6.js → index-yrsag0vs.js} +31 -52
- package/dist/cli/{index-3fpqmms2.js → index-ywtcznk2.js} +12 -4
- package/dist/cli/index.js +34 -34
- package/dist/cli/{knowledge-escalator-atn5tfy2.js → knowledge-escalator-evjd8g7y.js} +13 -13
- package/dist/cli/{knowledge-events-58ha93tx.js → knowledge-events-q46z1wy6.js} +11 -11
- package/dist/cli/{knowledge-link-2gh1cnk3.js → knowledge-link-ffmzf72f.js} +5 -5
- package/dist/cli/{knowledge-store-2vkn4qyy.js → knowledge-store-z82f5x9k.js} +6 -6
- package/dist/cli/{knowledge-validator-gcbfq9er.js → knowledge-validator-19gbnxx2.js} +8 -8
- package/dist/cli/{pending-delegations-esp3gpac.js → pending-delegations-t4cqk5ha.js} +6 -6
- package/dist/cli/{pr-subscriptions-sdv0n59c.js → pr-subscriptions-3enjtq0k.js} +6 -6
- package/dist/cli/{pr-workflow-gate-v5wh09wz.js → pr-workflow-gate-3ecgfsge.js} +34 -34
- package/dist/cli/{runner-m95v9d47.js → runner-wqy2hbxn.js} +6 -6
- package/dist/cli/{scan-cursor-6x0sqjer.js → scan-cursor-8wcy0dvf.js} +7 -7
- package/dist/cli/{schema-mgpsycrr.js → schema-hsw9r2tm.js} +5 -1
- package/dist/cli/{scope-persistence-pwqshfyr.js → scope-persistence-mbwt4grd.js} +9 -9
- package/dist/cli/{skill-generator-bywdfza0.js → skill-generator-kg32a5jy.js} +15 -15
- package/dist/cli/{telemetry-c4j18da8.js → telemetry-j14cj552.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-71x5pqfz.js → worktree-collision-ownership-0rfw6kp3.js} +7 -7
- package/dist/cli/{worktree-isolation-e6tym281.js → worktree-isolation-qcwt09ve.js} +34 -34
- package/dist/config/index.d.ts +3 -3
- package/dist/config/loader.d.ts +34 -1
- package/dist/config/plan-schema.d.ts +1 -1
- package/dist/config/schema.d.ts +61 -7
- package/dist/council/council-review-identity.d.ts +1 -1
- package/dist/index.js +69 -69
- package/dist/plan/ledger.d.ts +56 -29
- package/dist/services/skill-optimizer/store.d.ts +1 -1
- package/dist/tools/build-check.d.ts +8 -0
- package/dist/tools/placeholder-scan.d.ts +10 -1
- package/dist/tools/pre-check-batch.d.ts +20 -8
- package/dist/tools/quality-budget.d.ts +2 -0
- package/dist/tools/sast-scan.d.ts +10 -2
- package/dist/tools/sbom-generate.d.ts +14 -0
- package/dist/tools/syntax-check.d.ts +11 -3
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-6swjnnb1.js +0 -66
- package/dist/cli/guardrail-explain-jhsqdzxr.js +0 -67
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveExecutableFromPath,
|
|
7
7
|
runEvaluation,
|
|
8
8
|
runExternalTool
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-25jze7sf.js";
|
|
10
10
|
import {
|
|
11
11
|
finalizeShellAuditForClose,
|
|
12
12
|
isPolicyProtectedPath,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
protectedRoots,
|
|
16
16
|
redactDecisionLineForArchive,
|
|
17
17
|
stableCanonicalStringify
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-ea7sehgy.js";
|
|
19
19
|
import {
|
|
20
20
|
detectStraySwarmDirs,
|
|
21
21
|
readDoctorArtifact,
|
|
22
22
|
removeStraySwarmDir,
|
|
23
23
|
runConfigDoctor
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-1q2dwv69.js";
|
|
25
25
|
import {
|
|
26
26
|
MAX_TRANSIENT_RETRIES,
|
|
27
27
|
archiveEvidence,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
validateProjectRoot,
|
|
66
66
|
validateSymlinkBoundary,
|
|
67
67
|
validateTargetWithinRoot
|
|
68
|
-
} from "./index-
|
|
68
|
+
} from "./index-maxz22c1.js";
|
|
69
69
|
import {
|
|
70
70
|
EvaluationTaskV1Schema,
|
|
71
71
|
GateAuditManifestV1Schema,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
saveGateAuditResult,
|
|
83
83
|
savePromotionDecision,
|
|
84
84
|
saveTaskSetSnapshot
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-4krjn1gn.js";
|
|
86
86
|
import {
|
|
87
87
|
canonicalHash,
|
|
88
88
|
canonicalJson,
|
|
@@ -124,15 +124,15 @@ import {
|
|
|
124
124
|
retireSkill,
|
|
125
125
|
selectCandidateEntries,
|
|
126
126
|
syncBundledProjectSkillsIfMissingAsync
|
|
127
|
-
} from "./index-
|
|
127
|
+
} from "./index-7rat6nyh.js";
|
|
128
128
|
import {
|
|
129
129
|
readRecentEscalations
|
|
130
|
-
} from "./index-
|
|
130
|
+
} from "./index-s09b63xg.js";
|
|
131
131
|
import {
|
|
132
132
|
alreadyCuratedThisGeneration,
|
|
133
133
|
claimNextScanBatch,
|
|
134
134
|
resolveCohortId
|
|
135
|
-
} from "./index-
|
|
135
|
+
} from "./index-aaqbhn9h.js";
|
|
136
136
|
import {
|
|
137
137
|
CURATOR_INIT_PROMPT,
|
|
138
138
|
CURATOR_PHASE_PROMPT,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
getGlobalEventBus,
|
|
144
144
|
getGroupCommitWriter,
|
|
145
145
|
importLegacyJsonl
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-1f4nandk.js";
|
|
147
147
|
import {
|
|
148
148
|
DURABILITY_CLASSES,
|
|
149
149
|
applySynchronousForClass,
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
resolveSpeckitProjection,
|
|
160
160
|
validateSpeckit,
|
|
161
161
|
writeProjectedSpecSync
|
|
162
|
-
} from "./index-
|
|
162
|
+
} from "./index-0zbze3n6.js";
|
|
163
163
|
import {
|
|
164
164
|
loadDatabaseCtor
|
|
165
165
|
} from "./index-zaab1wz9.js";
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
listActive,
|
|
170
170
|
subscribe,
|
|
171
171
|
unsubscribe
|
|
172
|
-
} from "./index-
|
|
172
|
+
} from "./index-y42pra05.js";
|
|
173
173
|
import {
|
|
174
174
|
clearWorktreeMergeStatus,
|
|
175
175
|
getAllWorktreeMergeFailures,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
listCoderSettlementWalStates,
|
|
182
182
|
recoverCoderSettlement,
|
|
183
183
|
recoverStaleCoderSettlements
|
|
184
|
-
} from "./index-
|
|
184
|
+
} from "./index-fwebva1m.js";
|
|
185
185
|
import {
|
|
186
186
|
parsePorcelainV2Snapshot,
|
|
187
187
|
resolveCommitCountSince,
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
WORKTREE_LIFECYCLE_LOCK_FILE,
|
|
215
215
|
recordWorktreeProvisioningOwner,
|
|
216
216
|
removeWorktreeProvisioningOwner
|
|
217
|
-
} from "./index-
|
|
217
|
+
} from "./index-xj4kbtdw.js";
|
|
218
218
|
import {
|
|
219
219
|
appendUnactionable,
|
|
220
220
|
quarantineEntry,
|
|
@@ -225,11 +225,11 @@ import {
|
|
|
225
225
|
validateActionableFields,
|
|
226
226
|
validateLesson,
|
|
227
227
|
validateSkillPath
|
|
228
|
-
} from "./index-
|
|
228
|
+
} from "./index-rc6hec4j.js";
|
|
229
229
|
import {
|
|
230
230
|
authorizeCuration,
|
|
231
231
|
buildConfigFingerprintInput
|
|
232
|
-
} from "./index-
|
|
232
|
+
} from "./index-hnjkpk57.js";
|
|
233
233
|
import {
|
|
234
234
|
cohortConfigFingerprint
|
|
235
235
|
} from "./index-rtry5xyf.js";
|
|
@@ -260,12 +260,12 @@ import {
|
|
|
260
260
|
transitionTaskWorkflowEvidence,
|
|
261
261
|
withTaskEvidenceTransaction,
|
|
262
262
|
writeWorkflowWalFile
|
|
263
|
-
} from "./index-
|
|
263
|
+
} from "./index-wbnyc50b.js";
|
|
264
264
|
import {
|
|
265
265
|
makeWorktreeBranchName,
|
|
266
266
|
provisionWorktree,
|
|
267
267
|
removeWorktree
|
|
268
|
-
} from "./index-
|
|
268
|
+
} from "./index-j9a4fsxg.js";
|
|
269
269
|
import {
|
|
270
270
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
271
271
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
scanBackgroundCoderReservationsForAdmission,
|
|
299
299
|
scanDelegationsForRecovery,
|
|
300
300
|
sweepStaleDelegations
|
|
301
|
-
} from "./index-
|
|
301
|
+
} from "./index-er8ba9be.js";
|
|
302
302
|
import {
|
|
303
303
|
compositeSessionKey,
|
|
304
304
|
sessionKeySuffix
|
|
@@ -309,10 +309,10 @@ import {
|
|
|
309
309
|
clearAllScopes,
|
|
310
310
|
clearScopeBindingFromDisk,
|
|
311
311
|
clearScopeBindings
|
|
312
|
-
} from "./index-
|
|
312
|
+
} from "./index-8h9nng7f.js";
|
|
313
313
|
import {
|
|
314
314
|
appendLedgerEvent,
|
|
315
|
-
|
|
315
|
+
computePlanLedgerHash,
|
|
316
316
|
computePlanStructureHash,
|
|
317
317
|
derivePlanId,
|
|
318
318
|
derivePlanIdentityHash,
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
readPlanEpochIdentity,
|
|
325
325
|
replayFromLedgerWithStatus,
|
|
326
326
|
takeSnapshotEvent
|
|
327
|
-
} from "./index-
|
|
327
|
+
} from "./index-xm7dc14y.js";
|
|
328
328
|
import {
|
|
329
329
|
CORE_EVENT_LOCKED,
|
|
330
330
|
appendCoreEventSync,
|
|
@@ -334,7 +334,7 @@ import {
|
|
|
334
334
|
hasSpecDriftAuditEvent,
|
|
335
335
|
hasTaskRepairAuditEvent,
|
|
336
336
|
readCoreEvents
|
|
337
|
-
} from "./index-
|
|
337
|
+
} from "./index-50s9q4c1.js";
|
|
338
338
|
import {
|
|
339
339
|
sanitizeDiagnosticText
|
|
340
340
|
} from "./index-556ja8an.js";
|
|
@@ -383,7 +383,7 @@ import {
|
|
|
383
383
|
transactFile,
|
|
384
384
|
transactKnowledge,
|
|
385
385
|
wordBigrams
|
|
386
|
-
} from "./index-
|
|
386
|
+
} from "./index-q0gtgwyr.js";
|
|
387
387
|
import {
|
|
388
388
|
MAX_EVENT_LOG_ENTRIES,
|
|
389
389
|
_internals as _internals2,
|
|
@@ -399,10 +399,10 @@ import {
|
|
|
399
399
|
recordKnowledgeEvent,
|
|
400
400
|
recordPhaseCloseIntent,
|
|
401
401
|
resolveKnowledgeEventsPath
|
|
402
|
-
} from "./index-
|
|
402
|
+
} from "./index-0trtcm9n.js";
|
|
403
403
|
import {
|
|
404
404
|
resolveWorktreeIsolationConfig
|
|
405
|
-
} from "./index-
|
|
405
|
+
} from "./index-4jmtdtm9.js";
|
|
406
406
|
import {
|
|
407
407
|
RetrospectiveEvidenceSchema
|
|
408
408
|
} from "./index-zg9d392c.js";
|
|
@@ -411,7 +411,7 @@ import {
|
|
|
411
411
|
readSwarmFileAsync,
|
|
412
412
|
safeHook,
|
|
413
413
|
validateSwarmPath
|
|
414
|
-
} from "./index-
|
|
414
|
+
} from "./index-rz87mx1c.js";
|
|
415
415
|
import {
|
|
416
416
|
bunSpawn,
|
|
417
417
|
bunSpawnSync,
|
|
@@ -423,9 +423,10 @@ import {
|
|
|
423
423
|
PlanSchema,
|
|
424
424
|
exports_loader,
|
|
425
425
|
init_loader,
|
|
426
|
+
loadGateOverrides,
|
|
426
427
|
loadPluginConfig,
|
|
427
428
|
loadPluginConfigWithMeta
|
|
428
|
-
} from "./index-
|
|
429
|
+
} from "./index-553veay1.js";
|
|
429
430
|
import {
|
|
430
431
|
DEFAULT_HARNESS_EVOLUTION_CONFIG,
|
|
431
432
|
DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
|
|
@@ -442,7 +443,7 @@ import {
|
|
|
442
443
|
resolveAutoReviewConfig,
|
|
443
444
|
resolveGeneratedAgentRole,
|
|
444
445
|
stripKnownSwarmPrefix
|
|
445
|
-
} from "./index-
|
|
446
|
+
} from "./index-yrsag0vs.js";
|
|
446
447
|
import {
|
|
447
448
|
init_git_executable,
|
|
448
449
|
resolveGitExecutable,
|
|
@@ -458,7 +459,7 @@ import {
|
|
|
458
459
|
observeCuratorCompliance,
|
|
459
460
|
observeStoreHealth,
|
|
460
461
|
readLearningHealth
|
|
461
|
-
} from "./index-
|
|
462
|
+
} from "./index-164m995b.js";
|
|
462
463
|
import {
|
|
463
464
|
AGENT_TOOL_MAP,
|
|
464
465
|
ALL_AGENT_NAMES,
|
|
@@ -489,10 +490,10 @@ import {
|
|
|
489
490
|
resolveLinkDir,
|
|
490
491
|
sanitizeLinkId,
|
|
491
492
|
writeLinkPointer
|
|
492
|
-
} from "./index-
|
|
493
|
+
} from "./index-25z5qwkk.js";
|
|
493
494
|
import {
|
|
494
495
|
atomicWriteFile
|
|
495
|
-
} from "./index-
|
|
496
|
+
} from "./index-4emx8hhh.js";
|
|
496
497
|
import {
|
|
497
498
|
KNOWLEDGE_SCHEMA_VERSION,
|
|
498
499
|
OUTCOME_BLOCK_THRESHOLD,
|
|
@@ -506,7 +507,7 @@ import {
|
|
|
506
507
|
listActiveLocks,
|
|
507
508
|
tryAcquireLock,
|
|
508
509
|
withEvidenceLock
|
|
509
|
-
} from "./index-
|
|
510
|
+
} from "./index-fxxja498.js";
|
|
510
511
|
import {
|
|
511
512
|
atomicWriteSwarmFile,
|
|
512
513
|
atomicWriteSwarmFileSync,
|
|
@@ -514,12 +515,12 @@ import {
|
|
|
514
515
|
matchTempGrammar,
|
|
515
516
|
parseTargetBasename,
|
|
516
517
|
resetSwarmArtifactCache
|
|
517
|
-
} from "./index-
|
|
518
|
+
} from "./index-tfa2p4y4.js";
|
|
518
519
|
import {
|
|
519
520
|
emit,
|
|
520
521
|
getLastHeartbeat,
|
|
521
522
|
telemetry
|
|
522
|
-
} from "./index-
|
|
523
|
+
} from "./index-1dz8hv7p.js";
|
|
523
524
|
import {
|
|
524
525
|
require_proper_lockfile
|
|
525
526
|
} from "./index-7g4c7s5r.js";
|
|
@@ -26104,7 +26105,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
26104
26105
|
};
|
|
26105
26106
|
}
|
|
26106
26107
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
26107
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
26108
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ywtcznk2.js");
|
|
26108
26109
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
26109
26110
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
26110
26111
|
if (sweepConfig?.enabled === false)
|
|
@@ -27241,7 +27242,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
27241
27242
|
}
|
|
27242
27243
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
27243
27244
|
try {
|
|
27244
|
-
const skillModule = await import("./skill-generator-
|
|
27245
|
+
const skillModule = await import("./skill-generator-kg32a5jy.js");
|
|
27245
27246
|
for (const cand of skillCandidates) {
|
|
27246
27247
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
27247
27248
|
continue;
|
|
@@ -27713,7 +27714,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
27713
27714
|
} catch {}
|
|
27714
27715
|
}
|
|
27715
27716
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
27716
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
27717
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-evjd8g7y.js");
|
|
27717
27718
|
for (const { id } of contradictedEntries) {
|
|
27718
27719
|
try {
|
|
27719
27720
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -28545,7 +28546,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
28545
28546
|
warnings.push("Failed to collect knowledge summary.");
|
|
28546
28547
|
}
|
|
28547
28548
|
try {
|
|
28548
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
28549
|
+
const { getScanStatus } = await import("./scan-cursor-8wcy0dvf.js");
|
|
28549
28550
|
const scanStatus = await getScanStatus(directory);
|
|
28550
28551
|
if (scanStatus.remaining_estimate > 0) {
|
|
28551
28552
|
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.`);
|
|
@@ -28717,9 +28718,9 @@ var _internals28 = {
|
|
|
28717
28718
|
verifyPostMortemKnowledgeActions,
|
|
28718
28719
|
repairPostMortemActions,
|
|
28719
28720
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
28720
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
28721
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hsw9r2tm.js");
|
|
28721
28722
|
try {
|
|
28722
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
28723
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ywtcznk2.js");
|
|
28723
28724
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
28724
28725
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
28725
28726
|
} catch {
|
|
@@ -28727,11 +28728,11 @@ var _internals28 = {
|
|
|
28727
28728
|
}
|
|
28728
28729
|
},
|
|
28729
28730
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
28730
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
28731
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-b104f7a7.js");
|
|
28731
28732
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
28732
28733
|
},
|
|
28733
28734
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
28734
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
28735
|
+
const { checkHivePromotions } = await import("./hive-promoter-yzv5g7jy.js");
|
|
28735
28736
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
28736
28737
|
},
|
|
28737
28738
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -28740,7 +28741,7 @@ var _internals28 = {
|
|
|
28740
28741
|
activateProposal,
|
|
28741
28742
|
listSkills: listSkills2,
|
|
28742
28743
|
sanitizeSlug
|
|
28743
|
-
} = await import("./skill-generator-
|
|
28744
|
+
} = await import("./skill-generator-kg32a5jy.js");
|
|
28744
28745
|
const result = {
|
|
28745
28746
|
approved: [],
|
|
28746
28747
|
rejected: [],
|
|
@@ -28782,7 +28783,7 @@ var _internals28 = {
|
|
|
28782
28783
|
return result;
|
|
28783
28784
|
},
|
|
28784
28785
|
readPriorDriftReports: async (directory) => {
|
|
28785
|
-
const { readPriorDriftReports } = await import("./curator-drift-
|
|
28786
|
+
const { readPriorDriftReports } = await import("./curator-drift-3s3q4wsy.js");
|
|
28786
28787
|
return readPriorDriftReports(directory);
|
|
28787
28788
|
},
|
|
28788
28789
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -30069,9 +30070,9 @@ function hashContent(content) {
|
|
|
30069
30070
|
return createHash17("sha1").update(content).digest("hex");
|
|
30070
30071
|
}
|
|
30071
30072
|
async function loadConfigForPolicyCurator(directory) {
|
|
30072
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
30073
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hsw9r2tm.js");
|
|
30073
30074
|
try {
|
|
30074
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
30075
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ywtcznk2.js");
|
|
30075
30076
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
30076
30077
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
30077
30078
|
} catch {
|
|
@@ -42734,7 +42735,7 @@ async function runFinalizeStage(ctx) {
|
|
|
42734
42735
|
}
|
|
42735
42736
|
}
|
|
42736
42737
|
try {
|
|
42737
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
42738
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-hsw9r2tm.js");
|
|
42738
42739
|
const { config: pmLoadedConfig } = _internals42.loadPluginConfigWithMeta(ctx.directory);
|
|
42739
42740
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
42740
42741
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -43623,7 +43624,7 @@ var _internals42 = {
|
|
|
43623
43624
|
closePlanTerminalState: reconcileCloseTerminalStateForPlan,
|
|
43624
43625
|
endAgentSession,
|
|
43625
43626
|
flushAndDrainTelemetry: async () => {
|
|
43626
|
-
const { flushAndDrainTelemetry } = await import("./telemetry-
|
|
43627
|
+
const { flushAndDrainTelemetry } = await import("./telemetry-j14cj552.js");
|
|
43627
43628
|
return flushAndDrainTelemetry();
|
|
43628
43629
|
},
|
|
43629
43630
|
finalizeContextTelemetry: (directory) => {
|
|
@@ -44961,9 +44962,9 @@ var _internals46 = {
|
|
|
44961
44962
|
loadPluginConfigWithMeta,
|
|
44962
44963
|
loadCuratorDeps: async () => {
|
|
44963
44964
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
44964
|
-
import("./schema-
|
|
44965
|
-
import("./curator-
|
|
44966
|
-
import("./curator-llm-factory-
|
|
44965
|
+
import("./schema-hsw9r2tm.js"),
|
|
44966
|
+
import("./curator-b104f7a7.js"),
|
|
44967
|
+
import("./curator-llm-factory-cv7ft0mb.js")
|
|
44967
44968
|
]);
|
|
44968
44969
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
44969
44970
|
}
|
|
@@ -46006,7 +46007,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
46006
46007
|
let scanCompleted = false;
|
|
46007
46008
|
let scanRemaining = 0;
|
|
46008
46009
|
try {
|
|
46009
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
46010
|
+
const { getScanStatus } = await import("./scan-cursor-8wcy0dvf.js");
|
|
46010
46011
|
const status = await getScanStatus(directory);
|
|
46011
46012
|
scanGeneration = status.generation;
|
|
46012
46013
|
scanCompleted = status.completed;
|
|
@@ -46014,19 +46015,19 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
46014
46015
|
} catch {}
|
|
46015
46016
|
let configMatch = null;
|
|
46016
46017
|
try {
|
|
46017
|
-
const { isLinked: isLinked2 } = await import("./knowledge-link-
|
|
46018
|
+
const { isLinked: isLinked2 } = await import("./knowledge-link-ffmzf72f.js");
|
|
46018
46019
|
if (isLinked2(directory)) {
|
|
46019
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
46020
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-hsw9r2tm.js");
|
|
46020
46021
|
let config;
|
|
46021
46022
|
try {
|
|
46022
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
46023
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ywtcznk2.js");
|
|
46023
46024
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
46024
46025
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
46025
46026
|
} catch {
|
|
46026
46027
|
config = KnowledgeConfigSchema2.parse({});
|
|
46027
46028
|
}
|
|
46028
46029
|
const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
|
|
46029
|
-
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-
|
|
46030
|
+
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-2cy7wejw.js");
|
|
46030
46031
|
const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
|
|
46031
46032
|
const cohortFp = await readCohortConfigFingerprint(directory);
|
|
46032
46033
|
configMatch = cohortFp === null ? null : currentFp === cohortFp;
|
|
@@ -47415,7 +47416,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
47415
47416
|
const result = runConfigDoctor(config, directory);
|
|
47416
47417
|
let output;
|
|
47417
47418
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
47418
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
47419
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-axd9d6hs.js");
|
|
47419
47420
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
47420
47421
|
applyLossy: true
|
|
47421
47422
|
});
|
|
@@ -48355,7 +48356,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
48355
48356
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
48356
48357
|
}
|
|
48357
48358
|
async function handleEvidenceSummaryCommand(directory) {
|
|
48358
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
48359
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-5xsjs3x3.js");
|
|
48359
48360
|
const artifact = await buildEvidenceSummary(directory);
|
|
48360
48361
|
if (!artifact) {
|
|
48361
48362
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -51024,13 +51025,21 @@ var quality_budget = createSwarmTool({
|
|
|
51024
51025
|
}).optional().describe("Quality budget thresholds")
|
|
51025
51026
|
},
|
|
51026
51027
|
async execute(args, directory, ctx) {
|
|
51027
|
-
const
|
|
51028
|
+
const typedArgs = args;
|
|
51029
|
+
const fileOverrides = _internals55.loadGateOverrides(directory)?.quality_budget;
|
|
51030
|
+
const mergedConfig = {
|
|
51031
|
+
...fileOverrides,
|
|
51032
|
+
...typedArgs.config,
|
|
51033
|
+
...fileOverrides?.enabled === false ? { enabled: false } : {}
|
|
51034
|
+
};
|
|
51035
|
+
const result = await _internals55.qualityBudget({ changed_files: typedArgs.changed_files, config: mergedConfig }, directory, ctx?.abort);
|
|
51028
51036
|
return JSON.stringify(result);
|
|
51029
51037
|
}
|
|
51030
51038
|
});
|
|
51031
51039
|
var _internals55 = {
|
|
51032
51040
|
qualityBudget,
|
|
51033
|
-
computeQualityMetrics
|
|
51041
|
+
computeQualityMetrics,
|
|
51042
|
+
loadGateOverrides
|
|
51034
51043
|
};
|
|
51035
51044
|
|
|
51036
51045
|
// src/tools/sast-scan.ts
|
|
@@ -53745,7 +53754,7 @@ function scanFileWithTierA(filePath, language) {
|
|
|
53745
53754
|
return [];
|
|
53746
53755
|
}
|
|
53747
53756
|
}
|
|
53748
|
-
async function sastScan(input, directory,
|
|
53757
|
+
async function sastScan(input, directory, gates) {
|
|
53749
53758
|
const {
|
|
53750
53759
|
changed_files,
|
|
53751
53760
|
severity_threshold = "medium",
|
|
@@ -53754,11 +53763,12 @@ async function sastScan(input, directory, config) {
|
|
|
53754
53763
|
offline_only = false,
|
|
53755
53764
|
abort_signal
|
|
53756
53765
|
} = input;
|
|
53757
|
-
if (
|
|
53766
|
+
if (gates?.sast_scan?.enabled === false) {
|
|
53758
53767
|
return {
|
|
53759
53768
|
verdict: "pass",
|
|
53760
53769
|
findings: [],
|
|
53761
53770
|
summary: {
|
|
53771
|
+
disabled_reason: "sast_scan disabled by configuration",
|
|
53762
53772
|
engine: "tier_a",
|
|
53763
53773
|
files_scanned: 0,
|
|
53764
53774
|
findings_count: 0,
|
|
@@ -54193,7 +54203,7 @@ var sast_scan = createSwarmTool({
|
|
|
54193
54203
|
session_id: ctx?.sessionID,
|
|
54194
54204
|
abort_signal: ctx?.abort
|
|
54195
54205
|
};
|
|
54196
|
-
const result = await _internals58.sastScan(input, directory);
|
|
54206
|
+
const result = await _internals58.sastScan(input, directory, _internals58.loadGateOverrides(directory));
|
|
54197
54207
|
return JSON.stringify(result, null, 2);
|
|
54198
54208
|
}
|
|
54199
54209
|
});
|
|
@@ -54202,7 +54212,8 @@ var _internals58 = {
|
|
|
54202
54212
|
sast_scan,
|
|
54203
54213
|
checkSemgrepAvailable: (directory, abortSignal) => checkSemgrepAvailable(directory, abortSignal),
|
|
54204
54214
|
isSemgrepAvailable: () => isSemgrepAvailable(),
|
|
54205
|
-
runSemgrep: (options) => runSemgrep(options)
|
|
54215
|
+
runSemgrep: (options) => runSemgrep(options),
|
|
54216
|
+
loadGateOverrides
|
|
54206
54217
|
};
|
|
54207
54218
|
|
|
54208
54219
|
// src/evaluation/gate-audit.ts
|
|
@@ -81593,7 +81604,7 @@ async function handleRollbackCommand(directory, args) {
|
|
|
81593
81604
|
const planRaw = fs49.readFileSync(planJsonPath, "utf-8");
|
|
81594
81605
|
const plan = PlanSchema.parse(JSON.parse(planRaw));
|
|
81595
81606
|
const planId = derivePlanId(plan);
|
|
81596
|
-
const planHash =
|
|
81607
|
+
const planHash = computePlanLedgerHash(plan);
|
|
81597
81608
|
await initLedger(directory, planId, planHash, plan);
|
|
81598
81609
|
await appendLedgerEvent(directory, {
|
|
81599
81610
|
event_type: "plan_rebuilt",
|
|
@@ -83734,7 +83745,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
|
|
|
83734
83745
|
if (!input.dispatcher) {
|
|
83735
83746
|
throw new Error("no evaluation dispatcher available (cannot run validation)");
|
|
83736
83747
|
}
|
|
83737
|
-
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-
|
|
83748
|
+
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-wqy2hbxn.js");
|
|
83738
83749
|
const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
|
|
83739
83750
|
const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals99.evaluateCandidateV1({
|
|
83740
83751
|
projectRoot: input.directory,
|
|
@@ -85869,7 +85880,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
85869
85880
|
async function handleHelpCommand(ctx) {
|
|
85870
85881
|
const targetCommand = ctx.args.join(" ");
|
|
85871
85882
|
if (!targetCommand) {
|
|
85872
|
-
const { buildHelpText } = await import("./index-
|
|
85883
|
+
const { buildHelpText } = await import("./index-ssb67ff6.js");
|
|
85873
85884
|
return buildHelpText();
|
|
85874
85885
|
}
|
|
85875
85886
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -85878,7 +85889,7 @@ async function handleHelpCommand(ctx) {
|
|
|
85878
85889
|
return _internals102.buildDetailedHelp(resolved.key, resolved.entry);
|
|
85879
85890
|
}
|
|
85880
85891
|
const similar = _internals102.findSimilarCommands(targetCommand);
|
|
85881
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
85892
|
+
const { buildHelpText: fullHelp } = await import("./index-ssb67ff6.js");
|
|
85882
85893
|
if (similar.length > 0) {
|
|
85883
85894
|
return `Command '/swarm ${targetCommand}' not found.
|
|
85884
85895
|
|
|
@@ -86209,7 +86220,7 @@ var COMMAND_REGISTRY = {
|
|
|
86209
86220
|
},
|
|
86210
86221
|
"guardrail explain": {
|
|
86211
86222
|
handler: async (ctx) => {
|
|
86212
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
86223
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-cvha7b9p.js");
|
|
86213
86224
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
86214
86225
|
},
|
|
86215
86226
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -86219,7 +86230,7 @@ var COMMAND_REGISTRY = {
|
|
|
86219
86230
|
},
|
|
86220
86231
|
"guardrail reset": {
|
|
86221
86232
|
handler: async (ctx) => {
|
|
86222
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
86233
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-es0bg976.js");
|
|
86223
86234
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
86224
86235
|
},
|
|
86225
86236
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -86228,7 +86239,7 @@ var COMMAND_REGISTRY = {
|
|
|
86228
86239
|
},
|
|
86229
86240
|
"guardrail-explain": {
|
|
86230
86241
|
handler: async (ctx) => {
|
|
86231
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
86242
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-cvha7b9p.js");
|
|
86232
86243
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
86233
86244
|
},
|
|
86234
86245
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -86238,7 +86249,7 @@ var COMMAND_REGISTRY = {
|
|
|
86238
86249
|
},
|
|
86239
86250
|
"guardrail-reset": {
|
|
86240
86251
|
handler: async (ctx) => {
|
|
86241
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
86252
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-es0bg976.js");
|
|
86242
86253
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
86243
86254
|
},
|
|
86244
86255
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -86248,7 +86259,7 @@ var COMMAND_REGISTRY = {
|
|
|
86248
86259
|
},
|
|
86249
86260
|
"guardrail-log": {
|
|
86250
86261
|
handler: async (ctx) => {
|
|
86251
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
86262
|
+
const { handleGuardrailLog } = await import("./guardrail-log-6t4e2j5f.js");
|
|
86252
86263
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
86253
86264
|
},
|
|
86254
86265
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -92247,7 +92258,7 @@ function getDisplayFinalPromptPressure() {
|
|
|
92247
92258
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
92248
92259
|
const map = new Map;
|
|
92249
92260
|
try {
|
|
92250
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
92261
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-3enjtq0k.js");
|
|
92251
92262
|
const records = await listActive2(directory);
|
|
92252
92263
|
for (const record of records) {
|
|
92253
92264
|
if (record.sessionID !== sessionID)
|
|
@@ -92693,7 +92704,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
92693
92704
|
return extracted === expectedSessionId;
|
|
92694
92705
|
}
|
|
92695
92706
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
92696
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
92707
|
+
const collisionOwnership = await import("./worktree-collision-ownership-0rfw6kp3.js");
|
|
92697
92708
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
92698
92709
|
}
|
|
92699
92710
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -93102,7 +93113,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
93102
93113
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
93103
93114
|
if (laneProfile) {
|
|
93104
93115
|
try {
|
|
93105
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
93116
|
+
const { writeLaneProfileToDiskReal } = await import("./core-f1a1fk13.js");
|
|
93106
93117
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
93107
93118
|
} catch {}
|
|
93108
93119
|
}
|
|
@@ -94027,7 +94038,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
94027
94038
|
}
|
|
94028
94039
|
clearWorktreeMergeStatus(statusKey);
|
|
94029
94040
|
try {
|
|
94030
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
94041
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-f1a1fk13.js");
|
|
94031
94042
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
94032
94043
|
} catch {}
|
|
94033
94044
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-3gb7bw7h.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-ea7sehgy.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
withEvidenceLock
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-fxxja498.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-tfa2p4y4.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-553veay1.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-yrsag0vs.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-4emx8hhh.js";
|
|
13
13
|
import {
|
|
14
14
|
assertProjectRoot,
|
|
15
15
|
withEvidenceLock
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-fxxja498.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_external,
|
|
19
19
|
init_zod
|