opencode-swarm 7.164.4 → 7.164.6
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/swarm-pr-review/SKILL.md +12 -12
- package/dist/background/pending-delegations.d.ts +9 -2
- package/dist/background/pr-review-contract.d.ts +9 -0
- package/dist/cli/{coder-settlement-zzy2egsx.js → coder-settlement-6qgvzx40.js} +11 -11
- package/dist/cli/{config-doctor-62xd5far.js → config-doctor-d1cbh67h.js} +2 -2
- package/dist/cli/{core-7kdmc7h9.js → core-g0cvvj3b.js} +1 -1
- package/dist/cli/{curation-policy-913dnxqq.js → curation-policy-7f8x9yg6.js} +6 -6
- package/dist/cli/{curator-drift-3s3q4wsy.js → curator-drift-0r0scc8r.js} +4 -4
- package/dist/cli/curator-llm-factory-dw7md4nr.js +66 -0
- package/dist/cli/{curator-4s6ekk85.js → curator-q3qn89wn.js} +34 -34
- package/dist/cli/{evidence-summary-service-gw936xgz.js → evidence-summary-service-3meyb8rc.js} +15 -15
- package/dist/cli/{gate-evidence-4we18rhr.js → gate-evidence-mhc0w7vp.js} +7 -7
- package/dist/cli/guardrail-explain-6cbszhw1.js +67 -0
- package/dist/cli/{guardrail-log-9d4f09qt.js → guardrail-log-0nd1eqvz.js} +7 -7
- package/dist/cli/{guardrail-reset-1hpd6bkj.js → guardrail-reset-mzeyd6jh.js} +34 -34
- package/dist/cli/{hive-promoter-nr8dsxhe.js → hive-promoter-w7g879cm.js} +34 -34
- package/dist/cli/{index-pztdbtgw.js → index-12xzj0hm.js} +3 -3
- package/dist/cli/{index-k1m9214q.js → index-1dz8hv7p.js} +3 -3
- package/dist/cli/{index-rz87mx1c.js → index-2c3np82d.js} +1 -1
- package/dist/cli/{index-08e6x59x.js → index-4k16cz8r.js} +7 -7
- package/dist/cli/{index-4tgtbptw.js → index-59hvr3f4.js} +4 -4
- package/dist/cli/{index-wzmchqry.js → index-5p1tzpwh.js} +31 -52
- package/dist/cli/{index-x63jqvj3.js → index-6f9yvd67.js} +2 -2
- package/dist/cli/{index-x9ayhkkx.js → index-7v3bb0h3.js} +1 -1
- package/dist/cli/{index-qkwx4rrc.js → index-935ww10s.js} +185 -102
- package/dist/cli/{index-jba9jgse.js → index-9qvmsyab.js} +2 -2
- package/dist/cli/{index-nwpg81ke.js → index-ay9cr8tr.js} +1 -1
- package/dist/cli/{index-xj4kbtdw.js → index-b0m3efpf.js} +2 -2
- package/dist/cli/{index-tfa2p4y4.js → index-cyhw0der.js} +1 -1
- package/dist/cli/{index-vx28633q.js → index-ew99d4y6.js} +75 -23
- package/dist/cli/{index-gt6p21cs.js → index-fxxja498.js} +1 -1
- package/dist/cli/{index-0m94jsss.js → index-g5714mpv.js} +5 -5
- package/dist/cli/{index-ne38vr77.js → index-g94qqwnz.js} +2 -2
- package/dist/cli/{index-7zbk1e24.js → index-gwg7a00b.js} +9 -9
- package/dist/cli/{index-v7a8e7rv.js → index-hdapetg1.js} +2 -2
- package/dist/cli/{index-q9yz8da4.js → index-j3hsjynw.js} +5 -5
- package/dist/cli/{index-yx3xqb0w.js → index-j645xpsm.js} +3 -3
- package/dist/cli/{index-t2tqbq62.js → index-jzvrvdmr.js} +4 -4
- package/dist/cli/{index-k8vy89vm.js → index-kvb4dwgf.js} +1 -1
- package/dist/cli/{index-stj85yx1.js → index-p56xc59p.js} +2 -2
- package/dist/cli/{index-z408nj03.js → index-pvp5tnn2.js} +2 -2
- package/dist/cli/{index-cf54ftj1.js → index-qdbgc16x.js} +40 -7
- package/dist/cli/{index-eh2k07pp.js → index-rysxqae0.js} +7 -7
- package/dist/cli/{index-8fjx6k2s.js → index-t1nkr7cz.js} +1 -1
- package/dist/cli/{index-qfrrcdhj.js → index-tegp2mny.js} +1 -1
- package/dist/cli/{index-a0jhxx5q.js → index-ty3vtqe2.js} +12 -4
- package/dist/cli/{index-prammvxb.js → index-x6zyc38w.js} +1 -1
- package/dist/cli/{index-vzs3st30.js → index-x76mprg2.js} +10 -10
- package/dist/cli/{index-et9y4ga8.js → index-y4z0rhsa.js} +36 -36
- package/dist/cli/{index-1f4nandk.js → index-yh8wxegw.js} +1 -1
- package/dist/cli/{index-5k226hxp.js → index-ze5zyv28.js} +2 -2
- package/dist/cli/{index-tme2kjvq.js → index-zfwd65c2.js} +5 -5
- package/dist/cli/{index-0zbze3n6.js → index-zjg5ajf5.js} +1 -1
- package/dist/cli/{index-xjw7j7et.js → index-zypacgjc.js} +5 -5
- package/dist/cli/index.js +34 -34
- package/dist/cli/{knowledge-escalator-hp1ctjpe.js → knowledge-escalator-aca0nhqg.js} +13 -13
- package/dist/cli/{knowledge-events-0qrenmng.js → knowledge-events-n5t313ht.js} +11 -11
- package/dist/cli/{knowledge-link-f5g5d171.js → knowledge-link-8ea4ksda.js} +5 -5
- package/dist/cli/{knowledge-store-8er824g9.js → knowledge-store-j97ejf6a.js} +6 -6
- package/dist/cli/{knowledge-validator-0jd3htcj.js → knowledge-validator-01evhydg.js} +8 -8
- package/dist/cli/{pending-delegations-d1n5faxg.js → pending-delegations-w73abdk3.js} +6 -6
- package/dist/cli/{pr-subscriptions-s2b2yvbd.js → pr-subscriptions-05dzvavk.js} +6 -6
- package/dist/cli/{pr-workflow-gate-51s842yy.js → pr-workflow-gate-t0tnkx5f.js} +36 -34
- package/dist/cli/{runner-nkh65pcm.js → runner-fh7t0mn9.js} +6 -6
- package/dist/cli/{scan-cursor-gt55f3d6.js → scan-cursor-63zx2qd8.js} +7 -7
- package/dist/cli/{schema-rpdz901j.js → schema-t1scx08g.js} +5 -1
- package/dist/cli/{scope-persistence-js1ywq04.js → scope-persistence-1a5qmchf.js} +9 -9
- package/dist/cli/{skill-generator-xsxes2w0.js → skill-generator-7werbwgv.js} +15 -15
- package/dist/cli/{telemetry-9tfts5q2.js → telemetry-j14cj552.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-54ca6mb8.js → worktree-collision-ownership-wzdzky33.js} +7 -7
- package/dist/cli/{worktree-isolation-haesnft8.js → worktree-isolation-m02ay3kg.js} +34 -34
- package/dist/config/index.d.ts +3 -3
- package/dist/config/loader.d.ts +34 -1
- package/dist/config/schema.d.ts +61 -7
- package/dist/hooks/delegation-gate.d.ts +3 -1
- package/dist/hooks/pr-workflow-gate.d.ts +10 -2
- package/dist/index.js +80 -77
- package/dist/pr-review/authorization.d.ts +13 -3
- package/dist/tools/authorize-pr-review-reentry.d.ts +5 -4
- package/dist/tools/build-check.d.ts +8 -0
- package/dist/tools/dispatch-lanes.d.ts +1 -0
- package/dist/tools/placeholder-scan.d.ts +10 -1
- package/dist/tools/pr-workflow-status.d.ts +2 -0
- 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-q3t3r632.js +0 -66
- package/dist/cli/guardrail-explain-jjbnrcqn.js +0 -67
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-ze5zyv28.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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2c3np82d.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-cyhw0der.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -270,7 +270,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
270
270
|
"src/tools/spec-write.ts:98",
|
|
271
271
|
"src/sdd/effective-spec.ts:1149",
|
|
272
272
|
"src/background/lane-output-store.ts:353",
|
|
273
|
-
"src/background/pending-delegations.ts:
|
|
273
|
+
"src/background/pending-delegations.ts:1114",
|
|
274
274
|
"src/background/delegation-health.ts:391",
|
|
275
275
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
276
276
|
"src/summaries/store.ts:46 (pre-#2035)"
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
resolveExternalSkillsConfig
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-5p1tzpwh.js";
|
|
10
10
|
import {
|
|
11
11
|
GIT_BINARY_ENV_VAR,
|
|
12
12
|
init_git_executable
|
|
@@ -237,9 +237,11 @@ var init_sanitize_malformed_values = () => {};
|
|
|
237
237
|
// src/config/loader.ts
|
|
238
238
|
var exports_loader = {};
|
|
239
239
|
__export(exports_loader, {
|
|
240
|
+
resetConfigAdvisoryDedup: () => resetConfigAdvisoryDedup,
|
|
240
241
|
loadPluginConfigWithMetaAsync: () => loadPluginConfigWithMetaAsync,
|
|
241
242
|
loadPluginConfigWithMeta: () => loadPluginConfigWithMeta,
|
|
242
243
|
loadPluginConfig: () => loadPluginConfig,
|
|
244
|
+
loadGateOverrides: () => loadGateOverrides,
|
|
243
245
|
loadAgentPrompt: () => loadAgentPrompt,
|
|
244
246
|
getSafeDefaultConfigLoadResult: () => getSafeDefaultConfigLoadResult,
|
|
245
247
|
formatZodIssues: () => formatZodIssues,
|
|
@@ -252,6 +254,15 @@ import * as fs from "fs";
|
|
|
252
254
|
import * as fsPromises from "fs/promises";
|
|
253
255
|
import * as os from "os";
|
|
254
256
|
import * as path from "path";
|
|
257
|
+
function gatesAdvisoryWarn(message, data) {
|
|
258
|
+
if (gatesAdvisorySignatures.has(message))
|
|
259
|
+
return;
|
|
260
|
+
if (gatesAdvisorySignatures.size >= MAX_GATES_ADVISORY_SIGNATURES) {
|
|
261
|
+
gatesAdvisorySignatures.clear();
|
|
262
|
+
}
|
|
263
|
+
gatesAdvisorySignatures.add(message);
|
|
264
|
+
advisoryWarn(message, data);
|
|
265
|
+
}
|
|
255
266
|
function getUserConfigDir() {
|
|
256
267
|
return process.env.XDG_CONFIG_HOME || path.join(os.homedir(), ".config");
|
|
257
268
|
}
|
|
@@ -346,7 +357,7 @@ function sanitizeGatesConfig(raw) {
|
|
|
346
357
|
return { result: raw, strippedKeys };
|
|
347
358
|
}
|
|
348
359
|
if (typeof raw.gates !== "object" || raw.gates === null || Array.isArray(raw.gates)) {
|
|
349
|
-
|
|
360
|
+
gatesAdvisoryWarn("[opencode-swarm] gates config validation failed: expected an object. Quality gates will use defaults; other config sections remain active.");
|
|
350
361
|
const cleaned2 = { ...raw };
|
|
351
362
|
delete cleaned2.gates;
|
|
352
363
|
strippedKeys.push("gates");
|
|
@@ -357,7 +368,7 @@ function sanitizeGatesConfig(raw) {
|
|
|
357
368
|
for (const [key, value] of Object.entries(cleanedGates)) {
|
|
358
369
|
const schema = gateSchemas[key];
|
|
359
370
|
if (!schema) {
|
|
360
|
-
|
|
371
|
+
gatesAdvisoryWarn(`[opencode-swarm] Unknown gates config section "gates.${key}" ignored. Other config sections remain active.`);
|
|
361
372
|
delete cleanedGates[key];
|
|
362
373
|
strippedKeys.push(`gates.${key}`);
|
|
363
374
|
continue;
|
|
@@ -369,7 +380,7 @@ function sanitizeGatesConfig(raw) {
|
|
|
369
380
|
const knownFieldSet = new Set(knownFields);
|
|
370
381
|
for (const fieldName of Object.keys(cleanedSection)) {
|
|
371
382
|
if (!knownFieldSet.has(fieldName)) {
|
|
372
|
-
|
|
383
|
+
gatesAdvisoryWarn(`[opencode-swarm] Unknown gates config key "gates.${key}.${fieldName}" ignored. Other config sections remain active.`);
|
|
373
384
|
delete cleanedSection[fieldName];
|
|
374
385
|
strippedKeys.push(`gates.${key}.${fieldName}`);
|
|
375
386
|
}
|
|
@@ -379,7 +390,7 @@ function sanitizeGatesConfig(raw) {
|
|
|
379
390
|
}
|
|
380
391
|
const sectionResult = schema.safeParse(sectionValue);
|
|
381
392
|
if (!sectionResult.success) {
|
|
382
|
-
|
|
393
|
+
gatesAdvisoryWarn(`[opencode-swarm] gates.${key} config validation failed; that gate section will use defaults and other config sections remain active:`, formatZodIssues(sectionResult.error));
|
|
383
394
|
delete cleanedGates[key];
|
|
384
395
|
if (!strippedKeys.includes(`gates.${key}`)) {
|
|
385
396
|
strippedKeys.push(`gates.${key}`);
|
|
@@ -390,10 +401,11 @@ function sanitizeGatesConfig(raw) {
|
|
|
390
401
|
if (gatesResult.success) {
|
|
391
402
|
return {
|
|
392
403
|
result: { ...raw, gates: gatesResult.data },
|
|
393
|
-
strippedKeys
|
|
404
|
+
strippedKeys,
|
|
405
|
+
rawGates: cleanedGates
|
|
394
406
|
};
|
|
395
407
|
}
|
|
396
|
-
|
|
408
|
+
gatesAdvisoryWarn("[opencode-swarm] gates config validation failed after section cleanup; quality gates will use defaults and other config sections remain active:", formatZodIssues(gatesResult.error));
|
|
397
409
|
const cleaned = { ...raw };
|
|
398
410
|
delete cleaned.gates;
|
|
399
411
|
if (!strippedKeys.includes("gates")) {
|
|
@@ -403,8 +415,16 @@ function sanitizeGatesConfig(raw) {
|
|
|
403
415
|
}
|
|
404
416
|
function sanitizeSectionConfigs(raw) {
|
|
405
417
|
const { result: afterExternal, strippedKeys: externalStripped } = sanitizeExternalSkillsConfig(raw);
|
|
406
|
-
const {
|
|
407
|
-
|
|
418
|
+
const {
|
|
419
|
+
result,
|
|
420
|
+
strippedKeys: gatesStripped,
|
|
421
|
+
rawGates
|
|
422
|
+
} = sanitizeGatesConfig(afterExternal);
|
|
423
|
+
return {
|
|
424
|
+
result,
|
|
425
|
+
strippedKeys: [...externalStripped, ...gatesStripped],
|
|
426
|
+
rawGates
|
|
427
|
+
};
|
|
408
428
|
}
|
|
409
429
|
function formatZodIssues(error) {
|
|
410
430
|
if (error.issues.length === 0)
|
|
@@ -491,7 +511,11 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
491
511
|
mergedRaw = { ...mergedRaw, full_auto: { ...fa, locked: true } };
|
|
492
512
|
}
|
|
493
513
|
mergedRaw = migratePresetsConfig(mergedRaw);
|
|
494
|
-
const {
|
|
514
|
+
const {
|
|
515
|
+
result: sanitized,
|
|
516
|
+
strippedKeys: gatesStripped,
|
|
517
|
+
rawGates
|
|
518
|
+
} = sanitizeSectionConfigs(mergedRaw);
|
|
495
519
|
mergedRaw = sanitized;
|
|
496
520
|
const knownTopLevel = new Set(Object.keys(PluginConfigSchema.shape));
|
|
497
521
|
const unknownTopLevel = Object.keys(mergedRaw).filter((key) => !knownTopLevel.has(key));
|
|
@@ -515,14 +539,16 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
515
539
|
config,
|
|
516
540
|
recovery: "guardrails_defaults",
|
|
517
541
|
removedKeys: [...gatesStripped],
|
|
518
|
-
warnings: []
|
|
542
|
+
warnings: [],
|
|
543
|
+
rawGates
|
|
519
544
|
};
|
|
520
545
|
}
|
|
521
546
|
return {
|
|
522
547
|
config,
|
|
523
548
|
recovery: gatesStripped.length > 0 ? "stripped_keys" : "none",
|
|
524
549
|
removedKeys: [...gatesStripped],
|
|
525
|
-
warnings: []
|
|
550
|
+
warnings: [],
|
|
551
|
+
rawGates
|
|
526
552
|
};
|
|
527
553
|
}
|
|
528
554
|
const { cleaned, removed } = stripUnrecognizedKeys(mergedRaw, firstResult.error);
|
|
@@ -534,12 +560,17 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
534
560
|
config: secure(recovered.data),
|
|
535
561
|
recovery: "stripped_keys",
|
|
536
562
|
removedKeys: [...gatesStripped, ...removed],
|
|
537
|
-
warnings: []
|
|
563
|
+
warnings: [],
|
|
564
|
+
rawGates
|
|
538
565
|
};
|
|
539
566
|
}
|
|
540
567
|
}
|
|
541
568
|
if (rawUserConfig) {
|
|
542
|
-
const {
|
|
569
|
+
const {
|
|
570
|
+
result: userSanitized,
|
|
571
|
+
strippedKeys: userGatesStripped,
|
|
572
|
+
rawGates: userRawGates
|
|
573
|
+
} = sanitizeSectionConfigs(rawUserConfig);
|
|
543
574
|
const userParseResult = PluginConfigSchema.safeParse(userSanitized);
|
|
544
575
|
if (userParseResult.success) {
|
|
545
576
|
advisoryWarn("[opencode-swarm] Project config ignored due to validation errors. Using user config.");
|
|
@@ -549,7 +580,8 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
549
580
|
removedKeys: [...gatesStripped, ...userGatesStripped],
|
|
550
581
|
warnings: [
|
|
551
582
|
"Project config ignored due to validation errors; using user config."
|
|
552
|
-
]
|
|
583
|
+
],
|
|
584
|
+
rawGates: userRawGates
|
|
553
585
|
};
|
|
554
586
|
}
|
|
555
587
|
const userStripped = stripUnrecognizedKeys(userSanitized, userParseResult.error);
|
|
@@ -567,7 +599,8 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
567
599
|
],
|
|
568
600
|
warnings: [
|
|
569
601
|
"Project config ignored due to validation errors; using user config."
|
|
570
|
-
]
|
|
602
|
+
],
|
|
603
|
+
rawGates: userRawGates
|
|
571
604
|
};
|
|
572
605
|
}
|
|
573
606
|
}
|
|
@@ -595,7 +628,8 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
595
628
|
config: secure(secureParse.data),
|
|
596
629
|
recovery: "sanitized_values",
|
|
597
630
|
removedKeys,
|
|
598
|
-
warnings: []
|
|
631
|
+
warnings: [],
|
|
632
|
+
rawGates
|
|
599
633
|
};
|
|
600
634
|
}
|
|
601
635
|
}
|
|
@@ -633,16 +667,29 @@ function loadPluginConfigWithMeta(directory) {
|
|
|
633
667
|
const projectResult = loadRawConfigFromPath(projectConfigPath);
|
|
634
668
|
const loadedFromFile = userResult.fileExisted || projectResult.fileExisted;
|
|
635
669
|
const configHadErrors = userResult.hadError || projectResult.hadError;
|
|
636
|
-
const { config, recovery, removedKeys, warnings } = buildConfigWithMeta(userResult.config, projectResult.config, loadedFromFile, configHadErrors);
|
|
670
|
+
const { config, recovery, removedKeys, warnings, rawGates } = buildConfigWithMeta(userResult.config, projectResult.config, loadedFromFile, configHadErrors);
|
|
637
671
|
return {
|
|
638
672
|
config,
|
|
639
673
|
loadedFromFile,
|
|
640
674
|
configHadErrors,
|
|
641
675
|
recovery,
|
|
642
676
|
removedKeys,
|
|
643
|
-
warnings
|
|
677
|
+
warnings,
|
|
678
|
+
rawGates
|
|
644
679
|
};
|
|
645
680
|
}
|
|
681
|
+
function loadGateOverrides(directory) {
|
|
682
|
+
try {
|
|
683
|
+
const meta = loadPluginConfigWithMeta(directory);
|
|
684
|
+
return meta.rawGates;
|
|
685
|
+
} catch {
|
|
686
|
+
return;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
function resetConfigAdvisoryDedup() {
|
|
690
|
+
gatesAdvisorySignatures.clear();
|
|
691
|
+
lastUnknownTopLevelSig = null;
|
|
692
|
+
}
|
|
646
693
|
function getSafeDefaultConfigLoadResult() {
|
|
647
694
|
const { config, recovery, removedKeys, warnings } = buildConfigWithMeta(null, null, false, false);
|
|
648
695
|
return {
|
|
@@ -701,14 +748,15 @@ async function loadPluginConfigWithMetaAsync(directory) {
|
|
|
701
748
|
]);
|
|
702
749
|
const loadedFromFile = userResult.fileExisted || projectResult.fileExisted;
|
|
703
750
|
const configHadErrors = userResult.hadError || projectResult.hadError;
|
|
704
|
-
const { config, recovery, removedKeys, warnings } = buildConfigWithMeta(userResult.config, projectResult.config, loadedFromFile, configHadErrors);
|
|
751
|
+
const { config, recovery, removedKeys, warnings, rawGates } = buildConfigWithMeta(userResult.config, projectResult.config, loadedFromFile, configHadErrors);
|
|
705
752
|
return {
|
|
706
753
|
config,
|
|
707
754
|
loadedFromFile,
|
|
708
755
|
configHadErrors,
|
|
709
756
|
recovery,
|
|
710
757
|
removedKeys,
|
|
711
|
-
warnings
|
|
758
|
+
warnings,
|
|
759
|
+
rawGates
|
|
712
760
|
};
|
|
713
761
|
}
|
|
714
762
|
function loadAgentPrompt(agentName) {
|
|
@@ -732,7 +780,7 @@ function loadAgentPrompt(agentName) {
|
|
|
732
780
|
}
|
|
733
781
|
return result;
|
|
734
782
|
}
|
|
735
|
-
var CONFIG_FILENAME = "opencode-swarm.json", PROMPTS_DIR_NAME = "opencode-swarm", MAX_CONFIG_FILE_BYTES = 102400, lastUnknownTopLevelSig = null, _internals;
|
|
783
|
+
var CONFIG_FILENAME = "opencode-swarm.json", PROMPTS_DIR_NAME = "opencode-swarm", MAX_CONFIG_FILE_BYTES = 102400, lastUnknownTopLevelSig = null, gatesAdvisorySignatures, MAX_GATES_ADVISORY_SIGNATURES = 64, _internals;
|
|
736
784
|
var init_loader = __esm(() => {
|
|
737
785
|
init_warning_buffer();
|
|
738
786
|
init_git_executable();
|
|
@@ -740,9 +788,13 @@ var init_loader = __esm(() => {
|
|
|
740
788
|
init_schema();
|
|
741
789
|
init_merge();
|
|
742
790
|
init_merge();
|
|
791
|
+
gatesAdvisorySignatures = new Set;
|
|
743
792
|
_internals = {
|
|
744
793
|
resetUnknownTopLevelKeyWarning() {
|
|
745
794
|
lastUnknownTopLevelSig = null;
|
|
795
|
+
},
|
|
796
|
+
resetGatesAdvisoryDedup() {
|
|
797
|
+
gatesAdvisorySignatures.clear();
|
|
746
798
|
}
|
|
747
799
|
};
|
|
748
800
|
});
|
|
@@ -812,4 +864,4 @@ var PlanSchema = exports_external.object({
|
|
|
812
864
|
execution_profile: ExecutionProfileSchema.optional()
|
|
813
865
|
});
|
|
814
866
|
|
|
815
|
-
export { ExecutionProfileSchema, TaskStatusSchema, TaskSizeSchema, PhaseStatusSchema, MigrationStatusSchema, TaskSchema, PhaseSchema, PlanSchema, loadPluginConfig, loadPluginConfigWithMeta, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader };
|
|
867
|
+
export { ExecutionProfileSchema, TaskStatusSchema, TaskSizeSchema, PhaseStatusSchema, MigrationStatusSchema, TaskSchema, PhaseSchema, PlanSchema, loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-t1nkr7cz.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
9
9
|
} from "./index-556ja8an.js";
|
|
10
10
|
import {
|
|
11
11
|
validateSwarmPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2c3np82d.js";
|
|
13
13
|
import {
|
|
14
14
|
bunSpawn,
|
|
15
15
|
classifySpawnFailure
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-ze5zyv28.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-fxxja498.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-1dz8hv7p.js";
|
|
36
36
|
import {
|
|
37
37
|
exports_external,
|
|
38
38
|
init_zod
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-935ww10s.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-12xzj0hm.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2c3np82d.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ew99d4y6.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-5p1tzpwh.js";
|
|
12
12
|
import {
|
|
13
13
|
observeReceiptTransition
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-p56xc59p.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveHiveEventsPath
|
|
17
17
|
} from "./index-ae75rja9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveKnowledgeStoreDir
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-tegp2mny.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-ze5zyv28.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-fxxja498.js";
|
|
27
27
|
import {
|
|
28
28
|
emit
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-1dz8hv7p.js";
|
|
30
30
|
import {
|
|
31
31
|
require_proper_lockfile
|
|
32
32
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2810
2810
|
}
|
|
2811
2811
|
let bumps = 0;
|
|
2812
2812
|
if (deltas.length > 0) {
|
|
2813
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2813
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-j97ejf6a.js");
|
|
2814
2814
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2815
2815
|
}
|
|
2816
2816
|
return {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ew99d4y6.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-5p1tzpwh.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-j645xpsm.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-pvp5tnn2.js";
|
|
9
9
|
import {
|
|
10
10
|
unsafePathTextReason
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ew99d4y6.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-fxxja498.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteSwarmFile,
|
|
20
20
|
atomicWriteSwarmFileSync
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-cyhw0der.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
PlanSchema,
|
|
5
5
|
TaskStatusSchema,
|
|
6
6
|
init_loader
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ew99d4y6.js";
|
|
8
8
|
import {
|
|
9
9
|
assertProjectRoot,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-fxxja498.js";
|
|
12
12
|
import {
|
|
13
13
|
emit
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-1dz8hv7p.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-x6zyc38w.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-rysxqae0.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-tegp2mny.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-ze5zyv28.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
atomicWriteSwarmFile
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-cyhw0der.js";
|
|
5
5
|
import {
|
|
6
6
|
pseudonymousRef,
|
|
7
7
|
resolveLineageSalt,
|
|
8
8
|
telemetry
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-1dz8hv7p.js";
|
|
10
10
|
|
|
11
11
|
// src/health/learning-health.ts
|
|
12
12
|
import { promises as fs } from "fs";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
} from "./index-ddszzne4.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSwarmPath
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-2c3np82d.js";
|
|
8
8
|
import {
|
|
9
9
|
bunWrite
|
|
10
10
|
} from "./index-r3mvsbtq.js";
|
|
11
11
|
import {
|
|
12
12
|
observeDelegationLedgerPressure
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-p56xc59p.js";
|
|
14
14
|
import {
|
|
15
15
|
EvidenceLockTimeoutError,
|
|
16
16
|
withEvidenceLock
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-fxxja498.js";
|
|
18
18
|
import {
|
|
19
19
|
exports_external,
|
|
20
20
|
init_zod
|
|
@@ -695,6 +695,31 @@ var PrReviewLaneResultEnvelopeSchema = exports_external.object({
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
|
+
var PR_REVIEW_WORKFLOW_BINDING_PREFIX = "pr-review-workflow:v1:";
|
|
699
|
+
var MAX_PR_REVIEW_WORKFLOW_INSTANCE_ID_CHARS = 128;
|
|
700
|
+
function encodePrReviewWorkflowBinding(workflowInstanceId) {
|
|
701
|
+
const normalized = workflowInstanceId.trim();
|
|
702
|
+
if (!normalized || normalized.length > MAX_PR_REVIEW_WORKFLOW_INSTANCE_ID_CHARS) {
|
|
703
|
+
throw new Error("invalid PR-review workflow instance id");
|
|
704
|
+
}
|
|
705
|
+
return `${PR_REVIEW_WORKFLOW_BINDING_PREFIX}${Buffer.from(normalized, "utf8").toString("base64url")}`;
|
|
706
|
+
}
|
|
707
|
+
function decodePrReviewWorkflowBinding(value) {
|
|
708
|
+
if (!value?.startsWith(PR_REVIEW_WORKFLOW_BINDING_PREFIX))
|
|
709
|
+
return null;
|
|
710
|
+
const encoded = value.slice(PR_REVIEW_WORKFLOW_BINDING_PREFIX.length);
|
|
711
|
+
if (!encoded)
|
|
712
|
+
return null;
|
|
713
|
+
try {
|
|
714
|
+
const decoded = Buffer.from(encoded, "base64url").toString("utf8");
|
|
715
|
+
if (!decoded || decoded.length > MAX_PR_REVIEW_WORKFLOW_INSTANCE_ID_CHARS || encodePrReviewWorkflowBinding(decoded) !== value) {
|
|
716
|
+
return null;
|
|
717
|
+
}
|
|
718
|
+
return decoded;
|
|
719
|
+
} catch {
|
|
720
|
+
return null;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
698
723
|
function serializedPrReviewResultReceiptBytes(value) {
|
|
699
724
|
return new TextEncoder().encode(JSON.stringify(value)).byteLength;
|
|
700
725
|
}
|
|
@@ -1350,7 +1375,14 @@ var RecordSchema = exports_external.object({
|
|
|
1350
1375
|
ingestion: DelegationIngestionSchema.optional(),
|
|
1351
1376
|
result: ResultSchema.optional(),
|
|
1352
1377
|
completedAt: exports_external.number().optional()
|
|
1353
|
-
}).strict()
|
|
1378
|
+
}).strict().superRefine((value, context) => {
|
|
1379
|
+
if (value.mode?.startsWith("swarm-pr-review:") && value.correlationId !== value.subagentSessionId) {
|
|
1380
|
+
context.addIssue({
|
|
1381
|
+
code: exports_external.ZodIssueCode.custom,
|
|
1382
|
+
message: "PR-review delegation identity requires correlationId to equal subagentSessionId"
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
});
|
|
1354
1386
|
var FallbackArtifactSchema = exports_external.object({
|
|
1355
1387
|
schemaVersion: exports_external.literal(1),
|
|
1356
1388
|
correlationId: exports_external.string().min(1).max(256),
|
|
@@ -2480,7 +2512,8 @@ async function publishPrReviewResultReceipt(directory, input) {
|
|
|
2480
2512
|
}
|
|
2481
2513
|
const owned = current.ownedWorkflowLanes?.length ? current.ownedWorkflowLanes : current.workflowLane ? [current.workflowLane] : [];
|
|
2482
2514
|
const sameOwned = owned.length === parsed.data.ownedWorkflowLanes.length && owned.every((lane) => parsed.data.ownedWorkflowLanes.includes(lane));
|
|
2483
|
-
|
|
2515
|
+
const dispatchWorkflowInstanceId = decodePrReviewWorkflowBinding(current.jobId);
|
|
2516
|
+
if (!dispatchWorkflowInstanceId || current.workflowGeneration === undefined || dispatchWorkflowInstanceId !== parsed.data.workflowInstanceId || current.workflowGeneration !== parsed.data.workflowRevision || parsed.data.workflowInstanceId !== input.expectedWorkflowInstanceId || parsed.data.workflowRevision !== input.expectedWorkflowRevision || parsed.data.baseSha !== input.expectedBaseSha || current.mode !== parsed.data.mode || current.workflowLane !== parsed.data.workflowLane || !sameOwned || current.workspace?.prHeadSha !== parsed.data.headSha || current.workspace?.gitHead !== parsed.data.headSha || (current.generation ?? 1) !== parsed.data.generation) {
|
|
2484
2517
|
outcome = {
|
|
2485
2518
|
status: "conflict",
|
|
2486
2519
|
reason: "receipt does not match immutable delegation identity"
|
|
@@ -3947,7 +3980,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3947
3980
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3948
3981
|
if (candidates.length === 0)
|
|
3949
3982
|
return 0;
|
|
3950
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3983
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-6qgvzx40.js");
|
|
3951
3984
|
let transferred = 0;
|
|
3952
3985
|
for (const record of candidates) {
|
|
3953
3986
|
try {
|
|
@@ -4304,4 +4337,4 @@ async function maintainBackgroundDelegations(directory, options = {}) {
|
|
|
4304
4337
|
return emitObservation("ok");
|
|
4305
4338
|
}
|
|
4306
4339
|
|
|
4307
|
-
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|
|
4340
|
+
export { prReviewFindingRequiresCritic, PR_REVIEW_BASE_DIMENSION_IDS, PR_REVIEW_RISK_IMPACTS, PR_REVIEW_RISK_TAGS, prReviewLegacyTranscriptCompatibilityEnabled, PrReviewLaneResultEnvelopeSchema, decodePrReviewWorkflowBinding, prReviewLaneResultEnvelopeDigest, PrReviewResultReceiptSchema, PR_REVIEW_FINDINGS_MAX_BYTES, PR_REVIEW_HANDOFF_MAX_BYTES, PR_REVIEW_DISCARDED_EXAMPLE_ITEM_ID, PrReviewRunIdSchema, parsePrReviewRiskTagsField, PrReviewReviewerVerdictFieldsSchema, PrReviewCriticVerdictFieldsSchema, parsePrReviewVerdictRow, generatePrReviewRunId, MAX_RECOVERY_LEDGER_BYTES, readDelegationHealthArtifact, collectDelegationLedgerHealth, MAX_PR_REVIEW_COLLECTION_RECEIPT_ITEM_IDS, BACKGROUND_DELEGATIONS_FILE, BACKGROUND_DELEGATION_FALLBACK_DIR, BACKGROUND_CODER_RESERVATIONS_FILE, BACKGROUND_DELEGATIONS_CHECKPOINT_FILE, BACKGROUND_DELEGATIONS_MANIFEST_FILE, MAX_LIVE_BACKGROUND_FALLBACKS, MAX_LIVE_BACKGROUND_CODER_RESERVATIONS, MAX_BACKGROUND_OBSERVED_FILES, MAX_BACKGROUND_ADVISORY_CHARS, LEGACY_CODER_SETTLEMENT_PENDING_ADVISORY_MARKER, DELEGATION_COMPACTION_LOW_WATER_BYTES, DELEGATION_COMPACTION_HIGH_WATER_BYTES, MAX_CHECKPOINT_BYTES, MAX_CHECKPOINT_RECORDS, TOMBSTONE_MIN_AGE_MS, BACKGROUND_INGESTION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MS, BACKGROUND_CODER_RESERVATION_LEASE_MAX_MS, BACKGROUND_CODER_RESERVATION_LEASE_MIN_MS, DEFAULT_STALE_DELEGATION_TIMEOUT_MS, DEFAULT_SWEEPABLE_DELEGATION_STATUSES, _checkpointInternals, isUnsettledWorktreeOwner, compactBackgroundDelegations, readDelegations, scanDelegationsForRecovery, findByCorrelationId, recordPendingDelegationDetailed, recordPendingDelegation, buildPromptSnapshot, appendDelegationTransition, publishPrReviewResultReceipt, buildBackgroundCompletionEventId, claimTerminalResult, claimCoderSettlement, normalizeBackgroundObservedFiles, updateCoderSettlement, registerLegacyCoderSettlementReconciler, _internals, markLegacyCoderSettlementTransferPending, clearLegacyCoderSettlementTransferPending, claimDelegationIngestion, recordDelegationIngestionResult, putPendingBackgroundAdvisory, replacePendingBackgroundAdvisory, preparePendingBackgroundAdvisories, acknowledgeObservedBackgroundAdvisories, releasePreparedBackgroundAdvisories, findByBatchId, findOpenAsyncLaneBatches, isTerminalDelegationStatus, sweepStaleDelegations, readDelegationFallback, listDelegationFallbacks, scanDelegationFallbacksForRecovery, writeDelegationFallback, removeDelegationFallback, findDelegationForCompletion, promoteDelegationFallback, buildBackgroundCoderReservationId, scanBackgroundCoderReservationsForAdmission, reserveBackgroundCoderSlot, bindBackgroundCoderReservation, releaseBackgroundCoderReservation, maintainBackgroundDelegations };
|