Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Storage keys are now validated with per-area rules and readable errors

Under the hood
Useful1 Signal2
Internals

Storage keys are checked before use, so malformed ones fail with a clear message.

What

A new layer checks every storage key before it reaches the storage engine and rejects malformed ones with a specific message instead of letting them through. You would only ever see one of these if something were already wrong.

Details
  • It enumerates the legal directory names under the user config directory, including mcp-discovery-cache, and the plugin registry files: installed, marketplaces, flagged, catalog, inUseSweep.
  • Log channels are restricted, with the error text "must be debug, telemetry or apiDump".
  • Relationships are enforced too, such as a scratch relative path requiring a session id.
Evidence

must be debug, telemetry or apiDump

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →