opencode-swarm 7.145.1 → 7.146.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/phase-wrap/SKILL.md +3 -2
- package/README.md +5 -1
- package/dist/cli/{config-doctor-96jmxr7s.js → config-doctor-vs6hvbew.js} +3 -3
- package/dist/cli/{core-w78pc1hh.js → core-jvvm935f.js} +2 -2
- package/dist/cli/{curation-policy-smyc2mrm.js → curation-policy-xv0j8zyt.js} +6 -6
- package/dist/cli/{curator-59hzdxrv.js → curator-5bxh1djq.js} +28 -28
- package/dist/cli/{curator-llm-factory-g794pv51.js → curator-llm-factory-pe6skby4.js} +28 -28
- package/dist/cli/{evidence-summary-service-41m0cna6.js → evidence-summary-service-6m9jmzk8.js} +12 -12
- package/dist/cli/{gate-evidence-7aywx7qa.js → gate-evidence-84sfx6g8.js} +7 -7
- package/dist/cli/{guardrail-explain-j88dhm6w.js → guardrail-explain-jhbxq8yb.js} +29 -29
- package/dist/cli/{guardrail-log-xcb3ke8s.js → guardrail-log-vpbp3rm4.js} +4 -4
- package/dist/cli/{hive-promoter-nnnx5692.js → hive-promoter-mmmfszv8.js} +28 -28
- package/dist/cli/{index-34tawmyx.js → index-0a0asz2s.js} +1 -1
- package/dist/cli/{index-2qrd8mfa.js → index-4p3qfb05.js} +1 -1
- package/dist/cli/{index-gey2257h.js → index-5e5a1y2r.js} +1 -1
- package/dist/cli/{index-17e73wac.js → index-5qwmpamg.js} +1 -1
- package/dist/cli/{index-41t3hgaa.js → index-92cxd0r1.js} +247 -29
- package/dist/cli/{index-rtkttser.js → index-97psh79d.js} +1 -1
- package/dist/cli/{index-gf03198s.js → index-bghwrr59.js} +1 -1
- package/dist/cli/{index-tw8ck794.js → index-bma2wrqx.js} +2 -2
- package/dist/cli/{index-v3y3qg48.js → index-cpg98bh1.js} +17 -1
- package/dist/cli/{index-kxzgnz2h.js → index-d4e6wpkg.js} +14 -7
- package/dist/cli/{index-sfemjcb8.js → index-f17j50dx.js} +5 -5
- package/dist/cli/{index-7axx11dt.js → index-fay8h6v8.js} +25 -5
- package/dist/cli/{index-19v4tccw.js → index-fyr2wbvz.js} +2 -2
- package/dist/cli/{index-cqfp05jb.js → index-fzqhn96z.js} +3 -3
- package/dist/cli/{index-mrkgxfeh.js → index-g3xt1d16.js} +4 -4
- package/dist/cli/{index-evpgszmp.js → index-gxbhp7sx.js} +2 -2
- package/dist/cli/{index-mpf01swm.js → index-j20fzn0w.js} +2 -2
- package/dist/cli/{index-xz4x17z0.js → index-j43qndgc.js} +30 -30
- package/dist/cli/{index-neh8azwc.js → index-jfcgnvg6.js} +3 -3
- package/dist/cli/{index-qpke2x5h.js → index-kfmee1cr.js} +6 -6
- package/dist/cli/{index-4evasm2b.js → index-kggqpefz.js} +5 -5
- package/dist/cli/{index-90w06fqr.js → index-kwxp0z0n.js} +4 -4
- package/dist/cli/{index-b7ntt9cw.js → index-n6ke10ck.js} +4 -4
- package/dist/cli/{index-fwnhh6s7.js → index-nsr5b69r.js} +2 -2
- package/dist/cli/{index-bst6epnr.js → index-pz2py5v7.js} +1876 -1065
- package/dist/cli/{index-8ef23wex.js → index-q2mvacjr.js} +4 -4
- package/dist/cli/{index-dppzthm9.js → index-qyvjp0bq.js} +2 -2
- package/dist/cli/{index-tm0bezd9.js → index-s8qyaqs2.js} +1 -1
- package/dist/cli/{index-ymyke19q.js → index-vk15nbh4.js} +2 -2
- package/dist/cli/{index-dzan8czb.js → index-x8pm918t.js} +1 -1
- package/dist/cli/{index-ff66fbjt.js → index-zd1mfygt.js} +177 -29
- package/dist/cli/{index-zpp507z0.js → index-zsmsy1dh.js} +2 -2
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-s6acdpwj.js → knowledge-escalator-c9p3w12b.js} +12 -12
- package/dist/cli/{knowledge-events-jprkz49t.js → knowledge-events-d201414m.js} +10 -10
- package/dist/cli/{knowledge-link-zvtmj756.js → knowledge-link-82ew2yc4.js} +5 -5
- package/dist/cli/{knowledge-store-mc4awds4.js → knowledge-store-ds45k9th.js} +6 -6
- package/dist/cli/{knowledge-validator-pe4ncrvj.js → knowledge-validator-707vsncy.js} +8 -8
- package/dist/cli/{model-preflight-77dwxfv5.js → model-preflight-7ea00h34.js} +1 -1
- package/dist/cli/{pending-delegations-epzht3d7.js → pending-delegations-kkrczqv7.js} +3 -3
- package/dist/cli/{pr-subscriptions-2ahy8g87.js → pr-subscriptions-2xn238xt.js} +3 -3
- package/dist/cli/{runner-ra9pjhp2.js → runner-pqsf809k.js} +6 -6
- package/dist/cli/{scan-cursor-hdzhqwzj.js → scan-cursor-znhqb8xa.js} +7 -7
- package/dist/cli/{schema-pg85z06v.js → schema-dnnm0p40.js} +2 -2
- package/dist/cli/{scope-persistence-v8we8ja7.js → scope-persistence-4n24a1e2.js} +8 -8
- package/dist/cli/{skill-generator-ctskfct2.js → skill-generator-5s0p3y8k.js} +14 -14
- package/dist/cli/{telemetry-c21dgffc.js → telemetry-t109dhv7.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-f7se4wbf.js → worktree-collision-ownership-2jtg2my1.js} +3 -3
- package/dist/cli/{worktree-isolation-j4qb7mgb.js → worktree-isolation-1v2mythh.js} +28 -28
- package/dist/commands/memory.d.ts +8 -0
- package/dist/commands/registry.d.ts +8 -0
- package/dist/config/schema.d.ts +16 -2
- package/dist/evidence/task-gate-repair.d.ts +26 -0
- package/dist/evidence/task-gate-requirements.d.ts +20 -0
- package/dist/gate-evidence.d.ts +7 -0
- package/dist/hooks/knowledge-receipt-ledger-storage.d.ts +2 -0
- package/dist/hooks/knowledge-receipt-ledger.d.ts +72 -3
- package/dist/hooks/knowledge-receipt-observability.d.ts +1 -1
- package/dist/hooks/phase-complete-directive-gate.d.ts +9 -0
- package/dist/index.js +593 -537
- package/dist/memory/config.d.ts +20 -0
- package/dist/memory/errors.d.ts +14 -0
- package/dist/memory/gateway.d.ts +32 -0
- package/dist/memory/index.d.ts +3 -2
- package/dist/memory/pii.d.ts +66 -0
- package/dist/memory/prompt-block.d.ts +1 -1
- package/dist/memory/provider.d.ts +15 -0
- package/dist/memory/redaction.d.ts +31 -8
- package/dist/memory/schema.d.ts +18 -0
- package/dist/memory/sentinel.d.ts +12 -0
- package/dist/memory/sqlite-provider.d.ts +93 -0
- package/dist/memory/types.d.ts +9 -0
- package/dist/plan/manager.d.ts +8 -0
- package/dist/review/diff-source.d.ts +30 -0
- package/dist/review/engine.d.ts +1 -0
- package/dist/review/evidence.d.ts +16 -2
- package/dist/review/phase-runner.d.ts +1 -0
- package/dist/tools/completion-verify.d.ts +2 -0
- package/dist/tools/convene-council.d.ts +1 -1
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/manifest.d.ts +4 -0
- package/dist/tools/phase-complete/gates/final-review-gate.d.ts +3 -3
- package/dist/tools/phase-complete/gates/types.d.ts +2 -2
- package/dist/tools/phase-complete/preflight-report.d.ts +66 -0
- package/dist/tools/phase-complete/snapshot-identity.d.ts +1 -0
- package/dist/tools/phase-complete.d.ts +66 -3
- package/dist/tools/record-directive-override.d.ts +14 -0
- package/dist/tools/repair-gate-evidence.d.ts +6 -0
- package/dist/tools/repair-knowledge-receipt-ledger.d.ts +27 -0
- package/dist/tools/run-phase-review.d.ts +37 -0
- package/dist/tools/submit-phase-council-verdicts.d.ts +1 -1
- package/dist/tools/tool-metadata.d.ts +32 -16
- package/dist/tools/write-final-council-evidence.d.ts +1 -1
- package/dist/tools/write-retro.d.ts +2 -0
- package/package.json +12 -2
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-zd1mfygt.js";
|
|
33
|
+
import"./index-jfcgnvg6.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-5qwmpamg.js";
|
|
37
|
+
import"./index-fay8h6v8.js";
|
|
38
|
+
import"./index-cpg98bh1.js";
|
|
39
39
|
import"./index-9e6fdz2h.js";
|
|
40
40
|
import"./index-4rhhvd1a.js";
|
|
41
41
|
import"./index-w8pgjr75.js";
|
|
@@ -43,12 +43,12 @@ import"./index-z6xqpmqg.js";
|
|
|
43
43
|
import"./index-zj6t9zgx.js";
|
|
44
44
|
import"./index-zjygnfay.js";
|
|
45
45
|
import"./index-ae75rja9.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-x8pm918t.js";
|
|
47
|
+
import"./index-j20fzn0w.js";
|
|
48
48
|
import"./index-bk5tah7q.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-kggqpefz.js";
|
|
50
|
+
import"./index-bghwrr59.js";
|
|
51
|
+
import"./index-qyvjp0bq.js";
|
|
52
52
|
import"./index-7g4c7s5r.js";
|
|
53
53
|
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-ed5ykebp.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
15
|
+
} from "./index-x8pm918t.js";
|
|
16
|
+
import"./index-j20fzn0w.js";
|
|
17
|
+
import"./index-kggqpefz.js";
|
|
18
|
+
import"./index-bghwrr59.js";
|
|
19
|
+
import"./index-qyvjp0bq.js";
|
|
20
20
|
import"./index-7g4c7s5r.js";
|
|
21
21
|
import"./index-bpmtbmy9.js";
|
|
22
22
|
import"./index-ed5ykebp.js";
|
|
@@ -41,16 +41,16 @@ import {
|
|
|
41
41
|
transactKnowledge,
|
|
42
42
|
transactKnowledgeWithCas,
|
|
43
43
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-kfmee1cr.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveDataDir
|
|
47
47
|
} from "./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-x8pm918t.js";
|
|
49
|
+
import"./index-j20fzn0w.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-kggqpefz.js";
|
|
52
|
+
import"./index-bghwrr59.js";
|
|
53
|
+
import"./index-qyvjp0bq.js";
|
|
54
54
|
import"./index-7g4c7s5r.js";
|
|
55
55
|
import"./index-bpmtbmy9.js";
|
|
56
56
|
import"./index-ed5ykebp.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-q2mvacjr.js";
|
|
27
|
+
import"./index-4p3qfb05.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-kfmee1cr.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-x8pm918t.js";
|
|
32
|
+
import"./index-j20fzn0w.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
34
|
+
import"./index-kggqpefz.js";
|
|
35
|
+
import"./index-bghwrr59.js";
|
|
36
|
+
import"./index-qyvjp0bq.js";
|
|
37
37
|
import"./index-7g4c7s5r.js";
|
|
38
38
|
import"./index-bpmtbmy9.js";
|
|
39
39
|
import"./index-ed5ykebp.js";
|
|
@@ -54,13 +54,13 @@ import {
|
|
|
54
54
|
sweepStaleDelegations,
|
|
55
55
|
updateCoderSettlement,
|
|
56
56
|
writeDelegationFallback
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-97psh79d.js";
|
|
58
58
|
import"./index-w8pgjr75.js";
|
|
59
59
|
import"./index-z6xqpmqg.js";
|
|
60
60
|
import"./index-zj6t9zgx.js";
|
|
61
61
|
import"./index-zjygnfay.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
62
|
+
import"./index-bghwrr59.js";
|
|
63
|
+
import"./index-qyvjp0bq.js";
|
|
64
64
|
import"./index-7g4c7s5r.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-ed5ykebp.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-5e5a1y2r.js";
|
|
13
13
|
import"./index-w8pgjr75.js";
|
|
14
14
|
import"./index-z6xqpmqg.js";
|
|
15
15
|
import"./index-zj6t9zgx.js";
|
|
16
16
|
import"./index-zjygnfay.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-bghwrr59.js";
|
|
18
|
+
import"./index-qyvjp0bq.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
20
|
import"./index-bpmtbmy9.js";
|
|
21
21
|
import"./index-ed5ykebp.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-0a0asz2s.js";
|
|
7
|
+
import"./index-nsr5b69r.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
9
|
import"./index-zj6t9zgx.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
import"./index-j20fzn0w.js";
|
|
11
|
+
import"./index-kggqpefz.js";
|
|
12
|
+
import"./index-bghwrr59.js";
|
|
13
|
+
import"./index-qyvjp0bq.js";
|
|
14
14
|
import"./index-7g4c7s5r.js";
|
|
15
15
|
import"./index-bpmtbmy9.js";
|
|
16
16
|
import"./index-ed5ykebp.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-gxbhp7sx.js";
|
|
8
|
+
import"./index-kfmee1cr.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-x8pm918t.js";
|
|
13
|
+
import"./index-j20fzn0w.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-kggqpefz.js";
|
|
16
|
+
import"./index-bghwrr59.js";
|
|
17
|
+
import"./index-qyvjp0bq.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-ed5ykebp.js";
|
|
@@ -97,8 +97,8 @@ import {
|
|
|
97
97
|
resolveGeneratedAgentRole,
|
|
98
98
|
resolveGuardrailsConfig,
|
|
99
99
|
stripKnownSwarmPrefix
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
} from "./index-fay8h6v8.js";
|
|
101
|
+
import"./index-cpg98bh1.js";
|
|
102
102
|
import"./index-zjygnfay.js";
|
|
103
103
|
import"./index-bk5tah7q.js";
|
|
104
104
|
import"./index-bpmtbmy9.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-kwxp0z0n.js";
|
|
27
|
+
import"./index-fzqhn96z.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-5qwmpamg.js";
|
|
30
|
+
import"./index-fay8h6v8.js";
|
|
31
|
+
import"./index-cpg98bh1.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
34
|
import"./index-w8pgjr75.js";
|
|
@@ -36,9 +36,9 @@ import"./index-z6xqpmqg.js";
|
|
|
36
36
|
import"./index-zj6t9zgx.js";
|
|
37
37
|
import"./index-zjygnfay.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
39
|
+
import"./index-kggqpefz.js";
|
|
40
|
+
import"./index-bghwrr59.js";
|
|
41
|
+
import"./index-qyvjp0bq.js";
|
|
42
42
|
import"./index-7g4c7s5r.js";
|
|
43
43
|
import"./index-bpmtbmy9.js";
|
|
44
44
|
import"./index-ed5ykebp.js";
|
|
@@ -33,18 +33,18 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-g3xt1d16.js";
|
|
37
|
+
import"./index-q2mvacjr.js";
|
|
38
|
+
import"./index-4p3qfb05.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-kfmee1cr.js";
|
|
41
|
+
import"./index-zd1mfygt.js";
|
|
42
|
+
import"./index-jfcgnvg6.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
45
|
+
import"./index-5qwmpamg.js";
|
|
46
|
+
import"./index-fay8h6v8.js";
|
|
47
|
+
import"./index-cpg98bh1.js";
|
|
48
48
|
import"./index-9e6fdz2h.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
50
50
|
import"./index-w8pgjr75.js";
|
|
@@ -52,12 +52,12 @@ import"./index-z6xqpmqg.js";
|
|
|
52
52
|
import"./index-zj6t9zgx.js";
|
|
53
53
|
import"./index-zjygnfay.js";
|
|
54
54
|
import"./index-ae75rja9.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
import"./index-x8pm918t.js";
|
|
56
|
+
import"./index-j20fzn0w.js";
|
|
57
57
|
import"./index-bk5tah7q.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-kggqpefz.js";
|
|
59
|
+
import"./index-bghwrr59.js";
|
|
60
|
+
import"./index-qyvjp0bq.js";
|
|
61
61
|
import"./index-7g4c7s5r.js";
|
|
62
62
|
import"./index-bpmtbmy9.js";
|
|
63
63
|
import"./index-ed5ykebp.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
scanDelegationFallbacksForRecovery,
|
|
7
7
|
scanDelegationsForRecovery
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-97psh79d.js";
|
|
9
9
|
import {
|
|
10
10
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
11
11
|
removeWorktreeProvisioningOwner,
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
bunSpawn
|
|
23
23
|
} from "./index-zj6t9zgx.js";
|
|
24
24
|
import"./index-zjygnfay.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-bghwrr59.js";
|
|
26
|
+
import"./index-qyvjp0bq.js";
|
|
27
27
|
import"./index-7g4c7s5r.js";
|
|
28
28
|
import"./index-bpmtbmy9.js";
|
|
29
29
|
import"./index-ed5ykebp.js";
|
|
@@ -21,48 +21,48 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
24
|
+
} from "./index-pz2py5v7.js";
|
|
25
|
+
import"./index-0a0asz2s.js";
|
|
26
|
+
import"./index-vk15nbh4.js";
|
|
27
|
+
import"./index-bma2wrqx.js";
|
|
28
|
+
import"./index-d4e6wpkg.js";
|
|
29
|
+
import"./index-nsr5b69r.js";
|
|
30
30
|
import"./index-134d35c1.js";
|
|
31
31
|
import"./index-abtrcs16.js";
|
|
32
32
|
import"./index-y8552snf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-f17j50dx.js";
|
|
34
|
+
import"./index-gxbhp7sx.js";
|
|
35
35
|
import"./index-70ha9e09.js";
|
|
36
36
|
import"./index-c8s9a3zh.js";
|
|
37
37
|
import"./index-9ss2m4rs.js";
|
|
38
38
|
import"./index-z9yhhk6q.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
39
|
+
import"./index-5e5a1y2r.js";
|
|
40
|
+
import"./index-g3xt1d16.js";
|
|
41
|
+
import"./index-q2mvacjr.js";
|
|
42
|
+
import"./index-4p3qfb05.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
44
|
import"./index-zsrtt42s.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-97psh79d.js";
|
|
46
46
|
import"./index-e1pxav9g.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-92cxd0r1.js";
|
|
48
|
+
import"./index-zsmsy1dh.js";
|
|
49
|
+
import"./index-kwxp0z0n.js";
|
|
50
|
+
import"./index-fzqhn96z.js";
|
|
51
51
|
import"./index-556ja8an.js";
|
|
52
52
|
import"./index-7sy3aa9m.js";
|
|
53
53
|
import"./index-wx8zdh4a.js";
|
|
54
54
|
import"./index-3g0xk6tk.js";
|
|
55
55
|
import"./index-85gkedsf.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-kfmee1cr.js";
|
|
57
|
+
import"./index-zd1mfygt.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveWorktreeIsolationConfig
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-jfcgnvg6.js";
|
|
61
61
|
import"./index-gprxjmm7.js";
|
|
62
62
|
import"./index-n832052r.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
63
|
+
import"./index-5qwmpamg.js";
|
|
64
|
+
import"./index-fay8h6v8.js";
|
|
65
|
+
import"./index-cpg98bh1.js";
|
|
66
66
|
import"./index-9e6fdz2h.js";
|
|
67
67
|
import"./index-4rhhvd1a.js";
|
|
68
68
|
import"./index-w8pgjr75.js";
|
|
@@ -70,12 +70,12 @@ import"./index-z6xqpmqg.js";
|
|
|
70
70
|
import"./index-zj6t9zgx.js";
|
|
71
71
|
import"./index-zjygnfay.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-x8pm918t.js";
|
|
74
|
+
import"./index-j20fzn0w.js";
|
|
75
75
|
import"./index-bk5tah7q.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
78
|
-
import"./index-
|
|
76
|
+
import"./index-kggqpefz.js";
|
|
77
|
+
import"./index-bghwrr59.js";
|
|
78
|
+
import"./index-qyvjp0bq.js";
|
|
79
79
|
import"./index-7g4c7s5r.js";
|
|
80
80
|
import"./index-bpmtbmy9.js";
|
|
81
81
|
import"./index-ed5ykebp.js";
|
|
@@ -10,3 +10,11 @@ export declare function handleMemoryMigrateCommand(directory: string, _args: str
|
|
|
10
10
|
export declare function handleMemoryImportCommand(directory: string, _args: string[]): Promise<string>;
|
|
11
11
|
export declare function handleMemoryExportCommand(directory: string, _args: string[]): Promise<string>;
|
|
12
12
|
export declare function handleMemoryEvaluateCommand(directory: string, args: string[]): Promise<string>;
|
|
13
|
+
/**
|
|
14
|
+
* #1466: `/swarm memory audit-verify` — lazily verify the memory_events
|
|
15
|
+
* hash chain (migration v13) and the _meta chain head. Tampering with any
|
|
16
|
+
* chained row, deleting a middle row, or editing the last row breaks the
|
|
17
|
+
* verification. Non-SQLite providers report the gap explicitly instead of
|
|
18
|
+
* pretending to verify.
|
|
19
|
+
*/
|
|
20
|
+
export declare function handleMemoryAuditVerifyCommand(directory: string, args: string[]): Promise<string>;
|
|
@@ -1021,6 +1021,14 @@ export declare const COMMAND_REGISTRY: {
|
|
|
1021
1021
|
readonly category: "diagnostics";
|
|
1022
1022
|
readonly toolPolicy: "agent";
|
|
1023
1023
|
};
|
|
1024
|
+
readonly 'memory audit-verify': {
|
|
1025
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
1026
|
+
readonly description: "Verify the memory audit-log hash chain (tamper detection)";
|
|
1027
|
+
readonly subcommandOf: "memory";
|
|
1028
|
+
readonly args: "--json";
|
|
1029
|
+
readonly category: "diagnostics";
|
|
1030
|
+
readonly toolPolicy: "agent";
|
|
1031
|
+
};
|
|
1024
1032
|
readonly 'memory import': {
|
|
1025
1033
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
1026
1034
|
readonly description: "Import legacy JSONL memory into SQLite";
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -358,8 +358,8 @@ export type PipelineConfig = z.infer<typeof PipelineConfigSchema>;
|
|
|
358
358
|
export declare const PhaseCompleteConfigSchema: z.ZodObject<{
|
|
359
359
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
360
360
|
required_agents: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
361
|
-
reviewer: "reviewer";
|
|
362
361
|
coder: "coder";
|
|
362
|
+
reviewer: "reviewer";
|
|
363
363
|
test_engineer: "test_engineer";
|
|
364
364
|
}>>>;
|
|
365
365
|
require_docs: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -841,6 +841,13 @@ export declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
841
841
|
}, z.core.$strip>>;
|
|
842
842
|
redaction: z.ZodDefault<z.ZodObject<{
|
|
843
843
|
rejectDurableSecrets: z.ZodDefault<z.ZodBoolean>;
|
|
844
|
+
detectPii: z.ZodDefault<z.ZodBoolean>;
|
|
845
|
+
piiDetector: z.ZodDefault<z.ZodEnum<{
|
|
846
|
+
regex: "regex";
|
|
847
|
+
ner: "ner";
|
|
848
|
+
}>>;
|
|
849
|
+
rejectDurablePii: z.ZodDefault<z.ZodBoolean>;
|
|
850
|
+
piiThreshold: z.ZodDefault<z.ZodNumber>;
|
|
844
851
|
}, z.core.$strip>>;
|
|
845
852
|
maintenance: z.ZodDefault<z.ZodObject<{
|
|
846
853
|
lowUtilityMaxConfidence: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1778,8 +1785,8 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1778
1785
|
phase_complete: z.ZodOptional<z.ZodObject<{
|
|
1779
1786
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1780
1787
|
required_agents: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1781
|
-
reviewer: "reviewer";
|
|
1782
1788
|
coder: "coder";
|
|
1789
|
+
reviewer: "reviewer";
|
|
1783
1790
|
test_engineer: "test_engineer";
|
|
1784
1791
|
}>>>;
|
|
1785
1792
|
require_docs: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2232,6 +2239,13 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
2232
2239
|
}, z.core.$strip>>;
|
|
2233
2240
|
redaction: z.ZodDefault<z.ZodObject<{
|
|
2234
2241
|
rejectDurableSecrets: z.ZodDefault<z.ZodBoolean>;
|
|
2242
|
+
detectPii: z.ZodDefault<z.ZodBoolean>;
|
|
2243
|
+
piiDetector: z.ZodDefault<z.ZodEnum<{
|
|
2244
|
+
regex: "regex";
|
|
2245
|
+
ner: "ner";
|
|
2246
|
+
}>>;
|
|
2247
|
+
rejectDurablePii: z.ZodDefault<z.ZodBoolean>;
|
|
2248
|
+
piiThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2235
2249
|
}, z.core.$strip>>;
|
|
2236
2250
|
maintenance: z.ZodDefault<z.ZodObject<{
|
|
2237
2251
|
lowUtilityMaxConfidence: z.ZodDefault<z.ZodNumber>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL = "requirements_reconstruction";
|
|
2
|
+
export interface RepairGateEvidenceArgs {
|
|
3
|
+
task_id: string;
|
|
4
|
+
reason: string;
|
|
5
|
+
expected_sha256?: string;
|
|
6
|
+
expected_generation?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface RepairGateEvidenceContext {
|
|
9
|
+
sessionID?: string;
|
|
10
|
+
messageID?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface RepairGateEvidenceResult {
|
|
13
|
+
success: boolean;
|
|
14
|
+
message: string;
|
|
15
|
+
errors?: string[];
|
|
16
|
+
repaired?: boolean;
|
|
17
|
+
task_id?: string;
|
|
18
|
+
required_gates?: string[];
|
|
19
|
+
requirements_state?: 'known' | 'unknown';
|
|
20
|
+
quarantine_digest?: string;
|
|
21
|
+
quarantine_path?: string;
|
|
22
|
+
repaired_generation?: number;
|
|
23
|
+
next_actions?: string[];
|
|
24
|
+
}
|
|
25
|
+
export declare function taskGateEvidenceQuarantinePath(directory: string, taskId: string, digest: string): string;
|
|
26
|
+
export declare function repairTaskGateEvidence(args: RepairGateEvidenceArgs, directory: string, context?: RepairGateEvidenceContext): Promise<RepairGateEvidenceResult>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { TaskEvidence, TaskWorkflowTransitionEvent } from '../gate-evidence.js';
|
|
3
|
+
declare const TaskGateRequirementsReceiptSchema: z.ZodObject<{
|
|
4
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
5
|
+
taskId: z.ZodString;
|
|
6
|
+
generation: z.ZodNumber;
|
|
7
|
+
normalizedRole: z.ZodString;
|
|
8
|
+
testEngineerExempt: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
requiredGates: z.ZodArray<z.ZodString>;
|
|
10
|
+
sourceEvent: z.ZodString;
|
|
11
|
+
sourceTransitionId: z.ZodNullable<z.ZodString>;
|
|
12
|
+
recordedAt: z.ZodString;
|
|
13
|
+
previousChainHash: z.ZodNullable<z.ZodString>;
|
|
14
|
+
chainHash: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export type TaskGateRequirementsReceipt = z.infer<typeof TaskGateRequirementsReceiptSchema>;
|
|
17
|
+
export declare function taskGateRequirementsReceiptPath(directory: string, taskId: string): string;
|
|
18
|
+
export declare function readTaskGateRequirementsReceipts(directory: string, taskId: string): Promise<TaskGateRequirementsReceipt[]>;
|
|
19
|
+
export declare function appendTaskGateRequirementsReceiptIfNeeded(directory: string, taskId: string, current: TaskEvidence | null, next: TaskEvidence, event: TaskWorkflowTransitionEvent): Promise<void>;
|
|
20
|
+
export {};
|
package/dist/gate-evidence.d.ts
CHANGED
|
@@ -56,10 +56,17 @@ export interface TaskEvidence {
|
|
|
56
56
|
required_gates: string[];
|
|
57
57
|
gates: Record<string, GateEvidence>;
|
|
58
58
|
turbo?: boolean;
|
|
59
|
+
requirements_state?: 'known' | 'unknown';
|
|
59
60
|
/** Durable proof that the coder dispatch was classified as exact Markdown-only. */
|
|
60
61
|
test_engineer_exempt?: boolean;
|
|
61
62
|
/** Exact-task workflow metadata. Missing on legacy evidence written before #2098. */
|
|
62
63
|
workflow?: TaskWorkflowMetadata;
|
|
64
|
+
/** Immutable source identity for an idempotent fail-closed evidence repair. */
|
|
65
|
+
repair_provenance?: {
|
|
66
|
+
source_sha256: string | null;
|
|
67
|
+
source_generation: number | null;
|
|
68
|
+
requirements_receipt_hash: string | null;
|
|
69
|
+
};
|
|
63
70
|
}
|
|
64
71
|
/**
|
|
65
72
|
* Fence ordinary evidence writers while a terminal or repair plan/evidence
|
|
@@ -31,6 +31,8 @@ declare function recoverLockIfSafe(paths: ReceiptLedgerPaths): Promise<void>;
|
|
|
31
31
|
export declare function withReceiptLedgerLock<T>(directory: string, action: (paths: ReceiptLedgerPaths) => Promise<T>): Promise<T>;
|
|
32
32
|
export declare function receiptRecordHash(value: unknown): string;
|
|
33
33
|
export declare function readUtf8IfPresent(filePath: string, maxBytes?: number): Promise<string | null>;
|
|
34
|
+
/** Read an authoritative receipt artifact without lossy text decoding. */
|
|
35
|
+
export declare function readBytesIfPresent(filePath: string, maxBytes?: number): Promise<Buffer | null>;
|
|
34
36
|
export declare function appendFsynced(filePath: string, line: string): Promise<void>;
|
|
35
37
|
export declare function atomicWriteFsynced(targetPath: string, content: string): Promise<void>;
|
|
36
38
|
export declare function fileMtimeMs(filePath: string): Promise<number | null>;
|