Repository navigation
Commit bc210e0
fix: local gateway connections recover after listener or token drift (#1053)
* fix: recover managed local gateway connections
Add trusted endpoint provenance, role-aware credential recovery, explicit operator intent, and bounded managed-WSL repair so local gateway failures recover safely without leaking stronger credentials or overriding disconnects.
Co-authored-by: Copilot App <[email protected]>
* fix: verify WSL relay ownership during setup
Preserve WSL shell variables through stdin, isolate the Windows PowerShell module path for Authenticode verification, and account for relay family translation. Update the keepalive E2E contract to recognize an already-proven setup keepalive without spawning a duplicate.
Co-authored-by: Copilot App <[email protected]>
* fix: constrain managed gateway ownership migration
Adopt setup-managed ownership only when setup state proves the same loopback endpoint, preserve manual and SSH-backed records, deduplicate external provenance probes, and record the repair ownership boundary in the architecture ledger.
Co-authored-by: Copilot App <[email protected]>
* fix: drop managed ownership when endpoint changes
Preserve setup-managed metadata only for component-equivalent endpoints, strip stale explicit and legacy ownership on repoint, and cover standard versus nonstandard loopback aliases plus case-sensitive path and query changes.
Co-authored-by: Copilot App <[email protected]>
* docs: define default-on local gateway recovery
Document the macOS-parity supervision contract, persist the default for fresh setup, verify existing settings inherit it, and preserve an explicitly disabled kill switch across setup reruns.
Co-authored-by: Copilot App <[email protected]>
---------
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Scott Hanselman <[email protected]>
Copilot-Session: f5f0e4a6-88fa-4782-9a60-5648648fda3e1 parent 93ecfe5 commit bc210e0
64 files changed
Lines changed: 6618 additions & 138 deletions
File tree
- docs
- src
- OpenClaw.Connection
- OpenClaw.SetupEngine.UI/Pages
- OpenClaw.SetupEngine
- OpenClaw.Tray.WinUI
- Pages
- Services
- Windows
- tests
- OpenClaw.Connection.Tests
- OpenClaw.E2ETests/Setup
- OpenClaw.SetupEngine.Tests
- OpenClaw.Tray.Tests
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 | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
197 | 217 | | |
198 | 218 | | |
199 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
210 | 218 | | |
211 | 219 | | |
212 | 220 | | |
| |||
293 | 301 | | |
294 | 302 | | |
295 | 303 | | |
| 304 | + | |
296 | 305 | | |
297 | 306 | | |
298 | 307 | | |
| |||
304 | 313 | | |
305 | 314 | | |
306 | 315 | | |
| 316 | + | |
307 | 317 | | |
308 | 318 | | |
309 | 319 | | |
| |||
317 | 327 | | |
318 | 328 | | |
319 | 329 | | |
| 330 | + | |
320 | 331 | | |
321 | 332 | | |
322 | 333 | | |
323 | 334 | | |
324 | 335 | | |
| 336 | + | |
325 | 337 | | |
326 | 338 | | |
327 | 339 | | |
328 | 340 | | |
329 | 341 | | |
| 342 | + | |
330 | 343 | | |
331 | 344 | | |
332 | 345 | | |
| |||
339 | 352 | | |
340 | 353 | | |
341 | 354 | | |
| 355 | + | |
342 | 356 | | |
343 | 357 | | |
344 | 358 | | |
345 | 359 | | |
346 | 360 | | |
347 | 361 | | |
| 362 | + | |
348 | 363 | | |
349 | 364 | | |
350 | 365 | | |
351 | 366 | | |
352 | 367 | | |
353 | 368 | | |
354 | 369 | | |
| 370 | + | |
355 | 371 | | |
356 | 372 | | |
357 | 373 | | |
| |||
368 | 384 | | |
369 | 385 | | |
370 | 386 | | |
| 387 | + | |
371 | 388 | | |
372 | 389 | | |
373 | 390 | | |
| |||
377 | 394 | | |
378 | 395 | | |
379 | 396 | | |
| 397 | + | |
380 | 398 | | |
381 | 399 | | |
382 | 400 | | |
| |||
424 | 442 | | |
425 | 443 | | |
426 | 444 | | |
| 445 | + | |
427 | 446 | | |
428 | 447 | | |
429 | 448 | | |
| |||
0 commit comments