opencode-swarm 7.164.5 → 7.164.7
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 +12 -12
- package/README.md +1 -1
- package/dist/background/pending-delegations.d.ts +12 -2
- package/dist/background/pr-review-contract.d.ts +9 -0
- package/dist/background/pr-subscriptions.d.ts +1 -8
- package/dist/cli/{coder-settlement-x9wbqx46.js → coder-settlement-p8wwmtnn.js} +14 -14
- package/dist/cli/{config-doctor-axd9d6hs.js → config-doctor-wxf488mw.js} +5 -3
- package/dist/cli/{core-f1a1fk13.js → core-671ybpbt.js} +2 -2
- package/dist/cli/{curation-policy-2cy7wejw.js → curation-policy-de7emfqc.js} +7 -6
- package/dist/cli/{curator-drift-3s3q4wsy.js → curator-drift-nvxv8xkk.js} +7 -5
- package/dist/cli/{curator-b104f7a7.js → curator-eaz5rj6k.js} +39 -37
- package/dist/cli/curator-llm-factory-swzyfnh6.js +68 -0
- package/dist/cli/{dispatch-q4v8x2pk.js → dispatch-dqybvj8v.js} +10 -6
- package/dist/cli/{evidence-summary-service-5xsjs3x3.js → evidence-summary-service-deqsc8hj.js} +19 -16
- package/dist/cli/{gate-evidence-ypja4156.js → gate-evidence-mafg71qb.js} +14 -8
- package/dist/cli/guardrail-explain-ygq7cx9w.js +69 -0
- package/dist/cli/{guardrail-log-6t4e2j5f.js → guardrail-log-k3w9dq6x.js} +9 -8
- package/dist/cli/{guardrail-reset-es0bg976.js → guardrail-reset-ae2step4.js} +39 -37
- package/dist/cli/hive-promoter-a4cs5sbr.js +83 -0
- package/dist/cli/{index-hnjkpk57.js → index-0zjwnbze.js} +1 -1
- package/dist/cli/{index-er8ba9be.js → index-1ekzd5wf.js} +56 -15
- package/dist/cli/{index-fxxja498.js → index-2czt53wz.js} +1 -1
- package/dist/cli/{index-wbnyc50b.js → index-388sxv1b.js} +17 -8
- package/dist/cli/{index-1q2dwv69.js → index-3kgg2n6z.js} +12 -6
- package/dist/cli/{index-50s9q4c1.js → index-3sv8t7ca.js} +2 -2
- package/dist/cli/{index-4jmtdtm9.js → index-46yrz972.js} +3 -3
- package/dist/cli/{index-s09b63xg.js → index-4vx89ymn.js} +5 -5
- package/dist/cli/{index-aaqbhn9h.js → index-581bcqp9.js} +2 -2
- package/dist/cli/{index-0trtcm9n.js → index-63enf73z.js} +20 -15
- package/dist/cli/index-7qefgq4j.js +71 -0
- package/dist/cli/{index-yrsag0vs.js → index-8ck1jkhd.js} +3 -2
- package/dist/cli/{index-y42pra05.js → index-8ntf8jnj.js} +19 -18
- package/dist/cli/{index-m1nrd3yd.js → index-8psybzzf.js} +1 -1
- package/dist/cli/{index-rz87mx1c.js → index-8tqqmsav.js} +1 -1
- package/dist/cli/{index-25z5qwkk.js → index-93znbdam.js} +9 -5
- package/dist/cli/{index-maxz22c1.js → index-9qkytpwa.js} +185 -376
- package/dist/cli/{index-164m995b.js → index-9ydhzegh.js} +28 -17
- package/dist/cli/{index-3gb7bw7h.js → index-bvjwmmdc.js} +1332 -1217
- package/dist/cli/{index-ywtcznk2.js → index-c4j9sjcs.js} +4 -4
- package/dist/cli/index-cw912re7.js +200 -0
- package/dist/cli/{index-8h9nng7f.js → index-fq1wfsmw.js} +100 -97
- package/dist/cli/{index-7rat6nyh.js → index-gm65h7bh.js} +9 -6
- package/dist/cli/{index-rc6hec4j.js → index-h3k3rgyr.js} +4 -4
- package/dist/cli/{index-ea7sehgy.js → index-jkwfajh1.js} +4 -4
- package/dist/cli/{index-1dz8hv7p.js → index-kvq1e82k.js} +3 -3
- package/dist/cli/{index-4emx8hhh.js → index-mr3h3sm5.js} +2 -2
- package/dist/cli/{index-q0gtgwyr.js → index-rey1tzcw.js} +7 -7
- package/dist/cli/index-ry16d01s.js +107 -0
- package/dist/cli/{index-aper29nf.js → index-ry4mwbc2.js} +1 -1
- package/dist/cli/{index-xj4kbtdw.js → index-sxxh4ams.js} +2 -2
- package/dist/cli/{index-tfa2p4y4.js → index-t1qzjhnj.js} +13 -13
- package/dist/cli/{index-xm7dc14y.js → index-v1fj9exz.js} +12 -5
- package/dist/cli/{index-3f7hqtgg.js → index-w3gtqey0.js} +4 -1
- package/dist/cli/{index-4krjn1gn.js → index-wgqeqy68.js} +2 -2
- package/dist/cli/{index-3rrc5x4v.js → index-x2t2tbm2.js} +2 -2
- package/dist/cli/{index-0zbze3n6.js → index-x3qzt684.js} +71 -47
- package/dist/cli/{index-j9a4fsxg.js → index-xc3q62ev.js} +2 -2
- package/dist/cli/{index-553veay1.js → index-xy59dnvq.js} +1 -1
- package/dist/cli/{index-fwebva1m.js → index-y75xd50f.js} +36 -27
- package/dist/cli/{index-25jze7sf.js → index-yzn1fm9a.js} +1 -1
- package/dist/cli/{index-1f4nandk.js → index-zg34ngdf.js} +21 -11
- package/dist/cli/{index-ssb67ff6.js → index-zg8tvjb0.js} +41 -39
- package/dist/cli/index.js +39 -37
- package/dist/cli/{knowledge-escalator-evjd8g7y.js → knowledge-escalator-t532h2ym.js} +15 -14
- package/dist/cli/{knowledge-events-q46z1wy6.js → knowledge-events-hdtc0cxe.js} +13 -12
- package/dist/cli/{knowledge-link-ffmzf72f.js → knowledge-link-hhnmc4g1.js} +6 -5
- package/dist/cli/{knowledge-store-z82f5x9k.js → knowledge-store-45jadhmb.js} +7 -6
- package/dist/cli/{knowledge-validator-19gbnxx2.js → knowledge-validator-5e6qbq6h.js} +9 -8
- package/dist/cli/{model-preflight-pmnbfzjv.js → model-preflight-bq035tfh.js} +1 -1
- package/dist/cli/{pending-delegations-t4cqk5ha.js → pending-delegations-z0crvst3.js} +7 -7
- package/dist/cli/{pr-subscriptions-3enjtq0k.js → pr-subscriptions-73fs8y3n.js} +7 -6
- package/dist/cli/{pr-workflow-gate-3ecgfsge.js → pr-workflow-gate-rpdts7wy.js} +41 -37
- package/dist/cli/{runner-wqy2hbxn.js → runner-5qqh83e2.js} +6 -6
- package/dist/cli/{scan-cursor-8wcy0dvf.js → scan-cursor-t75qznf3.js} +8 -7
- package/dist/cli/{schema-hsw9r2tm.js → schema-8dfjsrk6.js} +2 -2
- package/dist/cli/{scope-persistence-mbwt4grd.js → scope-persistence-zfmz4sws.js} +12 -10
- package/dist/cli/{skill-generator-kg32a5jy.js → skill-generator-psdb10jw.js} +17 -16
- package/dist/cli/{telemetry-j14cj552.js → telemetry-85gxedng.js} +1 -1
- package/dist/cli/{workspace-snapshot-yq0tc49d.js → workspace-snapshot-eh18vgkn.js} +2 -1
- package/dist/cli/{worktree-collision-ownership-0rfw6kp3.js → worktree-collision-ownership-xrqssqzd.js} +12 -15
- package/dist/cli/{worktree-isolation-qcwt09ve.js → worktree-isolation-s9m3bgah.js} +39 -37
- package/dist/db/canonical-project.d.ts +10 -3
- package/dist/db/project-db.d.ts +4 -0
- package/dist/evidence/task-gate-repair.d.ts +1 -1
- package/dist/gate-evidence.d.ts +19 -1
- package/dist/hooks/delegation-gate.d.ts +3 -1
- package/dist/hooks/pr-workflow-gate.d.ts +10 -2
- package/dist/index.js +593 -590
- package/dist/plan/ledger.d.ts +2 -0
- package/dist/pr-review/authorization.d.ts +13 -3
- package/dist/tools/authorize-pr-review-reentry.d.ts +5 -4
- package/dist/tools/dispatch-lanes.d.ts +1 -0
- package/dist/tools/pr-workflow-status.d.ts +2 -0
- package/dist/tools/pre-check-batch.d.ts +1 -1
- package/dist/utils/canonical-root.d.ts +21 -1
- package/dist/utils/filesystem-identity.d.ts +59 -0
- package/package.json +2 -1
- package/dist/cli/curator-llm-factory-cv7ft0mb.js +0 -66
- package/dist/cli/guardrail-explain-cvha7b9p.js +0 -67
- package/dist/cli/hive-promoter-yzv5g7jy.js +0 -81
- package/dist/cli/index-ddszzne4.js +0 -42
|
@@ -66,16 +66,16 @@ import {
|
|
|
66
66
|
sweepStaleDelegations,
|
|
67
67
|
updateCoderSettlement,
|
|
68
68
|
writeDelegationFallback
|
|
69
|
-
} from "./index-
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-rz87mx1c.js";
|
|
69
|
+
} from "./index-1ekzd5wf.js";
|
|
70
|
+
import"./index-8tqqmsav.js";
|
|
72
71
|
import"./index-z6xqpmqg.js";
|
|
73
72
|
import"./index-r3mvsbtq.js";
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-9ydhzegh.js";
|
|
75
74
|
import"./index-zjygnfay.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
78
|
-
import"./index-
|
|
75
|
+
import"./index-7qefgq4j.js";
|
|
76
|
+
import"./index-2czt53wz.js";
|
|
77
|
+
import"./index-t1qzjhnj.js";
|
|
78
|
+
import"./index-kvq1e82k.js";
|
|
79
79
|
import"./index-7g4c7s5r.js";
|
|
80
80
|
import"./index-bpmtbmy9.js";
|
|
81
81
|
import"./index-zgwm4ryv.js";
|
|
@@ -14,15 +14,16 @@ import {
|
|
|
14
14
|
sweepStale,
|
|
15
15
|
unsubscribe,
|
|
16
16
|
updateSnapshot
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-8ntf8jnj.js";
|
|
18
|
+
import"./index-8tqqmsav.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-9ydhzegh.js";
|
|
22
22
|
import"./index-zjygnfay.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-7qefgq4j.js";
|
|
24
|
+
import"./index-2czt53wz.js";
|
|
25
|
+
import"./index-t1qzjhnj.js";
|
|
26
|
+
import"./index-kvq1e82k.js";
|
|
26
27
|
import"./index-7g4c7s5r.js";
|
|
27
28
|
import"./index-bpmtbmy9.js";
|
|
28
29
|
import"./index-zgwm4ryv.js";
|
|
@@ -44,6 +44,7 @@ import {
|
|
|
44
44
|
ensurePrWorkflowSafeParentDirectory,
|
|
45
45
|
findDanglingLivePublicationGeneration,
|
|
46
46
|
formatPrReviewLaneValidationFailure,
|
|
47
|
+
hasActivePrReviewReentryAuthorization,
|
|
47
48
|
invalidatePrFeedbackPublication,
|
|
48
49
|
markPrReviewArtifactBoundary,
|
|
49
50
|
markPrReviewHandoffComplete,
|
|
@@ -77,64 +78,66 @@ import {
|
|
|
77
78
|
withPrWorkflowCheckoutMutationLock,
|
|
78
79
|
withPrWorkflowCheckoutPreparationLock,
|
|
79
80
|
writePrWorkflowAtomicJson
|
|
80
|
-
} from "./index-
|
|
81
|
-
import"./index-
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-
|
|
81
|
+
} from "./index-bvjwmmdc.js";
|
|
82
|
+
import"./index-yzn1fm9a.js";
|
|
83
|
+
import"./index-jkwfajh1.js";
|
|
84
|
+
import"./index-3kgg2n6z.js";
|
|
85
|
+
import"./index-9qkytpwa.js";
|
|
86
|
+
import"./index-wgqeqy68.js";
|
|
86
87
|
import"./index-txdagbh7.js";
|
|
88
|
+
import"./index-cw912re7.js";
|
|
87
89
|
import"./index-3146wmgv.js";
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
90
|
+
import"./index-gm65h7bh.js";
|
|
91
|
+
import"./index-4vx89ymn.js";
|
|
92
|
+
import"./index-581bcqp9.js";
|
|
91
93
|
import"./index-70ha9e09.js";
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
+
import"./index-zg34ngdf.js";
|
|
95
|
+
import"./index-x3qzt684.js";
|
|
94
96
|
import"./index-zaab1wz9.js";
|
|
95
|
-
import"./index-
|
|
97
|
+
import"./index-8ntf8jnj.js";
|
|
96
98
|
import"./index-zsrtt42s.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
99
|
+
import"./index-y75xd50f.js";
|
|
100
|
+
import"./index-w3gtqey0.js";
|
|
101
|
+
import"./index-sxxh4ams.js";
|
|
102
|
+
import"./index-h3k3rgyr.js";
|
|
103
|
+
import"./index-0zjwnbze.js";
|
|
102
104
|
import"./index-rtry5xyf.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
+
import"./index-388sxv1b.js";
|
|
106
|
+
import"./index-xc3q62ev.js";
|
|
105
107
|
import {
|
|
106
108
|
PR_REVIEW_BASE_DIMENSION_IDS
|
|
107
|
-
} from "./index-
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
109
|
+
} from "./index-1ekzd5wf.js";
|
|
110
|
+
import"./index-fq1wfsmw.js";
|
|
111
|
+
import"./index-v1fj9exz.js";
|
|
112
|
+
import"./index-ry16d01s.js";
|
|
113
|
+
import"./index-3sv8t7ca.js";
|
|
112
114
|
import"./index-556ja8an.js";
|
|
113
115
|
import"./index-4fwbbad3.js";
|
|
114
116
|
import"./index-b43rt5ph.js";
|
|
115
117
|
import"./index-q7sjgr1y.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
118
|
+
import"./index-rey1tzcw.js";
|
|
119
|
+
import"./index-63enf73z.js";
|
|
120
|
+
import"./index-46yrz972.js";
|
|
119
121
|
import"./index-zg9d392c.js";
|
|
120
122
|
import"./index-n832052r.js";
|
|
121
|
-
import"./index-
|
|
123
|
+
import"./index-8tqqmsav.js";
|
|
122
124
|
import"./index-z6xqpmqg.js";
|
|
123
125
|
import"./index-r3mvsbtq.js";
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
+
import"./index-xy59dnvq.js";
|
|
127
|
+
import"./index-8ck1jkhd.js";
|
|
126
128
|
import"./index-9e6fdz2h.js";
|
|
127
129
|
import"./index-4rhhvd1a.js";
|
|
128
|
-
import"./index-
|
|
129
|
-
import"./index-
|
|
130
|
+
import"./index-9ydhzegh.js";
|
|
131
|
+
import"./index-8psybzzf.js";
|
|
130
132
|
import"./index-zjygnfay.js";
|
|
131
133
|
import"./index-ae75rja9.js";
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
+
import"./index-93znbdam.js";
|
|
135
|
+
import"./index-mr3h3sm5.js";
|
|
134
136
|
import"./index-bk5tah7q.js";
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-7qefgq4j.js";
|
|
138
|
+
import"./index-2czt53wz.js";
|
|
139
|
+
import"./index-t1qzjhnj.js";
|
|
140
|
+
import"./index-kvq1e82k.js";
|
|
138
141
|
import"./index-7g4c7s5r.js";
|
|
139
142
|
import"./index-bpmtbmy9.js";
|
|
140
143
|
import"./index-zgwm4ryv.js";
|
|
@@ -173,6 +176,7 @@ export {
|
|
|
173
176
|
markPrReviewHandoffComplete,
|
|
174
177
|
markPrReviewArtifactBoundary,
|
|
175
178
|
invalidatePrFeedbackPublication,
|
|
179
|
+
hasActivePrReviewReentryAuthorization,
|
|
176
180
|
formatPrReviewLaneValidationFailure,
|
|
177
181
|
findDanglingLivePublicationGeneration,
|
|
178
182
|
ensurePrWorkflowSafeParentDirectory,
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-yzn1fm9a.js";
|
|
7
|
+
import"./index-wgqeqy68.js";
|
|
8
8
|
import"./index-txdagbh7.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
import"./index-mr3h3sm5.js";
|
|
11
|
+
import"./index-2czt53wz.js";
|
|
12
|
+
import"./index-t1qzjhnj.js";
|
|
13
|
+
import"./index-kvq1e82k.js";
|
|
14
14
|
import"./index-7g4c7s5r.js";
|
|
15
15
|
import"./index-bpmtbmy9.js";
|
|
16
16
|
import"./index-zgwm4ryv.js";
|
|
@@ -4,17 +4,18 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-581bcqp9.js";
|
|
8
|
+
import"./index-rey1tzcw.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-93znbdam.js";
|
|
13
|
+
import"./index-mr3h3sm5.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-7qefgq4j.js";
|
|
16
|
+
import"./index-2czt53wz.js";
|
|
17
|
+
import"./index-t1qzjhnj.js";
|
|
18
|
+
import"./index-kvq1e82k.js";
|
|
18
19
|
import"./index-7g4c7s5r.js";
|
|
19
20
|
import"./index-bpmtbmy9.js";
|
|
20
21
|
import"./index-zgwm4ryv.js";
|
|
@@ -104,8 +104,8 @@ import {
|
|
|
104
104
|
resolveGeneratedAgentRole,
|
|
105
105
|
resolveGuardrailsConfig,
|
|
106
106
|
stripKnownSwarmPrefix
|
|
107
|
-
} from "./index-
|
|
108
|
-
import"./index-
|
|
107
|
+
} from "./index-8ck1jkhd.js";
|
|
108
|
+
import"./index-8psybzzf.js";
|
|
109
109
|
import"./index-zjygnfay.js";
|
|
110
110
|
import"./index-bk5tah7q.js";
|
|
111
111
|
import"./index-bpmtbmy9.js";
|
|
@@ -23,21 +23,23 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
} from "./index-fq1wfsmw.js";
|
|
27
|
+
import"./index-v1fj9exz.js";
|
|
28
|
+
import"./index-ry16d01s.js";
|
|
29
|
+
import"./index-3sv8t7ca.js";
|
|
29
30
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-xy59dnvq.js";
|
|
32
|
+
import"./index-8ck1jkhd.js";
|
|
32
33
|
import"./index-9e6fdz2h.js";
|
|
33
34
|
import"./index-4rhhvd1a.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-9ydhzegh.js";
|
|
36
|
+
import"./index-8psybzzf.js";
|
|
36
37
|
import"./index-zjygnfay.js";
|
|
37
38
|
import"./index-bk5tah7q.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-7qefgq4j.js";
|
|
40
|
+
import"./index-2czt53wz.js";
|
|
41
|
+
import"./index-t1qzjhnj.js";
|
|
42
|
+
import"./index-kvq1e82k.js";
|
|
41
43
|
import"./index-7g4c7s5r.js";
|
|
42
44
|
import"./index-bpmtbmy9.js";
|
|
43
45
|
import"./index-zgwm4ryv.js";
|
|
@@ -33,33 +33,34 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-gm65h7bh.js";
|
|
37
|
+
import"./index-h3k3rgyr.js";
|
|
38
|
+
import"./index-0zjwnbze.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-rey1tzcw.js";
|
|
42
|
+
import"./index-63enf73z.js";
|
|
43
|
+
import"./index-46yrz972.js";
|
|
44
44
|
import"./index-zg9d392c.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-8tqqmsav.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-xy59dnvq.js";
|
|
50
|
+
import"./index-8ck1jkhd.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-9ydhzegh.js";
|
|
54
|
+
import"./index-8psybzzf.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-93znbdam.js";
|
|
58
|
+
import"./index-mr3h3sm5.js";
|
|
59
59
|
import"./index-bk5tah7q.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
60
|
+
import"./index-7qefgq4j.js";
|
|
61
|
+
import"./index-2czt53wz.js";
|
|
62
|
+
import"./index-t1qzjhnj.js";
|
|
63
|
+
import"./index-kvq1e82k.js";
|
|
63
64
|
import"./index-7g4c7s5r.js";
|
|
64
65
|
import"./index-bpmtbmy9.js";
|
|
65
66
|
import"./index-zgwm4ryv.js";
|
|
@@ -42,10 +42,11 @@ import {
|
|
|
42
42
|
resolveRemoteUrlIdentityAsync,
|
|
43
43
|
switchPrFeedbackTrackingCandidateAsync,
|
|
44
44
|
workspaceSnapshotMatches
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-w3gtqey0.js";
|
|
46
46
|
import"./index-r3mvsbtq.js";
|
|
47
47
|
import"./index-9e6fdz2h.js";
|
|
48
48
|
import"./index-4rhhvd1a.js";
|
|
49
|
+
import"./index-7qefgq4j.js";
|
|
49
50
|
import"./index-zgwm4ryv.js";
|
|
50
51
|
import"./index-a76rekgs.js";
|
|
51
52
|
export {
|
|
@@ -6,13 +6,12 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-sxxh4ams.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-rz87mx1c.js";
|
|
13
|
+
} from "./index-1ekzd5wf.js";
|
|
14
|
+
import"./index-8tqqmsav.js";
|
|
16
15
|
import"./index-z6xqpmqg.js";
|
|
17
16
|
import {
|
|
18
17
|
bunSpawn
|
|
@@ -22,11 +21,14 @@ import {
|
|
|
22
21
|
resolveGitExecutable
|
|
23
22
|
} from "./index-9e6fdz2h.js";
|
|
24
23
|
import"./index-4rhhvd1a.js";
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-9ydhzegh.js";
|
|
26
25
|
import"./index-zjygnfay.js";
|
|
27
|
-
import
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
import {
|
|
27
|
+
canonicalRootKeyFresh
|
|
28
|
+
} from "./index-7qefgq4j.js";
|
|
29
|
+
import"./index-2czt53wz.js";
|
|
30
|
+
import"./index-t1qzjhnj.js";
|
|
31
|
+
import"./index-kvq1e82k.js";
|
|
30
32
|
import"./index-7g4c7s5r.js";
|
|
31
33
|
import"./index-bpmtbmy9.js";
|
|
32
34
|
import"./index-zgwm4ryv.js";
|
|
@@ -34,7 +36,6 @@ import"./index-a76rekgs.js";
|
|
|
34
36
|
|
|
35
37
|
// src/hooks/delegation-gate/worktree-collision-ownership.ts
|
|
36
38
|
import * as fs2 from "fs";
|
|
37
|
-
import * as path2 from "path";
|
|
38
39
|
|
|
39
40
|
// src/hooks/delegation-gate/worktree-ownership-tag.ts
|
|
40
41
|
import * as fs from "fs";
|
|
@@ -123,13 +124,9 @@ var _internals = {
|
|
|
123
124
|
statSync: fs2.statSync,
|
|
124
125
|
removeWorktreeProvisioningOwner
|
|
125
126
|
};
|
|
126
|
-
function normalizedPath(value) {
|
|
127
|
-
const resolved = path2.normalize(path2.resolve(value));
|
|
128
|
-
return process.platform === "win32" ? resolved.toLowerCase() : resolved;
|
|
129
|
-
}
|
|
130
127
|
function descriptorCoordinateMatch(descriptor, identity) {
|
|
131
128
|
const branchMatches = descriptor.branchName === identity.branchName;
|
|
132
|
-
const pathMatches =
|
|
129
|
+
const pathMatches = canonicalRootKeyFresh(descriptor.worktreePath) === canonicalRootKeyFresh(identity.worktreePath);
|
|
133
130
|
if (!branchMatches && !pathMatches)
|
|
134
131
|
return "none";
|
|
135
132
|
if (!branchMatches || !pathMatches || descriptor.parentSessionId !== identity.parentSessionId || descriptor.taskId !== identity.taskId) {
|
|
@@ -240,7 +237,7 @@ async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
|
240
237
|
return mergeStatus;
|
|
241
238
|
for (const [, failure] of mergeStatus.failures) {
|
|
242
239
|
const branchMatches = failure.branch === identity.branchName;
|
|
243
|
-
const pathMatches = typeof failure.worktreePath === "string" &&
|
|
240
|
+
const pathMatches = typeof failure.worktreePath === "string" && canonicalRootKeyFresh(failure.worktreePath) === canonicalRootKeyFresh(identity.worktreePath);
|
|
244
241
|
if (!branchMatches && !pathMatches)
|
|
245
242
|
continue;
|
|
246
243
|
if (!branchMatches || !pathMatches) {
|
|
@@ -21,64 +21,66 @@ 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-bvjwmmdc.js";
|
|
25
|
+
import"./index-yzn1fm9a.js";
|
|
26
|
+
import"./index-jkwfajh1.js";
|
|
27
|
+
import"./index-3kgg2n6z.js";
|
|
28
|
+
import"./index-9qkytpwa.js";
|
|
29
|
+
import"./index-wgqeqy68.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
|
+
import"./index-cw912re7.js";
|
|
31
32
|
import"./index-3146wmgv.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-gm65h7bh.js";
|
|
34
|
+
import"./index-4vx89ymn.js";
|
|
35
|
+
import"./index-581bcqp9.js";
|
|
35
36
|
import"./index-70ha9e09.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-zg34ngdf.js";
|
|
38
|
+
import"./index-x3qzt684.js";
|
|
38
39
|
import"./index-zaab1wz9.js";
|
|
39
|
-
import"./index-
|
|
40
|
+
import"./index-8ntf8jnj.js";
|
|
40
41
|
import"./index-zsrtt42s.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
42
|
+
import"./index-y75xd50f.js";
|
|
43
|
+
import"./index-w3gtqey0.js";
|
|
44
|
+
import"./index-sxxh4ams.js";
|
|
45
|
+
import"./index-h3k3rgyr.js";
|
|
46
|
+
import"./index-0zjwnbze.js";
|
|
46
47
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
48
|
+
import"./index-388sxv1b.js";
|
|
49
|
+
import"./index-xc3q62ev.js";
|
|
50
|
+
import"./index-1ekzd5wf.js";
|
|
51
|
+
import"./index-fq1wfsmw.js";
|
|
52
|
+
import"./index-v1fj9exz.js";
|
|
53
|
+
import"./index-ry16d01s.js";
|
|
54
|
+
import"./index-3sv8t7ca.js";
|
|
54
55
|
import"./index-556ja8an.js";
|
|
55
56
|
import"./index-4fwbbad3.js";
|
|
56
57
|
import"./index-b43rt5ph.js";
|
|
57
58
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-rey1tzcw.js";
|
|
60
|
+
import"./index-63enf73z.js";
|
|
60
61
|
import {
|
|
61
62
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
63
|
+
} from "./index-46yrz972.js";
|
|
63
64
|
import"./index-zg9d392c.js";
|
|
64
65
|
import"./index-n832052r.js";
|
|
65
|
-
import"./index-
|
|
66
|
+
import"./index-8tqqmsav.js";
|
|
66
67
|
import"./index-z6xqpmqg.js";
|
|
67
68
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-xy59dnvq.js";
|
|
70
|
+
import"./index-8ck1jkhd.js";
|
|
70
71
|
import"./index-9e6fdz2h.js";
|
|
71
72
|
import"./index-4rhhvd1a.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-9ydhzegh.js";
|
|
74
|
+
import"./index-8psybzzf.js";
|
|
74
75
|
import"./index-zjygnfay.js";
|
|
75
76
|
import"./index-ae75rja9.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
77
|
+
import"./index-93znbdam.js";
|
|
78
|
+
import"./index-mr3h3sm5.js";
|
|
78
79
|
import"./index-bk5tah7q.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
81
|
-
import"./index-
|
|
80
|
+
import"./index-7qefgq4j.js";
|
|
81
|
+
import"./index-2czt53wz.js";
|
|
82
|
+
import"./index-t1qzjhnj.js";
|
|
83
|
+
import"./index-kvq1e82k.js";
|
|
82
84
|
import"./index-7g4c7s5r.js";
|
|
83
85
|
import"./index-bpmtbmy9.js";
|
|
84
86
|
import"./index-zgwm4ryv.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Backward-compatible name for the shared canonical project-root identity
|
|
3
|
+
* helper (issue #2480 / #2474).
|
|
3
4
|
*
|
|
4
5
|
* Policy (docs/sqlite-durable-state.md §Identity):
|
|
5
6
|
* - This helper answers ONE question: "are these two directory spellings the same project
|
|
@@ -16,8 +17,14 @@
|
|
|
16
17
|
* the project DB from opening; it only risks a duplicate handle for exotic spellings,
|
|
17
18
|
* which is the pre-existing behavior.
|
|
18
19
|
*/
|
|
19
|
-
import { realpathSync } from 'node:fs';
|
|
20
|
-
/**
|
|
20
|
+
import type { realpathSync } from 'node:fs';
|
|
21
|
+
/**
|
|
22
|
+
* Keep the historical DB-layer seam wired to the shared resolver. A few
|
|
23
|
+
* callers/tests inject a `realpathSync` failure through this compatibility
|
|
24
|
+
* export; forwarding that override to both shared resolver entry points keeps
|
|
25
|
+
* the fault-injection contract intact without reintroducing a second path
|
|
26
|
+
* canonicalization implementation here.
|
|
27
|
+
*/
|
|
21
28
|
export declare const _internals: {
|
|
22
29
|
realpathSync: typeof realpathSync;
|
|
23
30
|
};
|
package/dist/db/project-db.d.ts
CHANGED
package/dist/gate-evidence.d.ts
CHANGED
|
@@ -8,14 +8,19 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Evidence files survive session restarts (unlike in-memory state).
|
|
10
10
|
* Agents never write these files directly — only the hook does.
|
|
11
|
-
*
|
|
11
|
+
* Real gates are append-only. The accepted-mutation boundary may retire only
|
|
12
|
+
* the legacy receipt-less repair marker from issue #2525.
|
|
12
13
|
*
|
|
13
14
|
* Threat boundary: this store provides atomic, path-contained durability and
|
|
14
15
|
* auditability for cooperative same-user agents. It is not tamper-proof
|
|
15
16
|
* authorization against a process with arbitrary same-user workspace access;
|
|
16
17
|
* that requires a protected trust root outside the project workspace.
|
|
17
18
|
*/
|
|
19
|
+
import { appendTaskGateRequirementsReceiptIfNeeded } from './evidence/task-gate-requirements.js';
|
|
18
20
|
import type { TaskWorkflowState } from './state';
|
|
21
|
+
export declare const _internals: {
|
|
22
|
+
appendTaskGateRequirementsReceiptIfNeeded: typeof appendTaskGateRequirementsReceiptIfNeeded;
|
|
23
|
+
};
|
|
19
24
|
export interface GateEvidence {
|
|
20
25
|
sessionId: string;
|
|
21
26
|
timestamp: string;
|
|
@@ -68,6 +73,12 @@ export interface TaskEvidence {
|
|
|
68
73
|
requirements_receipt_hash: string | null;
|
|
69
74
|
};
|
|
70
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Legacy internal marker written by receipt-less gate-evidence repair before
|
|
78
|
+
* issue #2525. It is read only for recovery and must never be emitted as a
|
|
79
|
+
* real required gate.
|
|
80
|
+
*/
|
|
81
|
+
export declare const TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL = "requirements_reconstruction";
|
|
71
82
|
/**
|
|
72
83
|
* Fence ordinary evidence writers while a terminal or repair plan/evidence
|
|
73
84
|
* transaction is PREPARED. Only the owning WAL transition may proceed.
|
|
@@ -178,6 +189,13 @@ export declare function deriveRequiredGates(agentType: string, context?: GateDer
|
|
|
178
189
|
export declare function expandRequiredGates(existingGates: string[], newAgentType: string, context?: GateDerivationContext): string[];
|
|
179
190
|
export declare function transitionTaskWorkflowEvidence(directory: string, taskId: string, event: TaskWorkflowTransitionEvent): Promise<TaskEvidence>;
|
|
180
191
|
export declare function withTaskEvidenceTransaction<T>(directory: string, taskId: string, agent: string, callback: (transaction: TaskEvidenceTransaction) => Promise<T>): Promise<T>;
|
|
192
|
+
/**
|
|
193
|
+
* Re-publish a transition receipt after a caller has proven that its evidence
|
|
194
|
+
* transition already committed. Passing a null predecessor forces the
|
|
195
|
+
* idempotent receipt writer to compare against the durable chain tip instead
|
|
196
|
+
* of skipping because the current evidence already equals the settled state.
|
|
197
|
+
*/
|
|
198
|
+
export declare function ensureTaskGateRequirementsReceiptForSettledTransition(directory: string, taskId: string, evidence: TaskEvidence, event: TaskWorkflowTransitionEvent): Promise<void>;
|
|
181
199
|
/**
|
|
182
200
|
* Creates or updates .swarm/evidence/{taskId}.json with a gate pass entry.
|
|
183
201
|
* If file doesn't exist: creates with required_gates from deriveRequiredGates(gate).
|
|
@@ -476,7 +476,9 @@ declare function buildParallelExecutionGuidance(directory: string | undefined, s
|
|
|
476
476
|
* agents are dispatched for different tasks from the same architect session.
|
|
477
477
|
* Issue #970.
|
|
478
478
|
*/
|
|
479
|
-
declare function resolveEvidenceTaskId(args: Record<string, unknown> | undefined, session: AgentSessionState, directory: string
|
|
479
|
+
declare function resolveEvidenceTaskId(args: Record<string, unknown> | undefined, session: AgentSessionState, directory: string, options?: {
|
|
480
|
+
allowSessionFallback?: boolean;
|
|
481
|
+
}): Promise<string | null>;
|
|
480
482
|
/**
|
|
481
483
|
* _internals export for testing — do not use in production code.
|
|
482
484
|
* Exposes resolveEvidenceTaskId, resolveDelegatedPlanTaskId,
|
|
@@ -603,8 +603,8 @@ export type SubmitPrReviewResultOutcome = {
|
|
|
603
603
|
* lock and terminalization takes the same inner lock.
|
|
604
604
|
*/
|
|
605
605
|
export declare function submitPrReviewResult(directory: string, childSessionId: string, input: {
|
|
606
|
-
batchId
|
|
607
|
-
laneId
|
|
606
|
+
batchId?: string;
|
|
607
|
+
laneId?: string;
|
|
608
608
|
revisionDigest: string;
|
|
609
609
|
result: PrReviewLaneResultEnvelope;
|
|
610
610
|
}): Promise<SubmitPrReviewResultOutcome>;
|
|
@@ -1272,6 +1272,14 @@ export declare function enforcePrWorkflowToolBefore(directory: string, sessionID
|
|
|
1272
1272
|
* head-bound PR_REVIEW gate exists for the session.
|
|
1273
1273
|
*/
|
|
1274
1274
|
export declare function readPrReviewReentryBindingContext(directory: string, sessionID: string): Promise<PrReviewReentryBindingContext | null>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Read-only admission check for direct PR-review re-entry. It deliberately
|
|
1277
|
+
* does not consume the token: the delegation gate performs the one-use
|
|
1278
|
+
* reservation only after its own Task acceptance checks have passed.
|
|
1279
|
+
*/
|
|
1280
|
+
export declare function hasActivePrReviewReentryAuthorization(directory: string, sessionID: string, request: {
|
|
1281
|
+
role: PrReviewReentryRole;
|
|
1282
|
+
}): Promise<boolean>;
|
|
1275
1283
|
/**
|
|
1276
1284
|
* Sole production reservation/verification path for direct PR-review re-entry.
|
|
1277
1285
|
* Lock order is fixed: workflow-session first, authorization store second. The
|