Sharper recall — entity-aware disambiguation, answer-quality ranking, and both-sides capture in headless Claude Code.
Recall quality
- Entity-aware recall (#17) — recall now uses each fact's subject entity to separate semantically-adjacent but distinct subjects, so a query about one project no longer pulls in another project's notes that merely share vocabulary. Adds an optional
subjectscope to hard-filter recall to a single entity. Default-on; tune/disable withMEMNOS_RECALL_ENTITY_BOOST/MEMNOS_RECALL_ENTITY_SCOPE. - Answer-quality ranking (#2) — candidate dedup, fact-first context rendering, and a bounded fact preference so distilled answers surface ahead of verbose meta-turns for list/broad queries. Verbatim queries still lead with the raw turn.
- Deterministic ordering — stable tie-break in the hybrid-RRF queries; recall order is now identical across PostgreSQL query plans.
Capture
- Headless Claude Code (#18) —
claude -p(print mode) now captures both the user prompt and the assistant reply; previously only the user turn was saved.
Fixes
- Long/pathological queries are clamped to the embedder and reranker and return fast.
memnos statusno longer reports a false "STALE pid file" under autostart.
Quality
- LoCoMo 64–65% band held (65% on the release gate, gpt-4o judge). LongMemEval 78.4% (500q).
Upgrade: memnos upgrade (or uv tool install -U memnos).