fix(companion): guarantee dual-path peering — LAN p2p + public anchor, always #109

Merged
lfg2025 merged 1 commits from fix/guaranteed-anchor-peering into main 2026-07-23 21:18:01 +00:00
Owner

Bakes the Archipelago vps2 anchor into the app so every pairing peers both ways: direct LAN p2p (npub-keyed dial hints) and public-anchor rendezvous for 5G/off-LAN — regardless of node version. APK 0.5.3/vc23.

🤖 Generated with Claude Code

Bakes the Archipelago vps2 anchor into the app so every pairing peers both ways: direct LAN p2p (npub-keyed dial hints) and public-anchor rendezvous for 5G/off-LAN — regardless of node version. APK 0.5.3/vc23. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lfg2025 added 1 commit 2026-07-23 21:17:54 +00:00
The whole point of FIPS: the phone peers with the node's npub using the
LAN endpoint as a direct p2p dial hint AND rendezvouses via a public
anchor when away — neither LAN nor 5G location may matter. The anchor
half only existed when the scanned QR carried fanchors, so pairing
against an older node left the phone LAN-only and everything died on 5G.

The Archipelago vps2 anchor (npub + 146.59.87.168:8444/tcp, lockstep
with core fips/anchors.rs) is now baked into upsertNodePeer as a
guaranteed peer. Mesh connect retry window widened so a first-ever
pairing survives the VPN consent dialog. Served APK: 0.5.3 (vc23).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
lfg2025 merged commit db2cafc657 into main 2026-07-23 21:18:01 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lfg2025/archy#109
No description provided.