mempalace/website
mvalentsev bd439ae54f fix(mcp): refuse config and ack writes in read-only mode (#2101)
Read-only gated on _MUTATING_TOOLS, which is the palace-write set the
peer-writer lease consults to decide which calls need the palace mine
lock. Two tools change state without touching the palace, so they are
correctly absent from that set and were served on a --read-only server
anyway: mempalace_hook_settings rewrites ~/.mempalace/config.json via
MempalaceConfig.set_hook_setting, and mempalace_memories_filed_away
unlinks ~/.mempalace/hook_state/last_checkpoint on both branches.

Add _READ_ONLY_REFUSED_TOOLS and point the dispatch gate and the
tools/list filter at it. _MUTATING_TOOLS and the peer-writer path are
unchanged: adding the two names there instead would put a config-only
tool under the palace lease, so a server that lost the lease to a peer
would answer -32001 for a call the lease has no say over.

mempalace_reconnect stays reachable on purpose and the comment records
why, since clearing ChromaBackend._quarantined_paths lets the reopen
rename a segment directory. The two --read-only help strings and the
matching row in the remote-server guide said "the mutating tools",
which now names the narrower set.
2026-07-29 19:32:37 +05:00
..
.vitepress fix(docs): make backend comparison table fit the content column 2026-06-30 08:06:43 -03:00
concepts docs(website): align mempalaceofficial.com with honest benchmarks 2026-04-14 21:37:45 -03:00
guide fix(mcp): refuse config and ack writes in read-only mode (#2101) 2026-07-29 19:32:37 +05:00
public Merge remote-tracking branch 'upstream/develop' into feat/landing-page-update 2026-04-16 22:31:22 -03:00
reference fix(mcp): preserve agent attribution in mempalace_checkpoint (#2023) 2026-07-16 17:27:50 +05:00
.gitignore fix(website): update vitepress base url for custom domain 2026-04-13 21:23:51 -03:00
bun.lock docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
index.md new landing page 2026-04-16 21:46:03 -03:00
package.json docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00