mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6897] [MERGED] feat(roleplay): let a private note be shown to one character #7371
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#7371
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/6897
Author: @SpicyMarinara
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/private-note-narrator📝 Commits (3)
8aace33feat(roleplay): let a private note be shown to one character5417862test(roleplay): prove shared notes stay out of merged group prompts822320dMerge branch 'staging' into feat/private-note-narrator📊 Changes
11 files changed (+343 additions, -14 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
docs/roleplay/getting-started.md(+2 -0)➕
e2e/private-note-narrator.e2e.ts(+124 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+13 -3)📝
packages/client/src/components/chat/MessageMarks.tsx(+68 -2)📝
packages/client/src/localization/locales/en.json(+7 -1)📝
packages/server/src/routes/generate.routes.ts(+11 -0)📝
packages/server/src/routes/generate/dry-run-route.ts(+10 -0)📝
packages/server/src/services/generation/roleplay-commands.ts(+22 -0)📝
packages/shared/src/utils/message-marks.ts(+26 -5)📝
scripts/regressions/message-marks.regression.ts(+57 -3)📄 Description
Linked issue
Closes #6895
Why this change
[notes: content="…"]command, but few users discover that format, because it's written into the message text. The Private note under a message's Bookmark, pin or note action is easy to find, but it's never sent to the model. This lets that note reach one chosen character.What changed
roleplayPrivateContext).privateNoteRecipientIdin the message marks (validated, mirrored across swipes, removed from exports along with the note). It stores a character ID, so a rename can't redirect a note.docs/roleplay/getting-started.md→ Your private notes. Translation follow-up: #6896.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated checks run locally:
pnpm check: exit 0 on8aace332d. The follow-up commit only changes the e2e test and is Prettier-clean.message-marksregression: covers recipient validation, removal from exports, andappendRoleplayMessageNotesdelivering a note only to its recipient character. It checks that no note reaches another character, the persona, a viewer with none shared, or non-history prompt parts.pnpm regression:prompt.e2e/private-note-narrator.e2e.ts, 3/3 (desktop Chromium, mobile Chromium, mobile WebKit), using real Peek Prompt dry runs: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)docs/roleplay/getting-started.mdandCHANGELOG.mdare updated. Translated docs follow-up: #6896.UI evidence (if applicable)
In the mobile WebKit capture from the e2e test, the Private note shows the Show the note to the narrator character switch on, with its hint, and "Mira Narrator" preselected below it.
Summary by CodeRabbit
[whisper: ...]format.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.