Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.224 ·

Drain loops should break on budget_reached, not just terminal stops

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

Under the hood Improvements
JSON All of v2.1.224
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Agent SDK DocsArea: what it touches
ImprovementsKind: in v2.1.224,
ImprovementsSection of the release
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.

See this entry in the whole of v2.1.224 →

Feedback