[GH-ISSUE #7758] [Issue]: Branching prepared roleplay history resets Advanced Memory preparation #4282

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Branching from a past message in a roleplay chat with prepared Advanced Memory retains earlier memories but discards the processing checkpoints, requiring classification of the entire branch again. An incomplete saved swipe history can also make branching substitute an obsolete reply and invalidate a previously prepared scene.

Expected behavior

Retain complete earlier scenes and their memories, discard memories from omitted history, reopen the scene containing the fork, and continue normal memory upkeep without preparing the entire chat again. Preserve the selected reply and character knowledge permissions.

Actual behavior

The branch starts unprepared despite retaining valid earlier scenes. A fork exactly at a saved scene ending can leave that scene closed. If the selected swipe is absent from the saved swipe list, branching silently selects an older swipe.

Steps to reproduce

  1. Prepare Advanced Memory in a roleplay chat with several scenes.
  2. Branch from a past message, including a message within a closed scene or exactly at its ending.
  3. Open Advanced Memory in the branch and observe that it requires full-history preparation again.

Environment

  • Marinara Engine version: reproduced in current staging code at 0f7bb33cb
  • Install type: live installation type not confirmed
  • OS + version: not provided
  • Browser or app shell: not provided

Logs, screenshots, or video

The new isolated branch regression fails on unchanged staging with actual 'idle' !== expected 'ready' and passes with the fix. No private chat content is included.

Additional context

Ownership: @SpicyMarinara, with Codex implementing the fix on fix/advanced-memory-branch-continuity.

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 (Oct 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7758 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Branching from a past message in a roleplay chat with prepared Advanced Memory retains earlier memories but discards the processing checkpoints, requiring classification of the entire branch again. An incomplete saved swipe history can also make branching substitute an obsolete reply and invalidate a previously prepared scene. ## Expected behavior Retain complete earlier scenes and their memories, discard memories from omitted history, reopen the scene containing the fork, and continue normal memory upkeep without preparing the entire chat again. Preserve the selected reply and character knowledge permissions. ## Actual behavior The branch starts unprepared despite retaining valid earlier scenes. A fork exactly at a saved scene ending can leave that scene closed. If the selected swipe is absent from the saved swipe list, branching silently selects an older swipe. ## Steps to reproduce 1. Prepare Advanced Memory in a roleplay chat with several scenes. 2. Branch from a past message, including a message within a closed scene or exactly at its ending. 3. Open Advanced Memory in the branch and observe that it requires full-history preparation again. ## Environment - Marinara Engine version: reproduced in current staging code at 0f7bb33cb - Install type: live installation type not confirmed - OS + version: not provided - Browser or app shell: not provided ## Logs, screenshots, or video The new isolated branch regression fails on unchanged staging with `actual 'idle' !== expected 'ready'` and passes with the fix. No private chat content is included. ## Additional context Ownership: @SpicyMarinara, with Codex implementing the fix on `fix/advanced-memory-branch-continuity`. ## 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:14:08 +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#4282
No description provided.