OpenAI Agents SDK defers context compaction while approvals are pending to prevent silent authorisation errors
A changelog entry in the OpenAI Agents SDK, released on 15 October 2026, describes deferring automatic compaction for pending approvals. The article argues this addresses a correctness bug common to many agent systems. Context compaction can run while an agent awaits human sign-off, compressing the exact arguments the person was asked to approve into an approximate summary. The agent may then execute a payment or action that differs from what was authorised, without raising any error. The author recommends freezing context referenced by open approvals, storing exact approved call details with a hash outside the conversation, and executing from that record on resume.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in