[PR #3128] [MERGED] Increase Game illustration prompt limits #5810

Closed
opened 2026-10-22 04:19:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3128
Author: @thetopham
Created: 7/2/2026
Status: ✅ Merged
Merged: 7/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feature/game-illustration-prompt-limits


📝 Commits (1)

  • 0604202 Increase Game illustration prompt limits

📊 Changes

5 files changed (+12 additions, -12 deletions)

View changed files

📝 packages/client/src/components/game/GameSurface.tsx (+1 -1)
📝 packages/server/src/routes/game.routes.ts (+7 -7)
📝 packages/server/src/routes/sidecar.routes.ts (+1 -1)
📝 packages/server/src/services/game/game-asset-generation.ts (+2 -2)
📝 packages/server/src/services/sidecar/scene-analyzer.ts (+1 -1)

📄 Description

Linked issue

Closes #3131

Why this change

  • Game Mode illustration prompts and scene image instructions can be truncated before the image provider sees them, which causes detailed scene descriptions and user image instructions to be lost.

What changed

  • Raises manual Game scene illustration prompt text from 1200 to 5000 characters.
  • Allows Game and sidecar scene-analysis imagePromptInstructions up to 5000 characters.
  • Raises compiled Game illustration provider prompts from 2200 to 7000 characters.
  • Raises image prompt review override prompt and negative prompt limits to 7000 characters.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Ran pnpm.cmd --filter @marinara-engine/server lint.
  • Ran pnpm.cmd --filter @marinara-engine/client build.
  • pnpm check, container build, and browser click-through were not run in this environment.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No version-bearing files are touched.

UI evidence (if applicable)

Not applicable; this changes prompt/input limits and does not alter visible layout.

Summary by CodeRabbit

  • New Features
    • Increased the maximum length for scene and illustration prompt instructions, allowing much more detailed guidance to be included when generating or analyzing game scenes.
    • Expanded supported prompt sizes across scene analysis, preview generation, and asset generation flows.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3128 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/2/2026 **Status:** ✅ Merged **Merged:** 7/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feature/game-illustration-prompt-limits` --- ### 📝 Commits (1) - [`0604202`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0604202adf3acf6917bfbb57d55d438a818b5e6f) Increase Game illustration prompt limits ### 📊 Changes **5 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/GameSurface.tsx` (+1 -1) 📝 `packages/server/src/routes/game.routes.ts` (+7 -7) 📝 `packages/server/src/routes/sidecar.routes.ts` (+1 -1) 📝 `packages/server/src/services/game/game-asset-generation.ts` (+2 -2) 📝 `packages/server/src/services/sidecar/scene-analyzer.ts` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #3131 ## Why this change - Game Mode illustration prompts and scene image instructions can be truncated before the image provider sees them, which causes detailed scene descriptions and user image instructions to be lost. ## What changed - Raises manual Game scene illustration prompt text from 1200 to 5000 characters. - Allows Game and sidecar scene-analysis `imagePromptInstructions` up to 5000 characters. - Raises compiled Game illustration provider prompts from 2200 to 7000 characters. - Raises image prompt review override prompt and negative prompt limits to 7000 characters. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Ran `pnpm.cmd --filter @marinara-engine/server lint`. - Ran `pnpm.cmd --filter @marinara-engine/client build`. - `pnpm check`, container build, and browser click-through were not run in this environment. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No version-bearing files are touched. ## UI evidence (if applicable) Not applicable; this changes prompt/input limits and does not alter visible layout. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Increased the maximum length for scene and illustration prompt instructions, allowing much more detailed guidance to be included when generating or analyzing game scenes. * Expanded supported prompt sizes across scene analysis, preview generation, and asset generation flows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:19:42 +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#5810
No description provided.