Files
the-nexus/nexus/mnemosyne/tests/__pycache__/test_archive.cpython-311-pytest-9.0.2.pyc
Alexander Whitestone 238a340251 feat(mnemosyne): add entry update, content dedup, and find_duplicates
Closes #1239

- ArchiveEntry: add updated_at field, content_hash property, touch()
- MnemosyneArchive.update_entry(): update title/content/metadata, auto re-link
- MnemosyneArchive.find_by_hash(): lookup by SHA-256 of title+content
- MnemosyneArchive.find_duplicates(): find groups of identical entries
- MnemosyneArchive.add(skip_dups=True): skip duplicate entries on ingest
- Backward compat: from_dict backfills updated_at for legacy entries
- 18 new tests, all passing
2026-04-11 19:40:05 -04:00

126 KiB