mempalace/website/guide
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
..
antigravity.md fix(antigravity): resolve interpreter from console-script shebang 2026-05-31 10:41:09 +10:00
claude-code-retention.md docs: add Claude Code retention setup checklist 2026-05-08 13:05:34 -07:00
claude-code.md chore(release): 3.6.0 2026-07-14 20:44:15 -03:00
configuration.md fix: address Milvus backend review feedback 2026-07-01 07:10:39 +00:00
cursor-hooks.md feat: add mempalace-recall skill and optional Cursor recall rule 2026-06-10 15:40:35 +10:00
gemini-cli.md docs(install): recommend uv as the package manager 2026-05-08 01:38:00 -03:00
getting-started.md docs: make Codex MCP setup discoverable 2026-05-10 17:06:36 +04:00
hooks.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
local-models.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
mcp-integration.md chore(release): 3.6.0 2026-07-14 20:44:15 -03:00
mining.md docs: add VitePress documentation site 2026-04-09 19:41:08 -03:00
openclaw.md chore(release): 3.6.0 2026-07-14 20:44:15 -03:00
remote-server.md fix(mcp): refuse config and ack writes in read-only mode (#2101) 2026-07-29 19:32:37 +05:00
searching.md docs(website): align mempalaceofficial.com with honest benchmarks 2026-04-14 21:37:45 -03:00