Keeps the markdown memories this machine wrote in step with the notes
in its vaults: a new or edited note is stored and supersedes the version
before it, and a deleted or emptied note is retired. A note is re-read
only when its mtime or size moved since the last scan in this process,
and re-stored only when its SHA-256 differs from the ingest log’s, so a
restart re-hashes every note once and writes nothing for unchanged ones.
The configured vaults with ~ expanded and the paths normalized. A
relative entry is dropped, because it would resolve against whatever
directory the daemon happened to start in.