mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4840] [MERGED] Ground Storyboard animation plans in generated illustrations #6514
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#6514
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/4840
Author: @thetopham
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @thetopham
Base:
staging← Head:agent/4839-illustration-aware-animation📝 Commits (8)
323b5b1Ground storyboard animation in generated framesdc36705Harden storyboard image log redaction7ea84d5Respect storyboard planner generation settings0507b11Reject truncated storyboard refinementsec386d8Honor storyboard animation presets during refinementdcf934dMove storyboard shot planning into agent prompts1887559Guide Storyboard prompt workflow430979aStrengthen Storyboard prompt scope regression📊 Changes
13 files changed (+739 additions, -67 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
e2e/core-flows.e2e.ts(+31 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+3 -0)📝
packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx(+152 -23)📝
packages/client/src/localization/locales/en.json(+21 -2)📝
packages/server/src/db/schema/game-storyboards.ts(+1 -0)📝
packages/server/src/routes/game.routes.ts(+163 -38)📝
packages/server/src/services/game/storyboard-agent-settings.ts(+16 -0)📝
packages/server/src/services/storage/game-storyboards.storage.ts(+2 -0)➕
packages/server/src/services/video/storyboard-animation-refinement.ts(+164 -0)📝
packages/shared/src/features/agents/storyboard-agent-settings.ts(+12 -0)📝
packages/shared/src/types/game.ts(+3 -0)📝
scripts/regressions/prompt.regression.ts(+170 -4)📄 Description
Linked issue
Closes #4839
Paired Storyboard Agent package: Pasta-Devs/Marinara-Agents#297.
Why this change
Storyboard animation planning was based on an intended keyframe before image generation. When the generated illustration changed the pose, crop, visible subjects, or composition, the video prompt could contradict its actual first frame. The final shot-planning prompt also needs to remain editable with the rest of the downloadable Storyboard Agent.
What changed
Image-aware shot planningtoggle and selectable/editable shot-planner prompt collection to the Storyboard Agent menu. Disabling it skips the additional vision call and uses the original motion intent.suitable,simplify,subtle, orregenerateclassification.regenerateis advisory and never spends another image generation automatically.|timing-segment structure, then safely falls back to the original planned motion.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated checks completed on
430979a84f42f1f8d1c689422f36bcd51ebc4a93:pnpm regression:promptpnpm localization:checkpnpm lintpnpm buildpnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --project=desktop-chromium --grep 'Storyboard Agent settings stay organized and contained at phone widths'(1 passed; verifies the four guide steps, editor stage order, toggle, and 320/360/390 px layouts)git diff --checkCodeRabbit's final actionable finding was accepted: the source regression now proves the production prompts are contained within the Shared scope, not merely positioned before Roleplay. The affected prompt regression and lint lanes pass after that follow-up.
pnpm checkwas attempted, but its first repository guard stopped atImpeccable context loader did not return valid JSON; the command did not reach localization, lint, or build. Those remaining lanes were run directly and passed as listed above.GitHub
pnpm-validate,container-build-test, branch policy, issue status, and PR template checks are green on the final head.Manual verification notes
Automated browser verification is complete. Real image and video provider generation has not been performed because the isolated preview contains no configured provider credentials. Manually generate animated Game and Roleplay Storyboards with vision enabled and disabled, inspect the image-aware prompt log, and confirm the final video matches the generated first frame. Also verify a non-vision or failing prompt connection retains the still and uses the original motion intent.
Exact-head preview:
http://100.93.53.36:7860serves2.4.2+430979a84f42and/assets/index-yGPff6lz.js. It uses the existing data directory with all 32 packages preserved. Storyboard 1.1.2 from the paired Agents PR isactiveandready; the normalmarinara.serviceremains stopped.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The Unreleased changelog is updated. No user-facing files under
docs/, translated documentation, or Engine version files are changed.UI evidence (if applicable)
The exact paired Storyboard package was installed through the live Download Agents UI. The Storyboard Agent editor now starts with a short four-stage prompt guide, then presents the shared editors in stage 2 illustration, stage 3 image-aware grounding, and stage 4 video order. The selected recipe, default-on toggle, and full prompt text remain editable for both Game and Roleplay.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.