Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.224 Home All releases olderv2.1.223 v2.1.225newer

Drain loops should break on budget_reached, not just terminal stops

Under the hood
Useful2 Signal2
Agent SDK Docs

Skill guidance now says polling loops should break on any stop reason except requires_action.

What

The skill's client-patterns guidance changed its advice for loops that poll a session: break on any stop reason that is not requires_action, rather than only on terminal ones. budget_reached is listed as resumable only by changing the budget.

Details
  • The sample loop comment moved from // end_turn or retries_exhausted - both terminal to also name budget_reached.
Evidence

break // end_turn, retries_exhausted, or budget_reached \u2014 see list below

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.224 →