mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3414] [MERGED] Improve NovelAI storyboard prompts and generation reliability #5925
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#5925
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/3414
Author: @thetopham
Created: 7/10/2026
Status: ✅ Merged
Merged: 7/10/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-storyboard-nai-prompts-3413📝 Commits (5)
588eb08fix(storyboards): preserve direct prompts and serialize NovelAI9745c8bfeat(storyboards): update default generation settings1d05c5efeat(novelai): add native storyboard character prompts3fc9874feat(storyboards): add NovelAI controls and presets0892ca5Apply CodeRabbit storyboard review suggestions📊 Changes
20 files changed (+555 additions, -79 deletions)
View changed files
📝
docs/IMAGE_GENERATION.md(+10 -0)📝
docs/SCENE_VIDEO_GENERATION.md(+4 -4)📝
docs/STORYBOARD_ENGINE_GUIDE.md(+4 -3)📝
docs/TROUBLESHOOTING.md(+3 -2)📝
packages/client/src/components/chat/AgentAddSetupFields.tsx(+12 -5)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+62 -29)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+2 -0)📝
packages/client/src/components/chat/HomeFaq.tsx(+1 -1)📝
packages/client/src/components/game/GameSetupWizard.tsx(+4 -2)📝
packages/server/src/routes/game.routes.ts(+194 -16)📝
packages/server/src/services/agents/agent-executor.ts(+3 -3)📝
packages/server/src/services/agents/default-prompt-migration.ts(+12 -0)📝
packages/server/src/services/game/game-asset-generation.ts(+27 -3)📝
packages/server/src/services/image/image-generation.ts(+86 -4)📝
packages/shared/src/constants/game-storyboard-prompts.ts(+31 -5)📝
packages/shared/src/features/agents/illustrator/manifest.ts(+1 -0)📝
packages/shared/src/types/agent.ts(+15 -2)📝
packages/shared/src/types/chat.ts(+4 -0)📝
packages/shared/src/types/sidecar.ts(+14 -0)📝
scripts/regressions/prompt.regression.ts(+66 -0)📄 Description
Linked issue
Closes #3413
Why this change
Concurrent generation is locked.What changed
characterPromptsto storyboard illustration requests and the Storyboard Illustrator contract for official NovelAI V4/V4.5 generations.char_captionsin bothv4_promptandv4_negative_prompt, withuse_coordsand deterministic fallback positions.imagePrompt.imagePromptdirectly, bypasses the Game Scene Illustration wrapper and override, and prevents source-tag distillation while retaining global style prefixes.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence produced while preparing this draft:
pnpm checkcompleted successfully on the exact committed implementation (Impeccable context, shared/server/client lint, and production builds).pnpm regression:promptcompleted successfully, including deterministic checks for the NovelAI built-in, editor copy action, toggle wiring, and Background default with explicit-mode override.git diff --cached --checkcompleted without whitespace errors before commit.Manual verification notes
The following remains a human/provider verification to-do list:
nativeCharacterPromptsplus separate character captions.pnpm smoke:uiwas attempted twice, including outside the restricted filesystem shell. Playwright never reached UI assertions because its isolated test server did not become ready athttp://127.0.0.1:7971/api/healthwithin 180 seconds. No live NovelAI generation was performed during automated validation because it would use the configured external provider account.Docs and release impact
Updated
docs/IMAGE_GENERATION.md,docs/SCENE_VIDEO_GENERATION.md,docs/STORYBOARD_ENGINE_GUIDE.md, anddocs/TROUBLESHOOTING.md. No release metadata or version-bearing files changed.UI evidence (if applicable)
No screenshot is attached. The Playwright smoke server did not start, and manual UI verification remains listed above.
Summary by CodeRabbit
New Features
Improvements
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.