mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
The acute red-flag clause hardcoded its blood-pressure numbers as prose literals and named no glucose or fever floor at all, so the Coach could silently drift from the dashboard hero and the notification engine. Compose the systolic/diastolic, glucose, and sustained-fever thresholds straight from clinical-floors.ts and echo the previously-missing glucose and fever lines, so every acute number the Coach states is bound to the one source of truth. Add an outlook contract (gentle forecast, what-to-expect, anticipatory if-then — all conditional, ranged, association-framed) composed beside the tone contract on the Coach and the comprehensive briefing, so a reply can sharpen expectations without a false promise. Tighten the tone contract against over-validation (affirm the effort, not an unsafe choice; stay neutral when there is nothing to praise) and route why/conflict questions through get_correlations and its coincident-deviation flag before answering. Coverage asserts the clause numbers equal the constants and the new contract reaches both surfaces.