Recall only the memories relevant to a query (haiku-selected)
Source:R/memory.R
recall_memories_relevant.RdImproves on recall_memories() (which concatenates everything) by asking a
small/fast model to pick the memories relevant to the current user query –
Claude Code's sideQuery memory-selection pattern. Falls back to the full
concatenation when there is no query, the fast model is unavailable, or
selection fails, so behaviour never regresses.