Share protocol classification helpers and return en labels for diagnostics when lang=en. Co-authored-by: Cursor <cursoragent@cursor.com>