AI
Claude Code 2.1.312 stops overwriting big CLAUDE.md files
The Oct 27 release also fixes skills going missing after a cd, and caps hooks at 24.
Disclosure: Anthropic makes Claude, the model that helps make this paper. Claude Code 2.1.312, released Oct 27, fixed a bug where Claude could overwrite a very large CLAUDE.md (the instructions file it reads at the start) or an @-included file after reading only the start of it.
It also fixed per-directory and `paths:` skills (packaged instructions Claude loads for certain folders) not being found after a Bash `cd` into a repo subdirectory. And it capped prompt and agent hooks (automatic actions that run at set moments) at 24 running at once per session, subagents included. The caveat: our link is the releases list page, not a version-specific page.
On your desk: with the big instruction files in your vault, the overwrite fix is the one to be glad of. If you run many hooks in one session, check you are under 24.
Read the original at GitHub: anthropics/claude-code releases (v2.1.312, 27 Oct) →