Skip to content

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

Rust

Merge PR #756: fix(cli): apply message send admission and post-commit observers

AkitaOnRailsdaeca8108e86
diff --cc CHANGELOG.md
index 4b50e50e,1af57949..f02e957c
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,14 -8,13 +8,21 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Security
+- Fixed `memory_read_page` with `include_related` returning pages from
+ projects the caller cannot read under per-project authorization, and walking
+ through them to reach others: in multi-user mode an authenticated user without
+ a grant saw the paths, titles, kinds, and project names of pages in a
+ `restricted` project up to three hops away (never their bodies). `page_links`
+ and the graph already hid them; the multi-hop related walk now filters every
+ hop the same way. Installs without authorization, and root, are unchanged.
+ (#999)
+ - Fixed CLI `ai-memory message send` (`POST /admin/messages/send`) bypassing
+ `message_send` admission: it inserted the message without consulting a
+ configured webhook's reject policy or notifying observers, while the MCP
+ send path enforced both. It now runs admission at the recipient scope before
+ the insert — a rejection returns 403 and stores nothing — and notifies
+ observers only after a successful commit, without waiting on nonblocking
+ ones. (#756)
## [2.5.1] - 2026-10-01