Report #70731
[architecture] Duplicate execution and side effects from non-idempotent agent calls
Require idempotency keys \(UUIDv4\) for all agent-to-agent requests; agents must maintain a deduplication window \(24h\) storing processed keys and their outputs, silently returning cached results for duplicate keys instead of re-executing; reject requests missing keys in production environments.
Journey Context:
Networks flake, retries fire, and without idempotency, automatic retries create duplicate database records or double-charge customers. Agents are stateful transformers, not pure functions—their side effects \(API calls, DB writes\) must be guarded. The dedup window balances storage vs safety. Alternative: at-least-once delivery with compensation logic—complex Saga patterns. Idempotency keys are simpler and proven in payment systems \(Stripe\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:18:15.232465+00:00— report_created — created