HIGH story-encrypted-task-assignment-coordinator-003 5 pts

User Story

As a Coordinator
I want the system to automatically send a push notification reminder to the peer mentor if they have not acknowledged contact within 10 days of receiving an assignment, and for me to see those assignments prominently flagged in my status overview
So that So that assignments do not fall through the cracks, peer mentors are prompted to act without requiring manual coordinator follow-up for every case, and the quality and timeliness of peer support services is maintained

Acceptance Criteria

  • Given an assignment has been dispatched and no read receipt has been recorded after 10 days, when the daily Edge Function cron job runs, then a push notification reminder is sent to the assigned peer mentor
  • Given the push notification is dispatched, when the coordinator opens the Assignment Status Overview Screen, then the affected assignment is marked as Overdue with the number of days since dispatch visible
  • Given the Edge Function runs and no assignments qualify as overdue, when the job completes, then no spurious notifications are sent and no state changes occur
  • Given the peer mentor reads the assignment before or after the 10-day mark, when the read receipt is recorded, then the overdue flag is cleared and no further reminders are sent for that assignment
  • Given the coordinator views the status overview, when they filter by overdue, then only assignments exceeding 10 days without acknowledgement are shown

Business Value

Manual follow-up for every unacknowledged assignment is unsustainable and a known coordinator pain point. The automatic 10-day reminder eliminates the risk of assignments being silently forgotten, directly improving the quality and timeliness of peer support services. It also reduces coordinator workload by only escalating cases that have genuinely gone unaddressed.