Bridge and cloud sessions get trimmed control replies with local detail and errors removed.
What's wrong with this entry?
When Claude Code runs as a bridge or cloud session, several control replies drop local machine detail: context usage returns an empty memory-files list, file rewind omits the list of files changed, usage omits behaviours, and rewind or event-poll failures come back as fixed texts such as "Failed to rewind" rather than the underlying error.
- Gated on the environment, not remote config: it applies when
CLAUDE_CODE_ENVIRONMENT_KINDisbridgeand the transport persists. - Outside that mode the real error text and full payloads are returned as before.
a.CLAUDE_CODE_ENVIRONMENT_KIND === "bridge"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.