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.
Names in the bundleOTEL_LOG_USER_PROMPTS
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Exactly what the cleaning step removes beyond account memory text is not shown.