opencode-swarm 7.198.2 → 7.199.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/.opencode/skills/swarm-pr-feedback/SKILL.md +6 -6
- package/.opencode/skills/swarm-pr-feedback/references/followup-dispositions.md +74 -0
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +25 -0
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pending-delegations.d.ts +1 -1
- package/dist/background/pr-review-contract.d.ts +10 -0
- package/dist/cli/{auto-checkpoint-ekp5j5v5.js → auto-checkpoint-1wf9n5yj.js} +8 -8
- package/dist/cli/{checkpoint-30yrbqee.js → checkpoint-gw6f4ghv.js} +16 -16
- package/dist/cli/{coder-settlement-t3zcgsd6.js → coder-settlement-qy77s1x6.js} +12 -12
- package/dist/cli/{config-doctor-6w105xpy.js → config-doctor-2tcp28sc.js} +15 -15
- package/dist/cli/{core-6hyt1hg6.js → core-pz87qafz.js} +3 -3
- package/dist/cli/{curation-policy-m8ng2vm5.js → curation-policy-0smbd33w.js} +6 -6
- package/dist/cli/{curator-drift-z83e3a60.js → curator-drift-c1x7jdxj.js} +8 -8
- package/dist/cli/{curator-bzy7cess.js → curator-fvnptcnw.js} +42 -42
- package/dist/cli/curator-llm-factory-cg1p6ysr.js +82 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-8av1860z.js → doctor-knowledge-receipt-phase-id-xwyb5sf8.js} +8 -8
- package/dist/cli/{evidence-summary-service-ym7y7w5k.js → evidence-summary-service-47cptvea.js} +19 -19
- package/dist/cli/{gate-evidence-vvhtzwry.js → gate-evidence-77bzfckz.js} +7 -7
- package/dist/cli/guardrail-explain-0ap0a51w.js +83 -0
- package/dist/cli/{guardrail-log-4f0jxq61.js → guardrail-log-xw37f7ws.js} +7 -7
- package/dist/cli/{guardrail-reset-cqq3yk9s.js → guardrail-reset-3fq8xdjf.js} +42 -42
- package/dist/cli/{hive-promoter-vvgdsx8s.js → hive-promoter-bmdgnmnf.js} +42 -42
- package/dist/cli/{index-vjwmcxz4.js → index-1fwm8vqr.js} +7 -7
- package/dist/cli/{index-drf91t9h.js → index-26h8fb7t.js} +5 -5
- package/dist/cli/{index-yk1vnpzx.js → index-2bc7zfw3.js} +1 -1
- package/dist/cli/{index-7e9mqse6.js → index-2f9tsejp.js} +3 -3
- package/dist/cli/{index-d31b2zvf.js → index-2mx2gn97.js} +1 -1
- package/dist/cli/{index-wg1mt92h.js → index-3gwh8c9d.js} +9 -8
- package/dist/cli/{index-rfcb9f54.js → index-3x07b03s.js} +3 -2
- package/dist/cli/{index-bczx8jcg.js → index-42dtc5nd.js} +5 -12
- package/dist/cli/{index-5h5tj8wc.js → index-4hnxtssf.js} +44 -44
- package/dist/cli/{index-89j5h1j9.js → index-4s6kdsfr.js} +1 -1
- package/dist/cli/{index-4s3770gs.js → index-6dtt0brw.js} +4 -4
- package/dist/cli/{index-hd3d7rcw.js → index-71g0ps66.js} +3 -3
- package/dist/cli/{index-166xny29.js → index-79b9re6h.js} +588 -170
- package/dist/cli/{index-t7qgt5yk.js → index-7c432abn.js} +2 -2
- package/dist/cli/{index-xez06sc1.js → index-820pzqd6.js} +1 -1
- package/dist/cli/{index-v30zmakk.js → index-9ztsfved.js} +2 -2
- package/dist/cli/{index-ehw0s6xa.js → index-a5xzwxdq.js} +1 -1
- package/dist/cli/{index-e4hj8r57.js → index-awt5dpam.js} +2 -2
- package/dist/cli/{index-cfs1k1eh.js → index-b5k6etf9.js} +5 -5
- package/dist/cli/{index-v85gn9jm.js → index-bjzxbxpw.js} +5 -5
- package/dist/cli/{index-qg6qn99c.js → index-bkscmz4z.js} +7 -7
- package/dist/cli/{index-rnjtf5kn.js → index-ckcdheqx.js} +2 -2
- package/dist/cli/{index-xrghsqg3.js → index-e5ecn73v.js} +4 -4
- package/dist/cli/{index-tnnxvq2f.js → index-gds6c8qt.js} +6 -6
- package/dist/cli/{index-tdpfecs3.js → index-hc6wa3yg.js} +2 -2
- package/dist/cli/{index-76mg98ac.js → index-jccs3fgn.js} +1 -1
- package/dist/cli/{index-0y5yvag6.js → index-jjsjjefm.js} +6 -6
- package/dist/cli/{index-whmby20t.js → index-kjhsssaq.js} +42 -42
- package/dist/cli/{index-bj916p5e.js → index-kxaxf3en.js} +17 -4
- package/dist/cli/{index-9keabj7d.js → index-mefad009.js} +4 -4
- package/dist/cli/{index-mx74665q.js → index-mzsj4kkv.js} +4 -4
- package/dist/cli/{index-rqxwv4q5.js → index-nr1pj3hy.js} +1 -1
- package/dist/cli/{index-xt4q610f.js → index-p5pgjp7n.js} +1 -1
- package/dist/cli/{index-h86e4jp9.js → index-pqrepne6.js} +2 -2
- package/dist/cli/{index-84r9rydf.js → index-pxdc0qn1.js} +2 -2
- package/dist/cli/{index-bd4szzja.js → index-qdwccqv5.js} +1 -1
- package/dist/cli/{index-d9jrzepr.js → index-r52wrpb7.js} +3 -3
- package/dist/cli/{index-y81sw9vt.js → index-tnrq0pg8.js} +11 -11
- package/dist/cli/{index-5hbb3088.js → index-vbm2ykr9.js} +4 -4
- package/dist/cli/{index-gc9dvmy7.js → index-vh87e91s.js} +2 -2
- package/dist/cli/{index-wrn4khfb.js → index-w00dj8p5.js} +1 -1
- package/dist/cli/{index-mjmsq8t7.js → index-w7d8gcj0.js} +2 -2
- package/dist/cli/{index-0ap067j7.js → index-y9ckbta5.js} +2 -2
- package/dist/cli/{index-xxb2depv.js → index-ye9bze9s.js} +7 -7
- package/dist/cli/{index-p4xmq6aa.js → index-ywb5er8g.js} +1 -1
- package/dist/cli/{index-6pc5j9rb.js → index-zd15v0gr.js} +3 -3
- package/dist/cli/{index-59w9zfc5.js → index-zg5gnn3m.js} +5 -5
- package/dist/cli/index.js +43 -43
- package/dist/cli/{knowledge-escalator-8hrnc4bd.js → knowledge-escalator-w7b32ak4.js} +14 -14
- package/dist/cli/{knowledge-events-v2abqt9z.js → knowledge-events-y0kb9wbe.js} +12 -12
- package/dist/cli/{knowledge-link-5qt3pe5v.js → knowledge-link-1f91bzcc.js} +5 -5
- package/dist/cli/{knowledge-store-9y17zzce.js → knowledge-store-knrqgmyk.js} +6 -6
- package/dist/cli/{knowledge-validator-7red2zwb.js → knowledge-validator-zg7d9z8p.js} +8 -8
- package/dist/cli/{mcp-gbyndb15.js → mcp-3k1t9q6h.js} +1 -1
- package/dist/cli/{model-preflight-1tsaksc7.js → model-preflight-k92fnbq8.js} +42 -42
- package/dist/cli/{pending-delegations-yg769m4y.js → pending-delegations-ape3hrm0.js} +12 -12
- package/dist/cli/{pr-subscriptions-mc2mvjkj.js → pr-subscriptions-cn13b19x.js} +12 -12
- package/dist/cli/{pr-workflow-gate-0fb280b2.js → pr-workflow-gate-74j5mcxh.js} +46 -42
- package/dist/cli/{runner-rwya5yhg.js → runner-qe3fkzx5.js} +6 -6
- package/dist/cli/{scan-cursor-g74j6gcr.js → scan-cursor-4xxfc42h.js} +7 -7
- package/dist/cli/{schema-q2v7px9y.js → schema-qv9bvhyz.js} +1 -1
- package/dist/cli/{scope-persistence-g88f0163.js → scope-persistence-fmva1cv0.js} +15 -15
- package/dist/cli/{server-j3a7q7gg.js → server-s5ac6ydk.js} +42 -42
- package/dist/cli/{skill-generator-30bjrvcc.js → skill-generator-19ckpm74.js} +16 -16
- package/dist/cli/{snapshot-coordination-init-9ekvft16.js → snapshot-coordination-init-7c0s65jw.js} +42 -42
- package/dist/cli/{speckit-checkoff-sx24fz29.js → speckit-checkoff-9b2zj8hd.js} +4 -4
- package/dist/cli/{telemetry-t3425cht.js → telemetry-6yv06xyz.js} +1 -1
- package/dist/cli/{workspace-snapshot-bst64vey.js → workspace-snapshot-vhvrkbbb.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-shtk6dsk.js → worktree-collision-ownership-3r669yvh.js} +13 -13
- package/dist/cli/{worktree-isolation-x41cgd9n.js → worktree-isolation-5dydsr8c.js} +42 -42
- package/dist/config/schema.d.ts +2 -0
- package/dist/config/skill-contract-digest.d.ts +29 -4
- package/dist/hooks/pr-workflow-gate.d.ts +17 -0
- package/dist/hooks/skill-scoring.d.ts +40 -0
- package/dist/index.js +52 -44
- package/dist/pr-review/verdict-settlement.d.ts +40 -4
- package/dist/state.d.ts +49 -0
- package/opencode-swarm.schema.json +4 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-ykpty14a.js +0 -82
- package/dist/cli/guardrail-explain-1ethgkvp.js +0 -83
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-w7d8gcj0.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-4s6kdsfr.js";
|
|
16
16
|
import {
|
|
17
17
|
assertProjectRoot
|
|
18
18
|
} from "./index-t7hmqgjy.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-820pzqd6.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./index-fzpt2djt.js";
|
|
12
12
|
import {
|
|
13
13
|
atomicWriteSwarmFile
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ywb5er8g.js";
|
|
15
15
|
import {
|
|
16
16
|
init_git_executable,
|
|
17
17
|
resolveGitExecutable
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-26h8fb7t.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-awt5dpam.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
importCoordinationOnce,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
transitionCoordinationState,
|
|
13
13
|
transitionCoordinationStateWithinTransaction,
|
|
14
14
|
withCoordinationTransaction
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-nr1pj3hy.js";
|
|
16
16
|
import {
|
|
17
17
|
getProjectDb
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-w00dj8p5.js";
|
|
19
19
|
import {
|
|
20
20
|
canonicalExistingFilesystemPath,
|
|
21
21
|
legacyCanonicalExistingFilesystemPath
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
atomicWriteSwarmFile,
|
|
34
34
|
atomicWriteSwarmFileSync
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-ywb5er8g.js";
|
|
36
36
|
import {
|
|
37
37
|
PlanSchema
|
|
38
38
|
} from "./index-gx2vp8gx.js";
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./index-m9zzj4ee.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSwarmPath
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-820pzqd6.js";
|
|
8
8
|
import {
|
|
9
9
|
observeReceiptTransition
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-hc6wa3yg.js";
|
|
11
11
|
import {
|
|
12
12
|
assertProjectRoot
|
|
13
13
|
} from "./index-t7hmqgjy.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-6dtt0brw.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveActivePhaseId
|
|
19
19
|
} from "./index-gx2vp8gx.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-qdwccqv5.js";
|
|
23
23
|
import {
|
|
24
24
|
KnowledgeConfigSchema,
|
|
25
25
|
init_schema
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-3x07b03s.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/context-decisions.ts
|
|
29
29
|
function extractContextDecisions(content) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-820pzqd6.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
8
8
|
listCoordinationStates,
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
withCoordinationTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-nr1pj3hy.js";
|
|
12
12
|
import {
|
|
13
13
|
getProjectDb,
|
|
14
14
|
projectDbExists
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-w00dj8p5.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-hc6wa3yg.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-4s6kdsfr.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-6dtt0brw.js";
|
|
25
25
|
import {
|
|
26
26
|
canonicalRootKey,
|
|
27
27
|
canonicalRootKeyFresh,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./index-fzpt2djt.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFileSync
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-ywb5er8g.js";
|
|
33
33
|
import {
|
|
34
34
|
exports_external,
|
|
35
35
|
init_zod
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
mergeWriteAnalyses,
|
|
20
20
|
resolveWindowsWriteAuthority,
|
|
21
21
|
resolveWriteTargets
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-79b9re6h.js";
|
|
23
23
|
import {
|
|
24
24
|
checkFileAuthority,
|
|
25
25
|
classifyFile,
|
|
26
26
|
isInDeclaredScope,
|
|
27
27
|
redactPath,
|
|
28
28
|
redactShellCommand
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-kxaxf3en.js";
|
|
30
30
|
|
|
31
31
|
// src/services/guardrail-explain-service.ts
|
|
32
32
|
import path from "path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2mx2gn97.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-1fwm8vqr.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-2bc7zfw3.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-w7d8gcj0.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ensureTaskCheckpointReceipt,
|
|
5
5
|
loadPlan,
|
|
6
6
|
updateTaskCheckpointReceipt
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-tnrq0pg8.js";
|
|
8
8
|
import {
|
|
9
9
|
tool
|
|
10
10
|
} from "./index-9nyqt3kb.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
} from "./index-g4fs6z4e.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-820pzqd6.js";
|
|
21
21
|
import {
|
|
22
22
|
readLedgerEvents
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-26h8fb7t.js";
|
|
24
24
|
import {
|
|
25
25
|
appendCoreEventSync
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-awt5dpam.js";
|
|
27
27
|
import {
|
|
28
28
|
derivePlanId,
|
|
29
29
|
derivePlanIdentityHash
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./index-ejhxgyvm.js";
|
|
39
39
|
import {
|
|
40
40
|
atomicWriteSwarmFileSync
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-ywb5er8g.js";
|
|
42
42
|
import {
|
|
43
43
|
loadPluginConfigWithMeta
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-qdwccqv5.js";
|
|
45
45
|
import {
|
|
46
46
|
init_git_executable,
|
|
47
47
|
resolveGitExecutable
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
pseudonymousRef,
|
|
4
4
|
resolveLineageSalt,
|
|
5
5
|
telemetry
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-6dtt0brw.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalRootKeyFresh
|
|
9
9
|
} from "./index-fzpt2djt.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteSwarmFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-ywb5er8g.js";
|
|
13
13
|
|
|
14
14
|
// src/health/learning-health.ts
|
|
15
15
|
import { promises as fs } from "fs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-mzsj4kkv.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-bjzxbxpw.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-1fwm8vqr.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-zg7d9z8p.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-qv9bvhyz.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-71g0ps66.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -23,76 +23,76 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
} from "./index-79b9re6h.js";
|
|
27
|
+
import"./index-kxaxf3en.js";
|
|
28
|
+
import"./index-42dtc5nd.js";
|
|
29
|
+
import"./index-zg5gnn3m.js";
|
|
30
30
|
import"./index-j2vv0h13.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-jccs3fgn.js";
|
|
32
|
+
import"./index-7c432abn.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-y9ckbta5.js";
|
|
35
35
|
import {
|
|
36
36
|
createExplorerAgent
|
|
37
37
|
} from "./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
38
|
+
import"./index-r52wrpb7.js";
|
|
39
|
+
import"./index-ye9bze9s.js";
|
|
40
|
+
import"./index-mefad009.js";
|
|
41
|
+
import"./index-jjsjjefm.js";
|
|
42
|
+
import"./index-9ztsfved.js";
|
|
43
|
+
import"./index-bkscmz4z.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-pxdc0qn1.js";
|
|
46
46
|
import"./index-pt7h91zc.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-gds6c8qt.js";
|
|
49
|
+
import"./index-tnrq0pg8.js";
|
|
50
50
|
import"./index-6b295cas.js";
|
|
51
51
|
import"./index-9nyqt3kb.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-zd15v0gr.js";
|
|
53
53
|
import"./index-v3bmwmqw.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-pqrepne6.js";
|
|
55
|
+
import"./index-vbm2ykr9.js";
|
|
56
|
+
import"./index-2f9tsejp.js";
|
|
57
57
|
import"./index-g4fs6z4e.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-3gwh8c9d.js";
|
|
59
|
+
import"./index-mzsj4kkv.js";
|
|
60
|
+
import"./index-bjzxbxpw.js";
|
|
61
61
|
import"./index-m9zzj4ee.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-820pzqd6.js";
|
|
63
63
|
import"./index-2s7dvzff.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-e5ecn73v.js";
|
|
65
|
+
import"./index-2mx2gn97.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-vh87e91s.js";
|
|
68
68
|
import"./index-g22dps7x.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
70
|
+
import"./index-b5k6etf9.js";
|
|
71
|
+
import"./index-26h8fb7t.js";
|
|
72
|
+
import"./index-awt5dpam.js";
|
|
73
|
+
import"./index-p5pgjp7n.js";
|
|
74
|
+
import"./index-nr1pj3hy.js";
|
|
75
|
+
import"./index-w00dj8p5.js";
|
|
76
76
|
import"./index-ry16d01s.js";
|
|
77
77
|
import"./index-rdm3px0g.js";
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
79
|
+
import"./index-hc6wa3yg.js";
|
|
80
|
+
import"./index-1fwm8vqr.js";
|
|
81
81
|
import"./index-vzm6zre7.js";
|
|
82
82
|
import"./index-ae75rja9.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-
|
|
83
|
+
import"./index-2bc7zfw3.js";
|
|
84
|
+
import"./index-w7d8gcj0.js";
|
|
85
|
+
import"./index-4s6kdsfr.js";
|
|
86
86
|
import"./index-t7hmqgjy.js";
|
|
87
|
-
import"./index-
|
|
87
|
+
import"./index-6dtt0brw.js";
|
|
88
88
|
import"./index-fzpt2djt.js";
|
|
89
89
|
import"./index-ejhxgyvm.js";
|
|
90
90
|
import"./index-7g4c7s5r.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-ywb5er8g.js";
|
|
92
92
|
import"./index-gx2vp8gx.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-qdwccqv5.js";
|
|
94
94
|
import"./index-zxdawwc7.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-3x07b03s.js";
|
|
96
96
|
import"./index-hqrkr9ag.js";
|
|
97
97
|
import"./index-bk5tah7q.js";
|
|
98
98
|
import"./index-gknz3bv1.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
observeStoreHealth
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-hc6wa3yg.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-6dtt0brw.js";
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-3x07b03s.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
14
|
} from "./index-hqrkr9ag.js";
|
|
@@ -2484,7 +2484,9 @@ function checkFileAuthorityWithRules(agentName, filePath, cwd, effectiveRules, o
|
|
|
2484
2484
|
detail: "target resolves outside the working directory"
|
|
2485
2485
|
});
|
|
2486
2486
|
}
|
|
2487
|
-
const
|
|
2487
|
+
const classifiedRules = effectiveRules[normalizedAgent] ?? effectiveRules[strippedAgent];
|
|
2488
|
+
const unclassifiedWhileDisabled = !classifiedRules && options.authorityEnabled === false && normalizedAgent !== "unknown";
|
|
2489
|
+
const rules = classifiedRules ?? (unclassifiedWhileDisabled ? {} : undefined);
|
|
2488
2490
|
if (!rules) {
|
|
2489
2491
|
return denyAuthority(agentName, normalizedPath, {
|
|
2490
2492
|
code: "AUTHORITY_UNKNOWN_AGENT",
|
|
@@ -2518,6 +2520,17 @@ function checkFileAuthorityWithRules(agentName, filePath, cwd, effectiveRules, o
|
|
|
2518
2520
|
detail: "coder writes to repository control state (.git/.swarm) are always protected"
|
|
2519
2521
|
});
|
|
2520
2522
|
}
|
|
2523
|
+
if (unclassifiedWhileDisabled && isPolicyProtectedPath(normalizedPath, {
|
|
2524
|
+
includeDefaults: false,
|
|
2525
|
+
additional: [".git", ".swarm"]
|
|
2526
|
+
})) {
|
|
2527
|
+
return denyAuthority(agentName, normalizedPath, {
|
|
2528
|
+
code: "AUTHORITY_PROTECTED_PATH",
|
|
2529
|
+
layer: "protected-path",
|
|
2530
|
+
rule: "unclassified-agent-control-state-protection",
|
|
2531
|
+
detail: "unclassified agent writes to repository control state (.git/.swarm) are always protected"
|
|
2532
|
+
});
|
|
2533
|
+
}
|
|
2521
2534
|
const isSwarmRole = Object.hasOwn(AUTHORITY_ROLE_CAPABILITIES, strippedAgent);
|
|
2522
2535
|
if (isSwarmRole) {
|
|
2523
2536
|
const matchedVerifier = [
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-mzsj4kkv.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-e5ecn73v.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-1fwm8vqr.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
atomicWriteFileAnyRoot,
|
|
29
29
|
atomicWriteSwarmFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-ywb5er8g.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
queryHistoricalOutcomes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-bjzxbxpw.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveHiveEventsPath
|
|
7
7
|
} from "./index-ae75rja9.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveKnowledgeStoreDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-2bc7zfw3.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteFile
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-w7d8gcj0.js";
|
|
14
14
|
import {
|
|
15
15
|
canonicalRootKey
|
|
16
16
|
} from "./index-fzpt2djt.js";
|
|
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
708
708
|
}
|
|
709
709
|
let bumps = 0;
|
|
710
710
|
if (deltas.length > 0) {
|
|
711
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
711
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-knrqgmyk.js");
|
|
712
712
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
713
713
|
}
|
|
714
714
|
return {
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-ywb5er8g.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-qdwccqv5.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-820pzqd6.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ywb5er8g.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
readEffectiveSpecSync
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-zd15v0gr.js";
|
|
5
5
|
import {
|
|
6
6
|
readSwarmFileAsync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-820pzqd6.js";
|
|
8
8
|
import {
|
|
9
9
|
DURABILITY_CLASSES,
|
|
10
10
|
DbWriteError,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
classifyDbWriteError,
|
|
14
14
|
getProjectDb,
|
|
15
15
|
projectDbExists
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-w00dj8p5.js";
|
|
17
17
|
import {
|
|
18
18
|
_internals,
|
|
19
19
|
canonicalRootKeyFresh
|