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

Free macOS Menu Bar Monitor for Claude AI Usage Limits
A free, open-source macOS tool that displays Claude AI's session usage percentage, weekly limits, and reset countdowns directly in your menu bar. Installs with a single Homebrew command and piggybacks on existing Chrome sessions without storing data.

Apfel: Free CLI Tool to Access Apple's On-Device LLM on macOS
Apfel v0.6.13 is a Swift 6.3 binary that exposes Apple's built-in LLM as a CLI tool, OpenAI-compatible server, and interactive chat. It runs 100% on-device with no API keys or costs, using the 4,096-token model shipped with macOS 26+ on Apple Silicon Macs.

Claude-kit: Configuration Management System for Claude Code Projects
Claude-kit is an open-source tool that manages .claude/ directory configurations across multiple projects. It auto-detects tech stacks, generates configs, audits security and quality, and syncs changes without overwriting customizations.

Spec-Driven Development Workflow for Claude Code: Decomposition, Context Clearing, and Cost Control
A spec-driven development approach for Claude Code that uses two-dimensional decomposition, context clearing between steps, and specs written to disk to improve agent performance and reduce costs.