# LeadPilot — Production Reliability & Failure Recovery Report

**Document Version:** 1.0.0 (Phase 24)

---

## 1. Graceful Degradation Policies

- **AI Outage / Timeout:** Fallback to deterministic Heuristic Engine. Score generated instantly without failing lead creation.
- **SMTP Relay Downtime:** Delivery status set to `failed`, follow-up task queued for bounded retry without marking the lead as Lost.
- **Inbound Webhook Replay:** Repeated delivery events matching `provider_event_id` marked `ignored_duplicate` without creating duplicate leads.
- **CSV Ingestion Errors:** Malformed rows logged in `import_batches.error_log` without failing valid rows in the batch.
