# HEARTBEAT.md Check the following and notify only once per event (track in `memory/heartbeat-state.json`): 1. **USA-Iran conflict**: Fetch news (RSS or search). If USA attacks/strikes Iran militarily, notify immediately. Only notify once when it first happens. 2. **Rheinmetall stock (RHM)**: Check current price. If above €1950, notify. Only notify once when threshold is crossed. 3. **Evening check-in (learning phase)**: If Vienna time is between 21:00-00:00, send a brief WhatsApp asking what user is doing (working? winding down? etc.). Log responses in `memory/wind-down-log.json`. Goal: learn wind-down patterns to predict when to stop starting new things. 4. **Proactive calendar reminders**: Check CalDAV for upcoming events (see TOOLS.md for credentials). Send ONE reminder per event at appropriate lead time: - Video calls / online meetings: 15 min before - In-person / location-based: 1-2 hours before (account for travel) - Appointments (doctor, haircut, etc.): 1 hour before Track sent reminders in `memory/calendar-reminders-sent.json` to avoid duplicates. 5. **Steam Machine / Steam Frame**: Check for **official Valve news only** about pricing or release date. Notify once when official price or specific release date is announced. Baseline: "early 2026" window, no price yet. If nothing new to report, reply HEARTBEAT_OK.