You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
When Claude Code adds or removes a permission rule (a saved instruction to allow or deny a tool), a failure now comes with a short code saying why, not just an error message. Before, only already_present was ever returned, and only in some cases. The codes include:
source_not_loaded
settings_unreadable
twin_rule
already_present
no_settings_file
write_failed
legacy_file_only
The edit can also run in a check mode, which tests whether the change would work without writing anything.
Why
Apps built on the Claude Code SDK can tell the different failure causes apart and react to each, and can test a rule change before making it.