v6.0
v6.0 — UI Wiring, Algorithm Alignment & Parity Validation
Shipped: 2026-06-09 | Phases: 9 (36–45) | Files changed: 31 | Lines added: +2910
What's New
All v5.0 Rust algorithms wired into SwiftUI dashboards; three algorithm divergences corrected; pt-PT localisation at 0 untranslated strings.
Dashboard wiring
- Recovery: daily readiness level (rundown / strained / balanced / primed); ACWR 7d/28d; Foster monotony
- Sleep V2: 4-class hypnogram (wake / light / deep / REM); AASM metrics — REM latency, TST, efficiency, SOL, WASO per stage
- V24 Biometrics: SpO₂, respiratory rate, wrist temperature with "Não calibrado" badge
- Strain: detected activities list with start time, duration, calories, strain score
- IMU: steps card ("via acelerómetro") in Strain tab
Algorithm alignment (Phase 42) — fixed 3 divergences: Recovery Z-score + logistic, EWMA α = 0.0483, Cole-Kripke 30 s epochs
Synthetic validation fixtures — HRV and sleep-staging fixtures for hardware-gated tests
Raw BLE frame import — importHistoricalDataFromServer button wired; trust-chain rebuilt without BLE reconnection; fallback to rr_intervals when decoded_frames unavailable
Upload Sync UI — pending badge; manual Backfill button; Test Connection with inline /healthz result
Localisation — 775 pt-PT strings; 0 untranslated (was 49)
Deferred
ALG-HRV-04/ALG-SLP-04: real overnight validation gates — synthetic fixtures ready, hardware required- V24 biometric live decode (SpO₂/skin_temp/resp show "--" pending K24 offset confirmation)