[PR #5121] [MERGED] Reorder Storyboard Agent settings around the actual prompt flow #6639

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5121
Author: @thetopham
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @thetopham

Base: staging ← Head: codex/5120-storyboard-settings-flow


📝 Commits (3)

  • f957aa8 fix: clarify storyboard prompt flow
  • 6f4c0c3 fix: finish storyboard prompt navigation
  • d4bf35b fix: address storyboard review feedback

📊 Changes

16 files changed (+1291 additions, -840 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 docs/development/ltx-director-storyboard.md (+3 -3)
📝 docs/game/ltx-2-3-storyboards.md (+45 -45)
📝 docs/game/storyboard.md (+51 -51)
📝 packages/client/src/components/agents/AgentEditor.tsx (+157 -188)
📝 packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx (+627 -447)
📝 packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx (+181 -46)
📝 packages/client/src/localization/locales/en.json (+32 -13)
📝 packages/client/src/localization/locales/ko.json (+0 -1)
📝 packages/server/src/db/schema/game-storyboards.ts (+1 -1)
📝 packages/server/src/services/storage/game-storyboards.storage.ts (+1 -1)
📝 packages/shared/src/constants/game-storyboard-prompts.ts (+1 -1)
📝 packages/shared/src/constants/game-video-prompts.ts (+2 -2)
📝 packages/shared/src/features/agents/storyboard-agent-settings.ts (+19 -9)
📝 packages/shared/src/types/chat.ts (+4 -0)
📝 scripts/regressions/prompt.regression.ts (+166 -32)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #5120

Why this change

  • Storyboard settings presented shared formatters before the mode-specific planner, separated active selections from a long global prompt library, and omitted Stage 3 controls from per-chat Roleplay and Game settings.
  • Users had to reconstruct the actual runtime chain and could mistake deterministic formatters for additional AI planning calls.

What changed

  • Kept Storyboard Setup permanently visible and split Roleplay and Game Mode into distinct workflow tabs.
  • Reordered both workflows into the runtime sequence: Stage 1 storyboard planning, Stage 2 first-frame formatting, Stage 3 image-aware motion grounding, and Stage 4 video passthrough formatting.
  • Nested each complete editable prompt collection inside a collapsed Prompt library within its numbered stage, including separate Roleplay and Game Stage 1 libraries.
  • Added Stage 3 image-aware planner overrides to both Roleplay and Game Chat Settings.
  • Renamed the stable ltx-director-video option to Narration Passthrough without changing its ID or pass-through behavior.
  • Changed new/reset animation clip defaults from 6 seconds to 5 seconds while preserving saved overrides and existing prompt IDs.
  • Updated Storyboard documentation, localization, and prompt-chain regression coverage.
  • Coordinated the package-owned defaults through Pasta-Devs/Marinara-Agents#368 and Pasta-Devs/Marinara-Agents#369.

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

  • Built and launched Engine commit 6f4c0c309123 at http://127.0.0.1:7860.
  • Installed Storyboard 1.1.5 through the Engine package installer; /api/health reports the package active and ready.
  • Opened Agents → Storyboard and verified the permanently visible Setup, ordered Roleplay stages, nested Stage 1 prompt collections, Stage 3 control, and Narration Passthrough label.
  • The user reviewed the running UI and approved the resulting flow.
  • The Storyboard prompt-chain regression passes. The full prompt suite remains red only on the unrelated existing ElevenLabs assertion: actual [neutral] Reserved. Tomorrow afternoon. versus expected Reserved. Tomorrow afternoon..
  • GitHub Actions pnpm-validate and container-build-test both pass.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Verified interactively in the rebuilt local Engine; no screenshot is attached.

Summary by CodeRabbit

  • New Features
    • Reorganized Storyboard settings into staged Game and Roleplay workflows.
    • Added image-aware shot planning, animation refinement selection, reusable prompt libraries, and collapsible prompt editors.
    • Added workflow-specific controls and clearer planner, formatter, and production-stage configuration.
    • Still-image workflows now hide animation-only settings.
  • Enhancements
    • Reduced the default storyboard animation duration from 6 to 5 seconds.
    • Renamed “LTX Director Video” to “Narration Passthrough.”
    • Improved legacy template handling and updated Storyboard guidance and localization.
  • Tests
    • Updated regression coverage for the revised workflows and defaults.

🔄 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/5121 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 8/16/2026 **Status:** ✅ Merged **Merged:** 8/16/2026 **Merged by:** [@thetopham](https://github.com/thetopham) **Base:** `staging` ← **Head:** `codex/5120-storyboard-settings-flow` --- ### 📝 Commits (3) - [`f957aa8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f957aa8b8d5c479e9ef93d9495b9226397358ad0) fix: clarify storyboard prompt flow - [`6f4c0c3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6f4c0c3091236c8a6410b840fc4c3a7084d288cd) fix: finish storyboard prompt navigation - [`d4bf35b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d4bf35b3b39a489e61f000764acb6e27b340af54) fix: address storyboard review feedback ### 📊 Changes **16 files changed** (+1291 additions, -840 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `docs/development/ltx-director-storyboard.md` (+3 -3) 📝 `docs/game/ltx-2-3-storyboards.md` (+45 -45) 📝 `docs/game/storyboard.md` (+51 -51) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+157 -188) 📝 `packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx` (+627 -447) 📝 `packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx` (+181 -46) 📝 `packages/client/src/localization/locales/en.json` (+32 -13) 📝 `packages/client/src/localization/locales/ko.json` (+0 -1) 📝 `packages/server/src/db/schema/game-storyboards.ts` (+1 -1) 📝 `packages/server/src/services/storage/game-storyboards.storage.ts` (+1 -1) 📝 `packages/shared/src/constants/game-storyboard-prompts.ts` (+1 -1) 📝 `packages/shared/src/constants/game-video-prompts.ts` (+2 -2) 📝 `packages/shared/src/features/agents/storyboard-agent-settings.ts` (+19 -9) 📝 `packages/shared/src/types/chat.ts` (+4 -0) 📝 `scripts/regressions/prompt.regression.ts` (+166 -32) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #5120 ## Why this change - Storyboard settings presented shared formatters before the mode-specific planner, separated active selections from a long global prompt library, and omitted Stage 3 controls from per-chat Roleplay and Game settings. - Users had to reconstruct the actual runtime chain and could mistake deterministic formatters for additional AI planning calls. ## What changed - Kept Storyboard Setup permanently visible and split Roleplay and Game Mode into distinct workflow tabs. - Reordered both workflows into the runtime sequence: Stage 1 storyboard planning, Stage 2 first-frame formatting, Stage 3 image-aware motion grounding, and Stage 4 video passthrough formatting. - Nested each complete editable prompt collection inside a collapsed Prompt library within its numbered stage, including separate Roleplay and Game Stage 1 libraries. - Added Stage 3 image-aware planner overrides to both Roleplay and Game Chat Settings. - Renamed the stable `ltx-director-video` option to Narration Passthrough without changing its ID or pass-through behavior. - Changed new/reset animation clip defaults from 6 seconds to 5 seconds while preserving saved overrides and existing prompt IDs. - Updated Storyboard documentation, localization, and prompt-chain regression coverage. - Coordinated the package-owned defaults through Pasta-Devs/Marinara-Agents#368 and Pasta-Devs/Marinara-Agents#369. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Built and launched Engine commit `6f4c0c309123` at `http://127.0.0.1:7860`. - Installed Storyboard 1.1.5 through the Engine package installer; `/api/health` reports the package active and ready. - Opened Agents → Storyboard and verified the permanently visible Setup, ordered Roleplay stages, nested Stage 1 prompt collections, Stage 3 control, and Narration Passthrough label. - The user reviewed the running UI and approved the resulting flow. - The Storyboard prompt-chain regression passes. The full prompt suite remains red only on the unrelated existing ElevenLabs assertion: actual `[neutral] Reserved. Tomorrow afternoon.` versus expected `Reserved. Tomorrow afternoon.`. - GitHub Actions `pnpm-validate` and `container-build-test` both pass. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Verified interactively in the rebuilt local Engine; no screenshot is attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Reorganized Storyboard settings into staged Game and Roleplay workflows. * Added image-aware shot planning, animation refinement selection, reusable prompt libraries, and collapsible prompt editors. * Added workflow-specific controls and clearer planner, formatter, and production-stage configuration. * Still-image workflows now hide animation-only settings. * **Enhancements** * Reduced the default storyboard animation duration from 6 to 5 seconds. * Renamed “LTX Director Video” to “Narration Passthrough.” * Improved legacy template handling and updated Storyboard guidance and localization. * **Tests** * Updated regression coverage for the revised workflows and defaults. <!-- 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-23 04:12:19 +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#6639
No description provided.