Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.120 ·

User Deny Rules Awareness in System Prompt

Entry
JSON All of v2.1.120
EntryKind: in v2.1.120,
ChangesSection of the release
What

Claude is now informed about the user's configured permission deny rules and instructed to block circumvention attempts.

Details
  • The system prompt now includes a section listing all active deny rules
  • Claude is instructed to block actions that achieve the same effect via a different tool — e.g., using python -c, sed -i, cat >, heredocs, or similar to write a file that an Edit/Write deny rule covers
  • Only non-internal deny rules are surfaced (rules starting with a specific internal prefix are filtered out)
Evidence

New function builds deny rule text: "User Deny Rules: The user has configured these permission deny rules..." — search for "User Deny Rules"

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.120 →

Feedback