opencode-swarm 7.179.1 → 7.180.0
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pr-event-subscribers.d.ts +2 -0
- package/dist/background/pr-feedback-event-queue.d.ts +7 -0
- package/dist/background/pr-feedback-loop.d.ts +162 -0
- package/dist/cli/{coder-settlement-f1nmezzv.js → coder-settlement-34z9xgnx.js} +13 -13
- package/dist/cli/{config-doctor-ena2803f.js → config-doctor-tkfrwztz.js} +2 -2
- package/dist/cli/{core-fcfzme3m.js → core-z9ybzpvr.js} +4 -5
- package/dist/cli/{curation-policy-c7mdsf7m.js → curation-policy-gwzmjmt7.js} +6 -5
- package/dist/cli/{curator-drift-d93pwt8h.js → curator-drift-3bbn011w.js} +22 -12
- package/dist/cli/curator-llm-factory-e162g7xp.js +74 -0
- package/dist/cli/{curator-q9s5q9v4.js → curator-zv4qs07j.js} +44 -42
- package/dist/cli/{evidence-summary-service-wtj8mkm6.js → evidence-summary-service-wrfth5tr.js} +22 -20
- package/dist/cli/{gate-evidence-h83yb8nd.js → gate-evidence-adqbxnm7.js} +8 -8
- package/dist/cli/guardrail-explain-dn96802k.js +75 -0
- package/dist/cli/{guardrail-log-zf1htf1d.js → guardrail-log-rcza6v3y.js} +6 -6
- package/dist/cli/{guardrail-reset-f2p198j3.js → guardrail-reset-fjn42e0n.js} +44 -42
- package/dist/cli/hive-promoter-hgqqn7qw.js +89 -0
- package/dist/cli/{index-aqpwm350.js → index-06crt1ej.js} +2 -2
- package/dist/cli/{index-wrt875kh.js → index-0725jpp7.js} +1 -1
- package/dist/cli/{index-f2v90gfc.js → index-0v1rtanv.js} +24 -165
- package/dist/cli/{index-q375xdcw.js → index-1hzqyx13.js} +9 -1
- package/dist/cli/{index-xy7k7f3k.js → index-1p8fk9jb.js} +2 -2
- package/dist/cli/{index-pfg3jwe9.js → index-2h0qng38.js} +3 -3
- package/dist/cli/{index-9fb01jk5.js → index-3jap3516.js} +1 -1
- package/dist/cli/{index-dz12bshh.js → index-5gmn0a3j.js} +8 -8
- package/dist/cli/{index-5d224akk.js → index-5m378633.js} +4 -4
- package/dist/cli/{index-0h3cr7pn.js → index-5yc5n4ae.js} +1 -1
- package/dist/cli/{index-pn023bf9.js → index-7pj0x345.js} +48 -46
- package/dist/cli/{index-w4c2repz.js → index-7w6dnpvc.js} +44 -42
- package/dist/cli/{index-zbhvr9st.js → index-8b1f2t5q.js} +8 -10
- package/dist/cli/{index-cvg402ha.js → index-91dhg3wr.js} +2 -2
- package/dist/cli/{index-3pzwsesm.js → index-92m05mew.js} +2 -2
- package/dist/cli/{index-6r92fw88.js → index-93vk5s7v.js} +8 -8
- package/dist/cli/{index-ne9zamcs.js → index-989v83pb.js} +1 -1
- package/dist/cli/{index-g6nyk713.js → index-aspxz5r5.js} +1 -1
- package/dist/cli/index-b9z9gvx0.js +339 -0
- package/dist/cli/{index-2b0ktpbf.js → index-bdpgfep1.js} +5 -5
- package/dist/cli/{index-nzekzzs2.js → index-bv4b8tpa.js} +5 -5
- package/dist/cli/{index-n1tcj1q7.js → index-bx70zs8d.js} +187 -47
- package/dist/cli/{index-n2wjrgcs.js → index-caj76d0f.js} +6 -8
- package/dist/cli/{index-549wxbe1.js → index-cjapb4hy.js} +1 -1
- package/dist/cli/{index-y94vwx2q.js → index-cxgr6ad5.js} +13 -15
- package/dist/cli/{index-ajm7ebyd.js → index-dcttq1mn.js} +2 -2
- package/dist/cli/{index-9s1xzvnn.js → index-defq2crz.js} +13 -3
- package/dist/cli/{index-ky262b73.js → index-dnbqmay5.js} +1606 -895
- package/dist/cli/index-ejhxgyvm.js +147 -0
- package/dist/cli/{index-epfjc1c1.js → index-ekgc71m1.js} +10 -10
- package/dist/cli/{index-s4bkey0q.js → index-gc6h1fmf.js} +4 -4
- package/dist/cli/index-gx2vp8gx.js +100 -0
- package/dist/cli/{index-h59vsbch.js → index-htrb9ec3.js} +1 -1
- package/dist/cli/{index-yfpswnjt.js → index-jmrsfhwq.js} +3 -3
- package/dist/cli/{index-rb9jmj30.js → index-jrfv2am8.js} +7 -7
- package/dist/cli/{index-pskba939.js → index-jscqefqm.js} +1 -1
- package/dist/cli/{index-y98fvmb8.js → index-kp654qcw.js} +32 -17
- package/dist/cli/{index-93nx95me.js → index-mhrn7hbb.js} +8 -7
- package/dist/cli/{index-h4nh6s8b.js → index-nhxykfyy.js} +1 -1
- package/dist/cli/{index-yp25bc9n.js → index-pnt98k7z.js} +7 -7
- package/dist/cli/{index-vp9pn7sv.js → index-ret97f1t.js} +5 -5
- package/dist/cli/{index-sj29n50e.js → index-v1sc1gxv.js} +6 -6
- package/dist/cli/{index-a11ztzs5.js → index-vmthakz0.js} +1 -1
- package/dist/cli/{index-b567t0cr.js → index-x6kjbjya.js} +9 -7
- package/dist/cli/{index-m1w40kfw.js → index-zptq8mp1.js} +4 -103
- package/dist/cli/{index-34bwqcea.js → index-zvxy0mev.js} +1 -1
- package/dist/cli/{index-zz7gzw57.js → index-zxdawwc7.js} +88 -4
- package/dist/cli/index.js +45 -43
- package/dist/cli/{knowledge-escalator-z6tkgrjq.js → knowledge-escalator-x8vcmb6k.js} +16 -15
- package/dist/cli/{knowledge-events-2bgefatz.js → knowledge-events-naf9kyyc.js} +14 -13
- package/dist/cli/{knowledge-link-gfz47ves.js → knowledge-link-g0q25hqv.js} +5 -4
- package/dist/cli/{knowledge-store-1fphg9sa.js → knowledge-store-dnv0ph42.js} +6 -5
- package/dist/cli/{knowledge-validator-723h2vck.js → knowledge-validator-a1rfzkmv.js} +8 -7
- package/dist/cli/{mcp-xyswgya5.js → mcp-hnb0m05a.js} +1 -1
- package/dist/cli/{pending-delegations-5zm19yvv.js → pending-delegations-05p6cmbh.js} +13 -12
- package/dist/cli/{pr-subscriptions-5hm6hzv6.js → pr-subscriptions-a2djfzyx.js} +13 -12
- package/dist/cli/{pr-workflow-gate-48rzb2bh.js → pr-workflow-gate-wkmx8nr6.js} +46 -42
- package/dist/cli/{runner-16b691ba.js → runner-hkbds12j.js} +6 -5
- package/dist/cli/{scan-cursor-m28tddrg.js → scan-cursor-4khfn5pm.js} +8 -8
- package/dist/cli/{schema-jt9axyj6.js → schema-a5zb02h8.js} +3 -1
- package/dist/cli/{scope-persistence-d0358pw7.js → scope-persistence-nsw324ce.js} +18 -17
- package/dist/cli/{server-d5jxcbxz.js → server-exj4wt8j.js} +52 -50
- package/dist/cli/{skill-generator-qanka67x.js → skill-generator-r2cdtx7b.js} +18 -17
- package/dist/cli/{snapshot-coordination-init-mhrq11p8.js → snapshot-coordination-init-sad6q0a2.js} +44 -42
- package/dist/cli/speckit-checkoff-46g9sqak.js +31 -0
- package/dist/cli/{workspace-snapshot-rfnn80dg.js → workspace-snapshot-4m2ex1ey.js} +4 -5
- package/dist/cli/{worktree-collision-ownership-ygdbpexh.js → worktree-collision-ownership-4znkfq1t.js} +16 -16
- package/dist/cli/{worktree-isolation-4855f2az.js → worktree-isolation-mv9ee00v.js} +44 -42
- package/dist/commands/pr-feedback-loop.d.ts +1 -0
- package/dist/commands/registry.d.ts +10 -2
- package/dist/config/schema.d.ts +27 -0
- package/dist/hooks/delegation-tracker.d.ts +6 -1
- package/dist/hooks/pr-workflow-gate.d.ts +1 -1
- package/dist/index.js +626 -600
- package/dist/sdd/effective-spec.d.ts +35 -22
- package/dist/sdd/speckit-checkoff.d.ts +113 -0
- package/dist/session/hydration-ownership.d.ts +83 -0
- package/dist/session/snapshot-coordination-init.d.ts +2 -1
- package/dist/session/snapshot-reader.d.ts +25 -7
- package/dist/state.d.ts +32 -2
- package/opencode-swarm.schema.json +40 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-dds2fnhj.js +0 -72
- package/dist/cli/guardrail-explain-qm5wej7v.js +0 -73
- package/dist/cli/hive-promoter-1mhx2jh0.js +0 -87
- package/dist/cli/index-4ddpvd5c.js +0 -94
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
writeSpeckitCheckoffLedger
|
|
4
|
+
} from "./index-b9z9gvx0.js";
|
|
2
5
|
import {
|
|
3
6
|
validateSpecContent
|
|
4
|
-
} from "./index-
|
|
7
|
+
} from "./index-0725jpp7.js";
|
|
5
8
|
import {
|
|
6
9
|
advisoryWarn,
|
|
7
10
|
init_warning_buffer
|
|
8
|
-
} from "./index-
|
|
11
|
+
} from "./index-zxdawwc7.js";
|
|
12
|
+
import {
|
|
13
|
+
init_logger,
|
|
14
|
+
log
|
|
15
|
+
} from "./index-zgwm4ryv.js";
|
|
9
16
|
|
|
10
17
|
// src/sdd/effective-spec.ts
|
|
11
18
|
import { createHash } from "crypto";
|
|
12
19
|
import * as fs from "fs";
|
|
13
20
|
import * as path from "path";
|
|
14
21
|
init_warning_buffer();
|
|
22
|
+
init_logger();
|
|
15
23
|
var SWARM_SPEC_REL = path.join(".swarm", "spec.md");
|
|
16
24
|
var OPENSPEC_ROOT = "openspec";
|
|
17
25
|
var SPECKIT_MARKER = ".specify";
|
|
@@ -297,12 +305,14 @@ function parseSpeckitRequirements(content, sourceRel) {
|
|
|
297
305
|
if (!/\b(MUST|SHALL|SHOULD|MAY)\b/i.test(line))
|
|
298
306
|
continue;
|
|
299
307
|
const text = line.trim().replace(/^\s*[-*]\s+/, "");
|
|
300
|
-
const explicit = line.match(/\b(FR-(?!000)\d{3})\b/);
|
|
308
|
+
const explicit = line.match(/\b((?:[A-Za-z0-9][A-Za-z0-9._-]*\/)?FR-(?!000)\d{3})\b/);
|
|
301
309
|
if (explicit) {
|
|
310
|
+
const raw = explicit[1];
|
|
311
|
+
const id = raw.includes("/") ? raw : raw.toUpperCase();
|
|
302
312
|
requirements.push({
|
|
303
|
-
id
|
|
313
|
+
id,
|
|
304
314
|
kind: "CURRENT",
|
|
305
|
-
title:
|
|
315
|
+
title: id,
|
|
306
316
|
text,
|
|
307
317
|
sourceRel
|
|
308
318
|
});
|
|
@@ -327,7 +337,7 @@ function resolveSpeckitProjection(directory, options = {}) {
|
|
|
327
337
|
if (detection.features.length === 0) {
|
|
328
338
|
return { kind: "empty" };
|
|
329
339
|
}
|
|
330
|
-
let
|
|
340
|
+
let selectedFeatures;
|
|
331
341
|
if (options.feature) {
|
|
332
342
|
const found = detection.features.find((f) => f.featureId === options.feature);
|
|
333
343
|
if (!found) {
|
|
@@ -337,15 +347,14 @@ function resolveSpeckitProjection(directory, options = {}) {
|
|
|
337
347
|
available: detection.features.map((f) => f.featureId)
|
|
338
348
|
};
|
|
339
349
|
}
|
|
340
|
-
|
|
341
|
-
} else if (detection.features.length === 1) {
|
|
342
|
-
selectedFeature = detection.features[0];
|
|
350
|
+
selectedFeatures = [found];
|
|
343
351
|
} else {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
352
|
+
selectedFeatures = detection.features;
|
|
353
|
+
}
|
|
354
|
+
if (selectedFeatures.length > 1) {
|
|
355
|
+
return buildMultiFeatureProjection(root, selectedFeatures);
|
|
348
356
|
}
|
|
357
|
+
const selectedFeature = selectedFeatures[0];
|
|
349
358
|
const specAbs = path.join(root, selectedFeature.specRelPath);
|
|
350
359
|
const content = readTextBounded(specAbs);
|
|
351
360
|
if (content === null) {
|
|
@@ -379,6 +388,7 @@ function resolveSpeckitProjection(directory, options = {}) {
|
|
|
379
388
|
for (const req of requirements) {
|
|
380
389
|
lines.push(renderRequirement(req, usedIds, warnings, reservedIds));
|
|
381
390
|
}
|
|
391
|
+
const featureRequirementIds = [...usedIds];
|
|
382
392
|
lines.push(...renderSuccessCriteriaScaffold(selectedFeature.featureId, usedIds));
|
|
383
393
|
const projected = `${lines.join(`
|
|
384
394
|
`)}
|
|
@@ -402,7 +412,111 @@ function resolveSpeckitProjection(directory, options = {}) {
|
|
|
402
412
|
sourcePaths: [selectedFeature.specRelPath],
|
|
403
413
|
warnings
|
|
404
414
|
};
|
|
405
|
-
return {
|
|
415
|
+
return {
|
|
416
|
+
kind: "ok",
|
|
417
|
+
spec,
|
|
418
|
+
features: [selectedFeature.featureId],
|
|
419
|
+
namespaced: false,
|
|
420
|
+
featureRequirementIds: [featureRequirementIds]
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function bareFrPart(id) {
|
|
424
|
+
const idx = id.lastIndexOf("/");
|
|
425
|
+
return idx === -1 ? id : id.slice(idx + 1);
|
|
426
|
+
}
|
|
427
|
+
function renderNamespacedRequirement(featureId, req, usedNs, usedBare, reservedBare, warnings) {
|
|
428
|
+
const explicitBare = req.id ? bareFrPart(req.id) : null;
|
|
429
|
+
const explicitNs = explicitBare ? `${featureId}/${explicitBare}` : null;
|
|
430
|
+
let id;
|
|
431
|
+
if (explicitNs && !usedNs.has(explicitNs)) {
|
|
432
|
+
id = explicitNs;
|
|
433
|
+
usedBare.add(explicitBare);
|
|
434
|
+
} else {
|
|
435
|
+
id = `${featureId}/${nextFrId(usedBare, warnings, reservedBare)}`;
|
|
436
|
+
}
|
|
437
|
+
if (explicitNs && explicitNs !== id) {
|
|
438
|
+
warnings.push(`Duplicate requirement id ${explicitNs} in ${req.sourceRel}; generated ${id}.`);
|
|
439
|
+
}
|
|
440
|
+
usedNs.add(id);
|
|
441
|
+
let text = req.text;
|
|
442
|
+
if (req.id && text.includes(req.id)) {
|
|
443
|
+
text = text.replace(req.id, id);
|
|
444
|
+
} else if (!text.includes(id)) {
|
|
445
|
+
text = `${id}: ${text}`;
|
|
446
|
+
}
|
|
447
|
+
return `- ${text} _(source: ${req.sourceRel})_`;
|
|
448
|
+
}
|
|
449
|
+
function buildMultiFeatureProjection(root, features) {
|
|
450
|
+
const warnings = [];
|
|
451
|
+
const lines = [
|
|
452
|
+
"# Specification: Effective SDD Projection",
|
|
453
|
+
"",
|
|
454
|
+
"Generated from Spec-Kit feature artifacts. Update the source artifacts, then run `/swarm sdd project` to refresh this projection.",
|
|
455
|
+
"",
|
|
456
|
+
"## Source Artifacts",
|
|
457
|
+
...features.map((f) => `- ${f.specRelPath}`),
|
|
458
|
+
"",
|
|
459
|
+
"## Functional Requirements"
|
|
460
|
+
];
|
|
461
|
+
const scUsedIds = new Set;
|
|
462
|
+
const featureRequirementIds = [];
|
|
463
|
+
let mtimeMs = 0;
|
|
464
|
+
for (const feature of features) {
|
|
465
|
+
const specAbs = path.join(root, feature.specRelPath);
|
|
466
|
+
const content = readTextBounded(specAbs);
|
|
467
|
+
if (content === null) {
|
|
468
|
+
return { kind: "zero_requirements", feature: feature.featureId };
|
|
469
|
+
}
|
|
470
|
+
const requirements = parseSpeckitRequirements(content, feature.specRelPath);
|
|
471
|
+
if (requirements.length === 0) {
|
|
472
|
+
return { kind: "zero_requirements", feature: feature.featureId };
|
|
473
|
+
}
|
|
474
|
+
const usedNs = new Set;
|
|
475
|
+
const usedBare = new Set;
|
|
476
|
+
const reservedBare = new Set;
|
|
477
|
+
for (const req of requirements) {
|
|
478
|
+
if (req.id)
|
|
479
|
+
reservedBare.add(bareFrPart(req.id));
|
|
480
|
+
}
|
|
481
|
+
try {
|
|
482
|
+
mtimeMs = Math.max(mtimeMs, fs.lstatSync(specAbs).mtimeMs);
|
|
483
|
+
} catch {}
|
|
484
|
+
lines.push("", `### ${feature.featureId}`);
|
|
485
|
+
for (const req of requirements) {
|
|
486
|
+
lines.push(renderNamespacedRequirement(feature.featureId, req, usedNs, usedBare, reservedBare, warnings));
|
|
487
|
+
}
|
|
488
|
+
featureRequirementIds.push([...usedNs]);
|
|
489
|
+
lines.push(...renderSuccessCriteriaScaffold(feature.featureId, scUsedIds));
|
|
490
|
+
}
|
|
491
|
+
const projected = `${lines.join(`
|
|
492
|
+
`)}
|
|
493
|
+
`;
|
|
494
|
+
if (projected.length > MAX_SPEC_BYTES) {
|
|
495
|
+
return {
|
|
496
|
+
kind: "too_large",
|
|
497
|
+
feature: features[features.length - 1].featureId,
|
|
498
|
+
bytes: projected.length
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
const validation = validateSpecContent(projected);
|
|
502
|
+
if (!validation.valid) {
|
|
503
|
+
warnings.push(...validation.issues.map((issue) => `Projection line ${issue.line}: ${issue.message}`));
|
|
504
|
+
}
|
|
505
|
+
const spec = {
|
|
506
|
+
source: "speckit_projection",
|
|
507
|
+
content: projected,
|
|
508
|
+
hash: hash(projected),
|
|
509
|
+
mtime: mtimeMs > 0 ? new Date(mtimeMs).toISOString() : null,
|
|
510
|
+
sourcePaths: features.map((f) => f.specRelPath),
|
|
511
|
+
warnings
|
|
512
|
+
};
|
|
513
|
+
return {
|
|
514
|
+
kind: "ok",
|
|
515
|
+
spec,
|
|
516
|
+
features: features.map((f) => f.featureId),
|
|
517
|
+
namespaced: true,
|
|
518
|
+
featureRequirementIds
|
|
519
|
+
};
|
|
406
520
|
}
|
|
407
521
|
function buildSpeckitProjectionSync(directory, options = {}) {
|
|
408
522
|
const resolution = resolveSpeckitProjection(directory, options);
|
|
@@ -599,12 +713,32 @@ function readEffectiveSpecSync(directory, opts) {
|
|
|
599
713
|
}
|
|
600
714
|
function writeProjectedSpecSync(directory, options = {}) {
|
|
601
715
|
const root = path.resolve(directory);
|
|
602
|
-
|
|
716
|
+
let speckitResolution = null;
|
|
717
|
+
let projection;
|
|
718
|
+
if (options.source === "speckit") {
|
|
719
|
+
speckitResolution = resolveSpeckitProjection(root, {
|
|
720
|
+
feature: options.feature
|
|
721
|
+
});
|
|
722
|
+
projection = speckitResolution.kind === "ok" ? speckitResolution.spec : null;
|
|
723
|
+
} else {
|
|
724
|
+
projection = buildOpenSpecProjectionSync(root, {
|
|
725
|
+
changeId: options.changeId
|
|
726
|
+
});
|
|
727
|
+
}
|
|
603
728
|
const target = path.join(root, SWARM_SPEC_REL);
|
|
604
729
|
if (!projection || options.dryRun) {
|
|
605
730
|
return { written: false, projection, path: target };
|
|
606
731
|
}
|
|
607
732
|
fs.mkdirSync(path.dirname(target), { recursive: true });
|
|
733
|
+
const buildLedgerAfterWrite = () => {
|
|
734
|
+
if (!speckitResolution || speckitResolution.kind !== "ok")
|
|
735
|
+
return;
|
|
736
|
+
try {
|
|
737
|
+
writeSpeckitCheckoffLedger(root, speckitResolution);
|
|
738
|
+
} catch (err) {
|
|
739
|
+
log(`[sdd] check-off ledger build failed after projection write: ${err instanceof Error ? err.message : String(err)}`);
|
|
740
|
+
}
|
|
741
|
+
};
|
|
608
742
|
if (!options.overwrite) {
|
|
609
743
|
try {
|
|
610
744
|
fs.writeFileSync(target, projection.content, { flag: "wx" });
|
|
@@ -619,6 +753,7 @@ function writeProjectedSpecSync(directory, options = {}) {
|
|
|
619
753
|
}
|
|
620
754
|
throw err;
|
|
621
755
|
}
|
|
756
|
+
buildLedgerAfterWrite();
|
|
622
757
|
return { written: true, projection, path: target };
|
|
623
758
|
}
|
|
624
759
|
let archivePath;
|
|
@@ -635,6 +770,7 @@ function writeProjectedSpecSync(directory, options = {}) {
|
|
|
635
770
|
const tmp = `${target}.tmp-${process.pid}-${Date.now()}`;
|
|
636
771
|
fs.writeFileSync(tmp, projection.content, "utf-8");
|
|
637
772
|
fs.renameSync(tmp, target);
|
|
773
|
+
buildLedgerAfterWrite();
|
|
638
774
|
return { written: true, projection, archivePath, path: target };
|
|
639
775
|
}
|
|
640
776
|
function validateSpeckit(directory, options = {}) {
|
|
@@ -647,44 +783,48 @@ function validateSpeckit(directory, options = {}) {
|
|
|
647
783
|
if (resolution.kind === "zero_requirements") {
|
|
648
784
|
problems.push(`Feature '${resolution.feature}' contains no parsable functional requirements.`);
|
|
649
785
|
}
|
|
650
|
-
const
|
|
651
|
-
const
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
786
|
+
const featureIds = resolution.kind === "ok" ? resolution.features : [resolution.feature];
|
|
787
|
+
const prefix = featureIds.length > 1 ? (id, p) => `[${id}] ${p}` : (_id, p) => p;
|
|
788
|
+
for (const featureId of featureIds) {
|
|
789
|
+
const detection = detectSpeckit(root);
|
|
790
|
+
const featureEntry = detection.features.find((f) => f.featureId === featureId);
|
|
791
|
+
if (!featureEntry) {
|
|
792
|
+
continue;
|
|
793
|
+
}
|
|
794
|
+
const specAbs = path.join(root, featureEntry.specRelPath);
|
|
795
|
+
let specContent = null;
|
|
796
|
+
try {
|
|
797
|
+
specContent = readTextBounded(specAbs);
|
|
798
|
+
} catch {}
|
|
799
|
+
if (specContent !== null) {
|
|
800
|
+
const specLines = specContent.replace(/\r\n/g, `
|
|
662
801
|
`).split(`
|
|
663
802
|
`);
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
803
|
+
for (const requiredHeader of SPECKIT_REQUIRED_SECTIONS) {
|
|
804
|
+
if (!specLines.some((line) => line.trimEnd() === requiredHeader)) {
|
|
805
|
+
problems.push(prefix(featureId, `Missing required spec.md section: ${requiredHeader}`));
|
|
806
|
+
}
|
|
667
807
|
}
|
|
668
808
|
}
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
const tasksLines = tasksContent.replace(/\r\n/g, `
|
|
809
|
+
const tasksAbs = path.join(path.dirname(specAbs), "tasks.md");
|
|
810
|
+
let tasksContent = null;
|
|
811
|
+
try {
|
|
812
|
+
tasksContent = readTextBounded(tasksAbs);
|
|
813
|
+
} catch {}
|
|
814
|
+
if (tasksContent !== null) {
|
|
815
|
+
const tasksLines = tasksContent.replace(/\r\n/g, `
|
|
677
816
|
`).split(`
|
|
678
817
|
`);
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
818
|
+
for (const line of tasksLines) {
|
|
819
|
+
const taskMatch = line.match(/^\s*-\s+\[[ xX]\]\s+(T\d+)/);
|
|
820
|
+
if (!taskMatch)
|
|
821
|
+
continue;
|
|
822
|
+
const taskId = taskMatch[1];
|
|
823
|
+
const hasStoryRef = /\[US\d+\]/i.test(line);
|
|
824
|
+
const hasReqRef = /\bFR-(?!000)\d{3}\b/i.test(line);
|
|
825
|
+
if (!hasStoryRef && !hasReqRef) {
|
|
826
|
+
problems.push(prefix(featureId, `Task ${taskId} has no spec/requirement reference.`));
|
|
827
|
+
}
|
|
688
828
|
}
|
|
689
829
|
}
|
|
690
830
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-8b1f2t5q.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gc6h1fmf.js";
|
|
9
9
|
import {
|
|
10
10
|
bunSpawn,
|
|
11
11
|
classifySpawnFailure
|
|
@@ -15,18 +15,16 @@ import {
|
|
|
15
15
|
atomicWriteFile,
|
|
16
16
|
taskEvidencePath,
|
|
17
17
|
withTaskEvidenceLock
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-0v1rtanv.js";
|
|
19
19
|
import {
|
|
20
20
|
telemetry
|
|
21
21
|
} from "./index-qt0793qm.js";
|
|
22
22
|
import {
|
|
23
|
+
advisoryWarn,
|
|
23
24
|
init_git_executable,
|
|
25
|
+
init_warning_buffer,
|
|
24
26
|
resolveGitExecutable
|
|
25
|
-
} from "./index-
|
|
26
|
-
import {
|
|
27
|
-
advisoryWarn,
|
|
28
|
-
init_warning_buffer
|
|
29
|
-
} from "./index-4ddpvd5c.js";
|
|
27
|
+
} from "./index-zxdawwc7.js";
|
|
30
28
|
import {
|
|
31
29
|
exports_external,
|
|
32
30
|
init_zod
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-bdpgfep1.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-92m05mew.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,27 +14,25 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-caj76d0f.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-gc6h1fmf.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
24
|
-
import {
|
|
25
|
-
tryAcquireLock
|
|
26
|
-
} from "./index-f2v90gfc.js";
|
|
23
|
+
} from "./index-htrb9ec3.js";
|
|
27
24
|
import {
|
|
28
25
|
canonicalRootKeyFresh
|
|
29
26
|
} from "./index-1xnse449.js";
|
|
30
27
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./index-zz7gzw57.js";
|
|
28
|
+
tryAcquireLock
|
|
29
|
+
} from "./index-ejhxgyvm.js";
|
|
34
30
|
import {
|
|
35
31
|
advisoryWarn,
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
init_git_executable,
|
|
33
|
+
init_warning_buffer,
|
|
34
|
+
resolveGitExecutable
|
|
35
|
+
} from "./index-zxdawwc7.js";
|
|
38
36
|
import {
|
|
39
37
|
init_path_identity,
|
|
40
38
|
isPathWithinDeclaredScope
|
|
@@ -501,7 +499,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
501
499
|
awaitingMergeByCallID,
|
|
502
500
|
cleanupStandardWorktreeForCallId,
|
|
503
501
|
standardWorktreeByCallID
|
|
504
|
-
} = await import("./worktree-isolation-
|
|
502
|
+
} = await import("./worktree-isolation-mv9ee00v.js");
|
|
505
503
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
506
504
|
if (hasResidue)
|
|
507
505
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -633,7 +631,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
633
631
|
awaitingMergeByCallID,
|
|
634
632
|
finishStandardWorktreeDispatch,
|
|
635
633
|
standardWorktreeByCallID
|
|
636
|
-
} = await import("./worktree-isolation-
|
|
634
|
+
} = await import("./worktree-isolation-mv9ee00v.js");
|
|
637
635
|
const descriptor = wal.worktree;
|
|
638
636
|
const reconstructedDispatch = {
|
|
639
637
|
callID: descriptor.callID,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zptq8mp1.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-defq2crz.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.180.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -327,7 +327,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
327
327
|
};
|
|
328
328
|
return merged;
|
|
329
329
|
}
|
|
330
|
-
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
330
|
+
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
331
331
|
var init_schema = __esm(() => {
|
|
332
332
|
init_zod();
|
|
333
333
|
init_package();
|
|
@@ -1489,6 +1489,12 @@ var init_schema = __esm(() => {
|
|
|
1489
1489
|
event_delivery: exports_external.enum(["advisory", "prompt"]).default("prompt"),
|
|
1490
1490
|
auto_subscribe_on_pr_create: exports_external.boolean().default(true)
|
|
1491
1491
|
}).strict();
|
|
1492
|
+
PrFeedbackLoopConfigSchema = exports_external.object({
|
|
1493
|
+
enabled: exports_external.boolean().default(false),
|
|
1494
|
+
max_actions_per_pr: exports_external.number().int().min(1).max(10).default(3),
|
|
1495
|
+
max_session_actions: exports_external.number().int().min(1).max(50).default(10),
|
|
1496
|
+
publication: exports_external.enum(["none"]).default("none")
|
|
1497
|
+
});
|
|
1492
1498
|
ParallelizationConfigSchema = exports_external.object({
|
|
1493
1499
|
enabled: exports_external.boolean().default(false),
|
|
1494
1500
|
maxConcurrentTasks: exports_external.number().int().min(1).max(64).default(1),
|
|
@@ -1748,6 +1754,9 @@ var init_schema = __esm(() => {
|
|
|
1748
1754
|
integration_analysis: IntegrationAnalysisConfigSchema.optional().describe("Integration analysis settings."),
|
|
1749
1755
|
docs: DocsConfigSchema.optional().describe("Documentation synthesizer (docs agent) settings."),
|
|
1750
1756
|
design_docs: DesignDocsConfigSchema.optional().describe("Structured design-doc generation (issue #1080, docs_design agent) \u2014 opt-in."),
|
|
1757
|
+
speckit_checkoff: exports_external.object({
|
|
1758
|
+
enabled: exports_external.boolean().default(false).describe("Check off mapped Spec-Kit tasks in the source tasks.md when Swarm completes a plan task (issue #2501). Off by default \u2014 write-back to user-owned files is opt-in.")
|
|
1759
|
+
}).optional().describe("Spec-Kit tasks.md check-off round trip (issue #2501) \u2014 opt-in, never on by default."),
|
|
1751
1760
|
git: GitConfigSchema.optional().describe("Git executable resolution override (issue #2236 hardening)."),
|
|
1752
1761
|
ui_review: UIReviewConfigSchema.optional().describe("UI/UX review (designer agent) settings."),
|
|
1753
1762
|
compaction_advisory: CompactionAdvisoryConfigSchema.optional().describe("Compaction advisory settings."),
|
|
@@ -1949,6 +1958,7 @@ var init_schema = __esm(() => {
|
|
|
1949
1958
|
cleanup_timeout_ms: 2000
|
|
1950
1959
|
}
|
|
1951
1960
|
})).describe("Full-auto autonomous orchestration with critic oversight: permission policy, denial accounting, oversight cadence triggers (v2 preserves v1 fields so existing configs load unchanged)."),
|
|
1961
|
+
pr_feedback_loop: PrFeedbackLoopConfigSchema.optional().describe("Autonomous PR babysitting settling loop (issue #2502) \u2014 triple opt-in with pr_monitor.enabled + pr_monitor.auto_pr_feedback; off by default; publication profile is none-only."),
|
|
1952
1962
|
pr_monitor: PrMonitorConfigSchema.optional().describe("GitHub PR subscription and polling (FR-001) \u2014 disabled by default; opt-in for real-time PR status updates."),
|
|
1953
1963
|
external_skills: ExternalSkillsConfigSchema.optional().describe("External skills: candidate model, discovery, and quarantine store (FR-001) \u2014 all subsystems opt-in."),
|
|
1954
1964
|
skills: SkillsConfigSchema.optional().describe("Opt-in gate for the 7 skill_* management tools (FR-004). Default false: the tools are host-denied for every agent except skill_improver (genuinely unreachable, not merely unlisted \u2014 issue #2528)."),
|
|
@@ -1957,4 +1967,4 @@ var init_schema = __esm(() => {
|
|
|
1957
1967
|
});
|
|
1958
1968
|
});
|
|
1959
1969
|
|
|
1960
|
-
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
1970
|
+
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|