HIGH story-peer-mentor-pause-status-management-coordinator-005 8 pts

User Story

As a Coordinator
I want to receive timely in-app and push notifications before my certification expires
So that I can renew my certification before it lapses, avoiding automatic removal from the active roster and the chapter website

Acceptance Criteria

  • Given the peer mentor's certification expires within 30 days, when the nightly scheduler (394-nightly-scheduler) runs the expiry check via 389-certification-expiry-checker, then a push notification is sent to the peer mentor warning them of impending expiry
  • Given the peer mentor receives the expiry push notification, when they tap it, then they are deep-linked to the certification renewal screen (438-record-renewal-screen)
  • Given the certification expires within 7 days, when the app is opened, then a certification expiry warning banner (386-certification-expiry-warning-banner) is persistently shown on the home screen
  • Given the certification has expired, when the nightly scheduler runs, then the peer mentor's status is automatically updated to inactive via 388-pause-management-service and 392-peer-mentor-status-repository
  • Given HLF website sync is configured and certification has expired, when the status update runs, then 391-hlf-website-sync-service removes the mentor from the chapter website
  • Given the certification has expired and the mentor is deactivated, when the coordinator views the pause roster (384-coordinator-pause-roster-screen), then the mentor is listed with a 'certification expired' reason for their inactive status
  • Given the screen reader is active, when the expiry warning banner is displayed, then the expiry date and consequences are announced clearly

Business Value

Automatic certification expiry enforcement is a compliance requirement for HLF and protects the organisation from liability arising from unqualified mentors being listed as active. Early warnings give mentors enough lead time to renew without disruption, maintaining the size of the active mentor pool and reducing the coordinator's burden of manually tracking renewal deadlines across potentially hundreds of mentors.