[GH-ISSUE #6260] [Issue]: Memory Recall duplicates scene summaries #3492

Closed
opened 2026-10-21 06:03:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6260

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Memory Recall (Alpha) processes scene summaries more than once, creating duplicate entries for identical message ranges. The issue persists after clearing the knowledge base, regenerating memories, and testing the staging build.

Expected behavior

Each scene and continuity summary should be generated and stored once for its corresponding message range.

Actual behavior

Memory Recall generates duplicate summaries with identical context ranges but different wording. Initially, Scene #1, Scene #2, and the Continuity Summary were duplicated; on the staging build, Scene #1 through Scene #4 were duplicated while Scene #5 remained single and ongoing.

Steps to reproduce

  1. Use Memory Recall (Alpha) to initialize or regenerate summaries for a conversation.
  2. Delete or clear the knowledge base before reinitializing and regenerating the memories.
  3. Review the generated scene summaries and their message ranges.
  4. Repeat the test on the staging build and observe whether the same scene ranges appear more than once.

Environment

  • Marinara Engine version: 2.4.6; initial build 2.4.6+e0313a33caef (commit e0313a33ca); staging build 2.4.6+990b960e6244 (commit 990b960e62)
  • Install type: Not provided
  • OS + version: Linux 6.8.0-139-generic (x64)
  • Browser or app shell: Not provided

Logs, screenshots, or video

No screenshots or video provided. Diagnostics report Agent Model Split-31B.i1-Q4_K_M.gguf. Staging diagnostics report server memory heap 403.5 / 4288 MiB and RSS 720.9 MiB.

Additional context

The original report was GitHub Issue #6250, which was marked addressed and closed after landing on staging, but the reporter confirmed the problem remains. Example staging output: Scene #1 (1-18) twice, Scene #2 (19-30) twice, Scene #3 (31-34) twice, Scene #4 (35-37) twice, and Scene #5 (38-51) once.

Discord thread: [Bug]: Memory Recall (Alpha) Double Summaries for Scene #1 and Scene #2
Discord thread link: https://discord.com/channels/1417099416812392641/1549542331945066557
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (16 messages)
[2026-09-15T22:08:01.040Z] m;aemoifmpfmmafe: Hi, 

Memory Recall (Alpha) keeps generating double overlapping summaries for Scene #1 , Scene #2, and Continuity Summary.
So, we get
Scene #1
Scene #1
Continuity Summary
Continuity Summary
Scene #2
Scene #2
Scene #3
Scene #4
....

Reviewing the summaries, they are actually processed twice with the same message ranges.
Clearing the memories and regenerating doesn't fix the issue.

Scene #3 onwards are always not affected.

Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+e0313a33caef
Commit: e0313a33caef
Server OS: Linux 6.8.0-139-generic (x64)
Agent Model: Split-31B.i1-Q4_K_M.gguf
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549542331945066557]

[2026-09-15T22:08:01.667Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549542334574764244]

[2026-09-15T22:10:48.087Z] Marinara: Stupid question, but didn’t you accidentally click more than once, lol.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543032590827631]

[2026-09-15T22:11:13.427Z] Marinara: There was a problem that it allowed that sometimes.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543138874368063]

[2026-09-15T22:11:23.539Z] Marinara: I hoped I fixed it.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543181287297135]

[2026-09-15T22:11:38.163Z] m;aemoifmpfmmafe: No, I've deleted the knowledge base before reinitializing
Both times have doubled Scene 1 and Scene 2
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543242624663554]

[2026-09-15T22:12:07.402Z] Marinara: Hm, weird. If they are identical, the model isn’t generating twice, they just get doubled.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543365262049281]

[2026-09-15T22:12:19.577Z] Marinara: Probably an indexing issue.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543416327704607]

[2026-09-15T22:13:23.323Z] m;aemoifmpfmmafe: oh no, the doubled summaries are summarized from the same context history range, but the summary output is slightly different for both
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543683697934347]

[2026-09-15T22:13:37.035Z] m;aemoifmpfmmafe: looks like it was processed twice
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543741210239060]

[2026-09-15T22:14:12.652Z] Marinara: Oh, yeah, that clears things up.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543890598494209]

