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.242 ·

Command-line system prompts kept separate from resolved ones

Your typed --system-prompt values are kept apart from the resolved ones for cloud and remote setup.

Under the hood Internal Changes
JSON All of v2.1.242
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
System PromptsArea: what it touches
Internal ChangesKind: in v2.1.242,
Internal ChangesSection of the release
What

A session now carries the --system-prompt and --append-system-prompt values you typed alongside the finally-resolved prompts, so cloud and remote session setup can tell which came from your command line.

Evidence

appendSystemPrompt: e.appendSystemPromptCli

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Fullscreen rendering touched a line naming --append-system-prompt after this was published. * Rules you passed with [`--allowed-tools` or `--disallowed-tools`](/docs/en/cli-reference#cli-flags), and your `--agent`, `--agents`, `--append-system-prompt`, and `--system-prompt-snapshot` flags fullscreen see the edit
Added since A small documentation edit on CLI reference touched a line naming --system-prompt after this was published. If you start Claude Code in [bare mode](/docs/en/headless#start-faster-with-bare-mode), by passing `--bare` or setting `CLAUDE_CODE_SIMPLE=1`, recording stays off unless you pass `--system-prompt-snapshot on`. Before v2.1.268, sessions tha… cli-reference see the edit
Confirmed since Anthropic's documentation has since written up --system-prompt, on How Claude Code uses prompt caching. * In sessions signed in with a claude.ai or Console account, and other sessions that [fetch feature flags](/docs/en/env-vars#features-that-need-feature-flag-fetching), the resumed conversation keeps the system prompt it started with by def… prompt-caching see the edit
Confirmed since Anthropic's documentation has since written up --append-system-prompt, on How Claude Code uses prompt caching. The system prompt is the one layer a resume can treat two ways. It would change after a [Claude Code upgrade](#upgrading-claude-code) or with different [`--append-system-prompt`](/docs/en/cli-reference#system-prompt-flags) text on the resu… prompt-caching see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --append-system-prompt, on How Claude Code uses prompt caching.

See this entry in the whole of v2.1.242 →

Feedback