opencode-swarm 7.141.1 → 7.142.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/{config-doctor-xs2p0xy3.js → config-doctor-7xqerhnw.js} +2 -2
- package/dist/cli/{core-znrxk8gw.js → core-nwmpg9t8.js} +1 -1
- package/dist/cli/{curation-policy-j1fbc3ry.js → curation-policy-bzk13bj2.js} +5 -5
- package/dist/cli/{curator-a95x81ek.js → curator-3wsaz7ay.js} +26 -26
- package/dist/cli/{curator-llm-factory-ak7p0scv.js → curator-llm-factory-kbkddqk2.js} +26 -26
- package/dist/cli/{evidence-summary-service-2gk48s5s.js → evidence-summary-service-wwfvpvxq.js} +9 -9
- package/dist/cli/{gate-evidence-rt9034ft.js → gate-evidence-3mazsjrq.js} +4 -4
- package/dist/cli/{guardrail-explain-4st3vc3d.js → guardrail-explain-rmz1yjzw.js} +27 -27
- package/dist/cli/{guardrail-log-vjexgpfm.js → guardrail-log-8m4dnkgd.js} +3 -3
- package/dist/cli/{hive-promoter-g9ad9vad.js → hive-promoter-ss8dm52r.js} +26 -26
- package/dist/cli/{index-q4vaar2b.js → index-0dvx8f03.js} +2 -2
- package/dist/cli/{index-w9613ace.js → index-26ynh10w.js} +6 -6
- package/dist/cli/{index-39xs96mk.js → index-2p3h7det.js} +1 -1
- package/dist/cli/{index-9d4gck4e.js → index-338zfvff.js} +58 -34
- package/dist/cli/{index-nse60anv.js → index-520ev2d7.js} +1 -1
- package/dist/cli/{index-dx1mdsrj.js → index-56knmbwf.js} +2031 -1029
- package/dist/cli/{index-ry609ctr.js → index-67vxmh1v.js} +7 -7
- package/dist/cli/{index-f1hsrgw1.js → index-78p6nvcv.js} +1 -1
- package/dist/cli/{index-hjf8pjd4.js → index-7c5xtcfm.js} +3 -3
- package/dist/cli/{index-mr397tze.js → index-8g5aa1s7.js} +2 -2
- package/dist/cli/{index-qskz8j2z.js → index-99eftm6b.js} +1 -1
- package/dist/cli/{index-z8yr1yra.js → index-ad93kz8m.js} +1 -1
- package/dist/cli/{index-g29r600w.js → index-ae0j9qpc.js} +28 -28
- package/dist/cli/{index-zqshpey0.js → index-amepv9dh.js} +3 -3
- package/dist/cli/{index-zbj3yrrd.js → index-bd2h7r2w.js} +1 -1
- package/dist/cli/{index-wbf8sv70.js → index-e4y7mfp0.js} +1 -1
- package/dist/cli/{index-c2hczjhp.js → index-em1kfnss.js} +1 -1
- package/dist/cli/{index-8056f16v.js → index-eytxcbm8.js} +3 -3
- package/dist/cli/{index-kq5p3nm3.js → index-gcn7tsr3.js} +1 -1
- package/dist/cli/{index-3d13jkzq.js → index-h2vpk15y.js} +2 -2
- package/dist/cli/{index-5ykn39wq.js → index-hgydkvty.js} +2 -2
- package/dist/cli/{index-2ygp3pnx.js → index-hncahn40.js} +5 -5
- package/dist/cli/{index-vnr917xf.js → index-kkxt9g8d.js} +3 -3
- package/dist/cli/{index-44nf5s90.js → index-mbeqw4cb.js} +1 -1
- package/dist/cli/{index-3gfdb0t9.js → index-sh3r66tt.js} +1 -1
- package/dist/cli/{index-8s4vnqts.js → index-tzbd5050.js} +4 -4
- package/dist/cli/{index-pkxt2rg2.js → index-v8f3wa0e.js} +1 -1
- package/dist/cli/{index-ysapwztd.js → index-vwyamc2d.js} +2 -2
- package/dist/cli/{index-v250345n.js → index-ycd63sz3.js} +1 -1
- package/dist/cli/{index-c6m3t5n2.js → index-z7eeq0tt.js} +6 -6
- package/dist/cli/index.js +39 -26
- package/dist/cli/{knowledge-escalator-5xg6vmr4.js → knowledge-escalator-w235g6ce.js} +10 -10
- package/dist/cli/{knowledge-events-qvzpqt5b.js → knowledge-events-amn94djz.js} +8 -8
- package/dist/cli/{knowledge-link-x86ebng8.js → knowledge-link-xned4jbm.js} +4 -4
- package/dist/cli/{knowledge-store-k5td1vqx.js → knowledge-store-3vb855ta.js} +5 -5
- package/dist/cli/{knowledge-validator-zz26gk5d.js → knowledge-validator-a8c185hw.js} +7 -7
- package/dist/cli/{pending-delegations-7xsagjy5.js → pending-delegations-8ccjby4b.js} +3 -3
- package/dist/cli/{pr-subscriptions-r6cdsa3t.js → pr-subscriptions-gn7r3bg7.js} +3 -3
- package/dist/cli/{runner-nm3baddf.js → runner-rhgkhy5e.js} +5 -5
- package/dist/cli/{scan-cursor-nhcpebh5.js → scan-cursor-vjbjm140.js} +6 -6
- package/dist/cli/{schema-6ecb0xhn.js → schema-dd8mzm6k.js} +1 -1
- package/dist/cli/{scope-persistence-yet1hvmq.js → scope-persistence-8j8d4874.js} +6 -6
- package/dist/cli/{skill-generator-j0mbd2pp.js → skill-generator-a4apb7c2.js} +12 -12
- package/dist/cli/{telemetry-zex3zv3v.js → telemetry-k9nxy24s.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-n41qw3n8.js → worktree-collision-ownership-183jk2dv.js} +3 -3
- package/dist/cli/{worktree-isolation-445zjngp.js → worktree-isolation-j71zz7g9.js} +26 -26
- package/dist/commands/hive-quarantine.d.ts +23 -0
- package/dist/commands/registry.d.ts +9 -0
- package/dist/hooks/hive-transaction.d.ts +41 -0
- package/dist/index.js +290 -277
- package/dist/knowledge/hive-quarantine.d.ts +156 -0
- package/dist/observability/catalog.d.ts +2 -2
- package/dist/telemetry.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-hncahn40.js";
|
|
13
|
+
import"./index-67vxmh1v.js";
|
|
14
14
|
import"./index-k46me75h.js";
|
|
15
15
|
import"./index-ee3x66a5.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-26ynh10w.js";
|
|
17
17
|
import"./index-ae75rja9.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
18
|
+
import"./index-gcn7tsr3.js";
|
|
19
|
+
import"./index-em1kfnss.js";
|
|
20
|
+
import"./index-bd2h7r2w.js";
|
|
21
21
|
import"./index-7g4c7s5r.js";
|
|
22
22
|
import"./index-ed5ykebp.js";
|
|
23
23
|
import"./index-4nt52yr9.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-vwyamc2d.js";
|
|
25
25
|
import"./index-gprxjmm7.js";
|
|
26
26
|
import"./index-n832052r.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-ad93kz8m.js";
|
|
28
28
|
import"./index-4rhhvd1a.js";
|
|
29
29
|
import"./index-zgwm4ryv.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-v8f3wa0e.js";
|
|
31
31
|
import"./index-jqsfsqbx.js";
|
|
32
32
|
import"./index-zjygnfay.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-338zfvff.js";
|
|
35
35
|
import"./index-bpmtbmy9.js";
|
|
36
36
|
import"./index-a76rekgs.js";
|
|
37
37
|
export {
|
|
@@ -29,27 +29,27 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-67vxmh1v.js";
|
|
33
33
|
import"./index-k46me75h.js";
|
|
34
34
|
import"./index-ee3x66a5.js";
|
|
35
35
|
import"./index-ae75rja9.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-gcn7tsr3.js";
|
|
37
|
+
import"./index-em1kfnss.js";
|
|
38
|
+
import"./index-bd2h7r2w.js";
|
|
39
39
|
import"./index-7g4c7s5r.js";
|
|
40
40
|
import"./index-ed5ykebp.js";
|
|
41
41
|
import"./index-4nt52yr9.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-vwyamc2d.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-ad93kz8m.js";
|
|
46
46
|
import"./index-4rhhvd1a.js";
|
|
47
47
|
import"./index-zgwm4ryv.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-v8f3wa0e.js";
|
|
49
49
|
import"./index-jqsfsqbx.js";
|
|
50
50
|
import"./index-zjygnfay.js";
|
|
51
51
|
import"./index-bk5tah7q.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-338zfvff.js";
|
|
53
53
|
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-a76rekgs.js";
|
|
55
55
|
export {
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-gcn7tsr3.js";
|
|
16
|
+
import"./index-em1kfnss.js";
|
|
17
|
+
import"./index-bd2h7r2w.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
19
19
|
import"./index-ed5ykebp.js";
|
|
20
20
|
import"./index-4nt52yr9.js";
|
|
21
21
|
import"./index-zgwm4ryv.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-338zfvff.js";
|
|
23
23
|
import"./index-bpmtbmy9.js";
|
|
24
24
|
import"./index-a76rekgs.js";
|
|
25
25
|
export {
|
|
@@ -41,19 +41,19 @@ import {
|
|
|
41
41
|
transactKnowledge,
|
|
42
42
|
transactKnowledgeWithCas,
|
|
43
43
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-26ynh10w.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveDataDir
|
|
47
47
|
} from "./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
48
|
+
import"./index-gcn7tsr3.js";
|
|
49
|
+
import"./index-em1kfnss.js";
|
|
50
|
+
import"./index-bd2h7r2w.js";
|
|
51
51
|
import"./index-7g4c7s5r.js";
|
|
52
52
|
import"./index-ed5ykebp.js";
|
|
53
53
|
import"./index-4nt52yr9.js";
|
|
54
54
|
import"./index-zgwm4ryv.js";
|
|
55
55
|
import"./index-bk5tah7q.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-338zfvff.js";
|
|
57
57
|
import"./index-bpmtbmy9.js";
|
|
58
58
|
import"./index-a76rekgs.js";
|
|
59
59
|
export {
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-tzbd5050.js";
|
|
27
|
+
import"./index-ycd63sz3.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-26ynh10w.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
31
|
+
import"./index-gcn7tsr3.js";
|
|
32
|
+
import"./index-em1kfnss.js";
|
|
33
|
+
import"./index-bd2h7r2w.js";
|
|
34
34
|
import"./index-7g4c7s5r.js";
|
|
35
35
|
import"./index-ed5ykebp.js";
|
|
36
36
|
import"./index-4nt52yr9.js";
|
|
37
37
|
import"./index-zgwm4ryv.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-338zfvff.js";
|
|
40
40
|
import"./index-bpmtbmy9.js";
|
|
41
41
|
import"./index-a76rekgs.js";
|
|
42
42
|
export {
|
|
@@ -41,16 +41,16 @@ import {
|
|
|
41
41
|
sweepStaleDelegations,
|
|
42
42
|
updateCoderSettlement,
|
|
43
43
|
writeDelegationFallback
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-520ev2d7.js";
|
|
45
45
|
import"./index-k46me75h.js";
|
|
46
46
|
import"./index-ee3x66a5.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-bd2h7r2w.js";
|
|
48
48
|
import"./index-7g4c7s5r.js";
|
|
49
49
|
import"./index-ed5ykebp.js";
|
|
50
50
|
import"./index-4nt52yr9.js";
|
|
51
51
|
import"./index-zgwm4ryv.js";
|
|
52
52
|
import"./index-zjygnfay.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-338zfvff.js";
|
|
54
54
|
import"./index-bpmtbmy9.js";
|
|
55
55
|
import"./index-a76rekgs.js";
|
|
56
56
|
export {
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-99eftm6b.js";
|
|
13
13
|
import"./index-k46me75h.js";
|
|
14
14
|
import"./index-ee3x66a5.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-bd2h7r2w.js";
|
|
16
16
|
import"./index-7g4c7s5r.js";
|
|
17
17
|
import"./index-ed5ykebp.js";
|
|
18
18
|
import"./index-4nt52yr9.js";
|
|
19
19
|
import"./index-zgwm4ryv.js";
|
|
20
20
|
import"./index-zjygnfay.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-338zfvff.js";
|
|
22
22
|
import"./index-bpmtbmy9.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
24
24
|
export {
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-78p6nvcv.js";
|
|
7
|
+
import"./index-0dvx8f03.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
import"./index-em1kfnss.js";
|
|
10
|
+
import"./index-bd2h7r2w.js";
|
|
11
11
|
import"./index-7g4c7s5r.js";
|
|
12
12
|
import"./index-ed5ykebp.js";
|
|
13
13
|
import"./index-4nt52yr9.js";
|
|
14
14
|
import"./index-zgwm4ryv.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-338zfvff.js";
|
|
16
16
|
import"./index-bpmtbmy9.js";
|
|
17
17
|
import"./index-a76rekgs.js";
|
|
18
18
|
export {
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-8g5aa1s7.js";
|
|
8
|
+
import"./index-26ynh10w.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-gcn7tsr3.js";
|
|
11
|
+
import"./index-em1kfnss.js";
|
|
12
|
+
import"./index-bd2h7r2w.js";
|
|
13
13
|
import"./index-7g4c7s5r.js";
|
|
14
14
|
import"./index-ed5ykebp.js";
|
|
15
15
|
import"./index-4nt52yr9.js";
|
|
16
16
|
import"./index-zgwm4ryv.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-338zfvff.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-a76rekgs.js";
|
|
21
21
|
export {
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-eytxcbm8.js";
|
|
27
27
|
import"./index-556ja8an.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-amepv9dh.js";
|
|
29
|
+
import"./index-bd2h7r2w.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
31
|
import"./index-4nt52yr9.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-ad93kz8m.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
34
|
import"./index-zgwm4ryv.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-v8f3wa0e.js";
|
|
36
36
|
import"./index-jqsfsqbx.js";
|
|
37
37
|
import"./index-zjygnfay.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-338zfvff.js";
|
|
40
40
|
import"./index-bpmtbmy9.js";
|
|
41
41
|
import"./index-a76rekgs.js";
|
|
42
42
|
export {
|
|
@@ -33,32 +33,32 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
} from "./index-7c5xtcfm.js";
|
|
37
|
+
import"./index-67vxmh1v.js";
|
|
38
38
|
import"./index-k46me75h.js";
|
|
39
39
|
import"./index-ee3x66a5.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-tzbd5050.js";
|
|
41
|
+
import"./index-ycd63sz3.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-26ynh10w.js";
|
|
44
44
|
import"./index-ae75rja9.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
45
|
+
import"./index-gcn7tsr3.js";
|
|
46
|
+
import"./index-em1kfnss.js";
|
|
47
|
+
import"./index-bd2h7r2w.js";
|
|
48
48
|
import"./index-7g4c7s5r.js";
|
|
49
49
|
import"./index-ed5ykebp.js";
|
|
50
50
|
import"./index-4nt52yr9.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-vwyamc2d.js";
|
|
52
52
|
import"./index-gprxjmm7.js";
|
|
53
53
|
import"./index-n832052r.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-ad93kz8m.js";
|
|
55
55
|
import"./index-4rhhvd1a.js";
|
|
56
56
|
import"./index-zgwm4ryv.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-v8f3wa0e.js";
|
|
58
58
|
import"./index-jqsfsqbx.js";
|
|
59
59
|
import"./index-zjygnfay.js";
|
|
60
60
|
import"./index-bk5tah7q.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-338zfvff.js";
|
|
62
62
|
import"./index-bpmtbmy9.js";
|
|
63
63
|
import"./index-a76rekgs.js";
|
|
64
64
|
export {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-520ev2d7.js";
|
|
14
14
|
import"./index-k46me75h.js";
|
|
15
15
|
import"./index-ee3x66a5.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-bd2h7r2w.js";
|
|
17
17
|
import"./index-7g4c7s5r.js";
|
|
18
18
|
import"./index-ed5ykebp.js";
|
|
19
19
|
import {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./index-4nt52yr9.js";
|
|
22
22
|
import"./index-zgwm4ryv.js";
|
|
23
23
|
import"./index-zjygnfay.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-338zfvff.js";
|
|
25
25
|
import"./index-bpmtbmy9.js";
|
|
26
26
|
import"./index-a76rekgs.js";
|
|
27
27
|
|
|
@@ -20,61 +20,61 @@ import {
|
|
|
20
20
|
sanitizeWorktreeTaskId,
|
|
21
21
|
standardWorktreeByCallID,
|
|
22
22
|
standardWorktreeSerializationSessions
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-56knmbwf.js";
|
|
24
24
|
import"./index-4905hd2m.js";
|
|
25
25
|
import"./index-ebwznsfy.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-78p6nvcv.js";
|
|
27
|
+
import"./index-2p3h7det.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-sh3r66tt.js";
|
|
30
|
+
import"./index-z7eeq0tt.js";
|
|
31
31
|
import"./index-134d35c1.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-0dvx8f03.js";
|
|
33
33
|
import"./index-y8552snf.js";
|
|
34
34
|
import"./index-9ss2m4rs.js";
|
|
35
35
|
import"./index-74hpm6sh.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-7c5xtcfm.js";
|
|
37
|
+
import"./index-hncahn40.js";
|
|
38
|
+
import"./index-8g5aa1s7.js";
|
|
39
39
|
import"./index-xmzmeknp.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-99eftm6b.js";
|
|
41
|
+
import"./index-eytxcbm8.js";
|
|
42
42
|
import"./index-556ja8an.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-amepv9dh.js";
|
|
44
44
|
import"./index-zsrtt42s.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-e4y7mfp0.js";
|
|
46
46
|
import"./index-qwm6vdyv.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-h2vpk15y.js";
|
|
48
|
+
import"./index-520ev2d7.js";
|
|
49
49
|
import"./index-8fwhhayc.js";
|
|
50
50
|
import"./index-q1exe2b3.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-67vxmh1v.js";
|
|
52
52
|
import"./index-k46me75h.js";
|
|
53
53
|
import"./index-ee3x66a5.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-tzbd5050.js";
|
|
55
|
+
import"./index-ycd63sz3.js";
|
|
56
56
|
import"./index-rtry5xyf.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-26ynh10w.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
59
|
+
import"./index-gcn7tsr3.js";
|
|
60
|
+
import"./index-em1kfnss.js";
|
|
61
|
+
import"./index-bd2h7r2w.js";
|
|
62
62
|
import"./index-7g4c7s5r.js";
|
|
63
63
|
import"./index-ed5ykebp.js";
|
|
64
64
|
import"./index-4nt52yr9.js";
|
|
65
65
|
import {
|
|
66
66
|
resolveWorktreeIsolationConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-vwyamc2d.js";
|
|
68
68
|
import"./index-gprxjmm7.js";
|
|
69
69
|
import"./index-n832052r.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-ad93kz8m.js";
|
|
71
71
|
import"./index-4rhhvd1a.js";
|
|
72
72
|
import"./index-zgwm4ryv.js";
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-v8f3wa0e.js";
|
|
74
74
|
import"./index-jqsfsqbx.js";
|
|
75
75
|
import"./index-zjygnfay.js";
|
|
76
76
|
import"./index-bk5tah7q.js";
|
|
77
|
-
import"./index-
|
|
77
|
+
import"./index-338zfvff.js";
|
|
78
78
|
import"./index-bpmtbmy9.js";
|
|
79
79
|
import"./index-a76rekgs.js";
|
|
80
80
|
export {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `/swarm knowledge hive-quarantine` — human-only knowledge maintenance for the
|
|
3
|
+
* machine-global hive store (issue #2033).
|
|
4
|
+
*
|
|
5
|
+
* Flow (operator-driven; no `--yes`/`--force` flag exists — the only
|
|
6
|
+
* non-interactive escape is the explicit SWARM_ALLOW_HUMAN_ONLY_CLI=1 opt-in):
|
|
7
|
+
* preview <id>[,<id>…] read-only snapshot + confirmation token
|
|
8
|
+
* commit --token <t> [--reason r] validated backup → exact-ID quarantine → verify
|
|
9
|
+
* rollback --token <t12> | --latest idempotent byte-exact restore from the manifest
|
|
10
|
+
* status read-only list of quarantine backups
|
|
11
|
+
*
|
|
12
|
+
* Layered gates (PR #2200 review): `toolPolicy: 'human-only'` refuses agents at
|
|
13
|
+
* `swarm_command` classification and the chat-fallback policy blocks agent-typed
|
|
14
|
+
* usage; the shell guardrail blocks direct, quoted, path-qualified, and
|
|
15
|
+
* shell-variable-indirected CLI invocations from agent shells; the CLI entry
|
|
16
|
+
* itself refuses human-only commands from non-interactive shells (aliases
|
|
17
|
+
* resolved to their canonical policy). The confirmation token is HMAC-bound to
|
|
18
|
+
* a per-install secret, so it cannot be minted from public store contents
|
|
19
|
+
* alone. These layers are defense-in-depth with an honest audit trail — local
|
|
20
|
+
* single-user tooling cannot be tamper-proof against the owning user, and the
|
|
21
|
+
* docs make no absolute claim otherwise.
|
|
22
|
+
*/
|
|
23
|
+
export declare function handleKnowledgeHiveQuarantineCommand(_directory: string, args: string[]): Promise<string>;
|
|
@@ -910,6 +910,15 @@ export declare const COMMAND_REGISTRY: {
|
|
|
910
910
|
readonly args: "<entry-id>";
|
|
911
911
|
readonly category: "utility";
|
|
912
912
|
};
|
|
913
|
+
readonly 'knowledge hive-quarantine': {
|
|
914
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
915
|
+
readonly description: "Human-only exact-ID quarantine of hive-store entries with backup and rollback";
|
|
916
|
+
readonly subcommandOf: "knowledge";
|
|
917
|
+
readonly details: string;
|
|
918
|
+
readonly args: "<preview|commit|rollback|status> ...";
|
|
919
|
+
readonly category: "utility";
|
|
920
|
+
readonly toolPolicy: "human-only";
|
|
921
|
+
};
|
|
913
922
|
readonly 'knowledge unactionable': {
|
|
914
923
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
915
924
|
readonly description: "List unactionable knowledge entries pending hardening";
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
* This module holds NO module-level mutable state (invariant 8) and is NOT
|
|
35
35
|
* imported on the plugin-init path (invariant 1).
|
|
36
36
|
*/
|
|
37
|
+
import { appendFile } from 'node:fs/promises';
|
|
37
38
|
import * as path from 'node:path';
|
|
38
39
|
import lockfile from 'proper-lockfile';
|
|
39
40
|
import { atomicWriteFile } from '../evidence/task-file.js';
|
|
@@ -53,6 +54,29 @@ export interface HiveTxContext {
|
|
|
53
54
|
export interface HiveAuditEntry {
|
|
54
55
|
line: string;
|
|
55
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* A staged raw append to a JSONL file inside the hive data dir, performed under the
|
|
59
|
+
* held directory lock AFTER the atomic store write (issue #2033). Used by the
|
|
60
|
+
* human-only hive-quarantine flow to append quarantine records to the
|
|
61
|
+
* `shared-learnings-quarantined.jsonl` sidecar with the same atomicity guarantees as
|
|
62
|
+
* the audit log — never via `appendKnowledge`, which would re-enter the lock.
|
|
63
|
+
*/
|
|
64
|
+
export interface HiveStagedAppend {
|
|
65
|
+
/** Absolute path of an existing-or-new .jsonl file inside the hive data dir. */
|
|
66
|
+
path: string;
|
|
67
|
+
/** Pre-serialized JSONL block (newline-terminated lines). */
|
|
68
|
+
block: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Thrown when a staged append fails AFTER the atomic store rewrite (issue #2033). The
|
|
72
|
+
* store mutation already happened, so callers must compensate (the hive-quarantine flow
|
|
73
|
+
* restores from its just-written backup) rather than treating this as a clean abort.
|
|
74
|
+
*/
|
|
75
|
+
export declare class HiveStagedAppendError extends Error {
|
|
76
|
+
readonly stagedPath: string;
|
|
77
|
+
readonly cause: unknown;
|
|
78
|
+
constructor(stagedPath: string, cause: unknown);
|
|
79
|
+
}
|
|
56
80
|
/** The result a mutation closure returns. */
|
|
57
81
|
export type HiveMutationOutcome<T> = {
|
|
58
82
|
kind: 'commit';
|
|
@@ -63,6 +87,22 @@ export type HiveMutationOutcome<T> = {
|
|
|
63
87
|
rejects?: RejectedLesson[];
|
|
64
88
|
/** Audit lines to append to the hive events log under the lock. */
|
|
65
89
|
audit?: HiveAuditEntry[];
|
|
90
|
+
/**
|
|
91
|
+
* Additional staged raw JSONL appends under the same lock (issue #2033).
|
|
92
|
+
* Each path is validated (before the atomic write) to resolve inside the
|
|
93
|
+
* hive data dir, end in `.jsonl`, and NOT sit under `quarantine-backups/`
|
|
94
|
+
* (reparse/junction defense). These appends are NEVER FIFO-trimmed.
|
|
95
|
+
*/
|
|
96
|
+
extraStagedAppends?: HiveStagedAppend[];
|
|
97
|
+
/**
|
|
98
|
+
* Exact raw line bytes to persist for specific entry ids (issue #2033),
|
|
99
|
+
* overriding the `JSON.stringify(entry)` serialization. Used by the
|
|
100
|
+
* hive-quarantine rollback so restored legacy-shaped entries are written
|
|
101
|
+
* byte-exactly instead of re-serialized through the normalize-on-read
|
|
102
|
+
* pipeline. A Map by contract (PR review CC-9): plain-object maps
|
|
103
|
+
* silently corrupt prototype-key ids like '__proto__'.
|
|
104
|
+
*/
|
|
105
|
+
rawLineOverrides?: ReadonlyMap<string, string>;
|
|
66
106
|
/** Caller return value surfaced back through HiveTransactionResult. */
|
|
67
107
|
return: T;
|
|
68
108
|
} | {
|
|
@@ -109,5 +149,6 @@ export declare const _internals: {
|
|
|
109
149
|
resolveHiveKnowledgePath: typeof resolveHiveKnowledgePath;
|
|
110
150
|
resolveHiveRejectedPath: typeof resolveHiveRejectedPath;
|
|
111
151
|
resolveHiveEventsPath: typeof resolveHiveEventsPath;
|
|
152
|
+
appendFile: typeof appendFile;
|
|
112
153
|
path: typeof path;
|
|
113
154
|
};
|