recall: optional relevance cutoff so automatic prompt recall can return nothing
Request
Add an optional relevance cutoff to recall (for example min_score or threshold), so that prompt-time automatic recall can return nothing when nothing is relevant.
Why
The official Claude Code and Codex plugins run one HYBRID_COMPLETION recall (only_context, top_k 5) on every prompt and inject whatever comes back.
We measured this on our reviewed recall benchmark against cognee/cognee:1.6.1 with about 400 documents: 28 cases, 21 with known relevant documents and 7 "noise" prompts that have no relevant memory. Every noise prompt still received 4-5 unrelated passages, 34 in total.
A cutoff on the fused score would let clients inject nothing in that case.
Related: exact identifiers
Two of the 21 relevant cases missed the top 5. Both were exact-identifier lookups: a commit SHA and a ticket or PR number that appear verbatim in exactly one document.
A lexical boost for identifier-shaped tokens, or exposing lexical scores in the hybrid fusion, would fix these. On our previous stack, a BM25 list fused with RRF (k=60) found both at rank 1.
Source: topoteretes/cognee