What I had in mind is the mandate of hiring the best person for the job and any/all other policies are designed with that directive in mind. This is analogous to how the court system is supposed to be designed to be the discoverer of truth and the entire legal process as it relates to court proceedings is to further that search for truth.
What would my suggestion in reality look like? Similar to a company I once worked for. They had an interview process where all candidates were interviewed by at least 5 individuals. This was required to be done separately in one-on-one 30 minute sessions. Each interviewer scores the candidate in a combination of numerical and written feedback which is presented to HR. HR is also required to be one of the interview sessions. HR is also the pre-screener of all resumes unless an internal employee has a recommendation. After that, it boils down to a consensus system where HR reviews the feedback from everyone and determines who has the highest overall rating. This obviously required specific traits and requirements to be detailed in advance prior to the interview that were specific to the position. Some obviously overlapped like "communication skills" and others were very specific to the individual role and required work history and experience.
They also used a very similar process for their performance evaluations (you first two line managers had significant weight in the performance review, but you had to also get feedback from no less than 5 other colleagues. And your manager had to approve who could provide feedback on you so you couldn't just choose your best friend at work who would write a glowing review. That process was super-annoying and time consuming, but I think it did a pretty solid job. I never felt like I was ever treated unfairly or got shafted in any way. And the reason HR played a key role in the process was to make sure the rules were being followed and if there was any discrimination or unconscious biases, it would show over time and HR could take action if they saw fit like restricting a possibly biased individual from interviewing anyone who fit into a certain category (women, racial minority, disabled, etc.).