A hat is a formal, verified, way of posting a comment while speaking for a project, organization, or company. Each user may have multiple hats, one of which may be selected to be worn when posting a comment or sending a private message.
I don’t know if lobste.rs originated this, or originated the name “hats”.
Conceptually, I’d class it with account verification, as on Twitter and other microblogging services.