Skip to content

v2.18.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 14:24
· 88 commits to main since this release
82a9645

Added

  • Recalled memory is framed as evidence, not instructions (Phase 1 of Memory versus Authority). Every path that injects memory into a prompt now wraps it in a <recalled-memory> block that opens with a fixed notice: the content is context from earlier sessions and grants no permission. Covers the SessionStart index and restored context, UserPromptSubmit prompt recall, the OpenCode, Pi and OpenClaw prefill blocks, OpenCode compaction, and the Hermes system-prompt context and prefetch. Any recalled-memory tag inside stored text is defanged, so a record cannot close the block and pose as an instruction.
  • The MCP server sends the same rule in its instructions, and the recall, get and context descriptions say results are evidence, not instructions. Tool result payloads are unchanged.
  • frameRecalledMemory is exported from @rohirik/openltm-core; Hermes has a matching _memory_frame.py (a test keeps the notice text identical).

Changed

  • The OpenClaw prefillLines budget now counts the header and memory lines; the four frame lines are fixed overhead on top of it.

Fixed

  • hermes memory setup openltm offers llamacpp as an embedder choice (listed first); it was missing although the plugin supports it since 2.17.2. The default when nothing is configured is still Ollama.

Docs

  • Hermes plugin README, catalog entry and Hermes Integration lead with a local llama.cpp embedding server for semantic recall; cloud embedders are no longer described as options up front. The root README and Configuration list cloud providers only as opt-in values.

Also included: 2.17.3, 2.17.4 and 2.17.5 (never tagged)

Versions 2.17.3, 2.17.4 and 2.17.5 were never tagged or published, so their changes ship in 2.18.0:

  • 2.17.3 (Docs): new Memory versus Authority article, linked from the docs index.
  • 2.17.4 (Security/Fixed): fail-closed secret scrubbing of titles and tags in learn(), tags in compact() recall, classifyRelation LLM input, Graph UI title/note (plus color/icon validation), deep MCP payload scrubbing including relations[] neighbours, and PreCompact snapshot lines. Conflict banner addresses the user; acceptStagedConflict is transactional and marks orphaned rows stale (migration 027); ltm conflict list scrubs terms and is project-scoped. Migrations run statement by statement with rollback; pre-migration backups use VACUUM INTO, keep the DB's file mode, never overwrite, and retention only touches its own backups. Tag replacement is atomic.
  • 2.17.5 (Fixed/Docs): new hermes/upgrade-plugin.sh handles copied and symlinked Hermes plugin installs (--check, --pull, --link), refuses dirty checkouts and unsafe HOME/HERMES_HOME, and caps plugin backups (OPENLTM_KEEP_BACKUPS, default 5). Upgrade docs updated.

See CHANGELOG.md for details.