pub fn resolve_memory_path(memories_dir: &Path, name: &str) -> Result<PathBuf>
Resolve a memory name to a filesystem path, with validation.