Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge remote-tracking branch 'origin/main' into audit/pr-1431
AkitaOnRails50ec7bb439aa
diff --cc CHANGELOG.mdindex a9f46841,5b92f3a6..fc3335f1--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -114,11 -118,13 +118,18 @@@ version in [`docs/changelog/`](docs/chapage, aligning belief input aggregation with the lint's resolved/stale split.([#1386](https://github.com/akitaonrails/ai-memory/pull/1386))- Kept the previous backup or OKF export intact when an archive download is interrupted, and publish completed downloads atomically. Successful downloads replace destination symlinks with private files rather than changing their targets or inheriting their permissions. ([#1381](https://github.com/akitaonrails/ai-memory/pull/1381))+- Counted a latest page whose only stored vector belongs to another provider,+ model, or dimension as missing an embedding in `ai-memory status` and the+ web `/health` page, so the count no longer reads zero after an+ embedding-model switch.+ ([#1431](https://github.com/akitaonrails/ai-memory/pull/1431))+ - Bounded free-text search before the FTS5 parser sees it. A query of 100k+ distinct terms spent ~17.5 s in query preparation alone (and a ~500 KB+ document ~59 s end to end), and a NUL byte reached the phrase parser as+ end-of-input, surfacing `sqlite: unterminated string` as an internal error+ instead of a result. Query text is now folded (NUL becomes a space) and cut+ to the first 4 KiB on a UTF-8 boundary; ordinary queries are unchanged.+ ([#1434](https://github.com/akitaonrails/ai-memory/issues/1434))## [3.1.1] - 2026-10-17