Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
docs(mcp): describe what with_wiki gates in the forget sweep
lhzapatae8509b41f986
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex fee7fa0b..e32b4596 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,6 +12,11 @@ version in [`docs/changelog/`](docs/changelog/):## [Unreleased]### Fixed+- Corrected the `AiMemoryServer::with_wiki` documentation, which said the+ forget sweep only lost its report page without a wiki handle. It now says the+ sweep refuses every page-mutating pass and skips tombstone cleanup and the+ event-ledger pass, and that `memory_lint` returns an error.+ ([#1401](https://github.com/akitaonrails/ai-memory/pull/1401))- Fixed `memory_lint` reporting findings for TTL-expired pages. The lint passnow omits expired pages before evaluating episodic staleness, rule suggestions,duplicate titles, and vector or LLM contradiction candidates, preventingdiff --git a/crates/ai-memory-mcp/src/server.rs b/crates/ai-memory-mcp/src/server.rsindex 3ea16be0..5844416c 100644--- a/crates/ai-memory-mcp/src/server.rs+++ b/crates/ai-memory-mcp/src/server.rs@@ -2641,8 +2641,11 @@ impl AiMemoryServer {self}- /// Attach the wiki handle. Without this, `memory_forget_sweep`- /// and `memory_lint` cannot write their report pages.+ /// Attach the wiki handle. Without this, `memory_lint` returns an+ /// error, and `memory_forget_sweep` refuses every pass that+ /// deletes or rewrites a page (TTL, decay eviction, compaction,+ /// cold-cluster dedup) and skips tombstone cleanup and the event-ledger+ /// pass; only the observation prune still runs.#[must_use]pub fn with_wiki(mut self, wiki: Wiki) -> Self {self.wiki = Some(wiki);