You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
ImprovementsKind: in v2.1.285,
ImprovementsSection of the release
What
A headless run works without the interactive screen. When Claude Code creates one in the cloud, it now passes along the turn limit set with --max-turns. Before, the limit was not forwarded. Claude Code also records whether the cloud service confirmed the limit, and keeps that confirmation with the session.
Claude Code now also reacts when the service reports that the session already exists.
Why
A turn limit you set on a cloud headless run can now reach the cloud service, which can then honour it and confirm it back.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether the cloud service actually enforces the turn limit is not known.
Anthropic's release notes agreeFixed CLAUDE_CODE_RESUME_INTERRUPTED_TURN re-running a turn that had ended at --max-turns