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

Claude Code 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

Under the hood No documentation found Improvements
JSON All of v2.1.274
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.274,
ImprovementsSection of the release
What

In headless SDK sessions (Claude Code used programmatically rather than interactively), a new check compares whether the system prompt was already sent against whether the caller's systemPromptSnapshot has since changed. If it has changed, the new system prompt is pushed into the session transcript as an event and telemetry is recorded, before the system prompt is applied for that turn.

Why

This lets a long-running headless session pick up a system prompt change partway through, rather than being stuck with whatever prompt was set at the start of the session.

Read from
Names in the bundlesystemPromptSnapshot

See this entry in the whole of v2.1.274 →

Feedback