mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2135] [Issue]: Game mode — GM and party system prompts no longer receive the per-character sprite list #1046
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#1046
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 @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2135
Originally assigned to: @cha1latte on GitHub.
Summary
Severity: major. The GM and party agents are no longer told which sprite expressions and full-body aliases each character actually has, so they pick free-form expression tags that may not match saved sprites.
Expected behavior
As in main:
listPartySpritesreads each party member's sprite directory, buckets names into expressions / custom full-body aliases / engine-reserved automatic poses, and passes that ascharacterSpritesinto bothbuildGmSystemPromptandbuildPartySystemPrompt, which emit an "Available sprites per character" listing.Actual behavior
The prompt blocks that consume
characterSpriteswere ported verbatim, but nothing ever populates the parameter — it is alwaysundefined, so the per-character sprite listing is always omitted. NoCharacterSpriteInfo[]is ever built. The separate_availableSpritespath only feeds the dedicated facial-expression agent, not the GM or party agents.Steps to reproduce
Impact area
Environment
refactor@14894608main@c49f1d95(legacy web app)Regression notes
Worked in the legacy web app.
packages/server/src/services/game/sprite.service.ts:174(listPartySprites), consumed atgenerate.routes.ts:4826(GM) andgame.routes.ts:5865(party).src/engine/generation/prompt-assembly.ts:676-709never setscharacterSprites(forwarded undefined at :730);src/features/modes/game/api/game-api.ts:2492(buildPartySystemPrompt) omits it. Consuming-but-unfed blocks:src/engine/modes/game/prompts/gm-prompts.ts:635-652,party-prompts.ts:57-66. NolistPartySpritesin refactor.