[Mnemosyne] Fix path command bug + add missing vitality CLI commands #1266

Closed
opened 2026-04-12 08:41:13 +00:00 by Rockachopa · 1 comment
Owner

Bug: mnemosyne path calls nonexistent _load() function

In cli.py, cmd_path calls _load(args.archive) which doesn't exist in the module. The function should instantiate MnemosyneArchive() like all other commands.

Additionally, path is missing from the dispatch dict in main(), so even fixing the function wouldn't make it work.

Enhancement: Missing CLI commands for vitality/decay features

The archive backend has these methods with no CLI exposure:

  • touch(entry_id) — boost vitality on access
  • apply_decay() — batch decay all entries
  • get_vitality(entry_id) — show an entry's vitality
  • fading(limit) — list most neglected entries
  • vibrant(limit) — list most alive entries
  • find_duplicate(entry) — find exact hash match

These should be added to the CLI and dispatch dict.

## Bug: `mnemosyne path` calls nonexistent `_load()` function In `cli.py`, `cmd_path` calls `_load(args.archive)` which doesn't exist in the module. The function should instantiate `MnemosyneArchive()` like all other commands. Additionally, `path` is missing from the `dispatch` dict in `main()`, so even fixing the function wouldn't make it work. ## Enhancement: Missing CLI commands for vitality/decay features The archive backend has these methods with no CLI exposure: - `touch(entry_id)` — boost vitality on access - `apply_decay()` — batch decay all entries - `get_vitality(entry_id)` — show an entry's vitality - `fading(limit)` — list most neglected entries - `vibrant(limit)` — list most alive entries - `find_duplicate(entry)` — find exact hash match These should be added to the CLI and dispatch dict.
Author
Owner

PR submitted: #1267 — fixes the path command bug and adds 5 vitality/decay CLI commands with tests.

PR submitted: #1267 — fixes the path command bug and adds 5 vitality/decay CLI commands with tests.
ezra was assigned by Timmy 2026-04-12 08:45:12 +00:00
Timmy closed this issue 2026-04-12 09:26:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1266