mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The score-anatomy detail page now renders the per-score AI assessment that already rides GET /api/insights/derived (shipped to iOS in v1.13.2) — the web type dropped the field, so the card was silently discarded. The assessment mounts below the composition card via the same InsightStatusCard the metric sub-pages use, so it reads identically for readiness, sleep, recovery, strain and stress. Each score detail page also gains an educational intro caption beneath the heading, mirroring the metric sub-pages: new explainer bodies for the five scores across all six locales (sleepScore kept distinct from the sleep metric's own body), wired through SubPageShell's explainerMetric prop. The explainer-key guard resolves the score page's closed lookup record statically so the single dynamic prop stays verifiable. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>