# HEARTBEAT.md

## Periodic checks (rotate — don't do all at once every heartbeat)

### 🌙 Gmail (moon.clawdbot@gmail.com) — check every heartbeat
Run: `gws gmail +triage`
- Flag any emails from Bo (wangbo.yunze@gmail.com) — respond or notify him
- Flag security alerts from Google — review and report
- Ignore Tailscale newsletters and routine Google notifications
- If something needs attention, message Bo via Telegram

### 📅 Calendar — check 2× daily
Run: `gws calendar events list --params '{"calendarId":"primary","maxResults":5,"timeMin":"<now>","orderBy":"startTime","singleEvents":true}'`
- Notify Bo of upcoming events within 2h

### 📰 News — check once daily (morning)
Run: `python3 ~/.openclaw/workspace/skills/news-aggregator/scripts/fetch_news.py --source hackernews --limit 5`
- Only surface if genuinely interesting AI/bio news

## State tracking
See: `memory/heartbeat-state.json`
