- inferFileExtension with a conservative SAFE_FILE_EXTENSIONS allowlist
(.bin fallback) so resolve-by-id keeps working and risky extensions
(.html/.svg-for-files) never land on the same-origin asset route
- Normalizer accepts any MIME for type:"file" uploads; image gate and
size limits unchanged
- attachment GC keep-set includes file attachments (previously any
non-image attachment would be pruned from disk)
Co-Authored-By: Claude Fable 5 <[email protected]>