[GH-ISSUE #7191] [Issue]: A whisper is lost when its message is hidden from the whisper's recipient #4014

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In a Roleplay group chat (individual mode), when a message is hidden from a character, a whisper to that character inside the same message is hidden too. The whole point of a whisper is that its recipient receives it.

Expected behavior

  • Hiding a message from a character hides the message's narration, not the whispers addressed to that character. The recipient still gets the whisper in its context at that point in the story.
  • If the user doesn't want the recipient to have it, they edit the whisper to be empty. An emptied whisper is then removed from the message automatically.

Actual behavior

The narrator narrates a message to the persona, who is alone, and whispers to Maukie, who isn't there. The user hides the message from Maukie, as intended, but on Maukie's next turn the whisper is missing from his context.

Steps to reproduce

  1. Roleplay group chat in individual mode with a narrator, the persona and Maukie.
  2. A narrator message addressed to the persona contains a whisper to Maukie.
  3. Hide that message from Maukie.
  4. Let Maukie reply and inspect his prompt: the whisper is absent.

Environment

  • Marinara Engine version: staging
  • Install type: any
  • OS + version: any
  • Browser or app shell: any

Additional context

Reported by the maintainer. Cause: appendRoleplayWhispers (packages/server/src/services/generation/roleplay-commands.ts) only inserts whispers into history messages already in the viewer's prompt. A message hidden through hiddenFromAICharacterIds is filtered out first (prompt-message-scope.ts), so its whisper has nowhere to go.

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7191 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In a Roleplay group chat (individual mode), when a message is hidden from a character, a whisper to that character inside the same message is hidden too. The whole point of a whisper is that its recipient receives it. ## Expected behavior - Hiding a message from a character hides the message's narration, not the whispers addressed to that character. The recipient still gets the whisper in its context at that point in the story. - If the user doesn't want the recipient to have it, they edit the whisper to be empty. An emptied whisper is then removed from the message automatically. ## Actual behavior The narrator narrates a message to the persona, who is alone, and whispers to Maukie, who isn't there. The user hides the message from Maukie, as intended, but on Maukie's next turn the whisper is missing from his context. ## Steps to reproduce 1. Roleplay group chat in individual mode with a narrator, the persona and Maukie. 2. A narrator message addressed to the persona contains a whisper to Maukie. 3. Hide that message from Maukie. 4. Let Maukie reply and inspect his prompt: the whisper is absent. ## Environment - Marinara Engine version: `staging` - Install type: any - OS + version: any - Browser or app shell: any ## Additional context Reported by the maintainer. Cause: `appendRoleplayWhispers` (`packages/server/src/services/generation/roleplay-commands.ts`) only inserts whispers into history messages already in the viewer's prompt. A message hidden through `hiddenFromAICharacterIds` is filtered out first (`prompt-message-scope.ts`), so its whisper has nowhere to go.
bsakaguchi 2026-10-21 06:09:33 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

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

Fixed on staging by #7196. Ships to main with the next promotion.

<!-- gh-comment-id:6028349487 --> @SpicyMarinara commented on GitHub (Oct 7, 2026): Fixed on `staging` by #7196. Ships to `main` with the next promotion.
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#4014
No description provided.