mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3184] [MERGED] [codex] Make game narration summarizer prompt editable #5832
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#5832
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/3184
Author: @thetopham
Created: 7/3/2026
Status: ✅ Merged
Merged: 7/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/editable-game-narration-summarizer-3183📝 Commits (1)
85743a2Make game narration summarizer prompt editable📊 Changes
5 files changed (+116 additions, -26 deletions)
View changed files
📝
packages/client/src/components/panels/SettingsPanel.tsx(+8 -3)📝
packages/server/src/routes/game.routes.ts(+36 -20)📝
packages/server/src/services/prompt-overrides/index.ts(+2 -0)📝
packages/server/src/services/prompt-overrides/registry.ts(+14 -2)📝
packages/server/src/services/prompt-overrides/registry/game-assets.ts(+56 -1)📄 Description
Linked issue
Closes #3183
Why this change
Users can edit Game Mode image prompt templates for NPC portraits, backgrounds, and scene illustrations, but the narration summarizer that converts completed Game Mode narration into the final illustration prompt was still hardcoded. That meant prompt engineering could tune the final image template but not the upstream summarization step that selects the visible moment and details.
What changed
game.narrationSummarizeras a prompt override with default behavior matching the previous hardcoded summarizer instructions.loadPrompt, with fallback to the built-in default when no enabled override exists or rendering fails.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm.cmd checkpassed locally.pnpm.cmd --filter @marinara-engine/server lint,pnpm.cmd --filter @marinara-engine/shared lint, andpnpm.cmd --filter @marinara-engine/client exec eslint src/components/panels/SettingsPanel.tsxpassed locally.Game Narration Summarizerappears in the registered prompt dropdown.game.narrationSummarizeroverride, generate or preview a Game Mode scene illustration from narration, and confirm the summarizer prompt uses the override while disabled/reset templates fall back to default behavior.Docs and release impact
No install, update, release, or version-bearing behavior changed.
UI evidence (if applicable)
Not captured. The PR changes an existing settings dropdown entry rather than adding a new screen; manual UI verification is listed above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.