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
v0.2.15: adaptive memory + core memory integrity
Features:
- Adaptive importance on recall: frequently-recalled memories are
re-estimated immediately after the access bump (same estimate_importance
as lifecycle), so they climb into the next turn's persistent-context
block; pinned rules (>= 0.9) are never downgraded.
- Rule-aware query expansion: when the knowledge graph yields no entity to
expand a short query, up to two keywords from a durable rule on the same
topic are appended before embedding. Original query tokens stay, so
recall quality cannot regress (MRR 1.0 re-verified).
Fix:
- Content-level anti-duplication: a memory whose text is already in the
core block was re-injected by persistent context or recall when it had a
different id. Dedup now tracks content hashes alongside ids, so identical
text appears exactly once per turn across core/persistent/recall.
Tests (373 passed, 3 skipped, ruff clean, hermes smoke OK):
- Core integrity: sourced only from DB core tag, non-core high-importance
never leaks, content independent of _injected_ids, 3-way anti-dup once.
- Adaptive: recalled outranks idle, pinned never drops, defensive fallback
paths (get_many/update_importances None, empty, no-change).
- Query expansion: rule keyword appended on topic overlap, unrelated query
unchanged, short-word/empty-extra/error fallbacks.
Docs: README, docs/{index,recall,lifecycle,hermes-integration}, hermes/
SKILL+README, benchmarks/RESULTS, website, CHANGELOG, ROADMAP. Version
bump 0.2.15 in pyproject, __init__, plugin.yaml.