[PR #4312] [CLOSED] feat: add Storyboard to Roleplay #6330

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4312
Author: @thetopham
Created: 7/30/2026
Status: ❌ Closed

Base: staging ← Head: agent/4311-storyboard-roleplay


📝 Commits (10+)

  • b15785b docs: plan Storyboard Roleplay support
  • 9494e85 feat: add Storyboard support to Roleplay
  • fcb44c8 feat(storyboard): add Roleplay gallery controls
  • 8330381 fix(storyboard): clarify Roleplay connections
  • 38dec8a feat(storyboard): refine Roleplay planning and display
  • 0a24ec5 Merge remote-tracking branch 'origin/staging' into agent/4311-storyboard-roleplay
  • 36ccb94 refine roleplay storyboard scenes
  • dd7d5e8 separate roleplay storyboard source prompts
  • 4ecff8a Merge remote-tracking branch 'origin/staging' into agent/4311-storyboard-roleplay
  • 6c53f61 fix roleplay storyboard swipe triggers

📊 Changes

33 files changed (+1989 additions, -235 deletions)

View changed files

➕ .github/plans/storyboard-roleplay-game.md (+129 -0)
📝 README.md (+1 -1)
📝 docs/FAQ.md (+5 -5)
📝 docs/TROUBLESHOOTING.md (+7 -5)
📝 docs/agents/built-in-agents.md (+9 -1)
📝 docs/game/storyboard.md (+3 -3)
➕ packages/client/src/coiponents/ui/TrackerPanelIcon.tsx (+23 -0)
📝 packages/client/src/components/agents/AgentEditor.tsx (+40 -14)
📝 packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx (+8 -2)
📝 packages/client/src/components/chat/ChatCommonOverlays.tsx (+2 -2)
📝 packages/client/src/components/chat/ChatGalleryDrawer.tsx (+14 -6)
📝 packages/client/src/components/chat/ChatMessage.tsx (+55 -1)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+150 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+25 -3)
📝 packages/client/src/components/chat/ChatSetupWizard.tsx (+6 -2)
➕ packages/client/src/components/chat/RoleplayStoryboardMessageMedia.tsx (+146 -0)
➕ packages/client/src/components/chat/RoleplayStoryboardOverlay.tsx (+328 -0)
📝 packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx (+59 -9)
➕ packages/client/src/components/chat/roleplay-storyboard-display.ts (+27 -0)
📝 packages/client/src/components/game/GameStoryboardViewer.tsx (+69 -32)

...and 13 more files

📄 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 #4311

Package work: Pasta-Devs/Marinara-Agents#144 and Pasta-Devs/Marinara-Agents#145

Why this change

Storyboard already owns the Game still/animation planner, first-frame image, video prompt, storage, and viewer flow. Roleplay needs that same capability without creating a fake Game turn, duplicating the media pipeline in Illustrator, or requiring Illustrator to be installed.

What changed

  • Added Roleplay to the existing Storyboard host route while keeping Game behavior on its existing branches.
  • Roleplay automatic runs use the configured assistant-message interval and treat completed assistant responses since the previous successful Storyboard run as one bounded source window (newest 20 maximum).
  • Added mode-aware prompt variables and Roleplay-only character, persona, recent conversation, optional Character Tracker, and Maps context. Roleplay does not read Game setup, party, Game NPC, or CYOA state.
  • Reused Storyboard's image/video connections, prompt chains, records, viewer, and settings panel in the Roleplay surface. Roleplay defaults to one keyframe.
  • Added standalone host routing so Storyboard does not enter the generic agent pipeline.
  • Updated localized settings copy and the existing README/help references.

Illustrator isolation

  • No Illustrator package or settings files are changed.
  • Storyboard does not install, enable, query, migrate, suppress, or otherwise change Illustrator.
  • If a user intentionally enables both automatic agents, both may generate independently.
  • Visual Novel is not enabled by this change.

