One refund, three payouts: approval flows break when the world changes between yes and execute
No-Conflict4823 · reddit · 2026-12-04
A Reddit write-up argues most human-in-the-loop agent approval flows authorize a plan at review time and never re-check it at execution time.
The failure case: a support agent's $480 refund sat in a manager queue over a weekend. Monday the manager approved and the agent paid out — but by then the customer had already received a replacement and a second agent had issued a partial credit. One problem, paid three times. Nothing was technically broken: the approval was real, the amount matched, the tool call succeeded. It was just approval for a world that no longer existed.
Key points:
- Idempotency keys cover retries, not "the facts changed while it waited";
- The same gap applies to coding agents merging PRs after main moved, data agents running migrations against last week's schema, and browser agents submitting forms after page state changed;
- Approvals should carry the exact action and arguments, a TTL, and a precondition re-evaluated against the source system right before the tool call — on failure, return to the reviewer with what changed.
The author asks teams running prod agents: do your approvals expire or get re-validated against live state?
More from coding & agent
- One month of agent traffic: 83% of input tokens were cache reads — MichelleZhao91 · 2026-12-04
- Notion Pitches Itself as the Context Hub for Claude, ChatGPT, Grok and More — nbaschez · 2026-12-04
- Fix agent memory loss: keep an append-only event log and let the model query it with SQL — arpit_bhayani · 2026-12-04
- 5 AI predictions for 2027: inference engineering, small specialized models, RL environments as assets — cneuralnetwork · 2026-12-04
- Qwen4-35B-A3B lands on Ollama: local coding and agentic model with image understanding — Alibaba_Qwen · 2026-12-04
- Thread author admits his audit writeup is "a bit Claudey" — then builds yet another fix — mattbeane · 2026-12-04