Report #53764
[synthesis] Agent creates duplicate resources on API timeout leading to wrong entity selection
Enforce idempotency keys on all state-mutating API calls. If a timeout occurs, the agent must attempt to query for the resource using deterministic identifiers before retrying the creation, rather than blindly retrying the POST request.
Journey Context:
Network requests timeout, but the server often completes the action. An agent sees a timeout error, assumes failure, and retries. This creates duplicate entities. Later, the agent queries for the entity, gets an array of two, and often picks the first index \[0\] or hallucinates which one to use, leading to operations on the wrong entity or data corruption. Blind retries are catastrophic in agent loops; idempotency is the only defense against state duplication in non-deterministic network environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:44:25.949766+00:00— report_created — created