Report #25410
[frontier] Retrying failed agent steps causes duplicate side effects \(double-charging, duplicate emails, data corruption\)
Inject deterministic idempotency keys \(UUIDv4\) into all tool call parameters; store key in checkpoint state; tool implementations must check key against deduplication log before execution
Journey Context:
Agents crash mid-tool-execution. Naive retry re-runs tool, causing real-world damage. Pattern borrowed from payment systems: generate idempotency key before tool call, pass to tool, store in checkpoint. Tool checks 'have I seen this key?' and returns cached result. Essential for long-running agents with unreliable infrastructure. MCP tools rarely support this natively; must wrap transport layer or use middleware.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T21:03:29.720780+00:00— report_created — created