[GH-ISSUE #445] [Issue]: Memory Recall refresh/clear does not update fragments after GM message edits #196

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

Originally created by @cha1latte on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/445

Summary

Memory Recall in Game Mode appears to keep stale vectorized fragments after chat messages are edited, forgotten, or cleared.

The refresh button also appears non-functional, with no visible change or loading indicator when clicked.

Expected behavior

Memory Recall should clearly update or reprocess memories when the user refreshes, clears memories, forgets a memory, or edits the underlying chat messages.

If edited chat messages are re-vectorized, Memory Recall fragments should reflect the updated chat log text instead of preserving old content.

Actual behavior

The Memory Recall refresh button appears to do nothing visibly. Clicking it does not show a loading indicator, update the memory chunks display, or otherwise indicate what action occurred.

Editing messages in the chat log does not update existing Memory Recall fragments. Even after clearing all memories or forgetting a memory, old vectorized fragments can remain unchanged.

In Game Mode, these stale memory fragments can later feed back into the GM when wrapping up a session, causing deleted or edited details to be baked into Session Histories. The user had to manually edit the new session history to prevent stale details from derailing the story.

Steps to reproduce

  1. Use Marinara Engine 1.5.8 on Windows 11 installed via the installer.
  2. Start or open a Game Mode session.
  3. Generate enough messages for Memory Recall fragments/chunks to be created and vectorized.
  4. Edit a generated GM narration message in the chat log, such as fixing a typo.
  5. Clear memories for the chat or forget the affected memory.
  6. Continue messaging the game for a bit.
  7. Open Memory Recall and check the recalled/vectorized fragments.
  8. Observe that the old typo or old text may still appear in Memory Recall even though it is no longer present in the chat log.
  9. Click the Memory Recall refresh button.
  10. Observe that there is no visible change or indication that refresh did anything.

Environment

  • Marinara Engine version: 1.5.8
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: App shell
  • Chat mode: Game Mode
  • Connections: NanoGPT using Opus/Gemini, Gemma for agents; ZAI using GLM 5.1
  • Embeddings: text-embedding-3-large through OpenRouter

Logs, screenshots, or video

No logs or screenshots provided.

User test case:

Tested by fixing a typo generated during a GM turn in the narration.
Cleared the memories for the chat.
Messaged the game a bit more.
Checked Memory Recall.
The typo was still present in Memory Recall but not in the chat log.

Additional context

The user has only observed this in Game Mode, since that is the mode they primarily use.

There may be some uncertainty about intended behavior: the delete/forget UI says it does not delete chat messages, but it is unclear whether clearing memories should trigger re-vectorization from the edited chat history or permanently remove generated fragments until new ones are created.

This becomes more disruptive in Game Mode because stale Memory Recall content can be included later when sessions are wrapped up and summarized into Session Histories.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/445 ## Summary Memory Recall in Game Mode appears to keep stale vectorized fragments after chat messages are edited, forgotten, or cleared. The refresh button also appears non-functional, with no visible change or loading indicator when clicked. ## Expected behavior Memory Recall should clearly update or reprocess memories when the user refreshes, clears memories, forgets a memory, or edits the underlying chat messages. If edited chat messages are re-vectorized, Memory Recall fragments should reflect the updated chat log text instead of preserving old content. ## Actual behavior The Memory Recall refresh button appears to do nothing visibly. Clicking it does not show a loading indicator, update the memory chunks display, or otherwise indicate what action occurred. Editing messages in the chat log does not update existing Memory Recall fragments. Even after clearing all memories or forgetting a memory, old vectorized fragments can remain unchanged. In Game Mode, these stale memory fragments can later feed back into the GM when wrapping up a session, causing deleted or edited details to be baked into Session Histories. The user had to manually edit the new session history to prevent stale details from derailing the story. ## Steps to reproduce 1. Use Marinara Engine `1.5.8` on Windows 11 installed via the installer. 2. Start or open a Game Mode session. 3. Generate enough messages for Memory Recall fragments/chunks to be created and vectorized. 4. Edit a generated GM narration message in the chat log, such as fixing a typo. 5. Clear memories for the chat or forget the affected memory. 6. Continue messaging the game for a bit. 7. Open Memory Recall and check the recalled/vectorized fragments. 8. Observe that the old typo or old text may still appear in Memory Recall even though it is no longer present in the chat log. 9. Click the Memory Recall refresh button. 10. Observe that there is no visible change or indication that refresh did anything. ## Environment - Marinara Engine version: `1.5.8` - Install type: installer - OS + version: Windows 11 - Browser or app shell: App shell - Chat mode: Game Mode - Connections: NanoGPT using Opus/Gemini, Gemma for agents; ZAI using GLM 5.1 - Embeddings: `text-embedding-3-large` through OpenRouter ## Logs, screenshots, or video No logs or screenshots provided. User test case: ```text Tested by fixing a typo generated during a GM turn in the narration. Cleared the memories for the chat. Messaged the game a bit more. Checked Memory Recall. The typo was still present in Memory Recall but not in the chat log. ``` ## Additional context The user has only observed this in Game Mode, since that is the mode they primarily use. There may be some uncertainty about intended behavior: the delete/forget UI says it does not delete chat messages, but it is unclear whether clearing memories should trigger re-vectorization from the edited chat history or permanently remove generated fragments until new ones are created. This becomes more disruptive in Game Mode because stale Memory Recall content can be included later when sessions are wrapped up and summarized into Session Histories. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:08 +07:00
  • closed this issue
  • added the
    bug
    label
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-Engine#196
No description provided.