Skip to content

[codex] Persist LAN bootstrap handoff tokens#81780

Closed
Hacktor-Banned wants to merge 1 commit into
openclaw:mainfrom
Hacktor-Banned:codex/allow-lan-bootstrap-handoff
Closed

[codex] Persist LAN bootstrap handoff tokens#81780
Hacktor-Banned wants to merge 1 commit into
openclaw:mainfrom
Hacktor-Banned:codex/allow-lan-bootstrap-handoff

Conversation

@Hacktor-Banned

Copy link
Copy Markdown

Summary

  • allow bootstrap handoff token persistence for private LAN WebSocket gateways
  • add a regression test for ws://192.168.178.60:18789 storing node and operator device tokens

Root cause

The iOS gateway channel only trusted bootstrap handoff token persistence for wss:// or loopback hosts. Private LAN ws:// gateways could pair, but did not keep the handoff device tokens needed by the chat path.

Validation

  • swift test --filter GatewayNodeSessionTests
  • xcodebuild -project apps/ios/OpenClaw.xcodeproj -scheme OpenClaw -configuration Debug -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO build\n\n## Notes\nThe working tree also contains unrelated local Fastlane/TestFlight signing changes, but this PR includes only the OpenClawKit LAN-token fix.

@openclaw-barnacle openclaw-barnacle Bot added size: S triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 14, 2026
@clawsweeper

clawsweeper Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: [codex] Persist LAN bootstrap handoff tokens This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@Hacktor-Banned

Copy link
Copy Markdown
Author

Closing: this was only needed for a local iOS setup, not intended as an upstream PR.

@Hacktor-Banned
Hacktor-Banned deleted the codex/allow-lan-bootstrap-handoff branch May 14, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: S triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant