Claude Code v2.1.323 ·
Safer file reading and better line wrapping for wide characters
A new file reader refuses files that are too large, have several hard links or change while being read, and wide characters now wrap correctly
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File ToolsArea: what it touches
ImprovementsKind: in v2.1.323,
ImprovementsSection of the release
Unclear It is not stated which features read files through the new checks.
What
Claude Code has a new, more careful way of reading files. It refuses a file when:
- the file is too large
- the file has multiple hard links, meaning the same file appears under more than one name ("has multiple hard links; copy it to a plain file first")
- the file changes while it is being read ("changed while it was being read; try again")
- the file resolves through links to a path that cannot be read
It also treats /bin, /lib, /lib32, /lib64, /libx32 and /sbin as their /usr equivalents.
Text wrapping now handles wide characters, such as many emoji and Chinese, Japanese and Korean characters, which take up two columns on screen.
Why
These checks make it harder to trick Claude Code into reading the wrong file through links or files that change mid-read.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not stated which features read files through the new checks.
See this entry in the whole of v2.1.323 →