Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture Decision Records

Tetheron records every decision that is expensive to reverse as an ADR in this directory, following the MADR-style template in 0000-adr-template.md. The decision table in ../roadmap.md is the index of record; the files below are the full reasoning.

Process: copy the template to NNNN-short-title.md (next free number), open a pull request with status proposed, discuss in the PR, merge as accepted. Superseding an ADR means writing a new one and changing the old one’s status to superseded by ADR-NNNN; never edit an accepted decision in place beyond typo fixes and cross-links. See Submit a pull request.

ADRTitleStatus
0001Monorepo, language stacks and shared protobuf schemasaccepted
0002Wire protocol: TLS 1.3 over TCP 7360, length-prefixed protobufaccepted
0003Identity and pairing: P-256 self-signed certificates, pinning, SAS, QRaccepted
0004Discovery: mDNS _tether._tcp, UDP beacon, manual address, QRaccepted
0005Android background model: connectedDevice FGS and CompanionDeviceManageraccepted
0006Linux process model: tetherd + D-Bus + GTK app + CLIaccepted
0007Privilege tiers: normal vs enhanced (adb shell helper)accepted (amended 2026-12-04)
0008Distribution: sideload; .deb first, Flatpak lateraccepted (amended 2026-12-04: GitHub releases only; tarball with install script for other distributions)
0009Licence: GPL-3.0-or-lateraccepted
0010Reachability: LAN first, path-agnostic transport, relay lateraccepted
0011SMS: Tether is a non-default SMS appaccepted
0012Intentional disconnect: Disconnect frame with hold semanticsaccepted
0013Desktop data layer for M2: SQLite cache in tetherd, MPRIS, clipboard modelaccepted (amended 2026-11-11)
0014Bulk transfer over secondary TLS connectionsaccepted
0015Calls: control over Tether, audio over PipeWire’s native HFP hands-free roleaccepted (amended 2026-11-15)
0016adb integration: private adb server, QR pairing, Avahi discovery, reverse tunnelaccepted
0017Shell helper: app_process entry point in the APK, probed abilities, own protocolaccepted
0018Mirror media pipeline on the desktop: GStreamer with a statically linked GTK4 sinkaccepted
0019Phone as webcam: shell-helper camera into a v4l2loopback device owned by the daemonaccepted

The project was called Tether until December 2026. Records written before the change keep that name, as do the programs and identifiers they describe.