Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
test(mcp): cover workspace query conflicts
AkitaOnRailsdc0f2679cc13
diff --git a/crates/ai-memory-mcp/src/server.rs b/crates/ai-memory-mcp/src/server.rsindex 251560f5..86ff5585 100644--- a/crates/ai-memory-mcp/src/server.rs+++ b/crates/ai-memory-mcp/src/server.rs@@ -10610,6 +10610,10 @@ mod tests {global_project.global = Some(true);global_project.project = Some("scratch".into());+ let mut global_workspace = base();+ global_workspace.global = Some(true);+ global_workspace.workspace = Some("default".into());+let mut global_scopes = base();global_scopes.global = Some(true);global_scopes.scopes = vec![scope("scratch")];@@ -10618,6 +10622,10 @@ mod tests {scopes_project.scopes = vec![scope("scratch")];scopes_project.project = Some("scratch".into());+ let mut scopes_workspace = base();+ scopes_workspace.scopes = vec![scope("scratch")];+ scopes_workspace.workspace = Some("default".into());+let mut as_of_scopes = base();as_of_scopes.scopes = vec![scope("scratch")];as_of_scopes.as_of = Some("2026-06-01T00:00:00Z".into());@@ -10627,8 +10635,10 @@ mod tests {for (what, args) in [("global + project", global_project),+ ("global + workspace", global_workspace),("global + scopes", global_scopes),("scopes + project", scopes_project),+ ("scopes + workspace", scopes_workspace),("as_of + scopes", as_of_scopes),("malformed as_of", malformed_as_of),] {