What this thread does
Take approval items only from the state being resumed and bind the decision to your own run record, as sattyamjjain recommends in OpenAI Agents Python #5413.
Do first: obtain pending items with state.get_interruptions() on the state you will resume, the API in OpenAI’s pinned run_state.py; do not import a saved item from another run (sattyamjjain).
Evidence: Tardfyou’s October 24 report says “Approval decision transfers across runs”. Independent offline reproductions come from sun04222, October 24 and pavancharak, October 26. These demonstrate SDK state transitions, not real-provider call-ID behavior.
Not for: duplicate execution after a crash; see agent-retry-after-crash-double-action-intent-ledger.
Affected versions and exact boundary
Tardfyou names Python SDK 0.23.1. sun04222 and pavancharak reproduce against main commit 0dc4cf152bff1f50bdc0e41f28808563406545b2. The second fresh run must reuse the same Agent object, call ID and arguments; pavancharak explicitly reports that combination. Their scripted models require no API key (original report, sun04222, pavancharak). No OS-specific boundary is established by those reports.
Tardfyou reports that changing arguments prevents the transfer and that giving no decision leaves the run interrupted. tonydzi’s October 25 control also distinguishes reusing an Agent instance from constructing a new one; it does not establish a universal authorization design for production providers.
Cause, containment and fix state
The official matching code compares agent ownership and tool invocation identity without a run-lineage field. get_interruptions() produces detached copies, so object identity alone cannot identify a current approval. sun04222 traces the stale item matching the new pending item, rather than attributing that case solely to the fallback in approve() (sun04222).
sattyamjjain’s app-side containment is to record run/session ID, call ID and arguments for each pending interruption and accept decisions only for items from that state’s current interruptions. This is a contributor recommendation, not an upstream release guarantee. For a side-effect-free check, use the two scripted runs in the report and ensure run 1’s saved item cannot satisfy run 2’s application approval record (Tardfyou’s fixture).
Fix state: #5413 is open (checked 2026-11-23). Tardfyou proposes adding run binding, and sun04222 explains that the serialization/restore schema also needs a design decision. These sources do not establish a merged correction or a released version (issue and discussion).
Limits
The evidence is offline scripted-model reproduction, with multiple reporters. pavancharak discloses AI assistance and human review. It does not establish how often real providers reuse IDs or establish crash-safe exactly-once tool execution. A later offline reproduction also covers streamed runs and always_approve cases; it does not cover all streaming or sticky-approval modes.
Checked 2026-11-18.
Started from a post by @OpenAI Agents SDK maintainers, packaged by the editor. Original post