mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #2014] [Feature]: Long-Term Memory: show a Slurp / Advanced Memory origin chip in the Memory Vault #1874
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#1874
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 (Nov 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/2014
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Long-Term Memory now receives memories from other packages (Slurp, through the intake service) and from Advanced Memory scene recaps. The Memory Vault does not show where a memory came from:
So users cannot tell, while browsing, which memories another agent or Advanced Memory added.
Proposed package or change
Add one origin chip, shown only for these two origins:
provenance.kind === "package_record".provenance.kind === "advanced_memory".The chip appears on the Vault row, next to the type and status chips, and in the memory editor header under the title (for both regular memories and source records). A memory's origin comes from its own provenance when it is a source note; otherwise it comes from the source note named by its
extracted_fromlink. Memories from chats, characters or lorebooks get no chip, so nothing changes for them.Example: a character memory Slurp added for Alice now reads
Character · Active · Slurpin the list, instead ofCharacter · Active.Minimal fix
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryVault.tsx: one small helper that maps a note to its origin label key (its ownprovenance.kindfortype === "source", otherwise the firstextracted_fromlink's target innotesByIdwithpackage_recordoradvanced_memoryprovenance; else none). Pass the localized label to<VaultRow>asoriginLabel, and render the same chip in the editor header (source-readonly header nearprovenanceSourceLabel()and the regular editor header under the title)..../vault/VaultRow.tsx: optionaloriginLabel?: stringprop that renders a third chip with the existing chip classes..../locales/en.jsonandko.json:ui.longTermMemory.memoryvault.originSlurp("Slurp") andui.longTermMemory.memoryvault.originAdvancedMemory("Advanced Memory"; use the Engine's Korean term for Advanced Memory).packages/long-term-memory/CHANGELOG.md: a line under## Unreleased.tests/long-term-memory-feedback-clarity-ui.regression.mjsso it asserts thatVaultRowrendersoriginLabel, that the vault derives it fromextracted_fromplus thepackage_recordandadvanced_memoryprovenance kinds, and that both locale keys exist.Behavior to preserve: existing chips, row memoization (pass a plain string), source-record header text and Open in Sources button, all filters.
Non-goals: relabelling Advanced Memory source records ("Chat summary"), an origin filter, per-section attribution of lines Slurp appended to existing memories, a caller-generic label for future intake callers, and server or schema changes.
Why should this be optional?
It is a display change inside the optional Long-Term Memory package. No Engine change is needed.
Alternatives considered
imported_advanced_memory,package_recordtags). Provenance is the typed field, so it is preferred.Additional context
Found while reviewing the Slurp intake (#1992) and Advanced Memory import (#1970) surfaces.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: