pub fn detection_diagnostics() -> String
Get detailed diagnostics as a formatted string (for debugging).