Skip to content

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

Rust

test(serve): name the transport instead of riding its default

Samir Hanna Verza9402c7c2d4ba
diff --git a/crates/ai-memory-cli/tests/suite/serve_shutdown.rs b/crates/ai-memory-cli/tests/suite/serve_shutdown.rs
index 99c45d99..8df2f7ff 100644
--- a/crates/ai-memory-cli/tests/suite/serve_shutdown.rs
+++ b/crates/ai-memory-cli/tests/suite/serve_shutdown.rs
@@ -46,7 +46,10 @@ mod slow {
let mut child = Command::new("sh")
.arg("-c")
- .arg(r#"trap "" INT; exec "$1" serve"#)
+ // Explicit transport: the default is stdio today, and a test that
+ // rides that default would quietly start testing something else if
+ // it ever changed.
+ .arg(r#"trap "" INT; exec "$1" serve --transport stdio"#)
.arg("sh")
.arg(BIN)
.env("AI_MEMORY_DATA_DIR", data_dir.path())