pub fn write_lore_ref( repository_root: impl AsRef<Path>, atom: &LoreAtom, source_commit: &str, ) -> Result<()>