mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Add a "derived" block to the Coach snapshot: one tiny object per high-signal derived metric (readiness, recovery, sleep, stress, strain, HRV balance, cardio-fitness band, vascular-age delta) carrying value + band + confidence + historyDays — never the raw series. A fully-populated block is ~250 tokens, comfortably inside the snapshot budget. Insufficient metrics are omitted so the model never sees no-data noise; each metric's compute is fault-isolated so a transient failure on one never sinks the turn. Gated on the underlying signals staying in scope. The system prompt now documents the block and frames the bands as descriptive composites, not clinical findings.