1. The Two Communication Modes: Emergency Incident vs Vehicle Movement
Not all roadside scans are accidents. VaahanSafe differentiates between two distinct operational modes:
2. The Fallback Escalation Cascade: Timer-Based Routing
In an emergency, if the primary contact is in a meeting, driving, or has their phone on silent, seconds matter. VaahanSafe executes an automated, timer-governed escalation cascade:
3. Preventing Notification Storms: Edge Idempotency
At a major highway accident, ten different bystanders may attempt to scan the vehicle QR code within two minutes. Without rate-limiting, the victim's family would be overwhelmed by a paralyzing flood of simultaneous calls and SMS alerts.
VaahanSafe enforces an edge-backed deduplication window using Cloudflare Queues and D1. When a scan event occurs, an idempotency key `qr_{id}_incident_{window}` is locked for 8 minutes. Subsequent scans within this window are linked to the existing active incident session, allowing additional helpers to view status without triggering duplicate voice calls.