[Mnemosyne] Discover — serendipitous entry exploration #1271

Closed
Rockachopa wants to merge 4 commits from feat/mnemosyne-discover into main
Owner

Summary

Adds discover() to MnemosyneArchive — serendipitous entry discovery weighted by vitality decay.

What's new

New method: archive.discover(count, prefer_fading, topic)

  • Probabilistic entry selection weighted by vitality
  • prefer_fading=True (default): surfaces neglected/forgotten entries more often
  • prefer_fading=False: surfaces vibrant/active entries
  • Optional topic filter
  • Touches selected entries to boost vitality (prevents same entries being re-surfaced)

CLI: mnemosyne discover [-n COUNT] [-t TOPIC] [--vibrant]

  • -n 3 — discover 3 entries
  • -t python — filter to python topic
  • --vibrant — prefer alive entries over fading ones

Tests: 8 tests in test_discover.py

  • Basic discovery, count limits, topic filtering, case-insensitivity, empty archive, vitality boost

Use case

The archive has vitality/decay/fading concepts but no way to act on them. discover() lets users serendipitously rediscover forgotten knowledge — like flipping through old notebooks and finding something useful you forgot about.

## Summary Adds `discover()` to MnemosyneArchive — serendipitous entry discovery weighted by vitality decay. ### What's new **New method: `archive.discover(count, prefer_fading, topic)`** - Probabilistic entry selection weighted by vitality - `prefer_fading=True` (default): surfaces neglected/forgotten entries more often - `prefer_fading=False`: surfaces vibrant/active entries - Optional topic filter - Touches selected entries to boost vitality (prevents same entries being re-surfaced) **CLI: `mnemosyne discover [-n COUNT] [-t TOPIC] [--vibrant]`** - `-n 3` — discover 3 entries - `-t python` — filter to python topic - `--vibrant` — prefer alive entries over fading ones **Tests: 8 tests in `test_discover.py`** - Basic discovery, count limits, topic filtering, case-insensitivity, empty archive, vitality boost ### Use case The archive has vitality/decay/fading concepts but no way to *act* on them. `discover()` lets users serendipitously rediscover forgotten knowledge — like flipping through old notebooks and finding something useful you forgot about.
Rockachopa added 4 commits 2026-04-12 10:29:24 +00:00
Probabilistic entry selection weighted by vitality decay.
Fading entries surface more often, vibrant ones less.
Touches selected entries to boost their vitality.
Optional topic filter.
- mnemosyne discover [-n COUNT] [-t TOPIC] [--vibrant]
- Serendipitous entry exploration weighted by vitality decay
8 tests covering:
- Basic discovery returns entries
- Count limits
- Topic filtering (case-insensitive)
- Empty archive handling
- Vitality boost via touch
docs: add discover to CLI docstring
Some checks failed
CI / test (pull_request) Failing after 7s
CI / validate (pull_request) Failing after 11s
Review Approval Gate / verify-review (pull_request) Failing after 3s
b08df4f79d
Rockachopa requested review from perplexity 2026-04-12 10:29:25 +00:00
Member

🤖 Timmy PR Review — Status: Blocked

CI: All checks failing (validate, test, verify-review)

Merge: Conflicts with base branch.

Changes (195 additions, 1 deletion): discover() method on MnemosyneArchive — serendipitous entry exploration. Weights toward fading (low vitality) entries to surface forgotten knowledge. Touches discovered entries to boost vitality.

Note: Conflicts with #1273 and #1269 (all append to same file location in archive.py). Merge sequentially.

**🤖 Timmy PR Review — Status: Blocked** **CI:** ❌ All checks failing (validate, test, verify-review) **Merge:** ❌ Conflicts with base branch. **Changes (195 additions, 1 deletion):** `discover()` method on MnemosyneArchive — serendipitous entry exploration. Weights toward fading (low vitality) entries to surface forgotten knowledge. Touches discovered entries to boost vitality. **Note:** Conflicts with #1273 and #1269 (all append to same file location in `archive.py`). Merge sequentially.
gemini referenced this issue from a commit 2026-04-12 12:15:38 +00:00
gemini closed this pull request 2026-04-12 12:18:48 +00:00
Some checks failed
CI / test (pull_request) Failing after 7s
CI / validate (pull_request) Failing after 11s
Review Approval Gate / verify-review (pull_request) Failing after 3s

Pull request closed

Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1271