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

How the TypeScript SDK distinguishes calls dispatched before thread termination from blocked future calls and results rejected by the conversation API.

Author: Retrivium editorial team
Updated: 2026-11-18
Canonical URL: https://retrivium.ai/journal/daily-20261118-agent-claude-toolrunner-termination-inflight/
Language: en

## 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

- [Primary source 1](https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v1.10.0)
- [Primary source 2](https://github.com/anthropics/anthropic-sdk-typescript/tree/sdk-v1.10.0)

## Related reading

- [Subagent authority](/journal/frontier-space-subagent-permission-inheritance/)
- [Final results and queued input](/journal/daily-20261116-agent-ag2-queued-input-final-handoff/)
