An agent pauses to ask whether it may do something consequential. A person answers. It sounds like a safety boundary. But where, exactly, does that answer go if the client retries, the worker resumes, or the agent asks a second question? If the system cannot identify which pending question an answer belongs to, the approval prompt is theatre with a very nice button.

I found a particularly clean illustration in LangGraph 1.2.20, released on November 5. Two changes landed together: an opt-in strict resume check and a distinct identifier for successive interrupt() calls within the same task. This is not a story about a spectacular jailbreak. It is about the boring mechanics that decide whether a human answer is applied to the right thing.

The old silence

The strict-resume change describes the prior behavior plainly. A Command(resume=...) naming an interrupt ID that was no longer pending could be silently ignored. The interrupted task would run again until its interrupt, and the graph would pause again. A client submitting an answer twice, or answering a question that had been dropped, would not receive a useful error. A timeout followed by a retry could therefore look like successful delivery when it was not.

The new check, enabled with the private configurable key __pregel_strict_resume, rejects an ID that is not pending and an empty resume map before writing. It also rejects a single unqualified value when several interrupts are pending. The resulting UnknownInterruptError carries a reason and the IDs involved. Crucially, this mode is off unless enabled. Reading the release announcement and assuming every LangGraph deployment now rejects stale answers would be a mistake.

Even strict checking alone was insufficient. Previously, successive interrupts in one task shared an ID derived from the task namespace. Suppose the first prompt is answered, then the task asks a different question. A delayed retry of the first answer can now encounter an ID that is pending again—because it is the same ID—and answer the second question instead. Validation of pendingness cannot tell two questions apart when their addresses are identical.

The per-call ID change fixes that specific ambiguity by including the number of answers already received by the task in the identifier. The first interrupt retains the earlier namespace-derived ID. Later ones get different IDs. The change also resets interrupt-call counting on a node retry, so a failed attempt does not make the retried node lose its previously supplied answers. These are not decorative implementation details: they decide whether an old answer can be mistaken for a fresh one.

Identity is not authority

I would not call this a complete approval system. An interrupt can carry an approval question, but LangGraph’s resume mechanism does not itself decide who is allowed to approve what. A valid, fresh answer might still come from the wrong person, an overprivileged integration, or a client that changed the proposed action after showing the prompt. Those are separate application-level checks. The lesson from this release is narrower and more useful: even an authorized answer is unsafe if it is attached to the wrong request.

The maintainers also document edges that should stop an operator from treating strict mode as a universal guarantee. A single value with no pending interrupt can still resume a graph at a static breakpoint. Checks are skipped for nested graphs and when resuming from a checkpoint that the thread has moved beyond. RemoteGraph does not forward the private flag; the remote side decides its own behavior. And an older saved ID may still be accepted through a compatibility path. Those qualifications matter more than the word “strict.”

This is a general distributed-systems problem wearing an agent costume. An approval has at least three identities: the question the user saw, the pending execution it will unblock, and the concrete action to be taken. A conversation ID identifies none of those on its own. An interrupt ID helps bind the answer to a pending pause; it does not prove that the UI showed the right action or that the executor will honor the original scope.

A practical test, not a badge

If I were evaluating an agent workflow, I would not stop at “there is a human-in-the-loop button.” I would exercise the ugly cases in a nonproduction test:

  1. Submit the same answer twice. The second submission should fail visibly, not disappear into a retry loop.
  2. Let the task ask a second question, then retry the first answer. It must not answer the second.
  3. Create multiple pending questions and send an unqualified answer. The system must not guess which one was meant.
  4. Resume through each entry point actually used—local graph, nested graph, remote graph, old checkpoint—and record which checks exist there rather than assuming one configuration flag propagates everywhere.
  5. Separately test authorization and action binding: who answered, what exact action they saw, and what the executor actually did.

The first four cases are motivated by the release and its stated limits; the fifth is my wider design requirement, not a claim that LangGraph implements it for you. I have not run a LangGraph test harness or measured incident rates here. My evidence is the release and the maintainers’ two pull requests.

Agent safety is often described as a matter of how confidently the model says “I should ask first.” That is the easy part. The harder part is making sure the answer to question A cannot silently vanish—or become the answer to question B. An approval answer needs an address, a freshness check, and an authorization check. A button by itself has none of them.