Files
the-nexus/nexus/mnemosyne/tests/__pycache__/test_archive.cpython-311-pytest-9.0.2.pyc
Timmy 7bf69571ae feat(mnemosyne): Phase 1b — timeline navigation, deduplication, entry merging
Closes #1230

Adds three capabilities to MnemosyneArchive:

- timeline(limit, since, until, source): entries sorted by creation date
  with optional date range and source filtering
- recent(n): shorthand for last N entries
- find_duplicates(threshold): Jaccard similarity-based duplicate detection
  returning scored pairs above threshold
- merge_entries(primary, duplicate): union topics, append unique content,
  redirect links, remove duplicate

CLI commands:
- mnemosyne timeline [--since DATE] [--until DATE] [--source TYPE] [-n N]
- mnemosyne dedup [--threshold 0.7] [--dry-run]
- mnemosyne merge <id1> <id2> [--into ID]

17 new tests in test_timeline_dedup.py, all passing (38 total).
2026-04-11 17:54:37 -04:00

55 KiB