What
/diff shows the changes in your working files. It now checks each file against your permission rules for reading files before showing it. Permission rules are the allow and deny settings that control what Claude Code may do.
- Files a deny rule covers are listed apart from the rest.
- Files that were not checked are shown as well.
- The checks run again when your permission rules change.
- Asking Claude about a file in the diff checks its permission first, and is blocked if the file is denied.
Why
Before, nothing was checked file by file. Now the contents of a file you have denied reading no longer show up in the diff view or get sent to Claude when you ask about it.
Names in the bundle/diff
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up /diff, on Claude Approvals policy file reference.
* **After a dismissal or a force-push**: if the rules on the changed files use the example, an approval stops counting when GitHub dismisses it at a push. It also stops counting after a force-push that changes the diff and replaces the app…approvals-policy see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up /diff, on Claude Approvals policy file reference.
Anthropic's release notes agree
Improved /diff to say when its ask button doesn't attach a file