TlsModeMismatchException and TlsCertificateException now short-circuit _isPermanentError() in both sync loop implementations, stopping the retry loop immediately instead of hammering a misconfigured server. Surfaces via the existing syncLastErrorProvider error banner. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>