mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7046] [MERGED] fix(roleplay): include macro-referenced characters in narrator avatars #7441
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#7441
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/7046
Author: @SpicyMarinara
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/narrator-macro-avatars-7045📝 Commits (3)
6aae4d7chore: track narrator macro avatar fixb203c71fix(roleplay): include ID-macro references in narrator avatars22943edfix(roleplay): preserve narrator references when continuing replies📊 Changes
8 files changed (+511 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/narrator-macro-avatars.e2e.ts(+319 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+21 -6)📝
packages/server/src/routes/generate.routes.ts(+25 -0)📝
packages/server/src/services/prompt/assembler.ts(+3 -0)📝
packages/shared/src/types/chat.ts(+2 -0)📝
scripts/regressions/active-character-reference.regression.ts(+46 -2)📝
scripts/regressions/character-id-macro-modes.regression.ts(+93 -0)📄 Description
Linked issue
Closes #7045
Why this change
In Roleplay groups using Merged (Narrator), a character loaded through an ID macro could be present in the prompt while their avatar was missing from the narrator's cycle. These references should affect the avatars without adding characters to the group or changing who speaks.
What changed
Validation
Passed locally:
pnpm check(localization, formatting, lint/types, production build).pnpm regression:prompt; focusedactive-character-reference,character-id-macro-modes, andopen-issuesregressions.pnpm smoke:ui(7 checks).node scripts/smoke-container.mjs marinara-7045-continuation full arm64(frontend/API, native modules, persistence, shutdown).The change reuses existing macro discovery and does not alter prompt resolution or card-injection limits. References are presentation metadata, not group membership.
Docs and release impact
User-facing Unreleased changelog entry added. No version bump or translated documentation change.
UI evidence
Before/after browser screenshots and fixture details.
Owner: @SpicyMarinara. Implementation and automated validation by Codex.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.