opencode-swarm 7.148.0 → 7.148.2
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 +6 -4
- package/.opencode/skills/swarm-pr-review/references/findings-persistence-contract.md +33 -1
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +2 -2
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +1 -2
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +11 -3
- package/dist/background/pending-delegations.d.ts +1 -1
- package/dist/background/pr-review-collection-receipt.d.ts +2 -2
- package/dist/background/pr-review-contract.d.ts +148 -0
- package/dist/background/pr-review-trigger-contract.d.ts +1 -0
- package/dist/cli/{config-doctor-z2wam5wn.js → config-doctor-6danhdcy.js} +2 -2
- package/dist/cli/{core-k7m76ce0.js → core-0ghwny8q.js} +1 -1
- package/dist/cli/{curation-policy-kd8j8cne.js → curation-policy-hkdghd3a.js} +6 -6
- package/dist/cli/{curator-llm-factory-4qt8b15s.js → curator-llm-factory-6n47j5qn.js} +27 -27
- package/dist/cli/{curator-jwpm52kg.js → curator-wvm7qbkk.js} +27 -27
- package/dist/cli/{evidence-summary-service-90z295j3.js → evidence-summary-service-0xwrkmf9.js} +11 -11
- package/dist/cli/{gate-evidence-3q6q71fw.js → gate-evidence-6e5yhcy6.js} +6 -6
- package/dist/cli/{guardrail-explain-44xt373y.js → guardrail-explain-tgv7rvap.js} +28 -28
- package/dist/cli/{guardrail-log-kbp5jztb.js → guardrail-log-k0zk6rbs.js} +3 -3
- package/dist/cli/{guardrail-reset-vpazhh8k.js → guardrail-reset-4fw16xmb.js} +27 -27
- package/dist/cli/{hive-promoter-tdrkz9nh.js → hive-promoter-zemwxxw1.js} +27 -27
- package/dist/cli/{index-dfvh1r8g.js → index-03wz9h63.js} +29 -29
- package/dist/cli/{index-d3bdr78h.js → index-092deqxs.js} +2 -1
- package/dist/cli/{index-pgvx3rkq.js → index-2n9rwvcc.js} +1 -1
- package/dist/cli/{index-7hctrdk8.js → index-2zz8b0rb.js} +2 -2
- package/dist/cli/{index-qwj7qjjp.js → index-3pbvdde0.js} +2 -2
- package/dist/cli/{index-ykjjqg79.js → index-5vyej8pc.js} +6 -6
- package/dist/cli/{index-9pmmexsd.js → index-7jaq84cg.js} +1 -1
- package/dist/cli/{index-52gnz782.js → index-84ytts36.js} +4 -4
- package/dist/cli/{index-k6h5yc1j.js → index-crpkb5x6.js} +5 -5
- package/dist/cli/{index-p62we2ar.js → index-ebt47fnp.js} +1 -1
- package/dist/cli/{index-q81s0m8k.js → index-ghbkknjz.js} +79 -38
- package/dist/cli/{index-crpb0qke.js → index-hsq8nyen.js} +4522 -2938
- package/dist/cli/{index-sycndcwd.js → index-k2ad2vtb.js} +1 -1
- package/dist/cli/{index-qcm97jfh.js → index-m5z2fgs4.js} +1 -1
- package/dist/cli/{index-n96wwf56.js → index-mbcyz77e.js} +4 -4
- package/dist/cli/{index-702zx3rk.js → index-mgcffsk0.js} +1 -1
- package/dist/cli/{index-7ac5z627.js → index-ndqhtgrc.js} +1 -1
- package/dist/cli/{index-ffevkn7k.js → index-nqwn8sf0.js} +1 -1
- package/dist/cli/{index-016708th.js → index-nxydm56k.js} +2 -2
- package/dist/cli/{index-dmbaaz6d.js → index-pzt7ed53.js} +4 -4
- package/dist/cli/{index-n0fpefqx.js → index-q6kscnts.js} +4 -4
- package/dist/cli/{index-zwpttdgn.js → index-r9g7ymv2.js} +1 -1
- package/dist/cli/{index-6q35swn2.js → index-rsn4jm90.js} +1 -1
- package/dist/cli/{index-jpa03jcc.js → index-s0nss8c4.js} +1 -1
- package/dist/cli/{index-gwrv6c56.js → index-s0s1e5jp.js} +7 -7
- package/dist/cli/{index-07zgs6y0.js → index-wgrvq2bc.js} +14 -10
- package/dist/cli/{index-y586zet4.js → index-x4kgn37c.js} +2 -2
- package/dist/cli/{index-h879g4r4.js → index-x9jppg8b.js} +3 -3
- package/dist/cli/{index-rcjq8dm4.js → index-x9q0b3a8.js} +2 -2
- package/dist/cli/{index-x4rxh8j9.js → index-xn7h24x4.js} +3 -3
- package/dist/cli/{index-2y14mjfn.js → index-zpn3wqvp.js} +10 -7
- package/dist/cli/index.js +27 -27
- package/dist/cli/{knowledge-escalator-0qnm48g8.js → knowledge-escalator-rfw35yt1.js} +11 -11
- package/dist/cli/{knowledge-events-3zv81nzp.js → knowledge-events-wmjm5wn6.js} +9 -9
- package/dist/cli/{knowledge-link-w91bcyx2.js → knowledge-link-5dctq0ax.js} +5 -5
- package/dist/cli/{knowledge-store-njtx6wj1.js → knowledge-store-f2ev6s5p.js} +8 -6
- package/dist/cli/{knowledge-validator-7eqj5afv.js → knowledge-validator-6cmwpx9e.js} +8 -8
- package/dist/cli/{pending-delegations-k4x00mqc.js → pending-delegations-h4gr264y.js} +3 -3
- package/dist/cli/{pr-subscriptions-x2mqc3f1.js → pr-subscriptions-9mg6mwc0.js} +3 -3
- package/dist/cli/{runner-gfzkp9nv.js → runner-9g2pcg10.js} +6 -6
- package/dist/cli/{scan-cursor-a6dhyf55.js → scan-cursor-x1ma7edk.js} +7 -7
- package/dist/cli/{schema-p0vn1zgh.js → schema-g5ggmb47.js} +1 -1
- package/dist/cli/{scope-persistence-zs97zkt7.js → scope-persistence-gt0zpp6a.js} +7 -7
- package/dist/cli/{skill-generator-5qg15q1j.js → skill-generator-q6m110d5.js} +13 -13
- package/dist/cli/{telemetry-xzy0qeap.js → telemetry-1pnsftp0.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-q2gswg16.js → worktree-collision-ownership-e0p490vw.js} +3 -3
- package/dist/cli/{worktree-isolation-ndb5fwys.js → worktree-isolation-akwwt8n5.js} +27 -27
- package/dist/consensus/contracts.d.ts +5 -1
- package/dist/consensus/corpus.d.ts +26 -3
- package/dist/consensus/miner.d.ts +5 -1
- package/dist/hooks/curator.d.ts +41 -1
- package/dist/hooks/knowledge-store.d.ts +26 -2
- package/dist/hooks/pr-workflow-gate.d.ts +26 -1
- package/dist/hooks/skill-scoring.d.ts +13 -3
- package/dist/hooks/skill-usage-log.d.ts +140 -17
- package/dist/hooks/skill-usage-pending.d.ts +392 -0
- package/dist/index.js +513 -505
- package/dist/observability/catalog.d.ts +6 -4
- package/dist/telemetry.d.ts +35 -1
- package/dist/tools/write-pr-review-artifact.d.ts +7 -0
- package/dist/tools/write-pr-review-trigger-eval.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-r9g7ymv2.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-wgrvq2bc.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-m5z2fgs4.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-2zz8b0rb.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -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.148.
|
|
24
|
+
version: "7.148.2",
|
|
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",
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-gt0zpp6a.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-wgrvq2bc.js";
|
|
6
6
|
import {
|
|
7
7
|
init_git_executable,
|
|
8
8
|
resolveGitExecutableAsync
|
|
9
9
|
} from "./index-9e6fdz2h.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveKnowledgeStoreDir
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-m5z2fgs4.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-mbcyz77e.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-wgrvq2bc.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-s0s1e5jp.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
atomicWriteFileAnyRoot,
|
|
30
30
|
atomicWriteSwarmFile
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-zpn3wqvp.js";
|
|
32
32
|
import {
|
|
33
33
|
init_logger,
|
|
34
34
|
log,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ndqhtgrc.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-2zz8b0rb.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-rsn4jm90.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-ghbkknjz.js";
|
|
36
36
|
import {
|
|
37
37
|
exports_external,
|
|
38
38
|
init_zod
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-m5z2fgs4.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPluginConfigWithMeta
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nqwn8sf0.js";
|
|
5
5
|
import {
|
|
6
6
|
KnowledgeConfigSchema,
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-mgcffsk0.js";
|
|
9
9
|
import {
|
|
10
10
|
validateSwarmPath
|
|
11
11
|
} from "./index-4cgee5vh.js";
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-m5z2fgs4.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-2zz8b0rb.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-rsn4jm90.js";
|
|
24
24
|
import {
|
|
25
25
|
emit
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-ghbkknjz.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2693,7 +2693,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
let bumps = 0;
|
|
2695
2695
|
if (deltas.length > 0) {
|
|
2696
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2696
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-f2ev6s5p.js");
|
|
2697
2697
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2698
|
}
|
|
2699
2699
|
return {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-m5z2fgs4.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2zz8b0rb.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -671,8 +671,12 @@ function inferTags(lesson) {
|
|
|
671
671
|
var CONFIDENCE_FLOOR = 0.1;
|
|
672
672
|
var CONFIDENCE_CEILING = 1;
|
|
673
673
|
async function bumpKnowledgeConfidenceBatch(directory, deltas, options) {
|
|
674
|
+
const { applied } = await bumpKnowledgeConfidenceBatchResult(directory, deltas, options);
|
|
675
|
+
return applied;
|
|
676
|
+
}
|
|
677
|
+
async function bumpKnowledgeConfidenceBatchResult(directory, deltas, options) {
|
|
674
678
|
if (deltas.length === 0)
|
|
675
|
-
return 0;
|
|
679
|
+
return { applied: 0, failed: false };
|
|
676
680
|
const swarmPath = resolveSwarmKnowledgePath(directory);
|
|
677
681
|
const hivePath = resolveHiveKnowledgePath2();
|
|
678
682
|
const touchedSwarm = [];
|
|
@@ -689,10 +693,10 @@ async function bumpKnowledgeConfidenceBatch(directory, deltas, options) {
|
|
|
689
693
|
await applyConfidenceFloorAction(directory, [...touchedSwarm, ...touchedHive], options).catch((err) => {
|
|
690
694
|
log("[knowledge-store] confidence-floor action sweep failed (best-effort):", err instanceof Error ? err.message : String(err));
|
|
691
695
|
});
|
|
692
|
-
return touchedSwarm.length + touchedHive.length;
|
|
696
|
+
return { applied: touchedSwarm.length + touchedHive.length, failed: false };
|
|
693
697
|
} catch (err) {
|
|
694
698
|
log("[knowledge-store] bumpKnowledgeConfidenceBatch failed (fail-open):", err instanceof Error ? err.message : String(err));
|
|
695
|
-
return 0;
|
|
699
|
+
return { applied: 0, failed: true };
|
|
696
700
|
}
|
|
697
701
|
}
|
|
698
702
|
async function applyConfidenceFloorAction(directory, touched, options) {
|
|
@@ -709,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
713
|
const {
|
|
710
714
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
715
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
716
|
+
} = await import("./knowledge-events-wmjm5wn6.js");
|
|
713
717
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
718
|
const flagIds = new Set;
|
|
715
719
|
for (const e of atFloor) {
|
|
@@ -776,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
780
|
});
|
|
777
781
|
}
|
|
778
782
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
783
|
+
const { quarantineEntry } = await import("./knowledge-validator-6cmwpx9e.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-g5ggmb47.js");
|
|
781
785
|
let config;
|
|
782
786
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-xn7h24x4.js");
|
|
784
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
790
|
} catch {
|
|
@@ -901,4 +905,4 @@ var _internals = {
|
|
|
901
905
|
getArchivedKnowledgeIds
|
|
902
906
|
};
|
|
903
907
|
|
|
904
|
-
export { isActiveSwarmKnowledgeEntry, findActiveSwarmNearDuplicate, reinforceSwarmKnowledgeEntry, getPlatformConfigDir, resolveSwarmKnowledgePath, resolveSwarmRejectedPath, resolveSwarmRetractionsPath, resolveRewriteHistoryPath, resolveHiveKnowledgePath2 as resolveHiveKnowledgePath, resolveHiveRejectedPath2 as resolveHiveRejectedPath, resolveHiveEventsPath2 as resolveHiveEventsPath, readKnowledge, normalizeEntry, computeContentHash, readRejectedLessons, readRetractionRecords, appendRetractionRecord, appendRewriteHistory, readRewriteHistory, dedupeCapped, appendKnowledge, rewriteKnowledge, transactFile, transactKnowledge, transactKnowledgeWithCas, getArchivedKnowledgeIds, appendKnowledgeWithCapEnforcement, enforceKnowledgeCap, selectKnowledgeCapSurvivors, sweepAgedEntries, sweepStaleTodos, appendRejectedLesson, normalize, wordBigrams, jaccardBigram, findNearDuplicate, computeConfidence, MAX_CONFIRMED_BY, confirmEntriesPhase, OUTCOME_SIGNAL_SMOOTHING, computeOutcomeSignal, inferTags, bumpKnowledgeConfidenceBatch, _internals };
|
|
908
|
+
export { isActiveSwarmKnowledgeEntry, findActiveSwarmNearDuplicate, reinforceSwarmKnowledgeEntry, getPlatformConfigDir, resolveSwarmKnowledgePath, resolveSwarmRejectedPath, resolveSwarmRetractionsPath, resolveRewriteHistoryPath, resolveHiveKnowledgePath2 as resolveHiveKnowledgePath, resolveHiveRejectedPath2 as resolveHiveRejectedPath, resolveHiveEventsPath2 as resolveHiveEventsPath, readKnowledge, normalizeEntry, computeContentHash, readRejectedLessons, readRetractionRecords, appendRetractionRecord, appendRewriteHistory, readRewriteHistory, dedupeCapped, appendKnowledge, rewriteKnowledge, transactFile, transactKnowledge, transactKnowledgeWithCas, getArchivedKnowledgeIds, appendKnowledgeWithCapEnforcement, enforceKnowledgeCap, selectKnowledgeCapSurvivors, sweepAgedEntries, sweepStaleTodos, appendRejectedLesson, normalize, wordBigrams, jaccardBigram, findNearDuplicate, computeConfidence, MAX_CONFIRMED_BY, confirmEntriesPhase, OUTCOME_SIGNAL_SMOOTHING, computeOutcomeSignal, inferTags, bumpKnowledgeConfidenceBatch, bumpKnowledgeConfidenceBatchResult, _internals };
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./index-y8552snf.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2zz8b0rb.js";
|
|
13
13
|
import {
|
|
14
14
|
assertProjectRoot,
|
|
15
15
|
withEvidenceLock
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-rsn4jm90.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_external,
|
|
19
19
|
init_zod
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
PlanSchema,
|
|
5
5
|
TaskStatusSchema,
|
|
6
6
|
init_loader
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-nqwn8sf0.js";
|
|
8
8
|
import {
|
|
9
9
|
assertProjectRoot,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-rsn4jm90.js";
|
|
12
12
|
import {
|
|
13
13
|
emit
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ghbkknjz.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-nqwn8sf0.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-mgcffsk0.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-x9q0b3a8.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-nqwn8sf0.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-mgcffsk0.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -42,8 +42,8 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
46
|
-
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:14141"],
|
|
46
|
+
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:14083-14130) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
id: "target-suffix-tmp-num-num-json",
|
|
@@ -123,7 +123,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
123
123
|
"src/tools/spec-write.ts:98",
|
|
124
124
|
"src/sdd/effective-spec.ts:1149",
|
|
125
125
|
"src/background/lane-output-store.ts:353",
|
|
126
|
-
"src/background/pending-delegations.ts:
|
|
126
|
+
"src/background/pending-delegations.ts:924",
|
|
127
127
|
"src/background/delegation-health.ts:300",
|
|
128
128
|
"src/hooks/delegation-gate/worktree-provisioning-owner.ts:100",
|
|
129
129
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
@@ -171,8 +171,9 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
171
171
|
quarantineEligible: true,
|
|
172
172
|
parsesTarget: true,
|
|
173
173
|
producers: [
|
|
174
|
-
"src/tools/write-pr-review-artifact.ts:
|
|
175
|
-
"src/tools/write-pr-review-
|
|
174
|
+
"src/tools/write-pr-review-artifact.ts:121",
|
|
175
|
+
"src/tools/write-pr-review-artifact.ts:141",
|
|
176
|
+
"src/tools/write-pr-review-trigger-eval.ts:96"
|
|
176
177
|
],
|
|
177
178
|
note: "bundled-skills writes outside .swarm (project skill roots) and keeps its own contained-directory logic (invariant 4 bundled-skill ownership)"
|
|
178
179
|
},
|
|
@@ -251,8 +252,9 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
251
252
|
"src/test-impact/history-store.ts:225",
|
|
252
253
|
"src/test-impact/history-store.ts:353",
|
|
253
254
|
"src/hooks/promotion-evidence-store.ts:102",
|
|
254
|
-
"src/hooks/skill-usage-log.ts:
|
|
255
|
-
"src/hooks/skill-usage-log.ts:
|
|
255
|
+
"src/hooks/skill-usage-log.ts:1145",
|
|
256
|
+
"src/hooks/skill-usage-log.ts:1650",
|
|
257
|
+
"src/hooks/skill-usage-pending.ts:816",
|
|
256
258
|
"src/parallel/file-locks.ts:113",
|
|
257
259
|
"src/plan/ledger.ts:1302",
|
|
258
260
|
"src/plan/ledger.ts:1303"
|
|
@@ -306,6 +308,7 @@ var WRITER_CLASSIFICATION = Object.freeze({
|
|
|
306
308
|
"src/hooks/promotion-evidence-store.ts": "registered-bespoke",
|
|
307
309
|
"src/hooks/review-receipt.ts": "registered-bespoke",
|
|
308
310
|
"src/hooks/skill-usage-log.ts": "registered-bespoke",
|
|
311
|
+
"src/hooks/skill-usage-pending.ts": "registered-bespoke",
|
|
309
312
|
"src/knowledge/identity.ts": "registered-bespoke",
|
|
310
313
|
"src/memory/jsonl-migration.ts": "external",
|
|
311
314
|
"src/memory/local-jsonl-provider.ts": "registered-bespoke",
|
package/dist/cli/index.js
CHANGED
|
@@ -11,48 +11,48 @@ import {
|
|
|
11
11
|
readCachePackageVersion,
|
|
12
12
|
resolveCommand,
|
|
13
13
|
safeRealpathSync
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
14
|
+
} from "./index-hsq8nyen.js";
|
|
15
|
+
import"./index-ebt47fnp.js";
|
|
16
|
+
import"./index-s0nss8c4.js";
|
|
17
|
+
import"./index-7jaq84cg.js";
|
|
18
|
+
import"./index-5vyej8pc.js";
|
|
19
|
+
import"./index-x4kgn37c.js";
|
|
20
20
|
import"./index-134d35c1.js";
|
|
21
21
|
import"./index-nj6rmyeh.js";
|
|
22
22
|
import"./index-y8552snf.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-crpkb5x6.js";
|
|
24
|
+
import"./index-nxydm56k.js";
|
|
25
25
|
import"./index-70ha9e09.js";
|
|
26
26
|
import"./index-c8s9a3zh.js";
|
|
27
27
|
import"./index-9ss2m4rs.js";
|
|
28
28
|
import"./index-g8wwj0sz.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
29
|
+
import"./index-2n9rwvcc.js";
|
|
30
|
+
import"./index-pzt7ed53.js";
|
|
31
|
+
import"./index-mbcyz77e.js";
|
|
32
|
+
import"./index-r9g7ymv2.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-092deqxs.js";
|
|
36
36
|
import"./index-fxvgaeq4.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
37
|
+
import"./index-q6kscnts.js";
|
|
38
|
+
import"./index-ndqhtgrc.js";
|
|
39
|
+
import"./index-84ytts36.js";
|
|
40
|
+
import"./index-x9jppg8b.js";
|
|
41
41
|
import"./index-556ja8an.js";
|
|
42
42
|
import"./index-b43rt5ph.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
44
|
import"./index-3g0xk6tk.js";
|
|
45
45
|
import"./index-85gkedsf.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-wgrvq2bc.js";
|
|
47
|
+
import"./index-s0s1e5jp.js";
|
|
48
|
+
import"./index-x9q0b3a8.js";
|
|
49
49
|
import"./index-gprxjmm7.js";
|
|
50
50
|
import"./index-n832052r.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-nqwn8sf0.js";
|
|
52
52
|
import {
|
|
53
53
|
init_package,
|
|
54
54
|
package_default
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-mgcffsk0.js";
|
|
56
56
|
import {
|
|
57
57
|
DEFAULT_AGENT_CONFIGS,
|
|
58
58
|
init_constants
|
|
@@ -64,12 +64,12 @@ import"./index-z6xqpmqg.js";
|
|
|
64
64
|
import"./index-r3mvsbtq.js";
|
|
65
65
|
import"./index-zjygnfay.js";
|
|
66
66
|
import"./index-ae75rja9.js";
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
67
|
+
import"./index-m5z2fgs4.js";
|
|
68
|
+
import"./index-2zz8b0rb.js";
|
|
69
69
|
import"./index-bk5tah7q.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
70
|
+
import"./index-zpn3wqvp.js";
|
|
71
|
+
import"./index-rsn4jm90.js";
|
|
72
|
+
import"./index-ghbkknjz.js";
|
|
73
73
|
import"./index-7g4c7s5r.js";
|
|
74
74
|
import"./index-bpmtbmy9.js";
|
|
75
75
|
import"./index-ed5ykebp.js";
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
} from "./index-crpkb5x6.js";
|
|
13
|
+
import"./index-wgrvq2bc.js";
|
|
14
|
+
import"./index-s0s1e5jp.js";
|
|
15
|
+
import"./index-x9q0b3a8.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-nqwn8sf0.js";
|
|
19
|
+
import"./index-mgcffsk0.js";
|
|
20
20
|
import"./index-cpg98bh1.js";
|
|
21
21
|
import"./index-9e6fdz2h.js";
|
|
22
22
|
import"./index-4rhhvd1a.js";
|
|
@@ -25,12 +25,12 @@ import"./index-z6xqpmqg.js";
|
|
|
25
25
|
import"./index-r3mvsbtq.js";
|
|
26
26
|
import"./index-zjygnfay.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-m5z2fgs4.js";
|
|
29
|
+
import"./index-2zz8b0rb.js";
|
|
30
30
|
import"./index-bk5tah7q.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
31
|
+
import"./index-zpn3wqvp.js";
|
|
32
|
+
import"./index-rsn4jm90.js";
|
|
33
|
+
import"./index-ghbkknjz.js";
|
|
34
34
|
import"./index-7g4c7s5r.js";
|
|
35
35
|
import"./index-bpmtbmy9.js";
|
|
36
36
|
import"./index-ed5ykebp.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-s0s1e5jp.js";
|
|
33
|
+
import"./index-x9q0b3a8.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
import"./index-nqwn8sf0.js";
|
|
37
|
+
import"./index-mgcffsk0.js";
|
|
38
38
|
import"./index-cpg98bh1.js";
|
|
39
39
|
import"./index-9e6fdz2h.js";
|
|
40
40
|
import"./index-4rhhvd1a.js";
|
|
@@ -43,12 +43,12 @@ import"./index-z6xqpmqg.js";
|
|
|
43
43
|
import"./index-r3mvsbtq.js";
|
|
44
44
|
import"./index-zjygnfay.js";
|
|
45
45
|
import"./index-ae75rja9.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-m5z2fgs4.js";
|
|
47
|
+
import"./index-2zz8b0rb.js";
|
|
48
48
|
import"./index-bk5tah7q.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-zpn3wqvp.js";
|
|
50
|
+
import"./index-rsn4jm90.js";
|
|
51
|
+
import"./index-ghbkknjz.js";
|
|
52
52
|
import"./index-7g4c7s5r.js";
|
|
53
53
|
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-ed5ykebp.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
15
|
+
} from "./index-m5z2fgs4.js";
|
|
16
|
+
import"./index-2zz8b0rb.js";
|
|
17
|
+
import"./index-zpn3wqvp.js";
|
|
18
|
+
import"./index-rsn4jm90.js";
|
|
19
|
+
import"./index-ghbkknjz.js";
|
|
20
20
|
import"./index-7g4c7s5r.js";
|
|
21
21
|
import"./index-bpmtbmy9.js";
|
|
22
22
|
import"./index-ed5ykebp.js";
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
appendRetractionRecord,
|
|
10
10
|
appendRewriteHistory,
|
|
11
11
|
bumpKnowledgeConfidenceBatch,
|
|
12
|
+
bumpKnowledgeConfidenceBatchResult,
|
|
12
13
|
computeConfidence,
|
|
13
14
|
computeContentHash,
|
|
14
15
|
computeOutcomeSignal,
|
|
@@ -41,16 +42,16 @@ import {
|
|
|
41
42
|
transactKnowledge,
|
|
42
43
|
transactKnowledgeWithCas,
|
|
43
44
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
45
|
+
} from "./index-wgrvq2bc.js";
|
|
45
46
|
import {
|
|
46
47
|
resolveHiveDataDir
|
|
47
48
|
} from "./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-m5z2fgs4.js";
|
|
50
|
+
import"./index-2zz8b0rb.js";
|
|
50
51
|
import"./index-bk5tah7q.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
52
|
+
import"./index-zpn3wqvp.js";
|
|
53
|
+
import"./index-rsn4jm90.js";
|
|
54
|
+
import"./index-ghbkknjz.js";
|
|
54
55
|
import"./index-7g4c7s5r.js";
|
|
55
56
|
import"./index-bpmtbmy9.js";
|
|
56
57
|
import"./index-ed5ykebp.js";
|
|
@@ -90,6 +91,7 @@ export {
|
|
|
90
91
|
computeOutcomeSignal,
|
|
91
92
|
computeContentHash,
|
|
92
93
|
computeConfidence,
|
|
94
|
+
bumpKnowledgeConfidenceBatchResult,
|
|
93
95
|
bumpKnowledgeConfidenceBatch,
|
|
94
96
|
appendRewriteHistory,
|
|
95
97
|
appendRetractionRecord,
|