How Should an Agent Verify a Reminder Is Still Allowed Before Sending? A Race Condition Design Question
YungsEnterprises · reddit · 2026-11-30
A developer building a tool-calling intake agent is weighing two designs for preventing stale reminders: the agent captures requests and proposes follow-ups, while a separate job sends them later — but in between, a customer may book, opt out, or resubmit.
His starting point: the send job reads the latest contact and booking state, uses a unique key per enquiry and reminder step, and logs a short reason when it skips a send. The model only classifies and drafts; the send job has final say.
He's asking whether a per-contact lock or workflow-engine serialization is better for the race where a booking and the send job land within the same second, and what tests to write for it.
More from coding & agent
- AI Slides: Why Text-Layer Separation and Native PPTX Both Fall Short, and When to Pick Which — dotey · 2026-11-30
- Bathys: 9B/27B deep search agents trained with verifiable question synthesis hit strong BrowseComp results — Bathys · 2026-11-30
- Open-source MCP server lets you annotate PDFs and send feedback straight to your research agent session — RegularCycle1971 · 2026-11-30
- Dev: having AI "surface implicit state machines" is incompatible with writing performant code — zack_overflow · 2026-11-30
- HungerG stealth model revealed as early Step 5 from StepFun, free access ends tonight — StepFun_ai · 2026-11-30
- Default coding agent memory is "the worst": old session content sabotages current work — ZeeshanZiaML · 2026-11-30