Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge main into PR #1452 after audited fixes
AkitaOnRails64f2aa5628e4
diff --cc CHANGELOG.mdindex adcb0ede,ceed74c0..dcbc13d5--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -12,9 -12,44 +12,47 @@@ version in [`docs/changelog/`](docs/cha## [Unreleased]### Fixed+- Accepted a UTF-8 byte-order mark before imported page frontmatter in the+ wiki sync companion.+ ([#1452](https://github.com/akitaonrails/ai-memory/pull/1452))+ - Skipped H1-like comment lines inside fenced code when the importer derives+ page titles, including AgentMemory vault imports.+ ([#1451](https://github.com/akitaonrails/ai-memory/pull/1451))+ - Recognized importer frontmatter whose closing fence is the final line of a+ file without a trailing newline.+ ([#1450](https://github.com/akitaonrails/ai-memory/pull/1450))+ - Encoded spaces as `%20` instead of `+` in importer URL path segments,+ preserving workspace, project, and page names that contain spaces.+ ([#1449](https://github.com/akitaonrails/ai-memory/pull/1449))+ - Recognized exclamation-mark punctuation in short automatic-handoff+ acknowledgments such as `thanks!` and `perfect!`.+ ([#1448](https://github.com/akitaonrails/ai-memory/pull/1448))+ - Treated a blank `session_id` as omitted when starting an automatic+ improvement review, matching the other session-scoped MCP tools.+ ([#1447](https://github.com/akitaonrails/ai-memory/pull/1447))+ - 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 after+ file cleanup failed. Kept surviving manual replacements at the same path+ editable through the watcher (#1439).- Added exact hover timestamps to `/web` page metadata, made the OKF upgradedialog keyboard accessible, and added a labelled main-navigation landmarkwith current-page state and narrow-screen wrapping.