Skip to content

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

Rust

Merge audited pull requests into issue fixes

AkitaOnRails0e18c36ec288
diff --cc CHANGELOG.md
index 37fe4b6c,79868a9d..6cc2d5d7
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -12,16 -12,46 +12,56 @@@ version in [`docs/changelog/`](docs/cha
## [Unreleased]
### Fixed
+- Repaired the exact migration checksum recorded by v2.2.1 for the original
+ V62 page-window migration before running strict migration validation. This
+ removes the false divergence error on every upgraded-server start while
+ keeping unknown migration edits fatal. CI now rejects changes to migration
+ files already present on a PR's base branch.
+ ([#1443](https://github.com/akitaonrails/ai-memory/issues/1443))
+- Sent `response_format=json_schema` for structured OpenCode Chat Completions
+ calls, with the existing tolerant fallback for models that reject it, so
+ `memory_query answer=true` no longer receives unstructured prose by default.
+ ([#1441](https://github.com/akitaonrails/ai-memory/issues/1441))
+ - Preserved third-party commands that share an event matcher group with an
+ ai-memory hook when `install-hooks` reapplies or removes its own entry.
+ ([#1453](https://github.com/akitaonrails/ai-memory/pull/1453))
+ - 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