Skip to content

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

Rust

Merge PR #958 into main

AkitaOnRailsc8a3dbc8c472
diff --cc CHANGELOG.md
index 34eebf40,c9e7c7f3..33fc1205
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,16 -8,12 +8,22 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Fixed
+- `memory_query` now returns `global_scope_hits` (standing `_global` user/team
+ preferences) for a single-project query whose project is named explicitly
+ with `workspace`+`project`, not only when scope is omitted. The routing
+ doctrine tells static MCP clients to pass `workspace`+`project` on every call,
+ which set the old gate's "no named scope" condition to false, so those clients
+ never received global preferences despite the documented contract. The union
+ now keys on single-project resolution (`scopes` empty); only an explicit
+ multi-`scopes` set opts out, and `global=true`/`as_of` are unaffected. The
+ reserved-scope union is still keyed strictly to `_global` and never leaks
+ another project's pages. (#930)
+ - A page file rewritten under `wiki/<ws>/<project>/` (the OKF import path)
+ now gets its new version embedded the same way a brand-new file does.
+ The watcher's `reindex_page` upserted the new version and stopped —
+ embedding only ever ran on the `write_page` API path — so a rewrite left
+ hybrid search silently degraded to FTS-only ranking for that page until
+ someone ran `ai-memory embed` by hand. (#958)
- `[capture] ignore_paths` now covers shell commands. Shell tools (`Bash`,
`shell`, `execute_bash`, `terminal`, …) were classified as non-file and always
kept, so `cat docs/adr/*.md` stored the ignored file's full text in the