The ST file upload API rejects '~' characters. Replace tilde separators with hyphens and strip '~' from the filename sanitization allowlist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>