pub fn archive_memory_rec( memories_dir: &Path, name: &str, recorder: Option<&dyn AuditRecorder>, ) -> Result<()>
Archive a memory entry with optional audit recording.