Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Turn companion messages no longer count as the first user message

Messages marked turnCompanion are skipped when Claude Code places input attachments or looks up the first user message

Group of 2 Under the hood Internal Changes
JSON All of v2.1.311
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File MentionsArea: what it touches
Internal ChangesKind: in v2.1.311,
Internal ChangesSection of the release

What

Some user messages carry a turnCompanion mark. These are added alongside a turn rather than typed by you as the turn's prompt. Two places that look for "the first user message" now skip them:

  • Input attachments, meaning extra content added to your input, are now inserted after the first user message that is not a turn companion. Before, they always went in at the second position in the message list.
  • A helper that finds the first user message now passes over messages with turnCompanion set. Before, it took the first user message of any kind. What the helper is used for, such as titles or summaries, was not confirmed.

Why

Attachments now sit in a different place in the prompt sent to the model. Text injected as a companion is also no longer treated as the conversation's first prompt.

See this entry in the whole of v2.1.311 →

Feedback