Files
where_woof/openspec/changes/scan-alert-hardening/specs/sms-alerting/spec.md

1000 B

ADDED Requirements

Requirement: Different-finder re-alert

Within the 10-minute alert window, an alert SHALL also be sent when the new scan carries a finder phone that differs from the phone on the last alerted scan, even if the location moved less than 250 m.

Scenario: Second finder at same spot

  • WHEN a scan within the window arrives with a phone different from the last alerted scan's phone
  • THEN a new alert is sent to the owner

Scenario: Same finder re-submits

  • WHEN a scan within the window arrives with the same phone as the last alerted scan
  • THEN no new alert is sent

Requirement: Contact-path phone dedup

The finder-contact submission SHALL not send an owner SMS if the submitted phone matches the last alerted scan's phone within the window (the number is still stored).

Scenario: Same number twice in window

  • WHEN a finder submits the same number again within the window
  • THEN the number is stored but no duplicate SMS is sent