mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
Fold the ECG silo into the insights narrative without crossing the non-diagnostic line — the app reports the recording device's own verdict and the existence/count of recordings, never an interpretation of the trace. - Feature snapshot: a bounded, device-verdict-only ECG descriptor (recording count, device-verdict distribution, latest recorded-days-ago + average HR) flows into the nightly briefing prompt. The waveform never enters the payload; the grounding gate admits the pre-computed counts so a device-attributed sentence stays grounded. A prompt rule (EN + DE) constrains any mention to the device's attribution and forbids reading morphology, measuring intervals, or emitting a verdict of the app's own. - Pulse cross-link: a device-attributed pointer from the resting-HR / pulse page into the ECG viewer, un-mounting when no recordings exist. - Daily rail: an ecg_new_recording item surfaces once when a recording landed within the last day — calm, info-level, deep-linking the viewer. Gated on the insights module; the DTO carries no waveform. - i18n across all six locales; non-diagnostic disclaimer copy per language.