opencode-swarm 7.135.5 → 7.136.1
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 +11 -0
- package/dist/background/candidate-contract.d.ts +13 -0
- package/dist/cli/{config-doctor-exj26ryt.js → config-doctor-6fphg5xm.js} +2 -2
- package/dist/cli/{curation-policy-mbv3b27c.js → curation-policy-m24jbyag.js} +2 -2
- package/dist/cli/{curator-llm-factory-4d5pzh47.js → curator-llm-factory-w5arq7tr.js} +12 -12
- package/dist/cli/{curator-7ycd6x29.js → curator-zrt5sqj2.js} +12 -12
- package/dist/cli/{guardrail-explain-2jrqv2zf.js → guardrail-explain-462jwhbh.js} +13 -13
- package/dist/cli/{guardrail-log-c843gxnm.js → guardrail-log-ax21jd9e.js} +3 -3
- package/dist/cli/{hive-promoter-epnj14q8.js → hive-promoter-2vacnbws.js} +12 -12
- package/dist/cli/{index-8et4bx6j.js → index-1sq47n6t.js} +3 -3
- package/dist/cli/{index-0csbx1wc.js → index-9gxp450h.js} +1 -1
- package/dist/cli/{index-t1gszcwg.js → index-dyy3hvk3.js} +2 -2
- package/dist/cli/{index-jnemjn16.js → index-f4cmtd89.js} +2 -2
- package/dist/cli/{index-qyn0b2jj.js → index-g7g4hqh3.js} +1 -1
- package/dist/cli/{index-db52969t.js → index-gf7hqbmz.js} +1 -1
- package/dist/cli/{index-ym516a9a.js → index-h3bweb88.js} +5 -5
- package/dist/cli/{index-hw6yt4rs.js → index-hzkvbycn.js} +4 -4
- package/dist/cli/{index-09w3ezq2.js → index-jwrydqjp.js} +1 -1
- package/dist/cli/{index-bx10dq60.js → index-kzc2ygea.js} +1 -1
- package/dist/cli/{index-kjg6vgqs.js → index-p1pqqwgp.js} +1 -1
- package/dist/cli/{index-9s5b8wrs.js → index-prnjt2jr.js} +61 -54
- package/dist/cli/{index-k8arazbb.js → index-r9v98d0y.js} +7 -2
- package/dist/cli/{index-kq9zb1cv.js → index-rhgctfn3.js} +14 -14
- package/dist/cli/{index-6yk6ezvj.js → index-tfa40hwb.js} +1 -1
- package/dist/cli/{index-gvfw2y6v.js → index-zkddc5ye.js} +2 -2
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-3tjhpwjf.js → knowledge-escalator-1zt8qy1c.js} +3 -3
- package/dist/cli/{knowledge-events-0akk3p15.js → knowledge-events-ej3s9tsm.js} +1 -1
- package/dist/cli/{knowledge-store-7nvfh2n3.js → knowledge-store-ey4cbkp4.js} +1 -1
- package/dist/cli/{knowledge-validator-z618vhda.js → knowledge-validator-zwmq7s2c.js} +4 -4
- package/dist/cli/{scan-cursor-5zqr3afj.js → scan-cursor-809hf2n1.js} +2 -2
- package/dist/cli/{schema-n1cj94m0.js → schema-mhd7xqwr.js} +1 -1
- package/dist/cli/{skill-generator-560ksca8.js → skill-generator-yyc8zd9j.js} +5 -5
- package/dist/config/schema.d.ts +11 -1
- package/dist/hooks/repo-graph-builder.d.ts +17 -11
- package/dist/hooks/repo-graph-injection.d.ts +20 -9
- package/dist/hooks/semantic-diff-injection.d.ts +2 -2
- package/dist/index.js +141 -140
- package/dist/tools/repo-graph/builder.d.ts +55 -1
- package/dist/tools/repo-graph/cache.d.ts +12 -36
- package/dist/tools/repo-graph/freshness.d.ts +54 -0
- package/dist/tools/repo-graph/incremental.d.ts +17 -8
- package/dist/tools/repo-graph/query.d.ts +7 -1
- package/dist/tools/repo-graph/storage.d.ts +3 -1
- package/dist/tools/repo-graph/types.d.ts +31 -1
- package/dist/tools/repo-graph.d.ts +5 -3
- package/dist/tools/repo-map.d.ts +8 -0
- package/dist/utils/path-security.d.ts +22 -0
- package/package.json +1 -1
|
@@ -932,6 +932,17 @@ artifact and extracts these records. The canonical record shape is:
|
|
|
932
932
|
[CANDIDATE] | candidate_id | lane | severity | category | file:line | claim | evidence_summary | impact_context | confidence
|
|
933
933
|
```
|
|
934
934
|
|
|
935
|
+
Profile A stores the full assistant transcript, so earlier unmarked progress
|
|
936
|
+
turns may precede the machine-readable section. The parser locates that section
|
|
937
|
+
at the first pipe-delimited line whose first field is exactly `[CANDIDATE]` and
|
|
938
|
+
ignores unmarked preamble, including incidental pipe-delimited text. That first
|
|
939
|
+
marker is authoritative and must be the exact canonical base or micro header;
|
|
940
|
+
a malformed marker or marker-prefixed data row without a header fails closed.
|
|
941
|
+
The Profile A controller coverage gate also refuses a missing marker. The pure
|
|
942
|
+
parser retains markerless positional fallback only for legacy callers outside
|
|
943
|
+
that controller trust boundary. Explorers should continue to make the canonical
|
|
944
|
+
header the first line of their final machine-readable response.
|
|
945
|
+
|
|
935
946
|
The confidence data value must be exactly LOW, MEDIUM, or HIGH.
|
|
936
947
|
|
|
937
948
|
Under Profile A the parser normalizes this into a structured `candidates[]`
|
|
@@ -14,6 +14,19 @@ export declare const CANDIDATE_FIELDS: {
|
|
|
14
14
|
};
|
|
15
15
|
/** Identify only an exact, marker-bearing canonical candidate header. */
|
|
16
16
|
export declare function candidateHeaderFamily(fields: readonly string[]): RowFormatFamily | null;
|
|
17
|
+
export interface CandidateHeaderSelection {
|
|
18
|
+
lineIndex: number;
|
|
19
|
+
fields: string[];
|
|
20
|
+
family: RowFormatFamily | null;
|
|
21
|
+
markerBearing: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Locate the candidate protocol frame in a stored assistant transcript.
|
|
25
|
+
* Unmarked tabular text remains a compatibility fallback only when the
|
|
26
|
+
* transcript contains no marker-bearing candidate line. The first marker is
|
|
27
|
+
* authoritative even when malformed so a later valid header cannot rescue it.
|
|
28
|
+
*/
|
|
29
|
+
export declare function selectCandidateHeader(lines: readonly string[]): CandidateHeaderSelection | null;
|
|
17
30
|
/** Remove fenced markdown blocks before any candidate-contract inspection. */
|
|
18
31
|
export declare function removeCandidateCodeFences(text: string): string;
|
|
19
32
|
export type CandidateFieldName = (typeof CANDIDATE_FIELDS)[RowFormatFamily][number];
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-gf7hqbmz.js";
|
|
16
|
+
import"./index-r9v98d0y.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
18
|
import"./index-3jcyn8g6.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jwrydqjp.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-kzc2ygea.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
11
|
import"./index-dzyjb33e.js";
|
|
12
12
|
import"./index-ey29aap6.js";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-prnjt2jr.js";
|
|
5
5
|
import"./index-vm4xw9z3.js";
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
import"./index-tfa40hwb.js";
|
|
7
|
+
import"./index-gf7hqbmz.js";
|
|
8
8
|
import"./index-cggqh2dz.js";
|
|
9
9
|
import"./index-4905hd2m.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-1sq47n6t.js";
|
|
12
|
+
import"./index-h3bweb88.js";
|
|
13
|
+
import"./index-9gxp450h.js";
|
|
14
14
|
import"./index-6mjf4vr1.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-9ss2m4rs.js";
|
|
17
17
|
import"./index-y6a7gjtj.js";
|
|
18
18
|
import"./index-mrtms113.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-dyy3hvk3.js";
|
|
20
|
+
import"./index-jwrydqjp.js";
|
|
21
21
|
import"./index-rtry5xyf.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-hzkvbycn.js";
|
|
23
|
+
import"./index-kzc2ygea.js";
|
|
24
24
|
import"./index-ae75rja9.js";
|
|
25
25
|
import"./index-dzyjb33e.js";
|
|
26
26
|
import"./index-ey29aap6.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-p1pqqwgp.js";
|
|
28
28
|
import"./index-k5jrywpr.js";
|
|
29
29
|
import"./index-n832052r.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-r9v98d0y.js";
|
|
31
31
|
import"./index-bk5tah7q.js";
|
|
32
32
|
import"./index-8fwhhayc.js";
|
|
33
33
|
import"./index-q1exe2b3.js";
|
|
@@ -14,33 +14,33 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-prnjt2jr.js";
|
|
18
18
|
import"./index-vm4xw9z3.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-tfa40hwb.js";
|
|
20
|
+
import"./index-gf7hqbmz.js";
|
|
21
21
|
import"./index-cggqh2dz.js";
|
|
22
22
|
import"./index-4905hd2m.js";
|
|
23
23
|
import"./index-134d35c1.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
24
|
+
import"./index-1sq47n6t.js";
|
|
25
|
+
import"./index-h3bweb88.js";
|
|
26
|
+
import"./index-9gxp450h.js";
|
|
27
27
|
import"./index-6mjf4vr1.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-9ss2m4rs.js";
|
|
30
30
|
import"./index-y6a7gjtj.js";
|
|
31
31
|
import"./index-mrtms113.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-dyy3hvk3.js";
|
|
33
|
+
import"./index-jwrydqjp.js";
|
|
34
34
|
import"./index-rtry5xyf.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-hzkvbycn.js";
|
|
36
|
+
import"./index-kzc2ygea.js";
|
|
37
37
|
import"./index-ae75rja9.js";
|
|
38
38
|
import"./index-dzyjb33e.js";
|
|
39
39
|
import"./index-ey29aap6.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-p1pqqwgp.js";
|
|
41
41
|
import"./index-k5jrywpr.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-r9v98d0y.js";
|
|
44
44
|
import"./index-bk5tah7q.js";
|
|
45
45
|
import"./index-8fwhhayc.js";
|
|
46
46
|
import"./index-q1exe2b3.js";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-zkddc5ye.js";
|
|
5
|
+
import"./index-prnjt2jr.js";
|
|
6
6
|
import"./index-vm4xw9z3.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-tfa40hwb.js";
|
|
8
|
+
import"./index-gf7hqbmz.js";
|
|
9
9
|
import"./index-cggqh2dz.js";
|
|
10
10
|
import"./index-4905hd2m.js";
|
|
11
11
|
import"./index-134d35c1.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
import"./index-1sq47n6t.js";
|
|
13
|
+
import"./index-h3bweb88.js";
|
|
14
|
+
import"./index-9gxp450h.js";
|
|
15
15
|
import"./index-6mjf4vr1.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-9ss2m4rs.js";
|
|
18
18
|
import"./index-y6a7gjtj.js";
|
|
19
19
|
import"./index-mrtms113.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-dyy3hvk3.js";
|
|
21
|
+
import"./index-jwrydqjp.js";
|
|
22
22
|
import"./index-rtry5xyf.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-hzkvbycn.js";
|
|
24
|
+
import"./index-kzc2ygea.js";
|
|
25
25
|
import"./index-ae75rja9.js";
|
|
26
26
|
import"./index-dzyjb33e.js";
|
|
27
27
|
import"./index-ey29aap6.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-p1pqqwgp.js";
|
|
29
29
|
import"./index-k5jrywpr.js";
|
|
30
30
|
import"./index-n832052r.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-r9v98d0y.js";
|
|
32
32
|
import"./index-bk5tah7q.js";
|
|
33
33
|
import"./index-8fwhhayc.js";
|
|
34
34
|
import"./index-q1exe2b3.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-g7g4hqh3.js";
|
|
5
|
+
import"./index-tfa40hwb.js";
|
|
6
|
+
import"./index-r9v98d0y.js";
|
|
7
7
|
import"./index-bk5tah7q.js";
|
|
8
8
|
import"./index-3jcyn8g6.js";
|
|
9
9
|
import"./index-bpmtbmy9.js";
|
|
@@ -7,35 +7,35 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-prnjt2jr.js";
|
|
11
11
|
import"./index-vm4xw9z3.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-tfa40hwb.js";
|
|
13
|
+
import"./index-gf7hqbmz.js";
|
|
14
14
|
import"./index-cggqh2dz.js";
|
|
15
15
|
import"./index-4905hd2m.js";
|
|
16
16
|
import"./index-134d35c1.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-1sq47n6t.js";
|
|
18
|
+
import"./index-h3bweb88.js";
|
|
19
|
+
import"./index-9gxp450h.js";
|
|
20
20
|
import"./index-6mjf4vr1.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
23
|
import"./index-y6a7gjtj.js";
|
|
24
24
|
import"./index-mrtms113.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-dyy3hvk3.js";
|
|
26
|
+
import"./index-jwrydqjp.js";
|
|
27
27
|
import"./index-rtry5xyf.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveHiveKnowledgePath
|
|
30
|
-
} from "./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
} from "./index-hzkvbycn.js";
|
|
31
|
+
import"./index-kzc2ygea.js";
|
|
32
32
|
import"./index-ae75rja9.js";
|
|
33
33
|
import"./index-dzyjb33e.js";
|
|
34
34
|
import"./index-ey29aap6.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-p1pqqwgp.js";
|
|
36
36
|
import"./index-k5jrywpr.js";
|
|
37
37
|
import"./index-n832052r.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-r9v98d0y.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
40
40
|
import"./index-8fwhhayc.js";
|
|
41
41
|
import"./index-q1exe2b3.js";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-dyy3hvk3.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-hzkvbycn.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-kzc2ygea.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-jwrydqjp.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-hzkvbycn.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
15
|
} from "./index-dzyjb33e.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-p1pqqwgp.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
TurboConfigSchema,
|
|
55
55
|
WorktreeIsolationConfigSchema,
|
|
56
56
|
resolveAutoReviewConfig
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-r9v98d0y.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
59
|
import {
|
|
60
60
|
MigrationStatusSchema,
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-hzkvbycn.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-kzc2ygea.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-zwmq7s2c.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-mhd7xqwr.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-f4cmtd89.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-ej3s9tsm.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-zwmq7s2c.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-mhd7xqwr.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-f4cmtd89.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -625,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
625
625
|
deltas.push({ id, delta });
|
|
626
626
|
}
|
|
627
627
|
if (deltas.length > 0) {
|
|
628
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
628
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-ey4cbkp4.js");
|
|
629
629
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
630
630
|
}
|
|
631
631
|
return {
|