[GH-ISSUE #6631] [Issue]: Advanced Memory skips history hidden by automatic summaries #3712

Closed
opened 2026-10-21 06:06:26 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Advanced Memory in Roleplay skips historical messages hidden from AI by automatic Chat Summaries. This loses their scene boundaries, participant attribution, excerpts, and scene summaries when preparing memory initially or later.

Expected behavior

As clarified by SpicyMarinara, Advanced Memory scans all globally hidden turns, including manual hides, and assigns scene access to the characters who participated, even when automatic summaries have hidden those turns from the live prompt. Character-specific knowledge restrictions still apply.

Actual behavior

Advanced Memory filters out messages with hiddenFromAI: true in source selection and scene classification, so summarized history can be missing from the archive.

Steps to reproduce

  1. Enable automatic summaries and hiding of summarized messages in a Roleplay chat.
  2. Continue the chat until earlier messages have been summarized and hidden.
  3. Enable Advanced Memory and prepare history, or process history again later.
  4. Inspect scene summaries, access, and indexed source excerpts for the hidden turns.

Environment

  • Marinara Engine version: not supplied in the report; tracing current staging.
  • Install type: not supplied.
  • OS + version: not supplied.
  • Browser or app shell: not supplied.

Logs, screenshots, or video

Maintainer report; deterministic server regression will be added with the fix.

Additional context

Requested by SpicyMarinara. Codex is implementing the fix on codex/advanced-memory-hidden-history, targeting staging.

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 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6631 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Advanced Memory in Roleplay skips historical messages hidden from AI by automatic Chat Summaries. This loses their scene boundaries, participant attribution, excerpts, and scene summaries when preparing memory initially or later. ## Expected behavior As clarified by SpicyMarinara, Advanced Memory scans all globally hidden turns, including manual hides, and assigns scene access to the characters who participated, even when automatic summaries have hidden those turns from the live prompt. Character-specific knowledge restrictions still apply. ## Actual behavior Advanced Memory filters out messages with `hiddenFromAI: true` in source selection and scene classification, so summarized history can be missing from the archive. ## Steps to reproduce 1. Enable automatic summaries and hiding of summarized messages in a Roleplay chat. 2. Continue the chat until earlier messages have been summarized and hidden. 3. Enable Advanced Memory and prepare history, or process history again later. 4. Inspect scene summaries, access, and indexed source excerpts for the hidden turns. ## Environment - Marinara Engine version: not supplied in the report; tracing current staging. - Install type: not supplied. - OS + version: not supplied. - Browser or app shell: not supplied. ## Logs, screenshots, or video Maintainer report; deterministic server regression will be added with the fix. ## Additional context Requested by SpicyMarinara. Codex is implementing the fix on `codex/advanced-memory-hidden-history`, targeting staging. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [x] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:06:26 +07:00
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#3712
No description provided.