[claude] Add temporal query methods: by_date_range and temporal_neighbors (#1244) #1246
Reference in New Issue
Block a user
Delete Branch "claude/issue-1244"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1244
What this adds
MnemosyneArchive.by_date_range(start, end)created_atfalls within an ISO datetime range (inclusive)created_atascendingMnemosyneArchive.temporal_neighbors(entry_id, window_days=7)KeyErrorfor unknown entry IDscreated_atascendingCLI commands added:
mnemosyne timeline <start> <end>mnemosyne neighbors <entry_id> [--days N]Tests
17 new tests covering: empty archive, boundary inclusivity, timezone-naive dates, custom window sizes, sort order, missing-entry errors, single-entry archives.