The refusal message Debug-quotes the path, which doubles backslashes on Windows, so contains(path) never matched there. Matching the unique file name keeps the check. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>