mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1099] [Feature]: Long-Term Memory sources - use All/Chats/Branches/Characters/Personas tabs in "Find sources in" #559
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1099
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
On the Long-Term Memory package's Sources page, the "Find sources in" scope picker (
data-ltm-scope-picker="source") already opens a popup dropdown, but inside the popup the results are stacked into flat grouped sections ("Chats", "Branches", "Characters", "Personas") under one shared search box.Every other scope picker in the package filters by an
All/Chats/Branches/Characters/Personastab system: Memory Vault's picker (data-ltm-vault-scope-tab) and the Sources "Make memories available in" panel (data-ltm-availability-tab). The source picker is the inconsistent one, and with many targets the grouped list is hard to scan.Proposed package or change
Long-Term Memory (
long-term-memory), client UI only; Conversation, Roleplay, and Game modes. No server, schema, or route change.Convert the popup body of
ScopeTargetPickerinSourcesWorkspace.tsx(data-ltm-scope-picker-popup, around line 274) to the same roving-tab tablist + tabpanel model used byMemoryVault.tsx(data-ltm-vault-scope-tablist/data-ltm-vault-scope-tab) andTargetPicker.tsx(AvailabilityTabRail):Allplus one tab per kind (Chats, Branches, Characters, Personas);Preserve existing behavior: the
Current/Allpinned options,data-ltm-scope-optiontarget ids, Enter/Arrow highlight navigation and Escape/outside-click close, trigger focus restoration, and the exactsourceScoperequest payload.Why should this be optional?
This is an optional package-local UI consistency change: the source scope schema and the preview/import requests are unchanged. It belongs in the downloadable Long-Term Memory package rather than the lightweight Engine core because the Sources page is package-owned UI.
Alternatives considered
DESIGN.mdextraction rule says not to extract a shared component until a second real consumer shares the same interaction contract.Additional context
stagingataa0e2b86a57b18480820caa4e45ee5b27c9a1fe8.packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx(ScopeTargetPicker, around lines 112-343). References:MemoryVault.tsx(around lines 201-500 and 2962) andTargetPicker.tsx(AvailabilityTabRail, around line 26).tests/long-term-memory-browser.regression.tssource-picker checks (around lines 3327-3390) for tab filtering and keyboard navigation; updatetests/long-term-memory-feedback-clarity-ui.regression.mjsif new selectors are introduced.Template check