Credential-looking files, including .mcp.json and .claude.json, are refused when syncing to a cloud session.
What's wrong with this entry?
When Claude Code copies your working files up to a cloud or lane session, each path is now checked against a credential test and refused outright instead of uploaded. .mcp.json and .claude.json join .claude in the set of sensitive names.
- Refusal short-circuits before the file is even fetched, and is carried as its own result flag rather than as a generic failure.
- Counts are reported separately for refused files, files withheld even though git tracks them, and files skipped by the filter, along with how long the filter took and how many decisions it settled.
- Rewind and checkpoint listings label such paths as "sensitive" so you can see why they were left behind.
credential_refused: a.credentialRefused,, credentialRefused
Strings lifted out of the shipped bundle, so the claim above can be checked against them.