OpenClaw's QMD Memory Search Fast Path Had Silent Bugs

OpenClaw's built-in memory search uses basic keyword matching, which works for simple lookups but struggles when agents need to find information learned weeks earlier without exact word matches.
Users can switch to QMD, which performs semantic search across all markdown files in the workspace. This allows agents to find relevant entries even when exact keywords aren't present. QMD also does hybrid search, combining keyword and semantic approaches for both precision and recall.
OpenClaw has a fast path through MCPorter that keeps the QMD process warm in memory, reducing search times to 1-2 seconds instead of 9-25 seconds when cold starting each time.
This fast path was completely broken with three bugs in the same file:
- The gateway was calling tool names that don't exist. QMD's MCP server exposes one tool called
query, but the gateway was callingdeep_search,search, etc. Every call returned exit code 128. - Wrong argument format. The gateway passed a flat string, but the tool expects a
searchesarray with typed sub-queries for keyword vs semantic vs hybrid search. - Singular vs plural mismatch. The gateway passed
collection: "name"but the tool expectscollections: ["name"].
Every parameter was wrong: tool name, argument structure, and field name. The fix was straightforward once identified, and a pull request is available for anyone running QMD through MCPorter.
The silent failure meant every call fell back to the slower CLI path, but functionality remained, just with significantly degraded performance that went unnoticed for weeks.
📖 Read the full source: r/openclaw
👀 See Also

RepoLens: Interactive Local Codebase Packer and Token Optimizer (TUI/CLI) in Go
RepoLens is a zero-dependency Go tool that packs repos into LLM context with a TUI file explorer, live token counter, comment stripping, secret scanner, and token-based file splitting.

LightMem: Lightweight Memory System for LLM Agents with 10×+ Gains and 100× Lower Cost
LightMem is a modular memory system for LLM agents that achieves up to 10.9% accuracy improvement while reducing tokens by up to 117×, API calls by up to 159×, and runtime by over 12×. It's designed for scalable long-context reasoning across agent workflows.

Claude Code's Read Tool Silently Downscales Images, Causing Hallucinations
Claude Code's `read` tool silently downscales images before the model sees them, leading to degraded output and unrecognized hallucinations when extracting text from screenshots.
Bonsai 2 (Qwen 3.8 27B) as an OpenClaw Fallback: 8GB, 85 tok/s on a 5070
A r/openclaw user swapped PrismML's Ternary Bonsai 2 (Qwen 3.8 27B) in as an OpenClaw fallback model — ~8GB on disk, 85 tok/s output on a 5070, text plus vision, and agentic browser/VM tasks that hold up.