Skip to content

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

Rust

test: cover delete-page admin auth gate

AkitaOnRailsc4bd23c21d28
diff --git a/crates/ai-memory-mcp/src/admin.rs b/crates/ai-memory-mcp/src/admin.rs
index 360ba29f..0e7f606a 100644
--- a/crates/ai-memory-mcp/src/admin.rs
+++ b/crates/ai-memory-mcp/src/admin.rs
@@ -3390,6 +3390,15 @@ mod tests {
"body": "body"
}),
),
+ (
+ "POST",
+ "/admin/delete-page",
+ serde_json::json!({
+ "workspace": "default",
+ "project": "scratch",
+ "path": "notes/x.md"
+ }),
+ ),
];
for (method, uri, payload) in routes {