pub fn expand_short_hash( short: &str, candidates: &[String], ) -> Result<String, HashError>
Expand a short hash (typically 8 chars) to a full 40-char hash by prefix-matching against a list of candidates.