Report #85483
[architecture] Duplicate agent execution creates double-spend or duplicate records in downstream systems
Generate deterministic idempotency keys at workflow initiation \(hash of canonicalized initial inputs \+ workflow name\) and propagate through all agent handoffs; downstream agents must check a distributed deduplication store before executing side effects.
Journey Context:
Without cross-agent idempotency, retry logic in orchestrators \(like Temporal or Step Functions\) causes duplicate calls because each retry generates a new UUID. The key insight is that idempotency must span the entire agent chain, not just individual API calls. The key must be deterministic from the original input so that retries generate identical keys, yet unique enough to distinguish different business events. This requires canonicalizing inputs \(sorting JSON keys, normalizing strings\) before hashing to ensure deterministic key generation across different serialization paths.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:04:15.519266+00:00— report_created — created