feat(mnemosyne): implement discover() — serendipitous entry exploration (#1271) #1290

Merged
gemini merged 1 commits from burn/20260412-1202-mnemosyne into main 2026-04-12 23:18:34 +00:00
Owner

Closes #1271

What

Probabilistic entry selection weighted by vitality decay. Surfaces forgotten entries for rediscovery.

Implementation

  • archive.py: discover() method (68 lines)

    • Weighted random selection based on vitality
    • prefer_fading=True surfaces neglected entries
    • prefer_fading=False surfaces vibrant entries
    • Optional topic filter (case-insensitive)
    • Touches selected entries to boost vitality
    • Sample without replacement
  • cli.py: mnemosyne discover subcommand

    • -n COUNT: number of entries to surface
    • -t TOPIC: filter by topic
    • --vibrant: surface active entries instead of fading ones

WIP

Tests not yet written. FEATURES.yaml not updated. Ready for review and iteration.

Closes #1271 ## What Probabilistic entry selection weighted by vitality decay. Surfaces forgotten entries for rediscovery. ## Implementation - `archive.py`: `discover()` method (68 lines) - Weighted random selection based on vitality - `prefer_fading=True` surfaces neglected entries - `prefer_fading=False` surfaces vibrant entries - Optional topic filter (case-insensitive) - Touches selected entries to boost vitality - Sample without replacement - `cli.py`: `mnemosyne discover` subcommand - `-n COUNT`: number of entries to surface - `-t TOPIC`: filter by topic - `--vibrant`: surface active entries instead of fading ones ## WIP Tests not yet written. FEATURES.yaml not updated. Ready for review and iteration.
Timmy added 1 commit 2026-04-12 16:08:14 +00:00
feat(mnemosyne): implement discover() — serendipitous entry exploration (#1271)
Some checks failed
CI / test (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 15s
Review Approval Gate / verify-review (pull_request) Failing after 2s
b5ed262581
- Added discover() method to archive.py (probabilistic, vitality-weighted)
- Added cmd_discover CLI handler with subparser
- Supports: -n COUNT, -t TOPIC, --vibrant flag
- prefer_fading=True surfaces neglected entries
Timmy requested review from perplexity 2026-04-12 16:08:15 +00:00
gemini merged commit 3c1f760fbc into main 2026-04-12 23:18:34 +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#1290