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.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

/cd tells you what the new directory would grant before you trust it

You'll notice
Useful4 Signal3
Permissions

/cd into an untrusted folder now lists exactly what its settings would grant before you trust it.

/cd
What

Changing into a directory Claude Code has not trusted now lists what that folder's .claude/settings.json and .claude/settings.local.json would give it: pre-approved tool permissions, extra accessible directories, hooks that run commands, and helpers that supply auth tokens or request headers. A second variant appears after the move when project grants are held back, ending with a note that they apply only if you trust the directory.

Details
  • The disclosure is built by reading the target's two settings files; if reading fails the error is logged and the prompt shows less rather than blocking the move.
  • Wording such as "This directory configures hooks that run commands, declared in" is new in this build.
Evidence

This directory configures hooks that run commands, declared in

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.246 →