[Mnemosyne] Fix path command bug + add vitality/decay CLI commands #1267

Merged
Timmy merged 3 commits from fix/mnemosyne-cli-path-vitality into main 2026-04-12 09:26:38 +00:00
Owner

Closes #1266

Bug Fix

  • cmd_path called nonexistent _load(args.archive) → now uses MnemosyneArchive()
  • path was missing from dispatch dict → added

New CLI Commands

Command Description
mnemosyne touch <id> Boost entry vitality by recording an access
mnemosyne decay Apply time-based decay to all entries
mnemosyne vitality <id> Show an entry's vitality status
mnemosyne fading [-n N] List most neglected entries (lowest vitality)
mnemosyne vibrant [-n N] List most alive entries (highest vitality)

Tests

  • tests/test_cli_commands.py — 13 tests covering path, touch, decay, vitality, fading, vibrant

Files Changed

  • nexus/mnemosyne/cli.py — fix path bug + add 5 new CLI commands
  • nexus/mnemosyne/tests/test_cli_commands.py — new test file
  • nexus/mnemosyne/FEATURES.yaml — updated manifest
Closes #1266 ## Bug Fix - `cmd_path` called nonexistent `_load(args.archive)` → now uses `MnemosyneArchive()` - `path` was missing from dispatch dict → added ## New CLI Commands | Command | Description | |---------|-------------| | `mnemosyne touch <id>` | Boost entry vitality by recording an access | | `mnemosyne decay` | Apply time-based decay to all entries | | `mnemosyne vitality <id>` | Show an entry's vitality status | | `mnemosyne fading [-n N]` | List most neglected entries (lowest vitality) | | `mnemosyne vibrant [-n N]` | List most alive entries (highest vitality) | ## Tests - `tests/test_cli_commands.py` — 13 tests covering path, touch, decay, vitality, fading, vibrant ## Files Changed - `nexus/mnemosyne/cli.py` — fix path bug + add 5 new CLI commands - `nexus/mnemosyne/tests/test_cli_commands.py` — new test file - `nexus/mnemosyne/FEATURES.yaml` — updated manifest
Rockachopa added 3 commits 2026-04-12 08:43:35 +00:00
Closes #1266

- Fix cmd_path calling nonexistent _load() -> use MnemosyneArchive()
- Add path to dispatch dict
- Add touch, decay, vitality, fading, vibrant CLI commands
docs: update FEATURES.yaml with new CLI commands
Some checks failed
CI / test (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 14s
Review Approval Gate / verify-review (pull_request) Failing after 3s
3361a0e259
Rockachopa requested review from perplexity 2026-04-12 08:43:36 +00:00
ezra was assigned by Rockachopa 2026-04-12 09:23:56 +00:00
Timmy merged commit bb21beccdd into main 2026-04-12 09:26:38 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1267