[claude] Mnemosyne: export, deletion, and richer stats (#1218) #1220
Reference in New Issue
Block a user
Delete Branch "claude/issue-1218"
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 #1218
Changes
archive.pyarchive.remove(entry_id)— removes entry and cleans all bidirectional links; returnsTrue/Falsearchive.export(query=None, topics=None)— returns a filtered, JSON-serialisable dict with anentrieslist and filter metadataarchive.topic_counts()— returns topic → entry count mapping sorted by count descendingarchive.stats()— enriched withorphans,link_density,oldest_entry,newest_entrycli.pymnemosyne topics— lists all topics with entry countsmnemosyne remove <entry_id>— removes an entrymnemosyne export [-q QUERY] [-t TOPICS]— exports filtered archive as JSONTests