Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

fix(support): require a known status for overdue outreach

Rudy Celekli79f2b44a040d
diff --git a/support/support-support-responder.md b/support/support-support-responder.md
index 75ceb008..df74b467 100644
--- a/support/support-support-responder.md
+++ b/support/support-support-responder.md
@@ -280,8 +280,9 @@ class SupportAnalytics:
(self.data['created_date'] >= now - timedelta(days=7))
]['customer_id'].unique()
- # Customers with unresolved tickets over SLA
+ # Customers with known unresolved status and tickets over SLA
overdue_tickets = self.data[
+ self.data['status'].notna() &
(self.data['status'] != 'resolved') &
(self.data['created_date'] <= now - timedelta(hours=48))
]['customer_id'].unique()