chatMessage() was auto-generating and overwriting cases.title from the first chat message for ANY case_id, including real UYAP-imported dava dosyaları (kind='case') — not just the chat-only "Yeni Sohbet" threads (kind='chat') this was built for. Asking a real case a single question in Sohbet silently destroyed its court-derived title. Now gated on kind === 'chat'. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>