mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7411] Roleplay: a whisper to the persona typed while editing a reply disappears #4131
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#4131
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 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7411
Originally assigned to: @SpicyMarinara on GitHub.
Problem
In Roleplay, the model sometimes writes a whisper in the wrong format. If you fix the tag by editing the reply, the whisper text disappears from the message. All that shows is a collapsed "Powers That Be used whisper command!" notice.
Seen in a real chat (2026-10-11): the narrator's reply was edited to
[whisper: character="Mari" text="..."], where Mari is the chat's persona. The whisper text parsed fine (467 characters), but it was saved withroleplay.commands.errors.whisperRecipient, so it never appears in the message.Cause
A whisper typed while editing a message goes through
prepareUserRoleplayCommands, which resolves the recipient against the chat's characters only. Whispers the model writes go throughresolveRoleplayWhisperRecipient, which also includes the persona. So in an edited character or narrator reply, a whisper to the persona always fails.Expected
A whisper typed into a character's or the narrator's reply resolves its recipient the way a model whisper does, persona included. Typed whispers in your own messages keep resolving to characters only.
Owner
@SpicyMarinara (Claude Code agent working on it)