How do I stop an AI-built reminder app from sending customers the same message twice when something fails?
Require duplicate protection before enabling automatic sending. Tell the builder that retrying a failed job must not create another customer message when the original message was already accepted for delivery.
Beyond Vibe Coding by Addy Osmani frames AI as an engineering collaborator rather than a replacement for human judgment. Apply that distinction here: AI can implement the reminder workflow, but someone must define what safe behavior means when delivery status is uncertain.
A timeout does not necessarily mean nothing happened. The messaging service may have accepted a message even though your app never received confirmation. Blindly retrying can produce duplicates.
Ask for these controls in plain language:
- Give each intended reminder a stable reference that stays the same across retries.
- Record its status and the messaging provider's reference when available.
- Use the provider's duplicate-prevention feature if it offers one.
- Check uncertain deliveries before sending again, or route them for human review.
- Prevent overlapping scheduled runs from processing the same reminder simultaneously.
- Provide a pause control that stops new sends without deleting the history.
Ask a technical reviewer to demonstrate what happens when a request times out, a worker restarts, and the same scheduled task runs twice. The required outcome is controlled recovery, not merely an error notification.
My recommendation: begin with a review queue where staff approve outgoing reminders. Enable automatic sending only after recovery behavior has been checked. If the provider cannot support reliable duplicate protection, retain a manual decision step for uncertain deliveries rather than promising exactly-once sending.
Category: Vibe Coding for Non-Developers