mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 13:21:43 +00:00
The Diffs plugin named the `message` tool from three model-visible surfaces: the guidance it injects via before_prompt_build, the mode=file tool result, and its SKILL.md. `disableMessageTool` removes that tool in eight production paths (subagent spawn, system agent, worker runtime, both skills-workshop reviews, companion-ask, restart sentinel, active-memory recall), so agents in those sessions were told to call a tool absent from their tool list. The same surfaces plus the `diffs` tool description named the separately gated Canvas plugin — SKILL.md through `canvas present` / `canvas navigate`, the others through "for canvas use". All of them now describe the capability instead of naming the tool, per the root AGENTS.md rule that descriptions never statically name tools from other toolsets. The two pinned assertions keep their snapshots and now also assert the invariant directly. Co-authored-by: Vincent Koc <vincentkoc@ieee.org>