[GH-ISSUE #5120] [Issue]: Reorder Storyboard Agent settings around the actual prompt flow #2830

Closed
opened 2026-10-21 05:56:24 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @thetopham on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5120

Originally assigned to: @thetopham on GitHub.

Summary

The Storyboard Agent editor explains a four-stage prompt flow but renders those controls out of execution order. Shared stages 2 through 4 appear before the Roleplay section that contains stage 1, so users must mentally reconstruct the pipeline while navigating a large library of similarly named planners, prompts, addons, contracts, and formatters.

This is confusing even for the feature author and is not approachable for new users.

Expected behavior

The Storyboard Agent editor should present Roleplay and Game Mode as clear workflows and show the selected prompt chain in runtime order:

  1. Plan the storyboard.
  2. Generate the first frame.
  3. Ground animation in the generated image.
  4. Format and send the video request.

The primary path should show what is selected and what each stage does. Editing every underlying prompt template should be available through an Advanced Prompt Library rather than occupying the main workflow.

The UI should also make clear that there are only two AI planning calls in an animated Roleplay storyboard:

  • Initial storyboard planning.
  • Image-aware animation refinement.

The illustration and video templates are deterministic provider formatters, not additional AI planners.

Actual behavior

StoryboardAgentSettingsPanel renders the Shared section first. That section contains stages 2, 3, and 4. The Roleplay section containing the stage-1 episode/style/animation/output planning layers appears afterward.

Current visible order:

  1. Shared connections and generation settings.
  2. Illustration image prompts, stage 2.
  3. Image-aware shot planner, stage 3.
  4. Animation video prompts, stage 4.
  5. Roleplay prompt library, stage 1.
  6. Game Mode planners, stage 1 for Game Mode.

The screen also gives equal visual weight to selected workflow controls and the full editable template collections. Labels such as Animation addon, Animation planner, Image-aware shot planner, and Animation video prompts make deterministic formatting stages look like additional creative planning calls.

Steps to reproduce

  1. Install and add the Storyboard Agent.
  2. Open Agents, Storyboard, Settings.
  3. Read the “How Storyboard prompts run” guide, which describes stages 1 through 4.
  4. Scroll through the settings.
  5. Observe that shared stages 2 through 4 render before the Roleplay and Game stage-1 controls.
  6. Try to identify the exact Roleplay path for a MiniMax H3 animation without prior knowledge of the runtime.

Environment

  • Marinara Engine version: current staging source
  • Install type: source
  • OS + version: reproduced from the current cross-platform settings implementation
  • Browser or app shell: Storyboard Agent editor

Logs, screenshots, or video

Source evidence:

  • packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx: shared stage 2 begins near line 507, stage 3 near 542, and stage 4 near 585.
  • The Roleplay scope begins afterward near line 620.
  • packages/server/src/services/roleplay/storyboard-prompts.ts: the Roleplay planner combines episode, style, optional animation addon, and output contract into one system prompt and one LLM call.
  • packages/server/src/routes/game.routes.ts: image-aware refinement executes after the illustration exists, then formatPrompt applies the selected video template before provider generation.

Verified runtime sequence:

Roleplay planning → illustration formatter/provider → image-aware refinement → video formatter/provider

Additional context

Proposed information architecture

  1. Keep connections and basic generation behavior in a compact Setup section.
  2. Add a Roleplay / Game Mode switch or tabs for mode-specific workflow configuration.
  3. Show an “Active flow” stepper in execution order for the selected mode.
  4. In the normal view, show the selected option and a concise description for each stage.
  5. Move template collection editors into one collapsed Advanced Prompt Library, grouped by:
    • Roleplay planning layers
    • Shared production formatters and image-aware refinement
    • Game Mode planners
  6. Hide image-aware and video stages when the selected output is still images.
  7. Rename stage 4 to “Video formatting” or “Video provider prompt” and state that it does not invoke another planner.
  8. Consider a future recipe selector such as “MiniMax H3 Storyboard” that selects a compatible set without removing power-user customization.

Acceptance criteria

  • Roleplay and Game Mode are navigable as distinct workflows.
  • The active workflow is displayed in actual runtime order.
  • Roleplay stage 1 appears before shared production stages 2 through 4.
  • The UI distinguishes AI planning calls from deterministic provider formatters.
  • The common path does not display every editable template collection by default.
  • All current prompt templates remain editable through an Advanced Prompt Library.
  • Existing setting keys, selected IDs, saved custom templates, per-chat overrides, and runtime behavior remain compatible.
  • Still-image mode hides or clearly disables animation-only stages.
  • The revised layout remains usable on mobile without hover-only controls.
  • New or changed user-facing copy uses localization keys and updates the canonical English catalog.
  • Focused UI/regression coverage verifies ordering, conditional visibility, and preserved selections.
  • pnpm localization:check, pnpm check, and pnpm smoke:ui pass.

Related but separate work:

  • Engine PR #5119 handles merging newly packaged template options into existing saved configurations.
  • Pasta-Devs/Marinara-Agents#367 removes the redundant MiniMax H3 episode contract while preserving the proven H3 prompts.

This issue is limited to Engine-owned Storyboard settings information architecture and navigation.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Aug 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5120 Originally assigned to: @thetopham on GitHub. ## Summary The Storyboard Agent editor explains a four-stage prompt flow but renders those controls out of execution order. Shared stages 2 through 4 appear before the Roleplay section that contains stage 1, so users must mentally reconstruct the pipeline while navigating a large library of similarly named planners, prompts, addons, contracts, and formatters. This is confusing even for the feature author and is not approachable for new users. ## Expected behavior The Storyboard Agent editor should present Roleplay and Game Mode as clear workflows and show the selected prompt chain in runtime order: 1. Plan the storyboard. 2. Generate the first frame. 3. Ground animation in the generated image. 4. Format and send the video request. The primary path should show what is selected and what each stage does. Editing every underlying prompt template should be available through an Advanced Prompt Library rather than occupying the main workflow. The UI should also make clear that there are only two AI planning calls in an animated Roleplay storyboard: - Initial storyboard planning. - Image-aware animation refinement. The illustration and video templates are deterministic provider formatters, not additional AI planners. ## Actual behavior `StoryboardAgentSettingsPanel` renders the Shared section first. That section contains stages 2, 3, and 4. The Roleplay section containing the stage-1 episode/style/animation/output planning layers appears afterward. Current visible order: 1. Shared connections and generation settings. 2. Illustration image prompts, stage 2. 3. Image-aware shot planner, stage 3. 4. Animation video prompts, stage 4. 5. Roleplay prompt library, stage 1. 6. Game Mode planners, stage 1 for Game Mode. The screen also gives equal visual weight to selected workflow controls and the full editable template collections. Labels such as Animation addon, Animation planner, Image-aware shot planner, and Animation video prompts make deterministic formatting stages look like additional creative planning calls. ## Steps to reproduce 1. Install and add the Storyboard Agent. 2. Open Agents, Storyboard, Settings. 3. Read the “How Storyboard prompts run” guide, which describes stages 1 through 4. 4. Scroll through the settings. 5. Observe that shared stages 2 through 4 render before the Roleplay and Game stage-1 controls. 6. Try to identify the exact Roleplay path for a MiniMax H3 animation without prior knowledge of the runtime. ## Environment - Marinara Engine version: current `staging` source - Install type: source - OS + version: reproduced from the current cross-platform settings implementation - Browser or app shell: Storyboard Agent editor ## Logs, screenshots, or video Source evidence: - `packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx`: shared stage 2 begins near line 507, stage 3 near 542, and stage 4 near 585. - The Roleplay scope begins afterward near line 620. - `packages/server/src/services/roleplay/storyboard-prompts.ts`: the Roleplay planner combines episode, style, optional animation addon, and output contract into one system prompt and one LLM call. - `packages/server/src/routes/game.routes.ts`: image-aware refinement executes after the illustration exists, then `formatPrompt` applies the selected video template before provider generation. Verified runtime sequence: `Roleplay planning → illustration formatter/provider → image-aware refinement → video formatter/provider` ## Additional context ### Proposed information architecture 1. Keep connections and basic generation behavior in a compact Setup section. 2. Add a Roleplay / Game Mode switch or tabs for mode-specific workflow configuration. 3. Show an “Active flow” stepper in execution order for the selected mode. 4. In the normal view, show the selected option and a concise description for each stage. 5. Move template collection editors into one collapsed Advanced Prompt Library, grouped by: - Roleplay planning layers - Shared production formatters and image-aware refinement - Game Mode planners 6. Hide image-aware and video stages when the selected output is still images. 7. Rename stage 4 to “Video formatting” or “Video provider prompt” and state that it does not invoke another planner. 8. Consider a future recipe selector such as “MiniMax H3 Storyboard” that selects a compatible set without removing power-user customization. ### Acceptance criteria - [ ] Roleplay and Game Mode are navigable as distinct workflows. - [ ] The active workflow is displayed in actual runtime order. - [ ] Roleplay stage 1 appears before shared production stages 2 through 4. - [ ] The UI distinguishes AI planning calls from deterministic provider formatters. - [ ] The common path does not display every editable template collection by default. - [ ] All current prompt templates remain editable through an Advanced Prompt Library. - [ ] Existing setting keys, selected IDs, saved custom templates, per-chat overrides, and runtime behavior remain compatible. - [ ] Still-image mode hides or clearly disables animation-only stages. - [ ] The revised layout remains usable on mobile without hover-only controls. - [ ] New or changed user-facing copy uses localization keys and updates the canonical English catalog. - [ ] Focused UI/regression coverage verifies ordering, conditional visibility, and preserved selections. - [ ] `pnpm localization:check`, `pnpm check`, and `pnpm smoke:ui` pass. Related but separate work: - Engine PR #5119 handles merging newly packaged template options into existing saved configurations. - Pasta-Devs/Marinara-Agents#367 removes the redundant MiniMax H3 episode contract while preserving the proven H3 prompts. This issue is limited to Engine-owned Storyboard settings information architecture and navigation. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:56:24 +07:00
Author
Owner

@thetopham commented on GitHub (Aug 16, 2026):

Implemented in draft PR #5121: https://github.com/Pasta-Devs/Marinara-Engine/pull/5121

The local review build is running from commit f957aa8b8d5c.

<!-- gh-comment-id:5306001984 --> @thetopham commented on GitHub (Aug 16, 2026): Implemented in draft PR #5121: https://github.com/Pasta-Devs/Marinara-Engine/pull/5121 The local review build is running from commit `f957aa8b8d5c`.
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#2830
No description provided.