Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge main into PR #1445 after audited fixes
AkitaOnRails48a948c203b4
diff --cc CHANGELOG.mdindex cbf0200d,86f6a33f..e5b18447--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -12,9 -12,22 +12,25 @@@ version in [`docs/changelog/`](docs/cha## [Unreleased]### Fixed+- Returned MCP `invalid_params` for caller-supplied invalid page paths, tiers,+ and scopes instead of misreporting them as internal server errors.+ ([#1445](https://github.com/akitaonrails/ai-memory/pull/1445))+ - Parsed an empty Markdown frontmatter block (`---` followed immediately by+ its closing fence) as frontmatter instead of folding it and later thematic+ breaks into the page body. ([#1444](https://github.com/akitaonrails/ai-memory/pull/1444))+ - Kept hook events whose JSON payload contains half of a UTF-16 surrogate pair+ as a `\u` escape, such as tool output cut in the middle of an emoji. Native,+ shell, PowerShell and direct hook clients now share the bounded server-side+ repair, replacing the unpaired escape with U+FFFD instead of dropping the+ whole event.+ ([#1432](https://github.com/akitaonrails/ai-memory/pull/1432))+ - Model-produced page paths are now cleaned of the remaining shapes `ensure_portable`+ refuses, a component ending in a dot or space and a DOS device name like `aux.md`,+ so one such path no longer aborts every page in a consolidation or bootstrap batch.+ ([#1430](https://github.com/akitaonrails/ai-memory/pull/1430))+ - Preserved FTS5 column filters inside parenthesized groups, so queries such+ as `(title:handoff)` no longer broaden into a search for the literal word+ `title` across every indexed field. ([#1442](https://github.com/akitaonrails/ai-memory/pull/1442))- Revalidated session-purge tombstones inside the reindex write transaction,preventing a queued watcher update from recreating a deleted summary afterfile cleanup failed. Kept surviving manual replacements at the same path