[2026-09-15T22:14:33.823Z] Marinara: May be related to my anti-double-click mechanism.
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543979396104225]

[2026-09-15T22:14:45.027Z] Marinara: @Professor Mari GitHub Issue
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549544026389094401]

[2026-09-15T22:15:25.939Z] Professor Mari [bot]: Skill issue. Made a GitHub Issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/6250

This post will be marked as "Closed" on Discord since it was moved to GitHub. When the fix lands on staging, the information will be posted here.
[Issue]: Memory Recall duplicates early scene and continuity summar...
Summary Memory Recall (Alpha) generates duplicate entries for Scene #1, Scene #2, and Continuity Summary. Each duplicate appears to process the same message range, while Scene #3 onward is unaffect...
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549544197986717738]

[2026-09-16T09:36:20.195Z] Professor Mari [bot]: The GitHub Issue #6250 was addressed and closed! It has now landed on staging (you can change the branch to staging in Marinara Engine's **Settings -> Advanced -> Updates -> Release Channel -> Staging/UAT**), so please test it out and let us know if everything works!
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549715553156071425]

[2026-09-16T15:19:36.633Z] m;aemoifmpfmmafe: Hi, just pulled the new staging branch, issue is still persistent.
Scene summaries processed twice.

SCENE #1 (1-18, Closed)
SCENE #1 (1-18, Closed)
SCENE #2 (19-30, Closed)
SCENE #2 (19-30, Closed)
SCENE #3 (31-34, Closed)
SCENE #3 (31-34, Closed)
SCENE #4 (35-37, Closed)
SCENE #4 (35-37, Closed)
SCENE #5 (38 - 51. Ongoing, Not Complete)

