Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

test(hooks): build the Hermes fixture repo path with native separators

AkitaOnRails88f880445604
diff --git a/crates/ai-memory-cli/src/commands/hook.rs b/crates/ai-memory-cli/src/commands/hook.rs
index 1f7413ef..5d43f5b3 100644
--- a/crates/ai-memory-cli/src/commands/hook.rs
+++ b/crates/ai-memory-cli/src/commands/hook.rs
@@ -2839,7 +2839,7 @@ mod tests {
async fn hermes_tool_location_finds_the_marker_the_process_cwd_lacks() {
let tmp = tempfile::tempdir().unwrap();
let home = tmp.path().join("home");
- let repo = home.join("dev/some-repo");
+ let repo = home.join("dev").join("some-repo");
std::fs::create_dir_all(&repo).unwrap();
std::fs::write(
repo.join(".ai-memory.toml"),