[GH-ISSUE #232] [Issue]: Preserve character-linked memory recall across chats #117

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

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

Originally assigned to: @Promansis on GitHub.

Summary

Long-Term Memory notes linked to both an earlier chat and a character are rejected when a later chat uses that same character.

Affected package

Long-Term Memory (long-term-memory)

Expected behavior

A memory with an explicit character link should be recalled in future chats using that character. Pure chat-scoped memories should remain restricted to their listed chats, and persona/group scopes should remain isolated.

Actual behavior

The shared scope matcher requires chat overlap before allowing a character match, so a note extracted from an old chat is unavailable in a newly created chat with the same character.

Steps to reproduce

  1. Enable Long-Term Memory in a chat using character A and create a memory that retains the old chat and character A links.
  2. Create a new chat using character A with Long-Term Memory active.
  3. Ask for context that should match the memory.

Environment

  • Marinara Engine version: 2.4.1+
  • Package version: 1.1.4
  • Install type: source / installer / docker / termux / other
  • OS + version:
  • Browser or app shell:

Logs, screenshots, or video

Not applicable.

Additional context

The Engine already supplies current character IDs to the package runtime. The fix belongs in the package-owned shared scope matcher; no Engine change is currently required.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/232 Originally assigned to: @Promansis on GitHub. ## Summary Long-Term Memory notes linked to both an earlier chat and a character are rejected when a later chat uses that same character. ## Affected package Long-Term Memory (`long-term-memory`) ## Expected behavior A memory with an explicit character link should be recalled in future chats using that character. Pure chat-scoped memories should remain restricted to their listed chats, and persona/group scopes should remain isolated. ## Actual behavior The shared scope matcher requires chat overlap before allowing a character match, so a note extracted from an old chat is unavailable in a newly created chat with the same character. ## Steps to reproduce 1. Enable Long-Term Memory in a chat using character A and create a memory that retains the old chat and character A links. 2. Create a new chat using character A with Long-Term Memory active. 3. Ask for context that should match the memory. ## Environment - Marinara Engine version: 2.4.1+ - Package version: 1.1.4 - Install type: source / installer / docker / termux / other - OS + version: - Browser or app shell: ## Logs, screenshots, or video Not applicable. ## Additional context The Engine already supplies current character IDs to the package runtime. The fix belongs in the package-owned shared scope matcher; no Engine change is currently required. ## 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#117
No description provided.