[GH-ISSUE #2155] [Issue]: Game mode — inline-GM games lose generated-background tag guidance and art-style instruction #1065

Closed
opened 2026-10-21 05:26:15 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2155

Originally assigned to: @cha1latte on GitHub.

Summary

Severity: minor. In games with no separate scene model (inline GM) and background generation enabled, the GM format reminder no longer tells the GM it may emit [bg: backgrounds:generated:<slug>] or which art style generated images must follow. Both lines were removed and the fields dropped from the reminder's parameter type.

Expected behavior

As in main: under if (!hasSceneModel), when canGenerateBackgrounds the reminder pushes the [bg: backgrounds:generated:<slug>] guidance and a "Generated scene images must follow this visual instruction: " line.

Actual behavior

The !hasSceneModel branch emits only the static "Scene tags allowed" line. canGenerateBackgrounds and artStylePrompt were removed from buildGmFormatReminder's Pick type and are never passed. The equivalent guidance now lives only in the scene-analyzer path, which runs only when a separate scene model IS configured — the opposite of this case.

Steps to reproduce

  1. Start a game with no scene model (hasSceneModel=false) but background generation enabled and a setup art-style prompt.
  2. Move the scene to a brand-new location and inspect the GM format reminder.
  3. Refactor: only "Scene tags allowed: ..."; no generated-bg guidance, no art-style steering. Main: both lines present.

Impact area

  • Game mode
  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/server/src/services/game/gm-prompts.ts:788-805 (+ Pick type :614-615), caller generate.routes.ts:4965-4966.
  • refactor: src/engine/modes/game/prompts/gm-prompts.ts:784-786 (+ Pick type :610-628); caller src/engine/generation/prompt-assembly.ts:720-736 never passes the fields.
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2155 Originally assigned to: @cha1latte on GitHub. ## Summary **Severity: minor.** In games with no separate scene model (inline GM) and background generation enabled, the GM format reminder no longer tells the GM it may emit `[bg: backgrounds:generated:<slug>]` or which art style generated images must follow. Both lines were removed and the fields dropped from the reminder's parameter type. ## Expected behavior As in main: under `if (!hasSceneModel)`, when `canGenerateBackgrounds` the reminder pushes the `[bg: backgrounds:generated:<slug>]` guidance and a "Generated scene images must follow this visual instruction: <artStylePrompt>" line. ## Actual behavior The `!hasSceneModel` branch emits only the static "Scene tags allowed" line. `canGenerateBackgrounds` and `artStylePrompt` were removed from `buildGmFormatReminder`'s Pick type and are never passed. The equivalent guidance now lives only in the scene-analyzer path, which runs only when a separate scene model IS configured — the opposite of this case. ## Steps to reproduce 1. Start a game with no scene model (`hasSceneModel=false`) but background generation enabled and a setup art-style prompt. 2. Move the scene to a brand-new location and inspect the GM format reminder. 3. Refactor: only "Scene tags allowed: ..."; no generated-bg guidance, no art-style steering. Main: both lines present. ## Impact area - [x] Game mode - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/server/src/services/game/gm-prompts.ts:788-805` (+ Pick type :614-615), caller `generate.routes.ts:4965-4966`. - refactor: `src/engine/modes/game/prompts/gm-prompts.ts:784-786` (+ Pick type :610-628); caller `src/engine/generation/prompt-assembly.ts:720-736` never passes the fields.
bsakaguchi 2026-10-21 05:26:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1065
No description provided.