Repository navigation
Commit 9eae43b
authored
refactor(infra): move exec approvals into the shared SQLite state DB (#114063)
* refactor(infra): move exec approvals into the shared SQLite state DB
Delete the file-runtime exec-approvals store (exec-approvals.json + .lock
sidecar machinery) on both runtimes and make the reserved
exec_approvals_config singleton row canonical. Doctor owns the one-time
import with claim/verify/receipt discipline; runtime fails closed with a
doctor instruction while un-migrated legacy state exists. The wire CAS
contract, socket semantics, and gateway auth-token derivations are
unchanged. Kills the #113929 lock-contention bug class structurally and
nets around -2.9k lines.
* fix(infra): green CI gates and retire file-era exec approvals tests
Break the migration-type import cycle with a leaf contract, regenerate the
plugin-SDK API and native i18n baselines for the intentional surface change,
drop unused exports, and replace the macOS file-era approvals test suite with
SQLite-backed behavior coverage per the obsolete-internals test policy.
* chore: green max-lines ratchet, native i18n baseline, and unused-export scan1 parent cd5a5ec commit 9eae43b
61 files changed
Lines changed: 3459 additions & 4441 deletions
File tree
- apps
- .i18n
- macos
- Sources/OpenClaw
- Tests/OpenClawIPCTests
- config
- docs
- .generated
- cli
- nodes
- platforms/mac
- refactor
- tools
- extensions/policy/src
- doctor
- scripts
- src
- agents
- cli/program
- commands
- gateway
- infra
- node-host
- plugin-sdk
- state
- test/scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32411 | 32411 | | |
32412 | 32412 | | |
32413 | 32413 | | |
32414 | | - | |
| 32414 | + | |
32415 | 32415 | | |
32416 | 32416 | | |
32417 | 32417 | | |
32418 | 32418 | | |
32419 | 32419 | | |
32420 | 32420 | | |
32421 | 32421 | | |
32422 | | - | |
| 32422 | + | |
32423 | 32423 | | |
32424 | 32424 | | |
32425 | 32425 | | |
32426 | 32426 | | |
32427 | 32427 | | |
32428 | 32428 | | |
32429 | 32429 | | |
32430 | | - | |
| 32430 | + | |
32431 | 32431 | | |
32432 | 32432 | | |
32433 | 32433 | | |
32434 | 32434 | | |
32435 | 32435 | | |
32436 | 32436 | | |
32437 | 32437 | | |
32438 | | - | |
| 32438 | + | |
32439 | 32439 | | |
32440 | 32440 | | |
32441 | 32441 | | |
32442 | 32442 | | |
32443 | 32443 | | |
32444 | 32444 | | |
32445 | 32445 | | |
32446 | | - | |
| 32446 | + | |
32447 | 32447 | | |
32448 | 32448 | | |
32449 | 32449 | | |
32450 | 32450 | | |
32451 | 32451 | | |
32452 | 32452 | | |
32453 | 32453 | | |
32454 | | - | |
| 32454 | + | |
32455 | 32455 | | |
32456 | 32456 | | |
32457 | 32457 | | |
32458 | 32458 | | |
32459 | 32459 | | |
32460 | 32460 | | |
32461 | 32461 | | |
32462 | | - | |
| 32462 | + | |
32463 | 32463 | | |
32464 | 32464 | | |
32465 | 32465 | | |
32466 | 32466 | | |
32467 | 32467 | | |
32468 | 32468 | | |
32469 | 32469 | | |
32470 | | - | |
| 32470 | + | |
32471 | 32471 | | |
32472 | 32472 | | |
32473 | 32473 | | |
32474 | 32474 | | |
32475 | 32475 | | |
32476 | 32476 | | |
32477 | 32477 | | |
32478 | | - | |
| 32478 | + | |
32479 | 32479 | | |
32480 | 32480 | | |
32481 | 32481 | | |
32482 | 32482 | | |
32483 | 32483 | | |
32484 | 32484 | | |
32485 | 32485 | | |
32486 | | - | |
| 32486 | + | |
32487 | 32487 | | |
32488 | 32488 | | |
32489 | 32489 | | |
32490 | 32490 | | |
32491 | 32491 | | |
32492 | 32492 | | |
32493 | 32493 | | |
32494 | | - | |
| 32494 | + | |
32495 | 32495 | | |
32496 | 32496 | | |
32497 | 32497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 77 | + | |
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
| |||
134 | 127 | | |
135 | 128 | | |
136 | 129 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | 130 | | |
212 | 131 | | |
213 | 132 | | |
| |||
223 | 142 | | |
224 | 143 | | |
225 | 144 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 145 | | |
259 | 146 | | |
260 | 147 | | |
| |||
0 commit comments