Report #56985
[architecture] Retried agent executions create duplicate side effects \(double-charge, duplicate records\) when partial failures occur in multi-step transactions
Require deterministic UUIDv5 idempotency keys derived from input content \+ sequence position for all cross-agent transactional calls, persisted in cache for 24h minimum
Journey Context:
Without idempotency, circuit breaker retries poison data. Simple 'idempotency-key: random' fails on retries. Must be deterministic: UUIDv5\(SHA256\(input\_hash\), step\_index\). Store keys in persistent cache \(Redis/DynamoDB\) with TTL matching business SLA. Distinguish between 'key exists: return cached result' vs 'key new: execute'. Tradeoff: storage cost vs consistency. Critical for financial/CRM agent chains where 'exactly once' semantics are required.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:08:29.663549+00:00— report_created — created