{"version":"2.1.287","anchor":"environment-block-omits-shell-and-os-version-when-unknown","canonical_anchor":"environment-block-omits-shell-and-os-version-when-unknown","heading":"Claude is no longer told an unknown shell or OS version","tier":"notice","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/environment-block-omits-shell-and-os-version-when-unknown","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### Claude is no longer told an unknown shell or OS version\n\nThe environment details sent to Claude now skip the Shell and OS Version lines when those values are unknown\n\n**Unclear.** It is not clear what the other newly conditional line contains or when it is left out.\n\n**What**\n\nClaude Code tells Claude about your environment at the start of a session. Before, it always included a `Shell:` line and an `OS Version:` line. Each is now included only when the value is known. One more line in that block is now also included only under some condition.\n\n**Why**\n\nThe text sent to Claude changes for sessions where the shell or OS version is unknown, so Claude no longer sees an empty value for them.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}