Skip to content

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

Rust

test(mcp): exercise UTF-8 text in the bounded isolation fixture

Aldo Junior79efaa074992
diff --git a/crates/ai-memory-mcp/src/server.rs b/crates/ai-memory-mcp/src/server.rs
index bc1a559e..451d9074 100644
--- a/crates/ai-memory-mcp/src/server.rs
+++ b/crates/ai-memory-mcp/src/server.rs
@@ -18784,7 +18784,7 @@ mod tests {
project_id: project,
path: ai_memory_core::PagePath::new(path).unwrap(),
title: path.to_string(),
- body: "?".repeat(600),
+ body: "é".repeat(600),
tier: ai_memory_core::Tier::Semantic,
frontmatter_json: serde_json::json!({}),
pinned: false,
@@ -18862,7 +18862,7 @@ mod tests {
let payload = call_tool_json(result);
assert_eq!(payload["truncated"], true);
assert_eq!(payload["total_chars"], 600);
- assert_ne!(payload["body"], "?".repeat(600));
+ assert_ne!(payload["body"], "é".repeat(600));
payload["related"]
.as_array()
.expect("include_related attaches a related block")