Delete Safety Mode
A new INTERVALS_ICU_DELETE_MODE environment variable (safe / full / none) controls which destructive tools the server registers. The gate sits outside the model's reach — unregistered tools cannot be invoked.
In safe mode (the default), delete_event and bulk_delete_events also refuse to delete past events, returning a skipped envelope with a reason code. A startup log line reports the active mode and registered tool count.
Upgrading from 1.x: delete_activity, delete_sport_settings, and delete_custom_item are no longer registered by default. Set INTERVALS_ICU_DELETE_MODE=full to restore them.
Improvements
- Wellness write coverage:
update_wellnessnow accepts the full set of writable fields — body composition (body_fat,abdomen,vo2max), vitals (systolic,diastolic,spo2,respiration), lab results (blood_glucose,lactate),injury(1–5 scale),menstrual_phase, nutrition macros, and alockedflag that prevents device sync from overwriting manual entries. - Strava activity detection: activity and analysis tools surface a clear explanation when Strava data is unavailable due to privacy settings.
- Wellness responses now surface previously dropped API fields and include human-readable scale labels for subjective metrics.
- FastMCP bumped from 3.1.1 to 3.2.4.
Notes
- Default tool count: 55 (safe mode), 58 (full), 52 (none).