[PR #463] [MERGED] fix(long-term-memory): explain filtered empty results #982

Closed
opened 2026-10-20 17:32:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/463
Author: @Promansis
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/empty-filter-results


📝 Commits (3)

  • 9156481 fix(long-term-memory): explain filtered empty results
  • 771bcf6 fix(long-term-memory): handle source-only empty scopes
  • b7ef894 test(long-term-memory): tighten empty-state assertions

📊 Changes

3 files changed (+68 additions, -1 deletions)

View changed files

📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+38 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+7 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+23 -0)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #462

Why this change

Memory Vault previously used one empty-state message for both a scope with no stored memories and a scope whose active navigator filters excluded every result. That made a successful empty scope ambiguous and gave users no direct way to restore the full list.

What changed

  • Long-Term Memory distinguishes empty scopes from filtered-empty results.
  • Filtered-empty results identify the selected scope and active search/status/source/sort filters, with one action to clear only those navigator filters.
  • Source-only scopes hidden by the default source visibility use the ordinary empty-scope state; explicit Sources-only filtering remains eligible for filtered-empty messaging.
  • Added the focused UI regression assertions and required English locale strings.
  • No artifact, manifest, catalog, generated payload, or version changed. The package remains at version 1.2.9 and retains the upstream artifact.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; manifest remains 1.2.9 with its existing Engine range.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: None.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Focused long-term-memory-feedback-clarity-ui.regression.mjs passed after the implementation and repair.
  • The previously validated exact source state passed npm run check, catalog-lane validation, locale validation, catalog validation, git diff --check, and the documented Long-Term Memory Engine regression suite.
  • The focused delta review and its fresh follow-up found and resolved one source-only empty-scope edge case; the follow-up reported no findings.
  • Baseline checks were intentionally reused rather than rerun after the source-only repair, per the implementation request.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

No screenshots added; this source-only change is covered by the focused UI regression.

Summary by CodeRabbit

  • New Features

    • Improved empty states in the memory vault to distinguish between no memories and results hidden by active filters.
    • Added localized descriptions of active search, status, source, and sort filters.
    • Added a control to clear all navigator filters while preserving the selected target.
  • Bug Fixes

    • Improved clarity and consistency when clearing filters from filtered-empty results.
    • Ensured clearing filters does not unintentionally change the selected target.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/463 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/20/2026 **Status:** ✅ Merged **Merged:** 8/20/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/empty-filter-results` --- ### 📝 Commits (3) - [`9156481`](https://github.com/Pasta-Devs/Marinara-Agents/commit/915648197174381148c2cb398c654c1222b5d51a) fix(long-term-memory): explain filtered empty results - [`771bcf6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/771bcf64688d501ff94c1124e396a5443b778947) fix(long-term-memory): handle source-only empty scopes - [`b7ef894`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b7ef894e2b7c7ad76a75b209b08ba5efd0e2e938) test(long-term-memory): tighten empty-state assertions ### 📊 Changes **3 files changed** (+68 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+38 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+7 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+23 -0) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #462 ## Why this change Memory Vault previously used one empty-state message for both a scope with no stored memories and a scope whose active navigator filters excluded every result. That made a successful empty scope ambiguous and gave users no direct way to restore the full list. ## What changed - Long-Term Memory distinguishes empty scopes from filtered-empty results. - Filtered-empty results identify the selected scope and active search/status/source/sort filters, with one action to clear only those navigator filters. - Source-only scopes hidden by the default source visibility use the ordinary empty-scope state; explicit Sources-only filtering remains eligible for filtered-empty messaging. - Added the focused UI regression assertions and required English locale strings. - No artifact, manifest, catalog, generated payload, or version changed. The package remains at version `1.2.9` and retains the upstream artifact. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; manifest remains `1.2.9` with its existing Engine range. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: None. ## Validation <!-- Human verification checkboxes intentionally remain unchecked. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Focused `long-term-memory-feedback-clarity-ui.regression.mjs` passed after the implementation and repair. - The previously validated exact source state passed `npm run check`, catalog-lane validation, locale validation, catalog validation, `git diff --check`, and the documented Long-Term Memory Engine regression suite. - The focused delta review and its fresh follow-up found and resolved one source-only empty-scope edge case; the follow-up reported no findings. - Baseline checks were intentionally reused rather than rerun after the source-only repair, per the implementation request. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No screenshots added; this source-only change is covered by the focused UI regression. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved empty states in the memory vault to distinguish between no memories and results hidden by active filters. * Added localized descriptions of active search, status, source, and sort filters. * Added a control to clear all navigator filters while preserving the selected target. * **Bug Fixes** * Improved clarity and consistency when clearing filters from filtered-empty results. * Ensured clearing filters does not unintentionally change the selected target. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:32:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#982
No description provided.