pub fn project_root(cwd: &Path) -> PathBuf
The project a working directory belongs to: the nearest directory at or above it that holds .dreamer/memory or .git, else the directory itself.
.dreamer/memory
.git