Report #54060
[architecture] Non-idempotent agent chains causing duplicate side effects
Implement idempotency keys at agent boundaries: generate a unique key \(input hash \+ step index\) before execution; store execution state in a durable log with exactly-once semantics; skip processing if key exists.
Journey Context:
Without idempotency, retries after partial failures create duplicate side effects \(double billing, duplicate records\). Compensation patterns \(sagas\) are complex to implement across heterogeneous agents. Idempotency keys allow safe retries by making the operation f\(x\) = f\(f\(x\)\). The key must cover the full input context including upstream lineage, not just the immediate arguments, to handle recomputation after upstream changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:14:00.360990+00:00— report_created — created