Validation

  • pnpm --filter @marinara-engine/server run lint passed.

  • Focused ESLint passed for all changed client files except the existing very large GameSurface.tsx; ESLint is killed by native SIGSEGV on that file. Its change is two result type guards, and the production TypeScript build passes.

  • pnpm localization:check passed (English 7723/7723; UI migration audit clean).

  • pnpm regression:prompt passed outside the container, including Game/Roleplay Storyboard prompt, source-window, host-routing, and Illustrator regression coverage.

  • pnpm regression:roleplay passed outside the container.

  • pnpm build passed; the built live entry is /assets/index-CltppCX3.js.

  • Focused desktop Playwright coverage for the existing Illustrator/Storyboard settings layout passed. The prior full UI smoke run had 149 passed, 88 skipped, and 17 unrelated/flaky environment failures; no claim is made that the full smoke suite is green.

  • Live staging service verified active with /api/health reporting 2.3.5+9494e8530e44; the exact entry bundle returned HTTP 200 with JavaScript content type.

  • Locally installed paired Storyboard 1.1.0 and verified it active/ready with execution: host, modes game and roleplay, and run interval 5. Illustrator remained active/ready at 1.0.3.

  • 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

  • Package installation, production build, service restart, health, exact bundle, and live agent registration were verified.
  • Manual Roleplay still/animation generation and visual review remain for the maintainer.
  • Baseline pnpm check stops before its full sequence because the Impeccable context loader does not return valid JSON; direct relevant checks are listed above.

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)

README and existing help pages are updated. Translation follow-up: #4313.

UI evidence (if applicable)

  • Maintainer visual review remains pending on the locally installed branch.

