mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3839] [MERGED] Add character-scoped Roleplay message visibility #6124
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#6124
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/3839
Author: @SpicyMarinara
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/illustrator-cadence-targeted-ai-visibility📝 Commits (5)
bb16254chore: start roleplay visibility and cadence fixes129a4e9feat: add character-scoped roleplay visibility50f0253fix: clip AI visibility avatars to their frameseadcb49fix: preserve scoped prompt audiences58bf043Merge remote-tracking branch 'origin/staging' into fix/illustrator-cadence-targeted-ai-visibility📊 Changes
16 files changed (+628 additions, -57 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/chats/messages.md(+3 -1)📝
packages/client/src/components/chat/ChatArea.tsx(+8 -2)📝
packages/client/src/components/chat/ChatMessage.tsx(+355 -28)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+5 -1)📝
packages/server/src/routes/chats.routes.ts(+4 -1)📝
packages/server/src/routes/generate.routes.ts(+15 -0)📝
packages/server/src/routes/generate/dry-run-route.ts(+14 -0)📝
packages/server/src/routes/generate/generate-route-utils.ts(+16 -0)📝
packages/server/src/services/generation/prompt-message-scope.ts(+16 -0)📝
packages/server/src/services/prompt/assembler.ts(+13 -4)📝
packages/server/src/services/prompt/merger.ts(+41 -19)📝
packages/server/src/services/storage/chats.storage.ts(+8 -1)📝
packages/shared/src/types/chat.ts(+2 -0)📝
packages/shared/src/types/prompt.ts(+2 -0)📝
scripts/regressions/prompt.regression.ts(+124 -0)📄 Description
Why
Roleplay group chats need message visibility scoped to selected characters so private information can remain available to the rest of the cast. The existing control also briefly used a browser tap-highlight color instead of the configured chat chroma.
The accompanying Illustrator cadence report was investigated on the same branch. Persisted state for the reported chat shows three swipes and one accepted assistant reply since an interval-2 run; the cadence endpoint reports that the next accepted assistant reply is eligible. No cadence behavior was changed without a reproducible failing state, and #3820 remains open for manual confirmation.
Fixes #3838
Refs #3820
Changes
Automated evidence
pnpm checkpnpm regression:promptpnpm --filter @marinara-engine/client buildTest plan
pnpm regression:promptpnpm checkSummary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.