All duplicated entries have the same summary context, but worded different.

Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+990b960e6244
Commit: 990b960e6244
Server OS: Linux 6.8.0-139-generic (x64)
Server memory: heap 403.5 / 4288 MiB; RSS 720.9 MiB
[Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549801940878368810]

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 @SpicyMarinara on GitHub (Sep 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6260 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Memory Recall (Alpha) processes scene summaries more than once, creating duplicate entries for identical message ranges. The issue persists after clearing the knowledge base, regenerating memories, and testing the staging build. ## Expected behavior Each scene and continuity summary should be generated and stored once for its corresponding message range. ## Actual behavior Memory Recall generates duplicate summaries with identical context ranges but different wording. Initially, Scene #1, Scene #2, and the Continuity Summary were duplicated; on the staging build, Scene #1 through Scene #4 were duplicated while Scene #5 remained single and ongoing. ## Steps to reproduce 1. Use Memory Recall (Alpha) to initialize or regenerate summaries for a conversation. 2. Delete or clear the knowledge base before reinitializing and regenerating the memories. 3. Review the generated scene summaries and their message ranges. 4. Repeat the test on the staging build and observe whether the same scene ranges appear more than once. ## Environment - Marinara Engine version: 2.4.6; initial build 2.4.6+e0313a33caef (commit e0313a33caef); staging build 2.4.6+990b960e6244 (commit 990b960e6244) - Install type: Not provided - OS + version: Linux 6.8.0-139-generic (x64) - Browser or app shell: Not provided ## Logs, screenshots, or video No screenshots or video provided. Diagnostics report Agent Model Split-31B.i1-Q4_K_M.gguf. Staging diagnostics report server memory heap 403.5 / 4288 MiB and RSS 720.9 MiB. ## Additional context The original report was GitHub Issue #6250, which was marked addressed and closed after landing on staging, but the reporter confirmed the problem remains. Example staging output: Scene #1 (1-18) twice, Scene #2 (19-30) twice, Scene #3 (31-34) twice, Scene #4 (35-37) twice, and Scene #5 (38-51) once. Discord thread: [Bug]: Memory Recall (Alpha) Double Summaries for Scene #1 and Scene #2 Discord thread link: https://discord.com/channels/1417099416812392641/1549542331945066557 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (16 messages)</summary> ```text [2026-09-15T22:08:01.040Z] m;aemoifmpfmmafe: Hi, Memory Recall (Alpha) keeps generating double overlapping summaries for Scene #1 , Scene #2, and Continuity Summary. So, we get Scene #1 Scene #1 Continuity Summary Continuity Summary Scene #2 Scene #2 Scene #3 Scene #4 .... Reviewing the summaries, they are actually processed twice with the same message ranges. Clearing the memories and regenerating doesn't fix the issue. Scene #3 onwards are always not affected. Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+e0313a33caef Commit: e0313a33caef Server OS: Linux 6.8.0-139-generic (x64) Agent Model: Split-31B.i1-Q4_K_M.gguf [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549542331945066557] [2026-09-15T22:08:01.667Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549542334574764244] [2026-09-15T22:10:48.087Z] Marinara: Stupid question, but didn’t you accidentally click more than once, lol. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543032590827631] [2026-09-15T22:11:13.427Z] Marinara: There was a problem that it allowed that sometimes. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543138874368063] [2026-09-15T22:11:23.539Z] Marinara: I hoped I fixed it. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543181287297135] [2026-09-15T22:11:38.163Z] m;aemoifmpfmmafe: No, I've deleted the knowledge base before reinitializing Both times have doubled Scene 1 and Scene 2 [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543242624663554] [2026-09-15T22:12:07.402Z] Marinara: Hm, weird. If they are identical, the model isn’t generating twice, they just get doubled. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543365262049281] [2026-09-15T22:12:19.577Z] Marinara: Probably an indexing issue. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543416327704607] [2026-09-15T22:13:23.323Z] m;aemoifmpfmmafe: oh no, the doubled summaries are summarized from the same context history range, but the summary output is slightly different for both [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543683697934347] [2026-09-15T22:13:37.035Z] m;aemoifmpfmmafe: looks like it was processed twice [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543741210239060] [2026-09-15T22:14:12.652Z] Marinara: Oh, yeah, that clears things up. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543890598494209] [2026-09-15T22:14:33.823Z] Marinara: May be related to my anti-double-click mechanism. [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549543979396104225] [2026-09-15T22:14:45.027Z] Marinara: @Professor Mari GitHub Issue [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549544026389094401] [2026-09-15T22:15:25.939Z] Professor Mari [bot]: Skill issue. Made a GitHub Issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/6250 This post will be marked as "Closed" on Discord since it was moved to GitHub. When the fix lands on staging, the information will be posted here. [Issue]: Memory Recall duplicates early scene and continuity summar... Summary Memory Recall (Alpha) generates duplicate entries for Scene #1, Scene #2, and Continuity Summary. Each duplicate appears to process the same message range, while Scene #3 onward is unaffect... [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549544197986717738] [2026-09-16T09:36:20.195Z] Professor Mari [bot]: The GitHub Issue #6250 was addressed and closed! It has now landed on staging (you can change the branch to staging in Marinara Engine's **Settings -> Advanced -> Updates -> Release Channel -> Staging/UAT**), so please test it out and let us know if everything works! [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549715553156071425] [2026-09-16T15:19:36.633Z] m;aemoifmpfmmafe: Hi, just pulled the new staging branch, issue is still persistent. Scene summaries processed twice. SCENE #1 (1-18, Closed) SCENE #1 (1-18, Closed) SCENE #2 (19-30, Closed) SCENE #2 (19-30, Closed) SCENE #3 (31-34, Closed) SCENE #3 (31-34, Closed) SCENE #4 (35-37, Closed) SCENE #4 (35-37, Closed) SCENE #5 (38 - 51. Ongoing, Not Complete) All duplicated entries have the same summary context, but worded different. Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+990b960e6244 Commit: 990b960e6244 Server OS: Linux 6.8.0-139-generic (x64) Server memory: heap 403.5 / 4288 MiB; RSS 720.9 MiB [Discord message: https://discord.com/channels/1417099416812392641/1549542331945066557/1549801940878368810] ``` </details> ## 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-21 06:03:38 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Sep 16, 2026):

https://github.com/Pasta-Devs/Marinara-Engine/issues/6250

<!-- gh-comment-id:5700604957 --> @SpicyMarinara commented on GitHub (Sep 16, 2026): https://github.com/Pasta-Devs/Marinara-Engine/issues/6250
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#3492
No description provided.