Artifact file reads now detect a permission check that changed mid-flight, and report multi-file saves
When Claude Code checks permission for reading a file from an artifact (via read_file/read_asset), it now detects if a file-edit safety check or an "ask" permission rule for one of the destination files changed while the permission check was in progress. If that happens, the read is denied with a message explaining that nothing was read and to retry, rather than proceeding based on stale information.
- The permission-request wording also now distinguishes saving multiple files at once ("save N files ... to ...") from the existing single-file wording.
This closes a race condition where a permission decision could be based on outdated information about a file's safety status, and makes the messaging clearer when several files are being saved from an artifact in one request.