mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8402] [Issue]: Game Mode illustrations do not resolve appearance macros #8342
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#8342
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 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8402
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Game Mode storyboard and scene illustration prompts pass persona or character appearance text to the image model without resolving chat-variable macros. The macro appears as literal text in the prompt.
Expected behavior
Resolve macros in persona and character appearance fields, including imageAppearance overrides, using the chat's macro context before generating Game Mode illustrations.
Actual behavior
The Game Mode storyboard prompt includes the literal
{{getvar::quartermaster_appearance_persona}}macro, while the Game Mode chat output shows the macro resolving.Steps to reproduce
{{getvar::quartermaster_appearance_persona}}to a persona or character appearance field.Environment
6416fbf573)Logs, screenshots, or video
Game Mode diagnostics show the macro resolving in
/api/generate, but the/api/game/storyboard/generateprompt containsZella's Appearance: **Macro does not resolve here {{getvar::quartermaster_appearance_persona}}**.Additional context
The report notes that RP Mode resolves the same field through
resolvePersonaPromptTextingenerate.routes.ts; the Game Mode illustration path is affected.Discord thread: Game Mode storyboard/scene illustration doesn't resolve macros in persona/char appearance fields
Discord thread link: https://discord.com/channels/1417099416812392641/1564853959229710498
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 28, 2026):
@SpicyMarinara / Codex owns this fix. I checked open PRs, issue-linked work and branch names; no current implementation covers #8402. Current staging's Game appearance loaders insert the selected card/persona appearance without macro resolution. I am adding a regression at the real preview/provider boundary and reusing the existing chat-scoped macro resolver for storyboard and scene illustration paths, including imageAppearance overrides. Variable resolution will be isolated from saved chat/card state.
@SpicyMarinara commented on GitHub (Oct 28, 2026):
Fixed on
stagingvia #8404, merged asc1ac4bc8322de5833137e44dc06b96ddf1f5ee93.Game illustration previews, image generation, and storyboard planning now resolve character/persona appearance macros using the selected chat variables, persona, exact owning character, and scene clock. Macro writes remain local to the resolution; saved cards and chat variables are unchanged. Existing images are not regenerated automatically.
Validation on the final head
983b672de153cc035a363d553b7bb76797b8f764:pnpm check, prompt regressions, focused illustration/macro regressions, 7 browser smoke cases, and 1 production smoke case passed locally.After updating and restarting Engine, regenerate the affected illustration. The reporter’s physical Windows setup and a paid image provider were not exercised; actual request payloads were verified through a local API fixture.