[GH-ISSUE #1105] [Feature]: Align bulk Memory Availability with the single-memory editor #565

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

Originally created by @Promansis on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1105

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

The Long Term Memory Agent's Memory Vault has two availability editors: the single-memory Memory Availability workbench and the bulk Change Availability workbench. The bulk workbench uses a separate Add Availability / Remove Availability button pair, keeps its target picker permanently expanded, and presents selected Chat Modes differently from the single-memory editor. This makes the workflow harder to scan and can make the scope of a change unclear.

The UI also needs to make the existing behavior explicit: selecting a Chat Mode changes which chat modes can recall the selected memories; it does not make a memory available in every chat for that mode. Chat, branch, character, and persona selections control availability scope separately.

Proposed package or change

Align the bulk Memory Availability workbench with the existing single-memory Memory Availability layout and interaction language.

  • Reuse the same ordering and visual treatment for Chat Modes, availability summary/pills, and target selection where the bulk operation allows it.
  • Make the distinction between mode eligibility and availability scope clear in the bulk UI.
  • Make implicit All chats / All branches behavior understandable when no narrower target is selected.
  • Preserve the current backend contract: bulk mode changes use incremental enableModes / disableModes, while target changes use addScope / removeScope.
  • Keep the existing safeguards that prevent removing the final availability place or final Chat Mode from a memory.

This is a client/UI change in the Long Term Memory package. No server behavior change is currently required.

Why should this be optional?

This improves the optional Long Term Memory Agent's package-owned Memory Vault workflow and does not belong in the lightweight Engine core.

Alternatives considered

  • Leave the current bulk editor unchanged. This preserves behavior but leaves the inconsistent layout and mode/scope ambiguity.
  • Change Chat Mode selection to imply global availability across all chats. This would alter the existing scope contract and is not requested; the issue proposes clearer UI for the current behavior instead.

Additional context

  • Related issue: #1098 addresses collapsing the single-memory scope picker, but does not cover the bulk availability workbench or mode-versus-scope clarification.
  • Investigation found no backend defect. Retrieval requires both a matching memory mode and an overlapping memory scope.
  • Relevant sources: packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx and TargetPicker.tsx.
  • Focused UI, storage, runtime, and browser regressions passed during investigation.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1105 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? The Long Term Memory Agent's Memory Vault has two availability editors: the single-memory Memory Availability workbench and the bulk Change Availability workbench. The bulk workbench uses a separate Add Availability / Remove Availability button pair, keeps its target picker permanently expanded, and presents selected Chat Modes differently from the single-memory editor. This makes the workflow harder to scan and can make the scope of a change unclear. The UI also needs to make the existing behavior explicit: selecting a Chat Mode changes which chat modes can recall the selected memories; it does not make a memory available in every chat for that mode. Chat, branch, character, and persona selections control availability scope separately. ## Proposed package or change Align the bulk Memory Availability workbench with the existing single-memory Memory Availability layout and interaction language. - Reuse the same ordering and visual treatment for Chat Modes, availability summary/pills, and target selection where the bulk operation allows it. - Make the distinction between mode eligibility and availability scope clear in the bulk UI. - Make implicit `All chats` / `All branches` behavior understandable when no narrower target is selected. - Preserve the current backend contract: bulk mode changes use incremental `enableModes` / `disableModes`, while target changes use `addScope` / `removeScope`. - Keep the existing safeguards that prevent removing the final availability place or final Chat Mode from a memory. This is a client/UI change in the Long Term Memory package. No server behavior change is currently required. ## Why should this be optional? This improves the optional Long Term Memory Agent's package-owned Memory Vault workflow and does not belong in the lightweight Engine core. ## Alternatives considered - Leave the current bulk editor unchanged. This preserves behavior but leaves the inconsistent layout and mode/scope ambiguity. - Change Chat Mode selection to imply global availability across all chats. This would alter the existing scope contract and is not requested; the issue proposes clearer UI for the current behavior instead. ## Additional context - Related issue: #1098 addresses collapsing the single-memory scope picker, but does not cover the bulk availability workbench or mode-versus-scope clarification. - Investigation found no backend defect. Retrieval requires both a matching memory mode and an overlapping memory scope. - Relevant sources: `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` and `TargetPicker.tsx`. - Focused UI, storage, runtime, and browser regressions passed during investigation. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#565
No description provided.