Skip to main content

Module lan_instances

Module lan_instances 

Source
Expand description

A host-global record of this machine’s LAN-enabled instances, so the one instance that holds the UDP probe port can list the others as siblings in its reply (docs/specs/SPEC_LAN_FLEET_FEED_2026_10_03.md §3, which links the mobile spec that owns the wire contract).

One <channel>.json per instance under registry::resolve_shared_lan_instances_dir(), written only while LAN discovery runs. It carries the instance’s lan_key, which that instance already broadcasts to the LAN over mDNS, and never the full auth_key. A channel with LAN off writes nothing, so it is never listed.