Repository navigation
v0.22.0 — The pending-memory queue works from remote clients
Added
- Pending-memory entries now carry
owner_principal(whoever queued
them) andaudience, read through the same visibility check as notes.
A caller lists only the entries it may see, and only an entry's owner
can accept or reject it; being in its audience grants reading only. An
entry queued before 0.22.0 has no owner field and belongs to the
default owner (principal:marcinon a standard install), the same
fail-closed default an un-migrated note gets. An accepted entry becomes
a note owned by the same principal with the same audience. brain memorygoes through the SSH dispatcher:pendingandreview
in read mode,add,acceptandrejectin write mode. Until now the
dispatcher refused it from every key, so neither the desktop client nor
the remote gateway could reach the queue at all.- MCP tools
list_queued_memory(read),accept_queued_memoryand
reject_queued_memory(write), andqueue_memoryin the MCP bridge, so
claude.ai and other remote clients can queue and their owner can review.
queue_memoryandbrain memory addtake--audience/audience. brain memorysubcommands take--json;pendingandreviewcount
restricted entries instead of listing them unless--include-restricted.- The remote gateway's server instructions say when to queue instead of
writing, and that accepting is the user's call.
Changed
- Queueing and accepting a
restrictedentry need--confirm-restricted
(confirm_restricted=trueover MCP, plus thebrain.restrictedscope
through the gateway), like every other restricted write. brain memory addandreject --noterun the secret-pattern scan the
MCP tool already ran.- Every change to the queue file holds an exclusive lock in the state
directory, so concurrent remote writers can no longer lose an entry.
Server- and client-side: deploy the server, then upgrade clients for the
CLI flags and the updated remember skill.
Checksums (SHA-256)
31de29290e4898fac38f6bc9f086b7dc4d3648777d6c1556c66f161919ce20b9 sako_brain-0.22.0-py3-none-any.whl
fc9d3c3459a31906a32c33d97f57df5921f5110c5da5e5511fe3fef8e56a66a5 sako_brain-0.22.0.tar.gz
See CHANGELOG.md for full detail.