docs: add ADR-0022 for LAN-Sync protocol implementation

- Documented a hybrid "Event-Sourcing Light with Lamport Clocks" approach for offline-first LAN synchronization between Meldestelle and Richter-Turm.
- Included detailed options analysis (Event-Sourcing, CRDT, Timestamp-Sync) and rationale for the selected solution.
- Added specifications: SyncEvent model, Lamport clock rules, WebSocket protocol (handshake, sync, recovery), and domain mastership rules.
- Defined snapshot strategy to ensure scalable logs and efficient replay.
- Outlined implementation plan in four phases, highlighting task breakdown for backend and frontend teams.
- Updated architect, backend, and frontend roadmaps to reflect ADR-0022 integration steps.

Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
2026-04-03 09:44:09 +02:00
parent 236876a043
commit 2dd5453365
3 changed files with 394 additions and 1 deletions
+6 -1
View File
@@ -21,13 +21,18 @@
- [x] **B-0** | Rulebook-Session (03.04.2026) dokumentiert →
`docs/99_Journal/2026-04-03_Rulebook_B1_Validierung_Frontend.md`
- [x] **B-1** (teilweise) | Architect B-1 Session-Log erstellt →
`docs/99_Journal/2026-04-03_Architect_B1_LAN-Sync_ADR-0022.md`
- [x] **B-1** (teilweise) | Roadmaps aktualisiert: Architect (✅ Sprint B), Backend (C-3 freigegeben), Frontend (C-3
freigegeben)
---
## 🔴 Sprint B — Offen (höchste Priorität)
- [ ] **B-1** | Roadmaps-Verzeichnis pflegen
- [ ] Alle 9 Roadmap-Dateien in `docs/04_Agents/Roadmaps/` auf Vollständigkeit prüfen ← *diese Session*
- [x] Architect-, Backend-, Frontend-Roadmaps aktualisiert (03.04.2026)
- [ ] Verbleibende Roadmaps (DevOps, QA, UI/UX, Rulebook) auf Vollständigkeit prüfen
- [ ] Abgeschlossene Aufgaben als `[x]` markieren (nach Rückmeldung der Teams)
- [ ] **B-2** | `docs/05_Backend/` aktualisieren