Unclear It is not stated what setting or rule lets a renamed upload be read anyway.
What
When two items in a Project share a name, Claude Code gives one of them a made-up name. Reading that renamed file with project_read is now refused when the session's hooks and permission rules match on stored names. The refusal carries the code project_renamed_upload_blocked.
The read still goes ahead if a permission check for renamed files allows it.
Why
This stops someone from getting past a permission rule by uploading a file with the same name as another one.
Names in the bundleproject_readproject_renamed_upload_blocked
Documented inclaude-code/agent-sdk/typescript
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not stated what setting or rule lets a renamed upload be read anyway.