opencode-swarm 7.145.1 → 7.145.2
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-j1r33f4q.js} +3 -3
- package/dist/cli/{core-w78pc1hh.js → core-c2zrd384.js} +2 -2
- package/dist/cli/{curation-policy-smyc2mrm.js → curation-policy-xv0j8zyt.js} +6 -6
- package/dist/cli/{curator-59hzdxrv.js → curator-gk2kmrk1.js} +28 -28
- package/dist/cli/{curator-llm-factory-g794pv51.js → curator-llm-factory-sat3mn5n.js} +28 -28
- package/dist/cli/{evidence-summary-service-41m0cna6.js → evidence-summary-service-0mhx0t0v.js} +12 -12
- package/dist/cli/{gate-evidence-7aywx7qa.js → gate-evidence-a5adh55x.js} +7 -7
- package/dist/cli/{guardrail-explain-j88dhm6w.js → guardrail-explain-r50fery8.js} +29 -29
- package/dist/cli/{guardrail-log-xcb3ke8s.js → guardrail-log-p69eys6d.js} +4 -4
- package/dist/cli/{hive-promoter-nnnx5692.js → hive-promoter-ay8a7sct.js} +28 -28
- package/dist/cli/{index-34tawmyx.js → index-0a0asz2s.js} +1 -1
- package/dist/cli/{index-ymyke19q.js → index-1g87esfp.js} +2 -2
- package/dist/cli/{index-17e73wac.js → index-2vefr1f8.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-tw8ck794.js → index-612rr70a.js} +2 -2
- package/dist/cli/{index-cqfp05jb.js → index-673axbjx.js} +3 -3
- package/dist/cli/{index-qpke2x5h.js → index-6wf75rcm.js} +6 -6
- package/dist/cli/{index-tm0bezd9.js → index-7y5akvc9.js} +1 -1
- package/dist/cli/{index-xz4x17z0.js → index-9080b3de.js} +30 -30
- package/dist/cli/{index-kxzgnz2h.js → index-917z76qr.js} +14 -7
- package/dist/cli/{index-rtkttser.js → index-97psh79d.js} +1 -1
- package/dist/cli/{index-b7ntt9cw.js → index-9gt8g2qj.js} +4 -4
- package/dist/cli/{index-19v4tccw.js → index-b9kxxd6k.js} +2 -2
- package/dist/cli/{index-gf03198s.js → index-bghwrr59.js} +1 -1
- package/dist/cli/{index-bst6epnr.js → index-cb2qtetk.js} +445 -82
- package/dist/cli/{index-v3y3qg48.js → index-cpg98bh1.js} +17 -1
- package/dist/cli/{index-ff66fbjt.js → index-cxn95n7q.js} +177 -29
- package/dist/cli/{index-neh8azwc.js → index-czde45km.js} +3 -3
- package/dist/cli/{index-7axx11dt.js → index-gpnv14kq.js} +2 -2
- package/dist/cli/{index-mpf01swm.js → index-j20fzn0w.js} +2 -2
- package/dist/cli/{index-mrkgxfeh.js → index-jgb7mq2y.js} +4 -4
- package/dist/cli/{index-8ef23wex.js → index-jpppcckq.js} +4 -4
- package/dist/cli/{index-4evasm2b.js → index-kggqpefz.js} +5 -5
- package/dist/cli/{index-41t3hgaa.js → index-n55a28zr.js} +247 -29
- package/dist/cli/{index-sfemjcb8.js → index-ncfjxz9n.js} +5 -5
- package/dist/cli/{index-evpgszmp.js → index-np4ytvvv.js} +2 -2
- package/dist/cli/{index-fwnhh6s7.js → index-nsr5b69r.js} +2 -2
- package/dist/cli/{index-dppzthm9.js → index-qyvjp0bq.js} +2 -2
- package/dist/cli/{index-zpp507z0.js → index-rk80jhef.js} +2 -2
- package/dist/cli/{index-90w06fqr.js → index-vav705md.js} +4 -4
- package/dist/cli/{index-dzan8czb.js → index-x8pm918t.js} +1 -1
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-s6acdpwj.js → knowledge-escalator-22apj3dj.js} +12 -12
- package/dist/cli/{knowledge-events-jprkz49t.js → knowledge-events-bx8xba9z.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-nc71kfsg.js} +6 -6
- package/dist/cli/{knowledge-validator-pe4ncrvj.js → knowledge-validator-g8ne80v6.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-6ksgv514.js} +7 -7
- package/dist/cli/{schema-pg85z06v.js → schema-mpcm7nje.js} +2 -2
- package/dist/cli/{scope-persistence-v8we8ja7.js → scope-persistence-mj1w3hqw.js} +8 -8
- package/dist/cli/{skill-generator-ctskfct2.js → skill-generator-gsa6qwwt.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-ajzyp2gm.js} +28 -28
- package/dist/config/schema.d.ts +2 -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 +455 -449
- 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 +1 -1
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-cxn95n7q.js";
|
|
33
|
+
import"./index-czde45km.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-2vefr1f8.js";
|
|
37
|
+
import"./index-gpnv14kq.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-6wf75rcm.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-jpppcckq.js";
|
|
27
|
+
import"./index-4p3qfb05.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-6wf75rcm.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-np4ytvvv.js";
|
|
8
|
+
import"./index-6wf75rcm.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-gpnv14kq.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-vav705md.js";
|
|
27
|
+
import"./index-673axbjx.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-2vefr1f8.js";
|
|
30
|
+
import"./index-gpnv14kq.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-jgb7mq2y.js";
|
|
37
|
+
import"./index-jpppcckq.js";
|
|
38
|
+
import"./index-4p3qfb05.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-6wf75rcm.js";
|
|
41
|
+
import"./index-cxn95n7q.js";
|
|
42
|
+
import"./index-czde45km.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-2vefr1f8.js";
|
|
46
|
+
import"./index-gpnv14kq.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-cb2qtetk.js";
|
|
25
|
+
import"./index-0a0asz2s.js";
|
|
26
|
+
import"./index-1g87esfp.js";
|
|
27
|
+
import"./index-612rr70a.js";
|
|
28
|
+
import"./index-917z76qr.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-ncfjxz9n.js";
|
|
34
|
+
import"./index-np4ytvvv.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-jgb7mq2y.js";
|
|
41
|
+
import"./index-jpppcckq.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-n55a28zr.js";
|
|
48
|
+
import"./index-rk80jhef.js";
|
|
49
|
+
import"./index-vav705md.js";
|
|
50
|
+
import"./index-673axbjx.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-6wf75rcm.js";
|
|
57
|
+
import"./index-cxn95n7q.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveWorktreeIsolationConfig
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-czde45km.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-2vefr1f8.js";
|
|
64
|
+
import"./index-gpnv14kq.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";
|
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>;
|
|
@@ -1778,8 +1778,8 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1778
1778
|
phase_complete: z.ZodOptional<z.ZodObject<{
|
|
1779
1779
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1780
1780
|
required_agents: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1781
|
-
reviewer: "reviewer";
|
|
1782
1781
|
coder: "coder";
|
|
1782
|
+
reviewer: "reviewer";
|
|
1783
1783
|
test_engineer: "test_engineer";
|
|
1784
1784
|
}>>>;
|
|
1785
1785
|
require_docs: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -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>;
|