Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.288 ·

Exported traces now hide account memory text in logged prompts

With OTEL_LOG_USER_PROMPTS on, logged prompts, outputs and tool data are now scrubbed of account memory text

You'll notice Improvements
JSON All of v2.1.288
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
TelemetryArea: what it touches
ImprovementsKind: in v2.1.288,
ImprovementsSection of the release

Unclear Exactly what the cleaning step removes beyond account memory text is not shown.

What

Claude Code can send traces (records of what happened in a session) to monitoring tools using OpenTelemetry, a standard for that kind of data. With OTEL_LOG_USER_PROMPTS set, these traces include prompt text. That text used to be logged as it was.

The following are now passed through a cleaning step that removes account memory text, the notes saved to your account's memory:

  • system prompt and your prompts
  • model output
  • tool input and results
  • errors

If the account memory text cannot be picked out, the content is left out entirely.

Why

If you export traces, your saved account memory no longer ends up in them. Some fields may come through empty.

Read from
Names in the bundleOTEL_LOG_USER_PROMPTS
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.

Confirmed since Anthropic's documentation has since written up OTEL_LOG_USER_PROMPTS, on Monitoring. | `new_context` | `claude_code.interaction` | The user prompt | `OTEL_LOG_USER_PROMPTS` | monitoring-usage see the edit
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 doubtExactly what the cleaning step removes beyond account memory text is not shown.
Anthropic's documentation agreesAnthropic's documentation has since written up OTEL_LOG_USER_PROMPTS, on Monitoring.

See this entry in the whole of v2.1.288 →

Feedback