Repository navigation
Memory Shield v0.1.0
First public release.
Install
hermes plugins install churnast/hermes-memory-shield --enableAdded
- Policy for the built-in
memorytool through apre_tool_callhook: owner profile append-only, agent notes without deletion, shared chats read-only; levelsoff,no_delete,append_only,read_only. - Modes
block(refuse with a hint the model can act on),approve(Hermes' approval prompt, direct chats only) andobserve(log only). - Replacing an entry with empty or placeholder text counts as removing it.
- Direct edits of
USER.mdandMEMORY.mdthroughwrite_file,patch,terminalandexecute_codeare judged like the memory tool. trusted_userswho may write memory from shared chats, and ascheduled_jobslevel 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.