Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.259 ·

New deny-checked commands: grep/rg/diff/git/cp/mv and generic argument-path extraction

Path deny rules now extract file arguments from more flag shapes and apply to grep, rg, diff, git, cp and mv.

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPermissionswhat it touches
KindImprovementsin v2.1.259,
You'll notice

Path deny rules now extract file arguments from more flag shapes and apply to grep, rg, diff, git, cp and mv.

Path-restriction deny rules now reach further into command arguments: file-like arguments are extracted from -e/-f/--file flags, key=value pairs, @file tokens, colon-separated tokens, and combined short flags, and denied if the resolved path matches a Read() deny rule. Separately, grep, egrep, fgrep, rg, diff, git, cp, and mv get this same path check, falling back to an 'ask' prompt when the path can't be resolved after a cd.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed Bash Read() deny rules not covering files given as option values (--ignore-revs-file=.env, -f.env, @file), git diff/git grep file…

See this entry in the whole of v2.1.259 →

Feedback