You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(memory): prefer ripgrep over grep in memory search fallback
Written by Minimax-M2.7 in Claude Code Harness.
When SQLite FTS5 is unavailable, memory_search now uses ripgrep (`rg`)
if it's on PATH, falling back to grep only when rg is missing. ripgrep
is faster, UTF-8 clean by default, and respects gitignore. The
.md/.jsonl target restriction from the previous fix is preserved for
both tools — implementation files never reach the search path.
- Adds _fallback_command() that picks rg vs grep based on PATH,
returns (cmd, tool_name).
- Adds fallback_tool() surfacing the selected tool in --status.
- Renames search_grep to search_fallback; keeps search_grep as a
backwards-compat alias.
- --status now reports "Mode: FALLBACK (ripgrep|grep|unavailable)"
and "Fallback available:" in FTS5 mode too.
- README memory_search section mentions ripgrep preference.
0 commit comments