Skip to content

Memory Shield v0.1.0

Choose a tag to compare

@churnast churnast released this 05 Oct 09:00
· 5 commits to main since this release

First public release.

Install

hermes plugins install churnast/hermes-memory-shield --enable

Added

  • Policy for the built-in memory tool through a pre_tool_call hook: owner profile append-only, agent notes without deletion, shared chats read-only; levels off, no_delete, append_only, read_only.
  • Modes block (refuse with a hint the model can act on), approve (Hermes' approval prompt, direct chats only) and observe (log only).
  • Replacing an entry with empty or placeholder text counts as removing it.
  • Direct edits of USER.md and MEMORY.md through write_file, patch, terminal and execute_code are judged like the memory tool.
  • trusted_users who may write memory from shared chats, and a scheduled_jobs level for cron runs.
  • Snapshots of the memory file before every allowed edit or deletion, with /memory-shield restore.
  • Audit log of refused and flagged writes, shown by /memory-shield log; /memory-shield whoami.

Requires Hermes Agent 0.21.5 or newer. Settings, commands and the privacy section are in the README.