Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Control-plane responses can now be redacted for hosted/background sessions

SDK control responses like get_context_usage and get_usage now strip sensitive detail for hosted/background sessions

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSDKwhat it touches
KindInternal Changesin v2.1.271,
Group of 2 Under the hood

SDK control responses like get_context_usage and get_usage now strip sensitive detail for hosted/background sessions

What

  • New helper functions check whether a session redactsPersistedLane() (true for hosted/background sessions where the transport persists) and, when true, strip sensitive detail from SDK control responses.
  • get_context_usage responses omit memoryFiles, and get_usage responses exclude usage behaviors data when the session's lane is redacted.
  • MCP server config secrets are also stripped from responses in this case.

Why

This prevents potentially sensitive details, such as memory file contents, MCP config secrets, or usage behavior data, from being returned over the SDK control channel for hosted or background sessions where that data shouldn't be exposed.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say which sessions or lanes trigger redactsPersistedLane, or why.

See this entry in the whole of v2.1.271 →