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.232 Home All releases olderv2.1.231 v2.1.233newer
Claude Code v2.1.232

Output files named by sort, uniq, cp and mv flags now count as writes

You'll notice
Useful4 Signal3
Permissions

Output flags on sort, cp and mv now count as writes, so those files need write permission.

What

Bash permission checks now treat a file named by an output flag as something being written, not read. sort -o out.txt, sort -T dir, and the -t target of cp and mv go through write permission first, and a deny stops the whole command.

Details
  • The analyser carries a table of which flags take a value and which of those values are write targets: sort: { valueLetters: "otkST", writeLetters: "oT" }, uniq: { valueLetters: "fsw", writeLetters: "" }, plus the -t form for cp and mv.
  • uniq has no write letters, so its -f, -s and -w values are consumed as flag arguments rather than mistaken for paths.
  • Previously every path in these commands was analysed as a read.
Evidence

sort: { valueLetters: "otkST", writeLetters: "oT" }

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