mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
Wrist temperature, cardio recovery, sleep score, breathing disturbances, strain/load, and the rest of the v1.10/v1.18.1 metric-status-registry ids were already resolvable through compare_metric / get_metric_baseline / detect_changepoints (an exact registry-id or display-name match), but sat off the Coach snapshot inventory entirely — so list_metrics, the measurements-inventory resource, and search never advertised them. A discover-before-fetch assistant, which the server's own instructions direct, could never learn they existed. Adds a fixed, reviewed allowlist (MCP_METRIC_STATUS_DISCOVERY) plus a metricStatusDiscoveryRows() presence probe, mirroring the existing MCP_CLINICAL_SIGNALS pattern: one grouped presence query, appended as supplement rows to list_metrics and the inventory resource, and merged into the same probe search already runs for the v1.25 clinical signals. fetch(id) now hydrates these ids via the baseline read the same way it already does for clinical signals.