# Phase 7 Escalation Logic

1. Hourly command scans overdue tasks.
2. For each delayed task:
   - send reminder to assignee
   - fetch active escalation rules for module
   - resolve target users by role (or super_admin fallback)
   - queue notifications by rule channel
3. Write audit logs in `reminder_logs` and `escalation_logs`.
4. Support channels: in-app, email-ready, WhatsApp-ready.
