| spec/net.md | Network Core (v5) | Network & Link | Message wire format (CompactRef), signed-announce routing, multicast group trees, per-hop custody, revocation propagation, radio hop handshakes, and age/lifetime accounting without clock sync. CompactRef 92 B steady-state header (-162 B per group message) · Monotonic local age & lifetime (no wall-clock sync) · Signed-announce distance-vector routing with jittered LoRa pass-on |
| spec/link.md | Datagram Link (LoRa & UDP) | Network & Link | Framing over constrained radios (254 B RNode MTU), 8-byte HMAC-SHA256 link tags, X25519 pair-keyed hop replies, ACK/NACK fragment bitmaps, sliding 64-sequence replay windows, and duty-cycle pacing. Max 254 B frame + 8 B HMAC tag on RNode LoRa · X25519 + HKDF-SHA256 pair keys with zero handshake state · 17-byte Probe/Pong recovery for sleeping or returning peers |
| spec/delivery.md | Delivery & Custody Model | Network & Link | What the network promises and refuses to promise: bounded message lifetimes, durable SQLite commit before Accepted, time-bounded deduplication, and push/pull recovery after absence. Accepted means committed to durable disk storage · Time-bounded dedup (lifetime + slack), max 7 days · Clear separation between short transit custody and 30-day mailboxes |
| spec/enroll.md | Enrollment & Credentials | Security & Messaging | Network admission via short Ed25519 credential chains rooted at an origination key, out-of-band msg1: invitations, offline chain verification without lookup servers, and network-wide revocation. 134-byte Ed25519 credentials, max chain depth 2 · Zero central directory or PKI lookup required on link · Three roles: Origination node, Network admin, Standard node |
| spec/mls.md | MLS Group Chat (RFC 9420) | Security & Messaging | Tycus profile of Messaging Layer Security for end-to-end encrypted small groups up to ~60 members, lossless MLS header compression, admin-managed epochs, and coupled capability revocation. MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 · Lossless MLS header compression (-43 B on group traffic) · Relays and mailboxes never see plaintext or group keys |
| spec/media.md | Encrypted Media & Attachments | Security & Messaging | Two-part delivery for photos, Opus voice notes, and video clips: chunked ChaCha20-Poly1305 STREAM blobs uploaded directly over QUIC (msg-blob/1) plus compact MLS descriptors over the mesh. 64 KiB chunked AEAD blobs up to 32 MiB, resumable per chunk · Bulk blobs never congest LoRa or multi-hop custody relays · LoRa nodes receive the 2-frame descriptor and fetch when on IP |
| spec/mailbox.md | Optional Mailboxes | Storage & Operations | Dedicated always-on ciphertext subscribers that retain group messages for absent members up to 30 days, emit signed Stored acks, and serve ordered batches on pull. Stores opaque MLS ciphertext only; never holds group keys · 30-day retention with commits evicted last · Multiple independent mailboxes supported with zero sync protocol |
| spec/vault.md | Local Vault & Encryption at Rest | Storage & Operations | Always-on cryptographic protection of node.key, SQLCipher node.db & chat.db, and media_cache/ under a 256-bit MasterKey wrapped in OS hardware-backed Device storage. HKDF-SHA256 subkey hierarchy with ZeroizeOnDrop in Rust · Zero-plaintext local media decryption & playback · Unencrypted opt-out preserved for headless OpenWrt routers |
| spec/backup.md | Identity Backup & Restore | Storage & Operations | Single encrypted .tycus disaster-recovery archive protected by Argon2id and ChaCha20-Poly1305 STREAM, preserving monotonic counters and safe MLS epoch recovery without ghost devices. 30-digit recovery code (~99.66 bits entropy) or CLI passphrase · Preserves message-id counters and radio boot epochs · Prevents duplicate live identities and MLS epoch forks |
| spec/app.md | Application Interface | Storage & Operations | Local Unix socket protocol separating end-user applications from the node daemon: acknowledged delivery inbox, subscription requests, status telemetry, and local trust boundary. Strict privilege split between daemon and chat application · Acknowledged inbox prevents message loss across app restarts · Reserved payload type ranges for MLS (0x01–0x0F) and Mailbox (0x10–0x1F) |