mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 03:50:40 +00:00
Search: fix entity classification order (proper nouns before word count), BM25 min-max normalization with floor, empty query guard. Decay: retrieval-reinforced half-life with effective age anchored to lastRetrievedAt, parameterized category curves (no string interpolation). Dedup: transfer TAGGED relationships to survivor during merge. Orphans: use EXISTS pattern instead of stale mentionCount. Embeddings: Ollama retry with exponential backoff (2 retries, 1s base). Config: resolve env vars in neo4j.uri, re-export MemoryCategory from schema. Extractor: abort-aware batch delay, anonymize prompt examples. Tests: add 80 tests for index.ts (attention gates, message extraction, wrapper stripping). Full suite: 480 tests across 8 files, all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>