import { netcattyBridge } from '../../infrastructure/services/netcattyBridge'; export async function writeSystemManagerDiagnostic( message: string, extra?: Record, ) { try { await netcattyBridge.get()?.logDiagnostic?.({ source: 'system-manager', message, extra, }); } catch { // Diagnostics must never block the user action being diagnosed. } }