mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4300] [Issue]: Game backgrounds omit the latest turn from Dynamic LLM Prompt generation #2327
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#2327
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 (Jul 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4300
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Game Mode background generation does not give the Dynamic LLM Prompt director the completed GM turn. This affects backgrounds requested by scene analysis and by the Background button in Gallery.
Expected behavior
When Dynamic LLM Prompt Generation for GM Mode Assets is enabled, every generated Game background should run the prompt model with the latest visible GM turn as first-class scene context before sending the resulting prompt to the image provider.
Actual behavior
The shared prompt director receives setup/state fields and a deterministic draft prompt assembled from predefined information. Scene-analysis backgrounds may contribute only an unresolved background tag, and manual Gallery backgrounds contribute a short assembled description, so the generated provider prompt is not authored from the completed turn.
Steps to reproduce
Environment
Logs, screenshots, or video
No recording or logs were provided for this report. Static path inspection confirms both entry points converge on
/game/generate-assets, whose dynamic prompt context does not include the latest GM message.Additional context
Related to #4219, which routed Gallery buttons into the dynamic-aware Game endpoint but did not add the completed turn to the shared prompt-director request.
Implementation owner: @SpicyMarinara.
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 (Jul 30, 2026):
Claimed by @SpicyMarinara. Implementation is tracked in draft PR #4301 against
staging.