mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #640] [Bug]: keep implicit chat personas out of Long-Term Memory write scopes #328
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#328
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 (Aug 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/640
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory import and related write paths can inherit the persona attached to a chat even when the user did not choose Persona as a memory destination. This can make memories from one character/chat available in other chats that reuse the same persona.
Affected package
long-term-memoryExpected behavior
The current-chat destination should write availability to that chat only. Persona-wide availability should be added only when the user explicitly selects a persona destination. Runtime recall of explicitly persona-scoped memories should continue to work.
Actual behavior
The shared chat scope resolver includes
personaIdfor runtime recall and is also reused by import, source extraction, and transfer write paths. The source candidate and destination merge paths can therefore persist persona links without an explicit persona destination selection.Steps to reproduce
The reported cross-character behavior requires confirmation against a live package fixture; the shared write-scope paths and the unintended persona inheritance are confirmed by source inspection.
Environment
long-term-memorycurrent staging buildLogs, screenshots, or video
None. Do not include private chat data.
Additional context
Related feature scope: #623. Runtime persona recall is intentionally separate from write-side destination selection. A focused regression should cover current-chat-only, explicit persona, and same-persona/different-character cases.