Architecture Decision Records
Decisions that shape the consolidation of SCTGDesk (server, API server, client) into one repository. Evidence comes from the Phase 0 audit; every upstream claim was checked against the real repositories on 2026-10-27, and what could not be verified is stated as such.
| ADR | Topic | Status | Recommendation |
|---|---|---|---|
| 0001 | Where the client lives | Accepted | client/ overlay (patches + assets + CI) in the monorepo, not a full fork copy |
| 0002 | Upstream synchronisation, hbb_common | Accepted | Tag-by-tag merges into a mirror-based flow; hbb_common as a submodule pointing at a thin fork |
| 0003 | Fate of the TCP code | Accepted | Keep and modernise the key exchange (v1); remove the duplicated client switch and key logging |
| 0004 | AGPL compliance and the “RustDesk” mark | Accepted | Stay AGPL-3.0, add source offer, nominative use of the mark only |
| 0005 | Cargo workspace layout | Accepted | Upstream layout untouched at the root; our code in crates/ and web/ |
Status values: Proposed, Accepted, Superseded.