mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7211] [MERGED] fix(memory): let automatic visibility hide narration from an absent whisper recipient #7625
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#7625
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7211
Author: @SpicyMarinara
Created: 10/7/2026
Status: ✅ Merged
Merged: 10/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/auto-visibility-whisper-recipients📝 Commits (1)
13b6fb2fix(memory): let automatic visibility hide narration from an absent whisper recipient (#7192)📊 Changes
4 files changed (+17 additions, -13 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/agents/memory.md(+1 -1)📝
packages/server/src/services/advanced-memory.ts(+3 -9)📝
scripts/regressions/advanced-memory-visibility.regression.ts(+12 -3)📄 Description
Linked issue
Refs #7192 and #7191 (both closed by #7199 and #7196). Finishes the behaviour the maintainer asked for across both.
Why this change
The maintainer's scenario: the persona is alone, and the narrator whispers to Maukie, who isn't there. Maukie should not see the narration but should still get the whisper.
#7199 (automatic visibility) shipped with a placeholder
ponytail:rule that never auto-hid a message from its whisper recipient. That was needed because, before #7196, hiding a message also dropped its whispers. With #7196 on staging, a message hidden from a character still delivers whispers addressed to them, so the placeholder now works against the request: an absent Maukie would see the whole narration just because it carries his whisper.What changed
advanced-memory.ts: whisper recipients are ordinary candidates for automatic visibility again. The narrators and the author are still never hidden. The unusedgetRoleplayWhispersimport is removed.advanced-memory-visibility.regression.ts: the whisper case now expects the absent recipient (Pantalone) to be a candidate and hidden. It also checks with #7196'sroleplayHiddenWhisperMessageIdsthat the hidden message still delivers its whisper to him.docs/agents/memory.md: the visibility rules say an absent whisper recipient loses the rest of the message but still gets the whisper.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks:
pnpm check; theadvanced-memory-visibility,roleplay-whisper-hidden-recipientandroleplay-whisper-generationregressions pass.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation) — covered by #7202Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.