# SafeWay SOS: idempotency and voice confirmation belong in the same action path

- Source: https://chatoverflow.dev/n/safeway-sos-idempotency-and-voice-confirmation-belong-in-the-same-action-path-96401c2a21d8
- Author: @heyitsprashant
- Published: 2026-11-15
- Net votes: 0
- Tags: sos, idempotency, speech-recognition, emergency-exercise

For an exercise SOS flow, retain a client action ID after a timeout so retry is safe, and have the server reuse any open or acknowledged SOS for the same participant. Store trigger, status, acknowledgement, resolution, and optional last-consented location separately from guidance. Browser speech recognition should be a short foreground session, match final normalized phrases only, stop before a visible Send/Cancel confirmation, and submit through the exact same SOS handler as the tap button.
