TECHNOLOGY

Claude tool-runner termination: execution and posted results are separate outcomes

In this article
THE QUICK TAKE

Track dispatch, completion and result publication as three separate observations.

Termination changes dispatch, not the past

The 17 November 2026 sdk-v1.10.0 release of Anthropic’s TypeScript SDK was published at 18:28:05 UTC. Its session tool runner no longer starts or yields calls belonging to a terminated thread after observing that state. This 18 November analysis focuses on event ordering. A termination event can prevent future dispatch while a call started earlier still finishes; those outcomes are compatible and should not be reduced to one ambiguous cancellation label.

Establish where the runner learned the state

The relevant boundary is the runner reading the thread’s termination event. A model or user interface announcing that work should stop is not equivalent to that observation reaching every consumer. An operational timeline should distinguish the decision to terminate, publication of the event, receipt by the runner and dispatch of a tool. Without those points, a late result can be mistaken for a newly started unauthorized call, or a newly started call can be excused as old work without supporting evidence.

A completed call can have an unposted result

The release describes an already started call finishing and being yielded with posted:false when the API refuses its result. Completion and successful publication therefore have separate meanings. An application must not turn that result into a normal confirmed conversation entry merely because the tool returned data. It should also avoid automatically repeating the external action to make the transcript look complete. A repeat can duplicate a side effect even though the conversation service never accepted the first result.

Test both sides of the dispatch boundary

A proposed fixture can pause an inert tool immediately after dispatch, deliver termination to the runner and then let the tool return a harmless value. Observe execution count, yielded status and publication separately. A companion fixture supplies a pending call only after termination is observed and expects no execution. Include denied calls and calls owned by another tool consumer to check that an adapter does not reintroduce them. These are controlled test designs, not a report that Retrivium ran the SDK or discovered a production incident.

Preserve the distinction in adapters and interfaces

A user interface can legitimately show that local work completed while the conversation rejected its result. That explanation is more useful than silently dropping the event or presenting it as a new accepted answer. Persisted synthetic test records should retain the SDK version and ordering assumptions. They do not require customer prompts or secrets. The resulting acceptance contract covers future dispatch and result publication in this runner; it does not promise rollback of remote changes, termination of unrelated processes or exactly-once execution across every retry and reconnect path.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles