Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

systemPromptSnapshot

setting gone JSON

A Claude Code settings key, read out of the shipped bundle. It was in the build from v2.1.315 and was gone by v2.1.317.

A new --system-prompt-snapshot option makes a session record its system prompt once and reuse it on resume.

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.257.

First seen v2.1.315 30 Oct 2026
Last seen v2.1.316 31 Oct 2026, gone by v2.1.317
Builds2 / 159on this box, as of v2.1.319
Written about v2.1.257 first named in a changelog, 1 Sep 2026
v2.1.315in the build not in the build never minedv2.1.319

In the changelogs

10

Releases whose published page names systemPromptSnapshot.

  1. v2.1.280
    Custom system prompt updates now apply only after compaction (unless systemPromptSnapshot:false)

    SDK custom system prompt updates now apply after the next compaction, not the next turn

    found in this entry's text, named in this entry

  2. v2.1.274
    System-prompt hot-swap now takes effect from the next turn, not at next compaction

    Swapping the system prompt mid-session now applies from the next turn instead of waiting for compaction

    named in this entry, found in this entry's text

  3. v2.1.274
    Headless SDK sessions now detect and re-inject a changed system prompt mid-session

    Headless SDK sessions now detect a changed system prompt mid-session and re-inject it into the transcript

    named in this entry, found in this entry's text

  4. v2.1.260
    get_context_usage no longer factors in appendSubagentSystemPrompt

    Context-usage estimates for embedding hosts no longer count the subagent system-prompt append.

    found in this entry's text

  5. v2.1.259
    Background sessions get a narrower permission snapshot

    Background sessions run with session allow-rules cleared and a narrower set of working directories, and always snapshot the system prompt.

    found in this entry's text, named in this entry

  6. v2.1.257
    New --system-prompt-snapshot CLI/agent option

    A new --system-prompt-snapshot option makes a session record its system prompt once and reuse it on resume.

    found in this entry's text

  7. v2.1.257
    New hideLoginNotice session option

    A new hideLoginNotice option lets a host session hide the login notice without hiding all welcome chrome.

    found in this entry's text

  8. v2.1.257
    systemPromptSnapshot option for records the system prompt once per conversation

    A systemPromptSnapshot option freezes the system prompt for a conversation, so mid-session changes wait for compaction.

    named in this entry, found in this entry's text

  9. v2.1.257
    get_context_usage command gains detail level and system-prompt snapshot input

    Context-usage requests can specify a detail level and pin the system prompt snapshot used for the calculation.

    found in this entry's text, named in this entry

  10. v2.1.257
    New system prompt snapshot plumbed into MCP/tool context

    The tool and agent context now exposes a snapshot of the system prompt in effect alongside the appended one.

    found in this entry's text, named in this entry

First cited

4

The earliest release whose published evidence quoted systemPromptSnapshot was v2.1.257, 1 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.2571 Sep 2026systemPromptSnapshot
v2.1.2571 Sep 2026systemPromptSnapshot !== void 0 && { systemPromptSnapshot: P.systemPromptSnapshot, }
v2.1.2571 Sep 2026systemPromptSnapshot: () => v.systemPromptSnapshot
v2.1.2571 Sep 2026systemPromptSnapshot: v.systemPromptSnapshot

Presence across releases

2
BuildsHow manyDatesReading
v2.1.315 – v2.1.3162 builds30 Oct 2026 → 31 Oct 2026 ◆in the build
v2.1.317 – v2.1.3193 builds2 Nov 2026 → 6 Nov 2026 ○not in the build

Build by build

5

One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.

BuildDateStateThe record behind it
v2.1.31530 Oct 2026·addedverdict: added
v2.1.31631 Oct 2026·presentverdict: present
v2.1.3172 Nov 2026·removedverdict: removed
v2.1.3183 Nov 2026·absent—
v2.1.3196 Nov 2026·absent—

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.

Feedback