Skip to content

Publish Release

Latest

Choose a tag to compare

@aleksanderpalamar aleksanderpalamar released this 28 Apr 15:18
· 7 commits to main since this release

v0.5.1 - Long-term memory fixes

Bug fixes

  • memory recall failed to find obvious entries on natural-language queries. The search used a plain LIKE
    '%query%', so a query like "user name identity who" was matched as a single substring and returned 0 results,
    even when memories such as user-name and user-fullname clearly existed. The query is now tokenized
    (Unicode-aware, case-insensitive, dropping tokens shorter than 2 characters) and each token becomes a LIKE
    clause OR'd together, with a fallback to the raw query when tokenization yields nothing (preserves literal
    punctuation lookups).
  • Julia answered specific questions with unrequested extra context. Asking "what is my name?" returned name +
    role + employer + country. Added an "Answer ONLY What Was Asked" rule to the memory skill: a specific
    question gets a specific answer. Includes EN/PT examples ("what is my name?", "what OS do I use?") and the
    single legitimate exception ("who am I?", where aggregating multiple identity memories is appropriate).

Tests

  • New test/memory-search.test.ts with a direct regression for the production case ("user name identity who"
    must hit user-name, user-fullname, user-os), plus coverage for single-word queries, case-insensitivity,
    category filtering, and the punctuation fallback.
  • Full suite: 256/256 green.