mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #962] [MERGED] Fix GM scene image instructions #4856
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#4856
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/962
Author: @cha1latte
Created: 5/17/2026
Status: ✅ Merged
Merged: 5/17/2026
Merged by: @cha1latte
Base:
staging← Head:fix/gm-scene-image-instructions📝 Commits (2)
1f7fac0Fix GM scene image instructionsa48e206Sanitize GM scene image style prompts📊 Changes
2 files changed (+25 additions, -0 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+4 -0)📝
packages/server/src/services/game/gm-prompts.ts(+21 -0)📄 Description
Linked issue
No linked issue yet; one should be opened before submission.
Why this change
What changed
artStylePromptinto the GM prompt context.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
packages\server\node_modules\.bin\tsx.cmd scratch\gm-scene-image-instructions-repro.tsGM format reminder includes scene image instructions: falseGM format reminder includes scene image instructions: trueGM format reminder strips injected art-style syntax: truepnpm checkpassed locally.git diff --checkpassed; touched server files have noconsole.*matches; Bunny review pass completed before PR open and after the CodeRabbit follow-up.artStylePrompttext to a single plain-text line before inserting it into the GM format reminder.Docs and release impact
UI evidence (if applicable)
N/A. This is a backend prompt assembly bug verified with a focused scratch harness; no visible UI state changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.