pub fn hash_module_contents(module_dir: &Path) -> Result<String>
Compute SHA-256 integrity hash of a module directory’s contents. Hashes file paths (relative to module dir) and their contents, sorted for determinism.