Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Checkout protection warning now covers commands that only name a file

The protection warning now also applies when a hook, helper or status line names a file of this checkout, not only when it runs one

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What

A hook is a command you set up to run automatically at set moments while Claude Code works. Claude Code can show a warning when a hook, a helper or the status line (the information line at the bottom of the screen) uses a file inside the current checkout, which is your local copy of the project. The warning explains that these commands run past every permission mode, so the usual approval prompts do not stop them.

The warning now covers more cases. It used to say such a command "runs a file of this checkout". It now says the command "runs or names a file of this checkout". A command that only mentions a file in the checkout, without running it, now counts too.

Why

This protection message may appear more often than before, including for commands that mention a project file without executing it.

See this entry in the whole of v2.1.333 →

Feedback