Skip to content

Mnemo 0.1.2

Choose a tag to compare

@Yugesh-reddy Yugesh-reddy released this 19 Nov 22:50
· 27 commits to main since this release

Two additions to Mnemo's defence against wrong or poisoned memories.

What's new

  • Retracted memories in the web UI. mnemo ui has a Retracted page listing every memory an agent withdrew with memory_retract: its value, who retracted it, when and why. Open one to restore an earlier revision, so a retraction an agent was misled into is visible and reversible.
  • Hash-chained history and mnemo verify. Every event is now linked to the previous one by a SHA-256 hash. mnemo verify recomputes the chain and reports any history changed, removed or inserted outside Mnemo (for example by editing the file with the sqlite3 CLI), plus any memory whose current value is not its newest revision. It prints the chain head: keep it, and a later rewrite of the whole chain shows up too.
  • Searching in the web UI no longer counts as an agent recalling a memory.

Upgrading

uv tool install --force git+https://github.com/Yugesh-reddy/Mnemo
mnemo install    # applies the new migration and chains the history you already have

Until the migration is applied, the agents' memory tools return an error saying to run mnemo install. Nothing else changes for the agents: the seven tools behave as before.

Limit

The hash chain detects edits made around Mnemo; it cannot stop someone who rewrites the file and recomputes every later hash. Comparing with a chain head you kept catches that.