Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

Background sessions now drop and report invalid environment variables

Background sessions now reject invalid environment variables instead of silently passing them through

You'll notice Improvements
JSON All of v2.1.280
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.280,
ImprovementsSection of the release
What

When Claude Code hands environment variables to a background or "spare" session, it now checks each one: variables with invalid names, non-string values, or NUL bytes in the value are dropped rather than passed through. A warning is logged naming which keys were dropped, noting that "programs it starts will not see it," and the drop is recorded in telemetry by category.

Why

This prevents malformed environment variables from silently breaking or misbehaving in background sessions, and makes it clear in the logs when and why a variable didn't make it through.

See this entry in the whole of v2.1.280 →

Feedback