opencode-swarm 7.154.3 → 7.156.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/dist/cli/{coder-settlement-7c9h07f5.js → coder-settlement-jm7024zm.js} +6 -6
- package/dist/cli/{config-doctor-8zjz6dej.js → config-doctor-q9v8yscr.js} +2 -2
- package/dist/cli/{core-dn8bn81g.js → core-ev3bn503.js} +1 -1
- package/dist/cli/{curation-policy-2jkbybw7.js → curation-policy-jabphe51.js} +4 -4
- package/dist/cli/{curator-v12rhct2.js → curator-dnjf9ser.js} +28 -28
- package/dist/cli/{curator-llm-factory-mxdjw6kz.js → curator-llm-factory-cnatbky1.js} +28 -28
- package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
- package/dist/cli/{evidence-summary-service-zzvvcaa9.js → evidence-summary-service-5drv65qh.js} +10 -10
- package/dist/cli/{gate-evidence-16jkjre9.js → gate-evidence-dcyvst7g.js} +4 -4
- package/dist/cli/{guardrail-explain-11fx66cx.js → guardrail-explain-z8f6qhz2.js} +29 -29
- package/dist/cli/{guardrail-log-ahvfn58c.js → guardrail-log-zwec6ann.js} +3 -3
- package/dist/cli/{guardrail-reset-zp5xe0n5.js → guardrail-reset-ga6e11r9.js} +28 -28
- package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
- package/dist/cli/{hive-promoter-k6y06jj8.js → hive-promoter-mpez5tqh.js} +28 -28
- package/dist/cli/{index-d7r6y724.js → index-00hyhg47.js} +3 -3
- package/dist/cli/{index-vntggpez.js → index-0q8kywcf.js} +1 -1
- package/dist/cli/{index-gbkdj7ay.js → index-164c64z8.js} +2 -2
- package/dist/cli/{index-9nw6z98k.js → index-17h6ewqp.js} +49 -30
- package/dist/cli/{index-qdnmnq65.js → index-4m3j9q9z.js} +2 -2
- package/dist/cli/{index-g1bh7980.js → index-5r3zrw81.js} +2 -2
- package/dist/cli/{index-y3kw1zpm.js → index-5w87j6j4.js} +24 -4
- package/dist/cli/{index-wkagbmpt.js → index-68098cfj.js} +5 -1
- package/dist/cli/{index-0f4b9ywa.js → index-6bqqzfbe.js} +1 -1
- package/dist/cli/{index-a6xjn2zt.js → index-6g6qwr8z.js} +5 -5
- package/dist/cli/{index-ed13peqr.js → index-85p1850w.js} +1 -1
- package/dist/cli/{index-s23q9v6t.js → index-98j6z038.js} +5 -5
- package/dist/cli/{index-6vcrkz80.js → index-9n555qz4.js} +4 -4
- package/dist/cli/{index-zak50rve.js → index-aqg7c1z9.js} +1 -1
- package/dist/cli/{index-q0prhdds.js → index-b91qwpms.js} +1 -1
- package/dist/cli/{index-n7nnz0jp.js → index-dfmr6pj5.js} +6 -6
- package/dist/cli/{index-bhjkxasn.js → index-ew6fykvv.js} +1 -1
- package/dist/cli/{index-4n557t8w.js → index-fd7wj6fy.js} +3 -3
- package/dist/cli/{index-94e20w95.js → index-fjcm6wwf.js} +1 -1
- package/dist/cli/{index-kck2gtxk.js → index-fpg4tzf7.js} +1 -1
- package/dist/cli/{index-4dt91x6e.js → index-g37454vj.js} +1 -1
- package/dist/cli/{index-env8fk17.js → index-gthnsbzf.js} +2 -2
- package/dist/cli/{index-ckp0z9d4.js → index-kxk8cnx7.js} +2 -2
- package/dist/cli/{index-s5p8ryar.js → index-mdypz60w.js} +1 -1
- package/dist/cli/{index-m0fy8jra.js → index-ppx8bnzd.js} +3945 -1045
- package/dist/cli/{index-7fyv62b2.js → index-q2khkey7.js} +4 -4
- package/dist/cli/{index-2rgm3hgq.js → index-sfdg1xg5.js} +4 -4
- package/dist/cli/{index-v6xkgxts.js → index-sm2t1awr.js} +2 -2
- package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
- package/dist/cli/{index-qxj63890.js → index-wn0xm2e8.js} +1 -1
- package/dist/cli/{index-7qky94rr.js → index-za6bb2fd.js} +1 -1
- package/dist/cli/{index-ymgsmjba.js → index-zdgdf0e9.js} +4 -4
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-yew2fbxb.js → knowledge-escalator-cq4e6v2j.js} +9 -9
- package/dist/cli/{knowledge-events-zfg423hp.js → knowledge-events-sr5fqqaq.js} +7 -7
- package/dist/cli/{knowledge-link-ydv6shg2.js → knowledge-link-4frk38w8.js} +3 -3
- package/dist/cli/{knowledge-store-zcv9stzz.js → knowledge-store-2dww3dqz.js} +4 -4
- package/dist/cli/{knowledge-validator-q68wx2bf.js → knowledge-validator-yprsj4ye.js} +6 -6
- package/dist/cli/{pending-delegations-yet1rza6.js → pending-delegations-7qvag076.js} +1 -1
- package/dist/cli/{pr-subscriptions-mp7fyh1r.js → pr-subscriptions-00evnffe.js} +2 -2
- package/dist/cli/{runner-s89ja08q.js → runner-gheaxd5r.js} +5 -5
- package/dist/cli/{scan-cursor-38bzfhwf.js → scan-cursor-6awybk8b.js} +5 -5
- package/dist/cli/{schema-9hqyt4t6.js → schema-bf3smw7k.js} +5 -1
- package/dist/cli/{scope-persistence-dd9s9q2b.js → scope-persistence-kc42c6ph.js} +5 -5
- package/dist/cli/{skill-generator-b28ezazm.js → skill-generator-9k1ztt7c.js} +11 -11
- package/dist/cli/{worktree-collision-ownership-zw65t2p9.js → worktree-collision-ownership-ej10dhwe.js} +3 -3
- package/dist/cli/{worktree-isolation-0ag393t0.js → worktree-isolation-r7qqy6ca.js} +28 -28
- package/dist/commands/close.d.ts +2 -0
- package/dist/commands/command-dispatch.d.ts +2 -1
- package/dist/commands/harness.d.ts +14 -0
- package/dist/commands/index.d.ts +3 -1
- package/dist/commands/registry.d.ts +114 -1
- package/dist/config/schema.d.ts +42 -0
- package/dist/harness/contracts.d.ts +492 -0
- package/dist/harness/factory.d.ts +72 -0
- package/dist/harness/hash.d.ts +4 -0
- package/dist/harness/index.d.ts +6 -0
- package/dist/harness/patch.d.ts +3 -0
- package/dist/harness/public-api.d.ts +105 -0
- package/dist/harness/source-candidate.d.ts +45 -0
- package/dist/harness/store.d.ts +256 -0
- package/dist/hooks/repo-graph-injection.d.ts +40 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +420 -378
- package/dist/lang/manifest-files.d.ts +25 -0
- package/dist/memory/reflection-service.d.ts +8 -2
- package/dist/memory/schema.d.ts +4 -4
- package/dist/security/write-authority.d.ts +2 -1
- package/dist/tools/repo-graph/indexed-storage.d.ts +136 -0
- package/dist/tools/repo-graph/query.d.ts +7 -0
- package/package.json +2 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-164c64z8.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-b91qwpms.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-5w87j6j4.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-b91qwpms.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-5w87j6j4.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-kxk8cnx7.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-g37454vj.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -23,6 +23,11 @@ import {
|
|
|
23
23
|
handleArchiveCommand,
|
|
24
24
|
handleAutoProceedCommand,
|
|
25
25
|
handleBenchmarkCommand,
|
|
26
|
+
handleBlueprintCurrentCommand,
|
|
27
|
+
handleBlueprintDiffCommand,
|
|
28
|
+
handleBlueprintExportCommand,
|
|
29
|
+
handleBlueprintHistoryCommand,
|
|
30
|
+
handleBlueprintValidateCommand,
|
|
26
31
|
handleBrainstormCommand,
|
|
27
32
|
handleCheckpointCommand,
|
|
28
33
|
handleCiSimulateCommand,
|
|
@@ -47,6 +52,9 @@ import {
|
|
|
47
52
|
handleGateAuditCommand,
|
|
48
53
|
handleGateStatsCommand,
|
|
49
54
|
handleHandoffCommand,
|
|
55
|
+
handleHarnessCandidateDiffCommand,
|
|
56
|
+
handleHarnessCandidateShowCommand,
|
|
57
|
+
handleHarnessCandidateValidateCommand,
|
|
50
58
|
handleHelpCommand,
|
|
51
59
|
handleHistoryCommand,
|
|
52
60
|
handleKnowledgeListCommand,
|
|
@@ -86,53 +94,53 @@ import {
|
|
|
86
94
|
handleWriteRetroCommand,
|
|
87
95
|
normalizeSwarmCommandInput,
|
|
88
96
|
resolveCommand
|
|
89
|
-
} from "./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
97
|
+
} from "./index-ppx8bnzd.js";
|
|
98
|
+
import"./index-4m3j9q9z.js";
|
|
99
|
+
import"./index-wn0xm2e8.js";
|
|
100
|
+
import"./index-68098cfj.js";
|
|
101
|
+
import"./index-q2khkey7.js";
|
|
102
|
+
import"./index-gthnsbzf.js";
|
|
95
103
|
import"./index-134d35c1.js";
|
|
96
104
|
import"./index-nj6rmyeh.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
105
|
+
import"./index-txdagbh7.js";
|
|
106
|
+
import"./index-6g6qwr8z.js";
|
|
107
|
+
import"./index-sm2t1awr.js";
|
|
100
108
|
import"./index-70ha9e09.js";
|
|
101
109
|
import"./index-c8s9a3zh.js";
|
|
102
110
|
import"./index-9ss2m4rs.js";
|
|
103
|
-
import"./index-
|
|
111
|
+
import"./index-fjcm6wwf.js";
|
|
104
112
|
import"./index-zsrtt42s.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
113
|
+
import"./index-zdgdf0e9.js";
|
|
114
|
+
import"./index-0q8kywcf.js";
|
|
115
|
+
import"./index-sfdg1xg5.js";
|
|
116
|
+
import"./index-9n555qz4.js";
|
|
117
|
+
import"./index-aqg7c1z9.js";
|
|
110
118
|
import"./index-rtry5xyf.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
119
|
+
import"./index-5r3zrw81.js";
|
|
120
|
+
import"./index-za6bb2fd.js";
|
|
121
|
+
import"./index-fpg4tzf7.js";
|
|
114
122
|
import"./index-ddszzne4.js";
|
|
115
123
|
import"./index-vnn7qq8c.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
124
|
+
import"./index-fd7wj6fy.js";
|
|
125
|
+
import"./index-mdypz60w.js";
|
|
118
126
|
import"./index-xdy28ngt.js";
|
|
119
127
|
import"./index-556ja8an.js";
|
|
120
128
|
import"./index-4fwbbad3.js";
|
|
121
129
|
import"./index-b43rt5ph.js";
|
|
122
130
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
131
|
+
import"./index-dfmr6pj5.js";
|
|
132
|
+
import"./index-98j6z038.js";
|
|
133
|
+
import"./index-164c64z8.js";
|
|
126
134
|
import"./index-gprxjmm7.js";
|
|
127
135
|
import"./index-n832052r.js";
|
|
128
136
|
import"./index-dtn0pne5.js";
|
|
129
137
|
import"./index-z6xqpmqg.js";
|
|
130
138
|
import"./index-r3mvsbtq.js";
|
|
131
|
-
import"./index-
|
|
139
|
+
import"./index-b91qwpms.js";
|
|
132
140
|
import {
|
|
133
141
|
init_schema,
|
|
134
142
|
stripKnownSwarmPrefix
|
|
135
|
-
} from "./index-
|
|
143
|
+
} from "./index-5w87j6j4.js";
|
|
136
144
|
import {
|
|
137
145
|
AGENT_TOOL_MAP,
|
|
138
146
|
ORCHESTRATOR_NAME,
|
|
@@ -142,10 +150,10 @@ import"./index-zjygnfay.js";
|
|
|
142
150
|
import"./index-9e6fdz2h.js";
|
|
143
151
|
import"./index-4rhhvd1a.js";
|
|
144
152
|
import"./index-ae75rja9.js";
|
|
145
|
-
import"./index-
|
|
146
|
-
import"./index-
|
|
153
|
+
import"./index-85p1850w.js";
|
|
154
|
+
import"./index-ew6fykvv.js";
|
|
147
155
|
import"./index-bk5tah7q.js";
|
|
148
|
-
import"./index-
|
|
156
|
+
import"./index-6bqqzfbe.js";
|
|
149
157
|
import"./index-xagq35tf.js";
|
|
150
158
|
import"./index-ed5ykebp.js";
|
|
151
159
|
import"./index-h1g8w4v0.js";
|
|
@@ -277,6 +285,7 @@ function createSwarmCommandHandler(directory, agents, options = {}) {
|
|
|
277
285
|
sessionID: input.sessionID,
|
|
278
286
|
tokens: normalized.tokens,
|
|
279
287
|
activeAgentName: options.getActiveAgentName?.(input.sessionID),
|
|
288
|
+
config: options.config,
|
|
280
289
|
packageRoot: options.packageRoot,
|
|
281
290
|
registeredAgents: options.registeredAgents,
|
|
282
291
|
evaluationModelDispatcher: options.evaluationModelDispatcher,
|
|
@@ -295,6 +304,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
295
304
|
sessionID,
|
|
296
305
|
tokens,
|
|
297
306
|
activeAgentName,
|
|
307
|
+
config,
|
|
298
308
|
packageRoot,
|
|
299
309
|
registeredAgents,
|
|
300
310
|
evaluationModelDispatcher,
|
|
@@ -343,6 +353,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
343
353
|
agents,
|
|
344
354
|
sessionID,
|
|
345
355
|
tokens,
|
|
356
|
+
config,
|
|
346
357
|
packageRoot,
|
|
347
358
|
evaluationModelDispatcher,
|
|
348
359
|
reviewModelDispatcher,
|
|
@@ -440,6 +451,9 @@ export {
|
|
|
440
451
|
handleKnowledgeListCommand,
|
|
441
452
|
handleHistoryCommand,
|
|
442
453
|
handleHelpCommand,
|
|
454
|
+
handleHarnessCandidateValidateCommand,
|
|
455
|
+
handleHarnessCandidateShowCommand,
|
|
456
|
+
handleHarnessCandidateDiffCommand,
|
|
443
457
|
handleHandoffCommand,
|
|
444
458
|
handleGuardrailLog,
|
|
445
459
|
handleGuardrailExplain,
|
|
@@ -466,6 +480,11 @@ export {
|
|
|
466
480
|
handleCiSimulateCommand,
|
|
467
481
|
handleCheckpointCommand,
|
|
468
482
|
handleBrainstormCommand,
|
|
483
|
+
handleBlueprintValidateCommand,
|
|
484
|
+
handleBlueprintHistoryCommand,
|
|
485
|
+
handleBlueprintExportCommand,
|
|
486
|
+
handleBlueprintDiffCommand,
|
|
487
|
+
handleBlueprintCurrentCommand,
|
|
469
488
|
handleBenchmarkCommand,
|
|
470
489
|
handleAutoProceedCommand,
|
|
471
490
|
handleArchiveCommand,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readEvaluationRun,
|
|
10
10
|
saveEvaluationRun,
|
|
11
11
|
saveTaskSetSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gthnsbzf.js";
|
|
13
13
|
import {
|
|
14
14
|
canonicalHash,
|
|
15
15
|
computeCandidateInputContentHash,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
computeTaskInputContentHash,
|
|
18
18
|
computeTaskSetContentHash,
|
|
19
19
|
resolveContainedExistingPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-txdagbh7.js";
|
|
21
21
|
import {
|
|
22
22
|
bunSpawn
|
|
23
23
|
} from "./index-r3mvsbtq.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-za6bb2fd.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-ew6fykvv.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
32
|
} from "./index-xagq35tf.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.
|
|
24
|
+
version: "7.156.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",
|
|
@@ -145,6 +145,7 @@ var init_package = __esm(() => {
|
|
|
145
145
|
"check:gate-portability": "bun run scripts/check-gate-portability.ts",
|
|
146
146
|
"check:bare-spawn": "bun run scripts/check-bare-executable-spawn.ts",
|
|
147
147
|
"check:error-channel-discard": "bun run scripts/check-error-channel-discard.ts",
|
|
148
|
+
"check:registry-citations": "bun run scripts/check-registry-citations.ts",
|
|
148
149
|
"check:memory-recall": "bun run scripts/memory-recall-regression.ts"
|
|
149
150
|
},
|
|
150
151
|
dependencies: {
|
|
@@ -313,7 +314,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
313
314
|
};
|
|
314
315
|
return merged;
|
|
315
316
|
}
|
|
316
|
-
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, 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, PluginConfigSchema;
|
|
317
|
+
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, PluginConfigSchema;
|
|
317
318
|
var init_schema = __esm(() => {
|
|
318
319
|
init_zod();
|
|
319
320
|
init_package();
|
|
@@ -833,7 +834,8 @@ var init_schema = __esm(() => {
|
|
|
833
834
|
refresh_cap: exports_external.number().int().min(0).max(500).default(50),
|
|
834
835
|
walk_budget_ms: exports_external.number().int().min(1000).max(60000).default(5000),
|
|
835
836
|
max_files: exports_external.number().int().min(100).max(1e5).default(1e4),
|
|
836
|
-
exclude_dirs: exports_external.array(exports_external.string().trim().min(1)).default([])
|
|
837
|
+
exclude_dirs: exports_external.array(exports_external.string().trim().min(1)).default([]),
|
|
838
|
+
storage: exports_external.enum(["json", "indexed"]).default("json")
|
|
837
839
|
});
|
|
838
840
|
FORBIDDEN_CHECKPOINT_CONFIG_KEYS = new Set([
|
|
839
841
|
"__proto__",
|
|
@@ -1265,6 +1267,23 @@ var init_schema = __esm(() => {
|
|
|
1265
1267
|
enforce: exports_external.boolean().default(false),
|
|
1266
1268
|
audiences: exports_external.array(SkillPropagationAudienceSchema).max(16).transform((values) => [...new Set(values)]).default([])
|
|
1267
1269
|
});
|
|
1270
|
+
HarnessRelativePathSchema = exports_external.string().min(1).max(1024).refine((value) => !value.includes("\x00"), "path contains a NUL byte").refine((value) => !/^(?:[A-Za-z]:[\\/]|[\\/]{1,2})/.test(value), {
|
|
1271
|
+
message: "path must be project-relative"
|
|
1272
|
+
}).refine((value) => !value.replace(/\\/g, "/").split("/").some((segment) => segment === ".."), "path must not traverse outside the project");
|
|
1273
|
+
HarnessEvolutionConfigSchema = exports_external.object({
|
|
1274
|
+
source_allowlist: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1275
|
+
extra_protected_paths: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1276
|
+
max_patch_bytes: exports_external.number().int().min(1).max(16777216).default(1048576),
|
|
1277
|
+
max_files: exports_external.number().int().min(1).max(1024).default(64),
|
|
1278
|
+
max_file_bytes: exports_external.number().int().min(1).max(8388608).default(524288),
|
|
1279
|
+
max_total_bytes: exports_external.number().int().min(1).max(67108864).default(4194304),
|
|
1280
|
+
max_changed_lines: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1281
|
+
max_versions: exports_external.number().int().min(1).max(1e4).default(100),
|
|
1282
|
+
max_inactive_candidates: exports_external.number().int().min(0).max(128).default(32),
|
|
1283
|
+
max_replay_records: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1284
|
+
max_output_bytes: exports_external.number().int().min(1024).max(1048576).default(262144)
|
|
1285
|
+
}).strict();
|
|
1286
|
+
DEFAULT_HARNESS_EVOLUTION_CONFIG = Object.freeze(HarnessEvolutionConfigSchema.parse({}));
|
|
1268
1287
|
SkillImproverConfigSchema = exports_external.object({
|
|
1269
1288
|
enabled: exports_external.boolean().default(false),
|
|
1270
1289
|
model: exports_external.string().nullable().default(null),
|
|
@@ -1695,6 +1714,7 @@ var init_schema = __esm(() => {
|
|
|
1695
1714
|
knowledge_application: KnowledgeApplicationConfigSchema.optional(),
|
|
1696
1715
|
skillPropagation: SkillPropagationConfigSchema.optional(),
|
|
1697
1716
|
skill_improver: SkillImproverConfigSchema.optional(),
|
|
1717
|
+
harness_evolution: HarnessEvolutionConfigSchema.optional(),
|
|
1698
1718
|
spec_writer: SpecWriterConfigSchema.optional(),
|
|
1699
1719
|
tool_output: exports_external.object({
|
|
1700
1720
|
truncation_enabled: exports_external.boolean().default(true),
|
|
@@ -1884,4 +1904,4 @@ var init_schema = __esm(() => {
|
|
|
1884
1904
|
});
|
|
1885
1905
|
});
|
|
1886
1906
|
|
|
1887
|
-
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, 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, PluginConfigSchema, init_schema };
|
|
1907
|
+
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, 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, PluginConfigSchema, init_schema };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-5w87j6j4.js";
|
|
10
10
|
import {
|
|
11
11
|
ALL_AGENT_NAMES,
|
|
12
12
|
init_constants
|
|
@@ -884,6 +884,10 @@ function validateConfigKey(path2, value) {
|
|
|
884
884
|
emitObjectTypeMismatch("pipeline", value, findings);
|
|
885
885
|
break;
|
|
886
886
|
}
|
|
887
|
+
case "harness_evolution": {
|
|
888
|
+
emitObjectTypeMismatch("harness_evolution", value, findings);
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
887
891
|
case "phase_complete": {
|
|
888
892
|
emitObjectTypeMismatch("phase_complete", value, findings);
|
|
889
893
|
break;
|
|
@@ -75,7 +75,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
75
75
|
"src/evidence/manager.ts:288",
|
|
76
76
|
"src/evidence/manager.ts:456",
|
|
77
77
|
"src/tools/sast-baseline.ts:106",
|
|
78
|
-
"src/tools/repo-graph/storage.ts:
|
|
78
|
+
"src/tools/repo-graph/storage.ts:493",
|
|
79
79
|
"src/memory/reflection-service.ts:547 (pre-#2035)",
|
|
80
80
|
"src/hooks/review-receipt.ts:608",
|
|
81
81
|
"src/hooks/review-receipt.ts:674",
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-dfmr6pj5.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-98j6z038.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-yprsj4ye.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-bf3smw7k.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-00hyhg47.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b91qwpms.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-5w87j6j4.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-85p1850w.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-ew6fykvv.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-xagq35tf.js";
|
|
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
let bumps = 0;
|
|
2795
2795
|
if (deltas.length > 0) {
|
|
2796
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2796
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-2dww3dqz.js");
|
|
2797
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-aqg7c1z9.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-dfmr6pj5.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-85p1850w.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-ew6fykvv.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-85p1850w.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-85p1850w.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-ew6fykvv.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
713
713
|
const {
|
|
714
714
|
readAuthoritativeKnowledgeCounterRollups,
|
|
715
715
|
effectiveRetrievalOutcomes
|
|
716
|
-
} = await import("./knowledge-events-
|
|
716
|
+
} = await import("./knowledge-events-sr5fqqaq.js");
|
|
717
717
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
718
718
|
const flagIds = new Set;
|
|
719
719
|
for (const e of atFloor) {
|
|
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
783
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
784
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
783
|
+
const { quarantineEntry } = await import("./knowledge-validator-yprsj4ye.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-bf3smw7k.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-00hyhg47.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-mdypz60w.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
8
|
} from "./index-xdy28ngt.js";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-b91qwpms.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-6bqqzfbe.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
21
|
} from "./index-xagq35tf.js";
|
|
@@ -3096,7 +3096,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3096
3096
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3097
3097
|
if (candidates.length === 0)
|
|
3098
3098
|
return 0;
|
|
3099
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3099
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-jm7024zm.js");
|
|
3100
3100
|
let transferred = 0;
|
|
3101
3101
|
for (const record of candidates) {
|
|
3102
3102
|
try {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
computeTaskLineageInputHash,
|
|
7
7
|
computeTaskSetContentHash,
|
|
8
8
|
resolveContainedExistingPath
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-ew6fykvv.js";
|
|
13
13
|
import {
|
|
14
14
|
assertProjectRoot,
|
|
15
15
|
withEvidenceLock
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-ppx8bnzd.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-wn0xm2e8.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|