Phase 5
Safety workflows built around consent, urgency, and retention limits.
GPS-style session tracking only activates after explicit consent, trusted-contact links expire automatically, and SOS actions preserve the evidence trail needed for real support ops.
Location consent + tracking
Session GPS data is explicitly time-boxed, scoped by consent, and deleted after retention expiry.
Client grants session-tracking consent before in-home travel begins.
Therapist ETA and session pings can update the live safety timeline.
Retention cron turns off trusted shares and removes stored location pings after 7 days.
Consent not granted yet.
Trusted contact share
Create a time-limited public link so a trusted contact can follow live session progress.
No share link created yet.
SOS escalation
3-second countdown, emergency outreach, and admin escalation are modeled from one trigger.
The current payload sends the booking id, last known coordinates, emergency contact, and a note to the SOS alert workflow.