Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

New scratchpad file-save safety check for git/hook/tool/agent config paths

Claude Code now sets aside fetched files instead of saving them into protected config directories or symlinked paths

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaFile Safetywhat it touches
KindImprovementsin v2.1.271,
You'll notice

Claude Code now sets aside fetched files instead of saving them into protected config directories or symlinked paths

What

When Claude Code fetches a file and its destination would land inside a protected directory, such as a git internals folder, or a hooks, tool, or agent configuration directory, or the destination is a symlink pointing outside the current working scratch area, the file is no longer written there. Instead, Claude Code shows a message explaining the file was 'set aside' rather than saved, and a new filtering step checks each candidate destination for this condition before saving.

Why

This stops a fetched file from silently landing somewhere that could alter git behavior, hooks, or tool and agent configuration, protecting sensitive setup files from unintended changes.

See this entry in the whole of v2.1.271 →