[GH-ISSUE #7390] Advanced Memory: Decide who sees new messages stops hiding absent characters once a new scene runs a few messages #4117

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

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

What happens

In a Roleplay group chat where characters reply one by one, with Advanced Memory, Use Decision model and Decide who sees new messages on, new messages stop being hidden from characters who are elsewhere once a new scene has run for a few messages. The user then has to hide them by hand.

In the reported chat (Decision model: hosted Jev), every message after a *** scene break is the same stair scene, and three characters are far away. The automatic decisions hid all three for the first messages of the scene, then fewer, then nobody.

Why

planVisibility shows the Decision model the current saved scene plus at least VISIBILITY_MIN_CONTEXT (4) earlier messages. Since #7373/#7374, Decision-model scene checks actually save scene starts. Before that, scenes never ended, so the window always reached back into earlier scenes. Once a new scene has 4 or more messages before the one being decided, the window no longer shows the absent characters anywhere. The presence question treats "unclear" as present, so nothing is hidden.

A replay of the chat against a local mock of the Decision service shows the hiding fading exactly as the absent characters' last messages leave the window. Request size, question count, timeouts and the Jev protocol are all fine.

Expected

Characters the current scene never shows are judged with where they were last seen, so they are hidden when they are elsewhere, however long the scene runs.

Originally created by @SpicyMarinara on GitHub (Oct 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7390 ## What happens In a Roleplay group chat where characters reply one by one, with Advanced Memory, **Use Decision model** and **Decide who sees new messages** on, new messages stop being hidden from characters who are elsewhere once a new scene has run for a few messages. The user then has to hide them by hand. In the reported chat (Decision model: hosted Jev), every message after a `***` scene break is the same stair scene, and three characters are far away. The automatic decisions hid all three for the first messages of the scene, then fewer, then nobody. ## Why `planVisibility` shows the Decision model the current saved scene plus at least `VISIBILITY_MIN_CONTEXT` (4) earlier messages. Since #7373/#7374, Decision-model scene checks actually save scene starts. Before that, scenes never ended, so the window always reached back into earlier scenes. Once a new scene has 4 or more messages before the one being decided, the window no longer shows the absent characters anywhere. The presence question treats "unclear" as present, so nothing is hidden. A replay of the chat against a local mock of the Decision service shows the hiding fading exactly as the absent characters' last messages leave the window. Request size, question count, timeouts and the Jev protocol are all fine. ## Expected Characters the current scene never shows are judged with where they were last seen, so they are hidden when they are elsewhere, however long the scene runs.
bsakaguchi 2026-10-21 06:11:03 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Oct 10, 2026):

Fixed on staging by #7391. In a saved scene, a character hidden from every earlier message of the scene (at least four) now counts as away. Their latest earlier message stays in front of the Decision model, so new messages are hidden from them again however long the scene runs.

<!-- gh-comment-id:6098783265 --> @SpicyMarinara commented on GitHub (Oct 10, 2026): Fixed on staging by #7391. In a saved scene, a character hidden from every earlier message of the scene (at least four) now counts as away. Their latest earlier message stays in front of the Decision model, so new messages are hidden from them again however long the scene runs.
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#4117
No description provided.