SIAR System Architecture & Technical Wiki
SIAR: Secure, Interoperable, Autonomous & Resilient Peer-to-Peer Communication Platform.
Built in Rust for mobile, desktop, headless daemons, embedded Linux nodes, and anonymous network cloud relays.
Welcome to the SIAR System Architecture Wiki. This knowledge portal contains 176 comprehensive technical specifications totaling 514,448 lines and 875,254 words, covering every engineering layer from low-level Postcard framing and OpenMLS multi-device cryptography to delay-tolerant bundle forwarding, pure-Rust audio DSP, cross-platform Dioxus/Compose shells, global Loopix mixnets, zero-trust measured boot, and sandboxed WASM extensions.
📚 Essential Architecture Companions
Before exploring individual specifications, engineers and operators should consult the master synthesis documents:
- System Architecture Design Rationale: The authoritative engineering synthesis detailing the 3 Tiers, the 8 Anonymous Network layers, database architecture (PostgreSQL vs. sovereign pure-Rust stack), threat models, and trade-off rationales.
- System Capabilities & Comparison Matrix: Rigorous technical comparison between SIAR, Signal, Briar, Matrix, Reticulum, Tor, and Session across 12 capability dimensions.
- Master Specification Execution Order & Dependency Matrix: The 7-milestone execution sequencing resolving inverted security and UI dependencies.
🏛️ Corpus Architecture: The 3 Tiers
sys-arch/ (176 Specifications · 514,448 lines · 875,254 words)
│
├── Tier 1: Core Mesh & Local-First Engine (Parts 01 – 33)
│ 105,732 lines · 33 Specifications
│ Focus: P2P wire framing, multi-device MLS keys, dynamic routing policy,
│ resumable BLAKE3 blobs, DTN data mules, emergency QoS, lock-free audio DSP.
│
├── Tier 2: UI/UX & Cross-Platform Shells (Parts UI/UX 01 – 27)
│ 72,610 lines · 27 Specifications
│ Focus: Desktop Dioxus 0.7 shells, Android Jetpack Compose shells, design tokens,
│ virtualized timelines, composer, call surfaces, out-of-band pairing, security center.
│
└── Tier 3: The Anonymous Network & Cloud Operating Ecosystem (Parts 34 – 150)
336,106 lines · 116 Specifications (Parts 34–138, 140–150; 139 reserved)
Focus: Global Loopix mixnet, Sphinx onion packetization, zero-trust cloud servers,
TPM measured boot, physical datacenter tamper detection, PIR search, WASM sandboxes.
⚡ Complete Specification Matrix (18 Parts)
| Part | Title | Range | Key Systems Engineered |
|---|---|---|---|
| I | Protocol Foundation & Extensions | Specs 01, 07, 21–24 | Wire codecs, envelope framing, capability negotiation, WASM plugin ABI |
| II | Identity, Trust & Cryptography | Specs 02, 28 | Multi-device key trees, OpenMLS ratchet, identity root keys, forward secrecy |
| III | Mesh Networking & Transports | Specs 03, 11–15 | Dynamic routing, Iroh QUIC, multipath bonding, BLE/NAN/LoRa, QR/NFC bootstrap |
| IV | DTN & Emergency Mesh | Specs 06, 17 | Delay-tolerant bundle store-carry-forward, epidemic routing, SOS alerts |
| V | Storage, Outbox & Lifecycle | Specs 04, 05, 09, 32, 33 | Append-only outbox, BLAKE3 Merkle-DAG blobs, crash recovery, Tantivy FTS, vault export |
| VI | Realtime Media & Audio DSP | Specs 25, 26, 29 | Zero-copy video surfaces, pure-Rust audio DSP (AEC, NS, AGC), call signaling |
| VII | Presence & Notifications | Specs 30, 31 | Ephemeral availability, typing state, read receipts, unified push wake |
| VIII | Native Daemons & FFI | Specs 16, 19, 20, 27 | Headless daemon runtime, C-ABI FFI bindings, OpenWrt/embedded nodes, Android packaging |
| IX | Reliability, Testing & Fuzzing | Specs 08, 10, 18 | Memory quotas, backpressure, AFL++/libFuzzer harnesses, live path visualization |
| X | UI/UX Client Architecture | Specs UI/UX 01–27 | Desktop Dioxus, Android Jetpack Compose, tokens, timeline, contacts, security center |
| XI | Mixnet Mechanics | Specs 34–42 | Loopix Poisson delays, Sphinx packetization, cover traffic, directory consensus |
| XII | Anonymous App Primitives | Specs 43–49 | Private group fanout, anonymous VoIP signaling, blind reputation & ZK tokens |
| XIII | Sovereign Policies & Boundary | Specs 50–70 | Data sovereignty, anti-enumeration naming, panic kill switch, legal boundaries |
| XIV | Zero-Trust Infrastructure | Specs 71–81 | TPM measured boot, HSM key custody, reproducible SBOM, Raft consensus, mTLS |
| XV | Private Cloud Services | Specs 82–94 | Passkey auth, private contact graph, PIR search, differential privacy metrics |
| XVI | Defense & SecOps | Specs 95–100 | Continuous compliance, incident containment, threat hunting, disaster failover |
| XVII | SRE & Physical Reliability | Specs 101–121 | Adaptive load-shedding, FinOps, SLOs, facility environmental & physical tamper security |
| XVIII | Governance & Extension Ecosystem | Specs 122–150 | Requirements knowledge graph, developer CLI, sandboxed WASM plugins, marketplace |
🎯 Role-Based 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
- 34 — Loopix Mixnet & Sphinx Onion Packetization
- 39 — Cryptographic Agility & Hybrid PQ-KEM Layering
- 71 — Trustworthy Boot, Attestation & Binary Measurement
- 72 — Hardware Security Modules (HSM) & Key Custody
- 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
- 36 — Cover Traffic, Heartbeat Loops & Obfuscation
- 41 — Routing Failure Modes & Fault Tolerance
💾 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
- 74 — Database Persistent State & Storage Engines
- 67 — Storage Minimization & Cryptographic Erasure
📞 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
- 45 — Anonymous Ephemeral Voice/Video Signaling
- 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 05 — Conversation Message Timeline UX
- UI/UX 06 — Message Composer, Attachments & Voice Notes
- UI/UX 22 — Design System, Tokens, Typography & Motion
- UI/UX 23 — Responsive & Adaptive Layouts
☁️ 6. Cloud, SRE & Operations Engineers
- 62 — Deployment, Packaging & Reproducible Operations
- 76 — Distributed Consensus & State Coordination
- 78 — Edge Gateway, Reverse Proxy & WAF
- 101 — Capacity Management & Admission Control
- 109 — Service Level Objectives & Error Budgets
- 117 — Physical Datacenter Tamper Detection & Security
- 120 — Post-Incident Review & Root-Cause Analysis