Unify scattered agent memory with fast search.
Recent revisions are kept. Restoring one creates a new revision.