🔄 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/4312 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/30/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `agent/4311-storyboard-roleplay` --- ### 📝 Commits (10+) - [`b15785b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b15785b50fb2cb14b9b5d1b374e076a927bd68b3) docs: plan Storyboard Roleplay support - [`9494e85`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9494e8530e44c3370d6db9366e887b1443e12663) feat: add Storyboard support to Roleplay - [`fcb44c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fcb44c8343b7c396b9758936f9a44168f541068b) feat(storyboard): add Roleplay gallery controls - [`8330381`](https://github.com/Pasta-Devs/Marinara-Engine/commit/83303817cb05451d762d6bc8278feeb6b2b0bdbe) fix(storyboard): clarify Roleplay connections - [`38dec8a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/38dec8aee71a329d72e2bb758e7ca778070960e5) feat(storyboard): refine Roleplay planning and display - [`0a24ec5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0a24ec54c52c4c7963f3d843efa222e556a227a1) Merge remote-tracking branch 'origin/staging' into agent/4311-storyboard-roleplay - [`36ccb94`](https://github.com/Pasta-Devs/Marinara-Engine/commit/36ccb94da635993f64d9c8228b56c310d9a10414) refine roleplay storyboard scenes - [`dd7d5e8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dd7d5e83ef424473af2824d4f7c864bc332b9137) separate roleplay storyboard source prompts - [`4ecff8a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4ecff8a38a28f108111158e313fac7ea2ba9fc26) Merge remote-tracking branch 'origin/staging' into agent/4311-storyboard-roleplay - [`6c53f61`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6c53f613e42f7b020d9998671d3e3bca397b64a5) fix roleplay storyboard swipe triggers ### 📊 Changes **33 files changed** (+1989 additions, -235 deletions) <details> <summary>View changed files</summary> ➕ `.github/plans/storyboard-roleplay-game.md` (+129 -0) 📝 `README.md` (+1 -1) 📝 `docs/FAQ.md` (+5 -5) 📝 `docs/TROUBLESHOOTING.md` (+7 -5) 📝 `docs/agents/built-in-agents.md` (+9 -1) 📝 `docs/game/storyboard.md` (+3 -3) ➕ `packages/client/src/coiponents/ui/TrackerPanelIcon.tsx` (+23 -0) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+40 -14) 📝 `packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsx` (+8 -2) 📝 `packages/client/src/components/chat/ChatCommonOverlays.tsx` (+2 -2) 📝 `packages/client/src/components/chat/ChatGalleryDrawer.tsx` (+14 -6) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+55 -1) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+150 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+25 -3) 📝 `packages/client/src/components/chat/ChatSetupWizard.tsx` (+6 -2) ➕ `packages/client/src/components/chat/RoleplayStoryboardMessageMedia.tsx` (+146 -0) ➕ `packages/client/src/components/chat/RoleplayStoryboardOverlay.tsx` (+328 -0) 📝 `packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx` (+59 -9) ➕ `packages/client/src/components/chat/roleplay-storyboard-display.ts` (+27 -0) 📝 `packages/client/src/components/game/GameStoryboardViewer.tsx` (+69 -32) _...and 13 more files_ </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 #4311 Package work: Pasta-Devs/Marinara-Agents#144 and Pasta-Devs/Marinara-Agents#145 ## Why this change Storyboard already owns the Game still/animation planner, first-frame image, video prompt, storage, and viewer flow. Roleplay needs that same capability without creating a fake Game turn, duplicating the media pipeline in Illustrator, or requiring Illustrator to be installed. ## What changed - Added Roleplay to the existing Storyboard host route while keeping Game behavior on its existing branches. - Roleplay automatic runs use the configured assistant-message interval and treat completed assistant responses since the previous successful Storyboard run as one bounded source window (newest 20 maximum). - Added mode-aware prompt variables and Roleplay-only character, persona, recent conversation, optional Character Tracker, and Maps context. Roleplay does not read Game setup, party, Game NPC, or CYOA state. - Reused Storyboard's image/video connections, prompt chains, records, viewer, and settings panel in the Roleplay surface. Roleplay defaults to one keyframe. - Added standalone host routing so Storyboard does not enter the generic agent pipeline. - Updated localized settings copy and the existing README/help references. ## Illustrator isolation - No Illustrator package or settings files are changed. - Storyboard does not install, enable, query, migrate, suppress, or otherwise change Illustrator. - If a user intentionally enables both automatic agents, both may generate independently. - Visual Novel is not enabled by this change. ## Validation - `pnpm --filter @marinara-engine/server run lint` passed. - Focused ESLint passed for all changed client files except the existing very large `GameSurface.tsx`; ESLint is killed by native `SIGSEGV` on that file. Its change is two result type guards, and the production TypeScript build passes. - `pnpm localization:check` passed (English 7723/7723; UI migration audit clean). - `pnpm regression:prompt` passed outside the container, including Game/Roleplay Storyboard prompt, source-window, host-routing, and Illustrator regression coverage. - `pnpm regression:roleplay` passed outside the container. - `pnpm build` passed; the built live entry is `/assets/index-CltppCX3.js`. - Focused desktop Playwright coverage for the existing Illustrator/Storyboard settings layout passed. The prior full UI smoke run had 149 passed, 88 skipped, and 17 unrelated/flaky environment failures; no claim is made that the full smoke suite is green. - Live staging service verified active with `/api/health` reporting `2.3.5+9494e8530e44`; the exact entry bundle returned HTTP 200 with JavaScript content type. - Locally installed paired Storyboard 1.1.0 and verified it active/ready with `execution: host`, modes `game` and `roleplay`, and run interval 5. Illustrator remained active/ready at 1.0.3. - [ ] `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 - Package installation, production build, service restart, health, exact bundle, and live agent registration were verified. - Manual Roleplay still/animation generation and visual review remain for the maintainer. - Baseline `pnpm check` stops before its full sequence because the Impeccable context loader does not return valid JSON; direct relevant checks are listed above. ## 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) README and existing help pages are updated. Translation follow-up: #4313. ## UI evidence (if applicable) - Maintainer visual review remains pending on the locally installed branch. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:09:24 +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#6330
No description provided.