mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
Replace the hidden composer prefill with a visible scope affordance: when the Coach is launched narrowed to a metric, the hero shows a scope pill naming that metric plus a tappable seed question, and the drawer sources rail surfaces the same scope line. When the Coach opens unscoped, resolve today's most notable derived signal server-side and offer it as a tappable opener; fall back to the neutral greeting when no signal crosses the gate, so the blank box is never cold and never fabricated. Add an internal GET /api/insights/coach/seeded-question that reuses the briefing's derived-signal detector to select the opener server-side; the client renders the resolved DTO.