fn discover_contracts(dir: &PathBuf) -> Result<HashMap<String, String>>
Walk the pack directory for JSON contract schema files.