SIAR System Architecture & Technical Wiki
SIAR: Secure, Interoperable, Autonomous & Resilient Peer-to-Peer Communication Platform. Built in Rust for mobile, desktop, headless daemons, and embedded Linux nodes.
Welcome to the SIAR System Architecture Wiki. This knowledge portal contains 60 comprehensive technical specifications covering all aspects of SIAR's low-level cryptographic protocols, delay-tolerant mesh networking, distributed storage, audio DSP pipelines, cross-platform client architecture, and user experience design.
⚡ Quick Navigation Matrix
| Domain | Parts | Key Focus Areas |
|---|---|---|
| I. Foundation & Extensions | 01, 07, 21, 22, 23, 24 | Extensibility, WASM plugins, capability negotiation, interop suites |
| II. Identity & Security | 02, 28 | Multi-device key trees, MLS / Double Ratchet, forward secrecy, audit logs |
| III. Mesh & Transports | 03, 11, 12, 13, 14, 15 | Iroh QUIC, BLE, Wi-Fi Direct, LoRa, relays, multipath link bonding |
| IV. DTN & Emergency Mesh | 06, 17 | Store-carry-forward bundle routing, hop limits, SOS priority mesh |
| V. Storage & Event Log | 04, 05, 09, 32, 33 | Append-only outbox, chunked blob sync, SQLite/Redb, Tantivy search |
| VI. Realtime Media & Audio | 25, 26, 29 | Low-latency audio/video calls, zero-copy surfaces, Rust DSP (AEC, NS, AGC) |
| VII. Ephemeral & Presence | 30, 31 | Ephemeral presence, typing indicators, unified push wake & background delivery |
| VIII. Native Daemons & FFI | 16, 19, 20, 27 | Headless daemons, C-ABI bindings, embedded Linux, Android NDK packaging |
| IX. Testing & Diagnostics | 08, 10, 18 | Backpressure queues, AFL++/libFuzzer harnesses, live path visualizer |
| X. UI/UX Architecture | UI/UX 01 – UI/UX 27 | Desktop Dioxus, Android Jetpack Compose, design tokens, responsive layouts |
🎯 Role-Based Reading Paths
Depending on your engineering focus, we recommend following these reading paths:
🛡️ 1. Cryptography & Security Architects
- 02 — Multi-Device Identity & Trust Model
- 28 — Production Security, E2EE, Key Management & Privacy
- 15 — Out-of-Band QR & NFC Bootstrap Pairing
- UI/UX 15 — Security Center, Devices, Keys & Recovery
📡 2. Mesh Networking & Protocol Engineers
- 01 — Protocol Extension System Architecture
- 03 — Transport & Routing Policy Engine
- 06 — DTN Store-Carry-Forward & Bundle Forwarding
- 12 — Multipath Networking & Link Aggregation
- 14 — Proximity Abstraction (BLE, Wi-Fi Direct, LoRa)
- 17 — Emergency Priority Classes & Critical Alert Mesh
💾 3. Storage, Database & Sync Engineers
- 04 — Offline Event Log & Sync Engine
- 05 — Robust File & Blob Subsystem
- 09 — Crash Recovery & State Integrity
- 32 — Search, Indexing & Local Privacy Retrieval
- 33 — Backup, Restore, Export & Long-Term Archival
📞 4. Realtime Media & Audio DSP Engineers
- 29 — Realtime Calls & Media Session Protocol
- 26 — Rust-First Audio DSP (AEC, NS, AGC, Resampling)
- 25 — Android Direct Surface Zero-Copy Media
- UI/UX 07 — Calls & Realtime Media UX
📱 5. UI/UX & Frontend Engineers (Desktop / Mobile)
- UI/UX 01 — Product UX Foundation & Cross-Platform Interaction
- UI/UX 02 — Desktop Dioxus App Shell & Navigation
- UI/UX 03 — Android Jetpack Compose App Shell & Lifecycle
- UI/UX 22 — Design System, Tokens, Typography & Motion
- UI/UX 23 — Responsive & Adaptive Layouts
💡 Reading & Keyboard Shortcuts
This interactive wiki is powered by mdBook. You can use the following shortcuts from any page:
- s or / — Focus the Full-Text Search Bar
- ← / → — Navigate to Previous / Next Chapter
- t — Open the Theme Selector (Navy, Coal, Ayu, Rust, Light)
- c — Copy Code Blocks
- Toggle sidebar button in the top left for clean reading on mobile and tablet devices.
🏛️ Core Architectural Tenets
┌─────────────────────────────────────────────────────────┐
│ SIAR Core Engine │
├───────────────────┬───────────────────┬─────────────────┤
│ Zero Monolith │ Offline-First │ Zero Trust │
│ WASM & Plugins │ DTN Store-Carry │ Multi-Device │
│ Extensible ABI │ Append-Only Log │ End-to-End Enc │
└───────────────────┴───────────────────┴─────────────────┘
- Transport Neutrality: Iroh QUIC as primary transport, with pluggable support for BLE, Wi-Fi Direct, LoRa, TCP relays, and custom radio layers.
- Zero Centralization Requirement: Every node can act as an autonomous router, storage node, or relay without depending on centralized servers.
- Rust Memory & Concurrency Safety: The entire core engine and DSP pipeline is implemented in pure, zero-cost-abstraction Rust.