Reticulum development¶
Developer and maintainer notes for the Reticulum integration: process architecture, the ownership split between RNS, LXMF and mesh-client policy, building the sidecar, and interop smoke tests. The user guide is Reticulum in mesh-client; the HTTP/WebSocket contract is Reticulum sidecar IPC.
Architecture¶
flowchart LR
subgraph ui [Renderer GPL]
RT[useReticulumRuntime]
Panels[Stack / Network / Admin / Chat panels]
RT --> Panels
end
subgraph main [Electron main GPL]
IPC[reticulum:* IPC proxy]
DB[(SQLite reticulum_* tables)]
IPC --> DB
end
subgraph sidecar [Sidecar AGPL]
Bin[mesh-client-reticulum]
RNS[rsReticulum + rsLXMF]
Bin --> RNS
end
ui <-->|electronAPI| IPC
IPC <-->|127.0.0.1| Bin
The renderer must not call the sidecar URL directly (sandbox). All HTTP/WS goes through main-process reticulum:proxyGet / proxyPost / proxyPut / proxyDelete. Paths must start with /api/v1/. Full route list: reticulum-sidecar-ipc.md.
Listen-first connect: The sidecar binds HTTP first, then attach_live brings up RNS/LXMF (path table, BLE Peer, deferred PN messagestore). Electron health is an authenticated GET /api/v1/status with status: "ok" — not rns_ready / lxmf_ready. Electron creates a fresh 256-bit bearer credential per process, delivers it only through stdin, and attaches it to every HTTP and WebSocket request. useReticulumRuntime marks connection configured once start succeeds and identity is known, then hydrates peers/DB in the background and dispatches RETICULUM_CONFIGURED_EVENT. TCP hubs and RRC can proceed after live attach; Chat LXMF send/reaction fail closed with requires live rns-stack sidecar until the bridge is up. Cancel / stop does not wait on cargo or BLE. LoRa Meshtastic/MeshCore may call ensureForBle() so GATT is available without a Reticulum UI Start. Renderer LXMF/RRC proxy sends use a 15 s IPC deadline (RETICULUM_IPC_SEND_TIMEOUT_MS).
Ownership: RNS vs LXMF client vs mesh-client policy¶
Reticulum is not one blob that “does everything automatically.” Before adding sidecar or UI automation, classify the work:
flowchart TB
subgraph rns [RNS transport - library]
PathTable[Path table / RequestPath]
AnnounceFlood[Announce flood / Auto beacons]
Links[Links / proofs / Resources]
end
subgraph lxmf [LXMF app layer - client or lxmd must own]
DeliveryAnnounce[lxmf.delivery announces]
OutboundDriver[Direct then Propagated delivery]
PnHost[PN serve /get /offer]
IdentityLearn[Pubkey from announces / path responses]
end
subgraph mesh [mesh-client product policy]
AutoDemote[Auto vs private LAN demotion]
PnCascade[Multi-PN deposit and sync cascade]
PathMedium[Prefer RF vs network slots]
UiProbe[DM probe / Nomad force-path]
end
rns --> lxmf
lxmf --> mesh
| Layer | Owns | mesh-client role |
|---|---|---|
| RNS transport (rsReticulum) | Path table, announce flooding, AutoInterface beacons, RMAP discovery announce signing, Links / proofs / Resources | Call transport APIs (RequestPath, path table reads, destination register). Do not reimplement pathfinding or beacon loops in the sidecar or UI. Library gaps belong in overlays under reticulum-sidecar/patches/, not a second routing plane. |
| LXMF client / PN (rsLXMF + sidecar orchestration) | lxmf.delivery announce schedules, Direct→Propagated outbound driver, identity learning for LRPROOF, local PN serve (/offer//get), client inbox retrieve |
Intentional lxmd / Ratspeak parity. rsLXMF is a library, not a full daemon — the sidecar owns these loops (lxmf_delivery.rs, lxmf_outbound.rs, propagation_*, pn_inbound.rs). Without them, Chat and offline delivery do not work. Documented elsewhere as “Host PN fabric → Chat (lxmd-style glue)”: mesh-client is PN + end-client on rsLXMF, not a second lxmd binary. |
| mesh-client product policy | AutoInterface demotion toward private TCP/UDP, multi-slot path failover before PN fallback, prefer path medium, multi-PN deposit/sync cascade (Off/Auto/Manual), Chat DM auto-probe, Nomad force_path_refresh |
Not required by bare RNS. Exists for multi-hub / Auto+LAN / UX. Treat as intentional product behavior; do not mistake it for transport. |
Renderer rule: UI mirrors sidecar events and configures policy (announce interval, Propagation mode, Path/Probe buttons, RMAP publish toggles, topology layout). It must not invent peer discovery, announce flooding, or a second pathfinder. Optimistic announce.received peer rows and Topology graphs are views over the RNS path table, not routing.
What looks “automatic” but is correct to own in the sidecar
- Periodic / startup LXMF delivery announces and Network Announce now (Ratspeak/lxmd parity; see Network tab).
LxmfOutboundDriverDirect planning, path-request gating, retries, then Propagated cascade.- PN hosting admission, peer
/offerbookkeeping, silent/getcatch-up, and renderer Auto/Manual sync cascades that call into those APIs. - Registering announce/path-response handlers so Direct LRPROOF has peer public keys.
What is product policy above RNS (keep intentional; cite when changing)
auto_path_policy.rs— RNS correctly prefers 0-hop Auto; sidecar demotes unhealthy Auto toward a live private path for LXMF Direct (see Path routing).path_failover.rs+ path-medium overlays — ranked slots / medium preference before giving up Direct.pn_cascade.rs+reticulumPropagationAutoApply.ts— multi-PN deposit and sync order.- Chat DM auto-probe (
useReticulumDmPathProbe) — reachability UX; RNS would still path on send. - Nomad
force_path_refresh— DropPath→RequestPath recovery for stale TCP hub paths. - Nomad per-node identify (default anonymous) — Link sessions send
LINKIDENTIFYonly for nodes the user opted in; RNS itself has no such default. See Nomad identify.
Gate for new automation: Is this RNS transport, LXMF client/PN (lxmd parity), or mesh-client policy? Prefer library/overlay for transport; prefer sidecar lxmd-shaped loops for LXMF; prefer explicit, documented policy modules for product overrides — never a parallel path table or announce flood in the renderer.
Duplication vs ownership (send / path / propagation): Extra sidecar (or renderer) code is not automatically “Ratspeak duplicated.” Classify before deleting or relocating:
| Area | Upstream-owned | mesh-client-owned (keep) | Suspicious duplication (do not add) |
|---|---|---|---|
| Send pipeline | LXMF wire, Direct outbound driver, terminal lxmf_outbound_status Completes |
Renderer outbox drain, optimistic pending→hash rekey, SQLite delivery_status, badge semantics (sending vs recipient Delivered vs PN deposit). POST /lxmf/send enqueue is not delivery. |
A second outbound driver or treating HTTP send ok as recipient receipt |
| Path policy | RNS path table, RequestPath, announce flood |
auto_path_policy.rs, path_failover.rs, path-medium preference/pins — product policy on the RNS table |
A parallel pathfinder or announce loop in sidecar or UI |
| Propagation | PN /offer//get wire (rsLXMF) |
Sidecar LXMF/PN loops (lxmd parity) plus pn_cascade.rs / Auto-discovered candidates / Off·Auto·Manual sync order (reticulumPropagationAutoApply.ts) |
A second messagestore or PN protocol implementation |
False Delivered on RF-only Chat is typically renderer correlation (outbox vs store row), not missing Ratspeak send logic. Correlate receipts to the attempt’s optimistic id/hash (useChatOutbox.ts); do not “fix” it by moving UI status into the sidecar.
Building the sidecar (development)¶
rns-stack builds need the repo-local .rsstack/ workspace checkouts rsReticulum, rsLXMF, rsNomad, rsLXST, and lrgp-rs (see scripts/clone-ratspeak-stack.sh). That script uses the reviewed full SHAs in reticulum-sidecar/ratspeak-stack-pins.env, verifies them before applying the rsReticulum/rsLXMF overlays, and rejects overrides in CI/release. A local bisect requires an RS_*_REF plus MESH_CLIENT_ALLOW_RATSPEAK_REF_OVERRIDE=1. Open upstream feature PRs such as rsReticulum#26 and rsLXMF#7 are carried as overlays and tracked by pnpm run update. Peer list / detail default avatars use LXMFace (src/renderer/lib/reticulum/lxmface.ts) when no custom Lucide icon is set.
End users of GitHub Releases or Flatpak do not need Rust. Developers and contributors do.
One command (from repo root; requires Rust):
Cargo always needs the .rsstack/ checkouts (rsReticulum, rsLXMF, rsNomad, rsLXST, lrgp-rs) as path dependencies — clone them with ./scripts/clone-ratspeak-stack.sh (same as reticulum-sidecar/README.md). With those trees present, the build script applies required patches and compiles with rns-stack,rns-ble,rns-rnode-tcp for the real mesh-I/O stack (live path table, BLE, RNode USB/Wi‑Fi, Nomad hosting, LXST voice, LRGP games). Building without --features rns-stack still uses those checkouts but links the stub stack (file-backed API for UI/tests — not for real mesh I/O).
Electron dev: Start stack auto-runs cargo build when the debug binary is missing, when reticulum-sidecar/src/**/*.rs or Cargo.toml is newer than the binary, or when a stub binary is present but the full .rsstack/ workspace exists. First compile can take several minutes — pre-build with the command above.
Run sidecar alone:
The development launcher generates a fresh API credential and delivers it only over the
sidecar's stdin. Use Electron's Reticulum UI and main-process proxy for API diagnostics; the raw
localhost API intentionally rejects unauthenticated curl requests.
CI matrix (stub + full stack): .github/workflows/reticulum-sidecar.yaml. Flatpak release builds bundle the full-stack binary into resources/reticulum-sidecar/.
Patch overlays (packet tap, AutoInterface utun, discovery-announce-egress, rsLXMF policy-setters, …): reticulum-sidecar/patches/README.md.
Remote (rnsh / rncp) interop smoke¶
Wire protocols are stock Reticulum utilities — mesh-client is a client (and rncp receive listener), not a private dialect.
| Scenario | Peer side | mesh-client side |
|---|---|---|
| Shell | rnsh / rnsh-rs listen; allow our identity (-a / allow-list) |
Remote → Shell → paste rnsh destination hash → connect |
| Send file | rncp -l -a <our_identity> (or mesh-client inbound Ask) |
Remote → Transfer / Chat DM → peer rncp.receive hash (not LXMF) |
| Receive file | rncp file <our_receive_hash> |
Remote → Settings → inbound Ask/allow-list; copy My rncp receive destination |
| Fetch | Peer rncp -l -F -j <jail> -a <our_id> |
Remote → Transfer → Fetch remote path |
| Auth fail | Peer allow-list omits us | Error shows not allowed + copy our identity hash |
| Request enable | Second mesh-client | Chat/Transfer Request enable (mesh-client:request-rncp-receive:v1); peer replies with mesh-client:rncp-receive-dest:v1:<hash> so the sender autofills |
Transfers require a high-speed path (TCP/network); LoRa/BLE-only destinations are refused locally before a link opens. There is no byte-level resume — Retry restarts the full file.
Code map¶
File-level detail for the Reticulum sidecar, LXMF, propagation, Remote (rnsh/rncp), Nomad, RRC, voice, and games. Related: reticulum.md (user guide), reticulum-sidecar-ipc.md, troubleshooting-reticulum.md.
- Ownership (do not reimplement transport): Reticulum automation has three layers — (1) RNS transport (path table, announce flood, Auto beacons, Links/proofs) stays in rsReticulum (+ overlays under
reticulum-sidecar/patches/); (2) LXMF client/PN loops (delivery announces, Direct→Propagated driver, identity-from-announce, PN/offer//get) are intentional lxmd/Ratspeak parity owned by the sidecar because rsLXMF is not a daemon; (3) mesh-client policy (Auto→private demotion, multi-PN cascade, path-medium preference, DM auto-probe, Nomadforce_path_refresh) is product behavior above RNS — document it, do not mistake it for transport. Renderer mirrors WS/HTTP and configures policy; it must not invent pathfinding or announce flooding. Extra sidecar send/path/PN code is usually lxmd glue or product policy, not accidental Ratspeak duplication; Chat outbox/badge receipt correlation stays in the renderer. Full write-up: Ownership. - Sidecar:
reticulum-sidecar/(AGPL Rust binarymesh-client-reticulum; path deps under repo-local.rsstack/viascripts/clone-ratspeak-stack.sh—rsReticulum/rsLXMF/rsNomad/rsLXST/lrgp-rs); dev:pnpm run reticulum:sidecar:dev. Listen-first: HTTP binds beforeattach_live;/api/v1/statusstatus: ok= listening;rns_ready/lxmf_readyfalse until live. PN messagestore load deferred; local-prop serve waits for load. LXMF send/reaction fail closed with live-required errors until live. - IPC:
reticulum:*main handlers —start/stop/getStatus/syncInterfaceIssueScope,proxyGet/proxyPost/proxyPut/proxyDelete,factoryReset(blocked on generic proxy), config file read/import dialog,showNomadContentSourceDialog,setNomadContentSource, RemoterncpSend/rncpFetch/setRncpListener/showRncpOpenFileDialog/showRncpSaveDirectoryDialog/revealInFolder. Alsomedia:ensureCameraAccess,gps:exportGpx,db:setReticulumDestinationVerified, Remote DBdb:listReticulumRemoteAddresses/ upsert / delete anddb:listReticulumInboundPolicy/ upsert / delete (src/main/ipc/reticulum-db-handlers.ts),mesh-client:openUrl/electronAPI.deepLink.onOpenUrl. Renderer useselectronAPI.reticulumproxy (no direct localhost). Proxy rate-limit soft-envelopes live inside the handlertry(settleReticulumProxyFailure).ReticulumStackPanel+useReticulumInterfaceSnapshotsync enabled interface names after hydrate so TCP/TX issue banners clear when hubs are disabled — do not refresh interfaces onannounce.received/stats_update(that floodedGET /interfacesafter wake); poll + shared proxy backoff only.reticulumSidecarIssueTrackerkeeps that enabled set sticky while reading sidecar logs; latches named TCP RST/EOF for Connection alerts. TCP hub fast-flap (RNS 1.4.0+):reticulumStackSessionTrackercounts stack starts (five in 12h, persisted; testers with long sessions still qualify); Connection amber banner usestcp_fast_flap/ unreachable+restart hint; auto stack restart is skipped; host TCP probes run only before sidecar ready. troubleshooting. - Panels:
ReticulumStackPanel(Connection — stack lifecycle, interfaces, issue banner),ReticulumNetworkPanel(Network — identity slots + QR share/ingest, stack/announce settings, Propagation mode Off/Auto/Manual + rename/delete, config import),ChatDmPaperControls(Chat DM Share as paper + Scan paper),ReticulumMapPanel(Map — RMAP v4 discovery),ReticulumRmapDiscoveryControls/ReticulumRmapConnectionStatus(RMAP publish: Network enable-all eligible interfaces; Connection X of Y status),ReticulumAdminPanel(Admin — RNode flasher, factory reset),ReticulumPeerListPanel(Peers — Peers / History / Contacts / Favorites sub-tabs; path request + probe + verified badge; LXMFace avatars; History = messagedlast_heard, Contacts = explicitis_contact/ Save as contact only),NomadNetworkPanel(Nomad — browse + My Pages watched-folder static host viaNomadPageServerPanel/rsNomad;nomad_serving_enabled+nomad_serving_content_sourcerestore hosting after live stack start; lazy-mount keep-alive, dual-axis page scroll; fit-width default and open-width toggle),ReticulumRemotePanel(Remote — rnsh multi-session shell + rncp send/receive/fetch; Saved addresses + inbound policy; Chat DM send-file viaChatDmRncpControl),RrcPanel(RRC — multi-hub relay chat) - Deep links / QR: OS scheme is
lxm://(notmesh-client://);MeshClientDeepLinkHost,meshClientDeepLink.ts(lxmPaperMessagekind +looksLikeLxmPaperBlob; Gameslxm://game/<session>/ Ratspeaklrgp:<session>→lxmGameSession),handleReticulumQrIngest.ts(shared Network/Chat/OS paper + in-app contact ingest),applyLxmPaperIngest→POST /api/v1/lxmf/paper/ingest,QrIngestControl/QrCodeImage. OS contact / MeshCore imports confirm before upsert; paper OS deep links ingest without confirm; Games session links open Reticulum Games tab viaopenReticulumGameSession. - Decommissioned hubs:
src/shared/reticulumDecommissionedHubs.ts(Amsterdam only) — stack-start auto-disable + Add default backbones disables matching enabled TCP rows; UI badge + enable-block inReticulumInterfacesPanel.tsx(isDecommissionedReticulumTcpInterfaceRow); keep TS↔Rust synced viapnpm run check:reticulum-decommissioned-hubs. Default backbone picker + region-grouped interface list (Primary & Global / North America / Europe / Asia & Oceania / Specialty / User Defined) inreticulumDefaultHubPresets.ts+ReticulumDefaultHubsPickerModal.tsx; muted disabled rows + checkbox bulk delete;countEnabledDefaultHubPresets/ >3 enable warning - BLE RNode RSSI: Prefer
InterfaceRow.host_rssi(sidecar connect/scan cache) over advertisement polls;useReticulumBleRnodeRssiMapgates on sidecar running (not api-ready), burst-then-steady scans via nestedacquireReticulumBleScan, matches scanaddressand friendlyname, clears sticky targets immediately when all BLE RNodes are disabled - Propagation mode / sync: Network → Propagation nodes owns Off/Auto/Manual (default Off; persisted values including legacy App-panel
autoare honored). Auto one-time syncs viastartPropagationSyncCascade+ sidecardestination_hashsync in order: finite-hop discovered (no Add/Preferred) → configured remotes → unknown-hop discovered → local-prop (skips remotes when no enabled interfaces); runtime hookuseReticulumPropagationAutoSync. Sidecarstart_propagation_syncis client/get-primary (inbox retrieval; UI progress fromPropagationClient) — peer/offerinventory push stays on the local-host peer loop when serving (avoids AwaitingResponse hangs against non-peer remotes with a nonempty messagestore). Hard-fails withPROPAGATION_PATH_UNKNOWNwhenensure_path_for_directfails after announce settle (same path gate as offer probe). Manual uses Preferred, else picks the best configured remote for that sync only (no Preferred write), then the remaining remotes, then local-prop. Off = no PN support:startPropagationSyncCascadereturns early (per-row Sync is disabled in UI),hasEffectiveReticulumPropagationTarget/hasReticulumPnCascadeCapacityare false,ReticulumPropagationNoticeis hidden, and the sidecar disarms the outbound PN plus empties cascade candidates (propagation_modeinmesh_client_stack.json,POST /api/v1/propagation/mode,candidates_for_propagation_mode); renderer pushes the mode on change and on sidecar-ready. Ignore for Auto:POST/DELETE /api/v1/propagation/auto-blacklistpersistspropagation_auto_blacklist(32-hex, cap 256); filters Auto sync ranking and Auto deposit (auto_discovered_candidates+ configured retain in Auto); Manual Prefer/Sync still allowed. Ownership: mode in renderer localStorage (+ sidecar mirror); blacklist + deposit candidates in sidecar; sync cascade orchestration inreticulumPropagationAutoApply.ts;startSyncattempt stamps must be unique across same-ms supersession.reticulumPropagationStore/reticulumPropagationSync.ts— Establishing stall (~45s) + hard ceiling (~180s), auto-sync interval from last success with failure cooldown, error keys for identity / non-PN / path-unknown / peering stamp; stampslastPropagationSyncAttemptAt/activePropagationSyncAttemptAtfor WS correlation. Cancel mid-/getmust callPropagationClient::abort_transfer(rsLXMF overlay) or the next Sync staysPROPAGATION_RETRIEVE_BUSY. Silent Host/getterminal clear must only drop the latch whenpropagation_sync_targetstill equals that peer. Nothing-to-sync is not a failure: when the cascade contacts no node it writessyncNoTarget/syncLocalLoading/syncRetrieveBusy(never overwriting a real error from an attempted node), the local row reports sidecarstatus: "loading"while the messagestore reads (local_propagation_status+PropagationBridge::messagestore_load_pending, per-row Sync disabled), and the 30 s tick callsrefreshFromSidecarwhilehasPropagationCascadeCandidateis false so a fresh stack recovers on its own —refreshFromSidecarmust not clear the active attempt whilesync.active. Debug snapshotpropagationClientexposes mode/preferred/autoTarget/resolvedSyncTargetId/autoBlacklist. Auto also deposits on Discovered PNs: sidecarauto_discovered_candidates(pn_cascade.rs, Auto only, cap 3, hop-sorted withMAX_PLAUSIBLE_PROPAGATION_HOPS=32, skips inactive / self / already-configured / Auto-blacklist / overmax_peering_cost) appends after configured remotes and before local-prop, rebuilt from the sharedrebuild_pn_cascade_candidateshelper inlive.rs; capacity helpers count non-blacklisted discovered rows in Auto. Chat notice dismiss:chatNoticeDismissedwith Don't show again / Network toggle. Named sync target:startSyncstampssyncTargetId. Attempts settle before the cascade advances:startSyncreturnsaccepted|deferred|failed. Soft-defer (PROPAGATION_SYNC_OUTBOUND_BUSY/PROPAGATION_RETRIEVE_BUSY/PROPAGATION_STACK_NOT_LIVE) advances without 15‑min backoff; all-remote soft-defer + local-only settle must not advancelastPropagationSyncAtas a full success. Remote budgetPROPAGATION_CASCADE_BUDGET_MS(5 min); per-attempt ~60s; single-flight cascade. Auto/api/v1/interfacesprobe fails closed (treat read/rate-limit as no interfaces → local-only settle). Retrieval vs peer sync: User Sync progress is client/get-primary. Peer/offerruns only on the local Host peer loop. Logs:propagation-retrieve(retrieve_mode=get|get_post_peer|get_periodic|local); peer-offerpropagation-sync … peer_outcome=*(not retrieval).local-propSync usesdrain_local_inboxand returnsPROPAGATION_STACK_NOT_LIVEwhen live is absent. - Host PN fabric → Chat (lxmd-style glue): When local Host is enabled, mesh-client is both PN and end-client on rsLXMF (not a second lxmd). Path: outbound deposit → host peer
/offerpush (generation-gated; lxmd terminal bookkeeping:sync_complete/mark_offer_generation_processed/take_handled_updates+save_peer); inbound peer Resource accept →request_inbox_drain→ maintenancedrain_local_inbox→delivery_callback→ Chat; after host peer/offerCompletes for peerP, sequenced silent client/get(retrieve_mode=get_post_peer); while serving and quiet, ~90s periodic silent/getround-robin over peered remotes (Prefer/outbound first,retrieve_mode=get_periodic) for inbox catch-up — not a timed empty re-/offer. Re-/offerwhenoffer_generationadvances, offer policy changes, or a partial sync left work; maintenance polls every ~2s but only starts work when idle. Guards: coalesce drain; one internal/get; skip when user Sync target / outbound deposit owns the hash orsync_active/client_download_active. Do not re-attach peer/offerto the Sync button. Dual full-index exchange in one Link stays upstream rsLXMF; remote inventory for re-propagation arrives when peers/offerto our serve path. - PN hosting: Network Advanced PN hosting /
ReticulumPnHostingDangerZone; sharedpnHostingPolicy.ts+ sidecarpn_hosting_policy.rs/pn_hosting_apply.rs;POST /api/v1/propagation/hosting-policy; rsLXMF policy-setters overlay (ratspeak/rsLXMF#6). Messagestore loads in background on live attach; enabledlocal-propserve/announce waits until load completes. - Interface modes: rnsd
modeviareticulumInterfaceMode.ts+ sidecarnormalize_interface_mode(keep catalogs in sync —pnpm run check:reticulum-interface-modesin pre-commit/release.sh); add defaults TCP/UDP/I2P →boundary, Backbone →gateway, RNode →access_point; UI inReticulumInterfacesPanel; default hub presets add/repair missing mode toboundary(do not overwrite valid non-boundary). Discoverable + Full/Roaming/Boundary stampsignore_config_warnings = Yes(reconcile_ignore_config_warnings/repair_ignore_config_warnings_in_config) so RNS does not auto-correct runtime mode to Access Point; Connection shows Effective: Access Point when liveruntime_modestill diverges. See ../reticulum.md#interface-modes and ../reticulum.md#rmap-publish-and-interface-mode. - RMAP publish allowlist:
isReticulumRmapDiscoveryCapable— RNode / KISS / AX.25 KISS (with port), I2P, Backbone only (rsReticulum advertizable types). Not UDP/pipe/ble_peer/rnode_multi/TCP clients. Backbone requiresreachable_on. Share instance ≠ public gateway. - RMAP consume: Map listens via forced
discover_interfaces=Yes; Network stack settings expose opt-inautoconnect_discovered_interfaces/ sources / stamp /network_identity(defaults safe). Map can Add as interface for Backbone/TCPServer with host:port. Do not implementautoconnect_interface_mode/autoconnect_announces_to_internalin mesh-client — library gaps in rsReticulum.bootstrap_onlyis a typed interface field. - Share instance defaults: missing keys bootstrap to
share_instance = No/instance_name = mesh-client(does not overwrite explicit Yes/default). - Never a shared-instance client (issue #1181):
stack/instance_policy.rsstarts withSharedOwner(Share on) orStandalone; a taken endpoint falls back to Standalone and setsshared_instance_conflict(/api/v1/status,shared_instance_conflictaudit,ReticulumSharedInstanceConflictBanner). Ratspeak overlays (path-medium, RF rebroadcast exclusion, RMAP egress, BLE RNode/Peer) need transport ownership, so attaching to system rnsd is declined. Every user notice rendersReticulumSystemRnsExplainer(reason + docs anchorusing-mesh-client-with-other-reticulum-apps). Reverse direction:GET /api/v1/stack/shared-instance→ReticulumShareForOtherAppssnippet. Setup guide probes system rnsd read-only viareticulum:detectSystemInstance(src/main/reticulum-system-instance.ts).disable_share_instancerepair; offline lint viareticulum:validateConfig/ Network Check config /pnpm run reticulum:config:check - LXMF replies: sidecar stamps
FIELD_REPLY_TO/ cappedFIELD_REPLY_QUOTEbefore sign; renderer ingest/Chat usereticulum_reply_to_hash+ quote preview + jump-by-hash - RNode flasher timeouts:
RNODE_COMMAND_TIMEOUT_MS(30 s serial),RNODE_BT_PAIRING_TIMEOUT_MS(90 s BLE pairing),ESP32_FLASH_STALL_TIMEOUT_MS/NRF52_DFU_STALL_TIMEOUT_MS(60 s no-progress →ESP32_FLASH_STALLED/NRF52_DFU_STALLED); humanized viaflasherErrorHumanize.ts - Peer aliases / History vs Contacts: LXMF/Nomad announce names overlay path-table peers; SQLite
reticulum_destinations.last_heard= History,is_contact= Contacts (Save as contact only — inbound/outbound LXMF does not auto-add Contacts; sidecar/contactswire rows are History hints unless SQLiteis_contact=1); default avatars via vendored LXMFace (lib/reticulum/lxmface.ts); renderer refresh +reticulumContactToNodeRecordPreservingLabelrefuse hash-prefix wipes of Chat/nodeStorelabels; ingest stamps History viapersistReticulumHistoryFromPayload+stampHistoryPeer; SQL upsert guard preserves real names over hash-prefix aliases; destination upsert requires exact 32-hex (lowercase) and omitsfavoritedon icon-only patches so favorites/icons survive path/probe refresh. Chat DMs arelxmf.deliveryonly —resolveReticulumChatLxmfDest.tsremapslxst.telephony(and other non-lxmf path-table rows) to that identity’s LXMF hash via identity activity; Peers Message / paste / send refuse when no LXMF announce is known (Voice badge on telephony-only rows). Existing open/active DM tabs canonicalize onto the LXMF fold when remapped (remapReticulumChatDmTabs.ts); filters/unread alias remappable aspects viareticulumChatDmNodeIdsEquivalent. - RRC
/who:RrcPanelsends/who <room>withK_ROOMset to the joined wire room (Python rrc-web parity; slash commands are handled before forward so this is not room chat). Never/whosynthetic[hub]/@dmrooms. Empty inboundK_ROOM→[hub](resolveRrcInboundChatRoom/RRC_HUB_STREAM_ROOM), never the focused room. First/whoNOTICE per named room may appear in the transcript (consumeWhoTranscriptSlot/shouldShowRrcWhoTranscript); later snapshots update the nicklist only. User-initiated Refresh / composer/whobypasses that slot. Stock rrcdemit_noticefor/who/actor JOINED is a singlePacket.send(no chunk/resource): if the roster exceeds Link MDU (typically 431) the hub drops it silently — observed on RNS Community28c7…with MDU 431 while Colorado Mesh who (~300 B) succeeds. Nicklist then grows from fanout JOINED + opportunistic chat; join-info NOTICE still seeds self into the roster when actor JOINED never arrives. Drop detection useswhoReplyPendingRooms(set on send, cleared on any parsed/whoincluding(none)): a ~12s no-reply printsrrc.whoReplyMissingeven when join-info already seeded self — not a roster-empty heuristic. - EX1-RRCD client parity: Advertise
CAP_RESOURCE_ENVELOPE/CAP_ACTION/CAP_DIRECT_NOTICEin HELLO; acceptT_RESOURCE_ENVELOPE(50) with SHA256 verify + notice/motd dispatch (blob ignored); parse WELCOME hub version + limits; JOINED bodies as full list or single/bare hash with advisoryK_NICKon fanout (merge, never wipe on empty); peerPARTEDupdates nicklist viarrc.room.peer_parted. Full busy-room roster still requires a hub that chunks/who(Ratspeakpush_notice_entries) or usessend_text_smart. Ratspeak/listmay also arrive as chunked NOTICEs (header alone, then one indented room row per packet) —beginListedRoomsDirectory/appendListedRoomsaccumulate into the ROOMS sidebar; single-packet rrcd/liststill usessetListedRoomsreplace. - RRC layout (v6):
RrcPanelrenders throughchat/ConversationLayout: one list column with a Rooms / Hubs segmented switch (RrcRoomSidebar/RrcHubBrowserare column bodies; Rooms is disabled until a hub is linked; choice inmesh-client:rrc:listView), a single conversation header (room or hub title, status dot, hub, topic, member count, icon toggles, Members toggle, Disconnect), andRrcNickListas a side panel docked at 1280px and wider and a sheet below that. The list column hides only when both legacy keysmesh-client:rrcHubListCollapsedandmesh-client:rrc:roomListCollapsedare set (toggling writes both); members visibility on wide windows keepsmesh-client:rrc:nickListCollapsed. Under 768px the list and the conversation take turns (Back button). - RRC stick-to-bottom: Owned by
RrcChatView+ sharedchatScrollUtils(TanStack VirtualfollowOnAppend/ pin ref); keep Chat/Rooms flexmin-h-0+ stream[overflow-anchor:none]parity so the message stream remains a real scroller. - Stores/lib:
reticulumIdentityStore.ts(session-global sidecar identity status shared byuseReticulumSidecarApi— distinct from identity-scopedidentityStore),reticulumPeerStore.ts(path-tablepeers+history+ savedcontacts; soft-TTL reads, forced?refresh=1, incrementalpeers_updatedroute-field patches, 50ms batching, name/appearance preservation, 30s/60s large-mesh poll),reticulumDiscoveryMapStore.ts,reticulumRmapDiscovery.ts,reticulumDiscoveryMapLayout.ts,nomadNetworkStore.ts,rrcHubStore.ts/rrcSessionStore.ts(RRC hubs + multi-hub sessions; hydrate/clear room history viarrcRoomHistory.ts; persist → SQLiterrc_messagesviarrcMessagePersist.ts+ipc/rrc-db-handlers.ts; prefs inrrcHubPrefs/rrcRoomPrefs/rrcRecentRooms; notifications inrrcInactiveNotifications/rrcMention(resolveRrcAlertType+ ApprrcUnreadAllRoomMessages, default all-room, IRC mention/DM opt-out)); Remote (rnsh/rncp):rncpTransferStore.ts,rnshSessionStore.ts,reticulumInboundPolicyStore.ts,reticulumRemoteAddressStore.ts,rncpEnableRequestStore.ts+ libremoteSettingsStorage.ts,pushRncpListenerPolicy.ts,rncpInboundPolicyLists.ts,sendRncpRequestEnable.ts,rncpRequestEnableRateLimit.ts,applyRncpReceiveDestShare.ts/rncpReceiveDestSharePending.ts(mark pending on request-enable; consume on ingest within TTL),hooks/useRemotePathCapability.ts,components/remote/*; WS eventsrmap.discovery,lxmf_outbound_status,nomadnetwork.node,rrc.*,rnsh.*/rncp.*inuseReticulumRuntime(sidecar also emitsnomad.serving_start/nomad.serving_stop; renderer polls serving status via HTTP, not those WS events) - LXMF outbound delivery: sidecar
lxmf_delivery.rs/lxmf_outbound.rs/pn_cascade.rs(Direct-first; after Direct exhausts multi-PN cascade: preferred remote → other enabled remotes hop-sorted → in Auto only, up to 3 heard-but-not-added Discovered PNs hop-sorted → local-prop last; intermediate WSsending+delivery_method: "propagated"or"stored_locally"; terminaldeliveredat remote PN vsstored_locallyfor local hosted PN). Local-prop is a full PN (in-process cascade deposit viaaccept_stamped_propagated_blob; host peer/offersync; auto Chat drain after peer ingress + post-peer silent/get; explicit local Sync viadrain_local_inbox) — not an outbox; clients need not Prefer you. Propagated link establishment timeout advances the cascade when other PNs remain (avoids Prefer-hash timeout storms). Sync vs deposit:PROPAGATION_SYNC_OUTBOUND_BUSY/PN_DEPOSIT_DEFER_ADVANCE_AFTER. RendererapplyReticulumOutboundDeliveryStatus.ts(WSlxmf_outbound_status→ Zustand + SQLitedelivery_status+delivery_method; early-status buffer; hash/status allowlist),reticulumOutboundFailureBridge.ts(shouldApplyLinkDeliveryTimeoutFailureBridgeskips the link-timeout Failed bridge when cascade capacity remains — remote or enabled local-prop; also skipspropagated/stored_locallyrows so cascade is not killed),markStaleReticulumOutbound.ts. Optimistic pending rows usereticulum-pending-*; send-path rekey passesreplaces_message_hashon SQLite upsert to delete the prior pending hash. Remote PN Completes UI: Stored at propagation node (ReticulumMessageStatusBadgePN + green check); local-prop Completes: deposited on your hosted node (PN + amber house; peer sync may still propagate). Mode Off has no cascade capacity, so the link-timeout bridge fails the row. Paper exception:createReticulumPaperMessage/ paper create Completes immediately (delivery_method: paper,ReticulumMessageStatusBadgePaper) vialxmf_message— nolxmf_outbound_status; sharedreticulumMessageTransport/reticulumPaperErrorskeep IPC allowlists and i18n codes aligned. - DM path reachability:
useReticulumDmPathProbe.ts,reticulumDmPathReachability.ts,ReticulumDmPathReachabilityBadge.tsx— Chat Probe matches Peer List (sidecar running check →/probe→ toast → refresh);applyProbeResult(forHash, …)applies the settle without a second/probeand ignores stale completions after DM switch; manual reprobe forces Checking… even when passive hops look reachable; Peers virtualizes above 100 rows viareticulumPeerListRows.ts; peer refresh policy inreticulumSidecarPeerRefreshEvents.ts - Inbound transport labels:
received_viaresolves the path-table interface name against local interface config type, so a TCP hub display name still renders as TCP. - Topology:
via_hashis an immediate transport id; sidecar synthesizes missing relay nodes.ReticulumTopologyPaneluses force layout; sidecar caps graph input at 2,000 peers, renderer ingest 1200, drawn graph 1000 after hop filters (same as LoRa Graph). Unknown hops when Max hops is Show all. RF only checkbox keeps RNode/KISS/BLE spokes. - Retention: defaults (destination age/count, message count, RRC room history) are documented in ../reticulum.md#app--retention--limits. RRC prune wiring:
rrcMessageRetention*settings anddb:pruneRrcMessagesByCount/db:pruneRrcMessagesByAge. - Self label / header:
reticulumSelfNodeLabel.ts(resolveReticulumSelfHeaderLabel— Network display name in app header) - Nomad errors:
lib/nomad/nomadPageErrorHumanize.ts(sidecar error codes → i18n). Remote Nomad browse reuses one initiatorLinkSessionper dest (live.rs/nomad_link_reuse.rs) — do not go back to one-shotLinkClient::queryper/pageor/media. The cached Link is keyed on destination and identify:LINKIDENTIFYcannot be undone on an established Link, so reusing an identified Link for an anonymous request (or the reverse) would leak or drop identity — do not optimise the identify half of the key away. - Nomad identify (default anonymous): per-node flag
NomadNodeRow.identifypersisted in sidecar state (set_nomad_identify/clear_nomad_identify_all,POST /nomadnetwork/nodes/identifyand/identify/clear); turning it off callsclose_identified_nomad_link. RenderernomadNetworkStorepassesidentifyfrom the stored flag on page/file/media fetches, clears that node's page/image caches on change, andnomadPageViewerStoreincludes it in the fetch dedupe key. UI: toolbar fingerprint toggle (confirm before enabling), list Identifying badge, header Stop identifying. My Pages Access edits{page}.allowedvia/serving/acl(nomad_page_acl.rs), because rsNomad's page API rejects.allowedpaths; self-preview bypasses ACLs. TCP-class inbound response Resources use overlayrsReticulum-response-resource-window-fast.patch(WINDOW_MAX_FASTwhen RTT ≤ 1s). - Nomad browser caches (renderer, in-memory only):
nomadPageCache.ts+nomadImageCache.ts(sizes and eviction in the user doc linked below). Not persisted; cleared by toolbar ⌀,closeViewer, or process restart. Oversized entries are still displayed but never stored (next visit re-fetches).forcePathRefreshskips the image LRU. HostNomadNodeConfig.media_cache(rsNomad) is separate — serving only. See ../reticulum.md#nomad-browser-caches. - Nomad partial resource controller:
bindNomadMicronPartialsowns all eager loads, nested discovery, refresh timers, queued work, and abort controllers for one page. Keep canonical hash/path ancestry, depth/count/source-byte/concurrency/timer/request-rate/total-request/lifetime ceilings page-scoped. A parent refresh must dispose descendant partial and media work before replacement; page identity changes must tear down the old controller even when source text is unchanged. - Micron renderer budgets: the vendored parser enforces limits at both
convertMicronToHtmlandconvertMicronToFragment, covering top-level pages, partials, editor previews, RRC bodies, and direct parser use. The fixed limits are exported asMICRON_RENDER_LIMITS: 256 KiB source, 16,384 lines and characters per line, 2 MiB output HTML, 16,384 elements, depth 64, 512 table rows / 64 columns / 4,096 cells, and 2,097,152 parser operations. Exceeding any limit returns only a fixeddata-micron-render-errornotice. Character dividers are CSS separators and must never be implemented with repeated text. - Nomad request bodies: MessagePack
field_*/var_*encode/decode lives in rsNomadnomad-core(encode_request_fields/decode_request_fields); sidecarnomad_request_payload.rsonly unwraps HTTP base64 JSON before calling encode - LXST voice:
hasLxstVoicegates Call buttons (Peers + Chat DM). Session helpers inreticulumVoiceSession.ts(dial/answer/hangup + mic PCM); UI storereticulumVoiceStore.ts; overlayReticulumVoiceOverlay(App mount). Dedicated IPCreticulum:voiceSendAudio+ push channelreticulum:voiceAudio(/ws/voice; preloadonVoiceAudio); control viaelectronAPI.reticulum.voice.*. Runtime WS:voice.update/voice.incoming/voice.stats/voice.terminated/voice.error(errors should carrylink_idwhen known; match by link/generation/remote). Establish-only media: Answer warms AudioContext; mic capture/TX starts only afterestablished; sidecar soft-drops pre-establish PCM (not_established). Outbound progress tones: dial → peer DTMF fold → UK double-ring (reticulumVoiceCallTones.ts/reticulumVoiceOutcome.ts/reticulumVoiceFeedback.ts); media-start coalesces bycallGenerationto avoid Answer mic thrash. Terminal reasons: treat sidecarestablished/terminatedas completed (not fail). - LXMF voice memos:
hasReticulumVoiceMemogates Chat DM mic (not LXST Call). Sidecar encodes Opus/AM_OPUS_OGGvia/api/v1/voice/memo/{start,audio,stop,cancel}+ dedicated IPCelectronAPI.reticulum.voiceMemo.*(reticulum:voiceMemoStart/voiceMemoSendAudio/voiceMemoStop/voiceMemoCancel; proxy blocked). Capture resamples to 24 kHz / 60 ms frames and serializes PCM IPC before stop. Size cap: see the LXMF chat row in ../reticulum.md#what-is-included. Key files:reticulumVoiceMemo.ts,sendReticulumVoiceMemo.ts,reticulumVoiceMemoStore.ts,reticulum-attachment-audio.ts,ReticulumVoiceMemoLine.tsx. Ingest stampsFIELD_AUDIO→ attachment jail + playback (chat:readReticulumAttachmentBytes). Oversize-for-PN emitsmessage_too_large_for_propagation(notice toast + Direct-only badge — never a PN-outage toast). Tap mic to record, tap again to send; Esc/DM-switch cancels; mic stays visible while recording even if the draft is non-empty. - LRGP games:
hasLrgpGamesgates Games tab + Challenge (Peers / Chat DM). Sidecargames_session+LrgpStore; companiongames_outbound.dbpersists last envelope +delivery_state(LXMF outbound bridge → session chips / Resend). Dedicated IPCelectronAPI.reticulum.games.*/reticulum:games*(proxy rejects/api/v1/games/*); WSgames.update/games.action_result. Parity: ../reticulum-games-parity.md. - Gating:
hasReticulumDiscoveryMap(Map tab);hasReticulumRemotePanel/hasRncpTransfer(Remote tab + Chat DM rncp);hasRrcPanel(RRC tab);hasLxstVoice(LXST Call);hasReticulumVoiceMemo(LXMF voice memos);hasLrgpGames(Games);hasReticulumInterfaceConfig/hasReticulumNetworkPanel/ProtocolCapabilities - rnsh/rncp: sidecar
stack/{rnsh_session,rncp_transfer,path_speed,link_task}.rs+ HTTP/api/v1/rnsh/*,/api/v1/rncp/*,/api/v1/remote/*; typedelectronAPI.reticulum.rnsh|rncp|remote; picker-gated send/fetch paths inreticulum-remote-paths.ts; LXMF enable-request sentinelmesh-client:request-rncp-receive:v1(rncpRequestEnable.ts); peer replymesh-client:rncp-receive-dest:v1:<hash>autofills viaapplyRncpReceiveDestShare(prefer pending frommarkRncpReceiveDestSharePending/sendRncpRequestEnable; still apply without pending for older peers); enable-request modal + dest-share side effects deduped by LXMFmessage_hash(rncpLxmfControlSideEffectDedup) so catch-up cannot re-fire; already-listening auto-share is once per peer per request-enable cooldown; inbound listener config persists (rncp_listener_*inmesh_client_stack.json) and restores on live stack start - Sidecar RRC:
rrc_codec/rrc_link/rrc_session/api/rrc.rs. Idle join-ack +/whoafter leaving the app alone is usually a real Link death (rrc.disconnected reason=timeout|transport_error|… will_reconnect=true), not a/whopoll — RNS initiator keepalive/stale (RTT-scaled, min ~5s/10s on fast TCP) tears the Link; sidecar auto-reconnects and re-JOINs.rrc_linkprefers sessionClosedreasons over a racingresource_offerschannel close (do not trustresource_offers_closedas primary). After timeout/transport/remote close, reconnect uses DropPath+RequestPath so LRPROOF can re-attach on a live iface instead of a dead via pin. - Runtime:
useReticulumRuntime,lib/sessions/reticulumSession.ts,lib/ingest/reticulumIngest.ts; connect starts sidecar, notConnectionDriverRF — marks configured when HTTP + identity ready (live attach may still run);RETICULUM_CONFIGURED_EVENTwakes RRC. Cancel/stop is fire-and-forget vs cargo/BLE (START_ABORTEDcheckpoints; next start does not rejoin a doomed promise). LXMF/RRC proxy sends: 15 sRETICULUM_IPC_SEND_TIMEOUT_MS. RRC auto-connect (useRrcStartupAutoConnect): ~500 ms while hubs pending, ~4 s steady. - Diagnostics:
ReticulumDiagnosticEngine.ts(Reticulum-native rows; no LoRa hop-goblin semantics) — includesreticulum/sidecar-unhealthy(60s grace; HTTP health, not listen-first ready lag),reticulum/rns-not-ready/reticulum/lxmf-not-ready,reticulum/propagation-sync-stuck,reticulum/propagation-sync-failing(1h TTL) - No MQTT for Reticulum's own connections (sidecar owns BLE RNode/Peer via
btleplug; LoRa Meshtastic/MeshCore GATT shares the same sidecar process, not the RNS live session). UI Restart stack soft-restarts live RNS (/api/v1/stack/restart) without SIGTERM so LoRa GATT survives; Stop/Quit still kill the process. Gate UI withhasReticulumInterfaceConfig/hasReticulumNetworkPanel/ProtocolCapabilities. - Multi-protocol BLE: see ble-serial.md for the full coexistence contract (peripheral MAC registry, scan-only mutex, concurrent sessions on different MACs — no Noble yield).