mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7245] [Issue]: A character joining a group chat holds back Advanced Memory scenes with hidden messages #4041
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4041
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7245
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When a character joins a Roleplay group chat, Advanced Memory holds back every earlier scene recap whose scene had a message hidden from one of its characters. The recaps stay saved, but they drop out of the prompt for the characters with partial access and show up as needing review until Fix writes them again with paid helper calls. This happens in both merged and individual group chats.
This is part of the Discord report by kociol21 behind #7237: "adding a new character midway ... older summaries remained saved, but their content disappeared from the prompt." #7239 fixes the merged recall rule for newcomers but not this.
Expected behavior
Actual behavior
The saved scene-visibility revision (
sceneVisibility()inpackages/server/src/services/advanced-memory.ts) hashes the visibility of every character currently in the chat. Adding a character changes that hash, sohasCurrentSceneVisibility()turns false for every recap that saved one (scenes with partly hidden messages). Those recaps are then withheld from partial readers and flagged for Fix.Steps to reproduce
no-recall-candidatesin a merged chat). In an individual chat Pantalone loses it too, while Maukie, who sees every message of it, keeps it. The scene is now listed as needing Fix.Environment
stagingc2f214aa7Logs, screenshots, or video
Reproduced with an Advanced Memory regression fixture on
staging. Leaving the newcomer out of the visibility readers brings the recap back in both group modes.Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 7, 2026):
Fixed on
stagingby #7247. Ships tomainwith the next promotion.