# HEARTBEAT.md

## RULES
- Only message Mike if something actually needs attention.
- Never send "all clear" messages. Reply HEARTBEAT_OK if nothing to flag.
- Keep alerts concise. No walls of text.
- Stay quiet 11pm–7am unless urgent.

## 1) EMAIL TRIAGE
Scan services@nomorechores.com and mikeziarko@gmail.com for messages in the last 30 min.
Flag only:
- Payment failures / billing problems
- Security alerts / suspicious logins
- Expiring subscriptions or "final notice" emails
- Meeting changes (new, cancelled, rescheduled)
- Anything clearly requiring action today

For each flagged email: classify urgent (action needed within 1hr) or heads-up (today but not now). Draft a short suggested reply — never send.

## 2) COMPLAINT MONITORING
Check Slack #calls (CDP3Y6YB0) for new call summaries containing complaints, quality issues, damage reports, cancellation threats, or customer dissatisfaction since last check.

For each one found:
1. Classify per complaint SOP (workspace/sops/complaint-handling-sop.md): QC / DMG / BEH / NS / BIL / SAF / GEN
2. Assign next complaint ID — check #issues for last used ID
3. Post thread-starter to Slack #issues (C0APWDMBD7S) with color-coded attachment:
   - 🔴 Red: DMG, SAF
   - 🟡 Yellow: QC, BEH, NS
   - 🔵 Blue: BIL, GEN
4. Track last-checked timestamp in memory/heartbeat-state.json under "complaintsLastCheck"

Also check services@nomorechores.com for complaint emails not yet logged.
