[PR #699] [MERGED] fix(long-term-memory): align scope picker targets #1094

Closed
opened 2026-10-21 05:02:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/699
Author: @Promansis
Created: 9/3/2026
Status: ✅ Merged
Merged: 9/3/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/scope-picker-current-all


📝 Commits (3)

  • 03a4c3a fix(long-term-memory): align scope picker targets
  • 48a6d24 fix(long-term-memory): match scope picker contracts
  • 5d42018 fix(long-term-memory): add Current and All to vault scope pickers

📊 Changes

10 files changed (+213 additions, -94 deletions)

View changed files

📝 artifacts/long-term-memory-1.2.18.zip (+0 -0)
📝 catalog/catalog.json (+4 -4)
📝 catalog/v2/catalog.json (+4 -4)
📝 catalog/v3/catalog.json (+4 -4)
📝 packages/long-term-memory/client.js (+22 -22)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+79 -22)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+36 -23)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+2 -0)
📝 tests/long-term-memory-lifecycle.regression.ts (+60 -13)

📄 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 #698

Why this change

  • Long-Term Memory scope pickers were inconsistent: the Memory Vault chat picker and the Sources pickers pinned Current and All at the top, but the Memory Vault character and branch pickers did not. This made navigation across the scope tabs less predictable.
  • Grouped branch chats appeared in the Sources Chats section, cluttering that list.

What changed

  • Pin Current and All at the top of the Memory Vault character, branch, and chat pickers and the Sources pickers, matching one contract across the scope tabs.
  • Keep pinned options visible while searching.
  • Keep grouped-chat branches out of the Sources Chats section while retaining branch-group targets.
  • Add lifecycle regression coverage.
  • Rebuild the Long-Term Memory 1.2.18 package, artifact, manifest, and catalog lanes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none (engine range unchanged)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none beyond the existing restartRequired: true payload change

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

  • Ran tests/long-term-memory-lifecycle.regression.ts with MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine; it passed, including new assertions that the Memory Vault character picker shows Current then All first and keeps them visible while searching.
  • Ran node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/tests/catalog-release-notes.regression.mjs, and npm run check (0 errors, existing warnings only).
  • Not performed: manual package install/update, restart, and uninstall in a Marinara Engine checkout.

Documentation impact

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

UI evidence (if applicable)

No screenshots captured this session.

Summary by CodeRabbit

  • New Features

    • Added clearer “Current” and “All” options to Memory Vault scope pickers.
    • Current chats, characters, conversations, and branches remain visible while filtering.
    • Pinned current-context and “All” options are shown prominently in source and destination selectors.
    • Improved grouping and labeling of available chat targets.
  • Bug Fixes

    • Scope selections now default to the active conversation and correctly reflect the current context.
    • Updated filtering behavior so relevant current targets are not hidden.
  • Tests

    • Updated regression coverage for the revised scope-picker behavior.

🔄 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/699 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/3/2026 **Status:** ✅ Merged **Merged:** 9/3/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/scope-picker-current-all` --- ### 📝 Commits (3) - [`03a4c3a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/03a4c3a492f6f16cb03ddbfa74903f968c4b4d0e) fix(long-term-memory): align scope picker targets - [`48a6d24`](https://github.com/Pasta-Devs/Marinara-Agents/commit/48a6d24ae3d4965017ac9bbe4be30b575a5df8a5) fix(long-term-memory): match scope picker contracts - [`5d42018`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5d4201804bf3d873c9eca1604947980a45749d5c) fix(long-term-memory): add Current and All to vault scope pickers ### 📊 Changes **10 files changed** (+213 additions, -94 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.2.18.zip` (+0 -0) 📝 `catalog/catalog.json` (+4 -4) 📝 `catalog/v2/catalog.json` (+4 -4) 📝 `catalog/v3/catalog.json` (+4 -4) 📝 `packages/long-term-memory/client.js` (+22 -22) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+79 -22) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+36 -23) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+2 -0) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+60 -13) </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`. <!-- Open as a draft while implementation is in progress. Mark Ready for review only after validation and self-review. --> ## Linked issue <!-- Every PR should reference an issue or feature request. --> Closes #698 ## Why this change <!-- What user problem, package bug, or catalog goal does this solve? --> - Long-Term Memory scope pickers were inconsistent: the Memory Vault chat picker and the Sources pickers pinned `Current` and `All` at the top, but the Memory Vault character and branch pickers did not. This made navigation across the scope tabs less predictable. - Grouped branch chats appeared in the Sources Chats section, cluttering that list. ## What changed <!-- Include affected package IDs and generated outputs. --> - Pin `Current` and `All` at the top of the Memory Vault character, branch, and chat pickers and the Sources pickers, matching one contract across the scope tabs. - Keep pinned options visible while searching. - Keep grouped-chat branches out of the Sources Chats section while retaining branch-group targets. - Add lifecycle regression coverage. - Rebuild the Long-Term Memory 1.2.18 package, artifact, manifest, and catalog lanes. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none (`engine` range unchanged) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none beyond the existing `restartRequired: true` payload change ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] 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 - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes <!-- Describe exactly what you tested, step by step. --> - Ran `tests/long-term-memory-lifecycle.regression.ts` with `MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine`; it passed, including new assertions that the Memory Vault character picker shows `Current` then `All` first and keeps them visible while searching. - Ran `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs`, and `npm run check` (0 errors, existing warnings only). - Not performed: manual package install/update, restart, and uninstall in a Marinara Engine checkout. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) <!-- Add before/after screenshots or recordings for package UI changes. --> No screenshots captured this session. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added clearer “Current” and “All” options to Memory Vault scope pickers. * Current chats, characters, conversations, and branches remain visible while filtering. * Pinned current-context and “All” options are shown prominently in source and destination selectors. * Improved grouping and labeling of available chat targets. * **Bug Fixes** * Scope selections now default to the active conversation and correctly reflect the current context. * Updated filtering behavior so relevant current targets are not hidden. * **Tests** * Updated regression coverage for the revised scope-picker behavior. <!-- 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-21 05:02:37 +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#1094
No description provided.