[PR #5119] [MERGED] Fix Storyboard prompt options after package updates #6637

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

📋 Pull Request Information

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

Base: staging ← Head: codex/fix-storyboard-template-updates


📝 Commits (1)

  • 59e1b51 Fix Storyboard prompt updates

📊 Changes

3 files changed (+125 additions, -23 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/shared/src/types/agent.ts (+53 -23)
📝 scripts/regressions/prompt.regression.ts (+71 -0)

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

Why this change

  • Storyboard 1.1.3 ships new MiniMax H3 prompt choices, but existing installations retain their previously saved Storyboard prompt arrays and therefore cannot see the newly added package defaults.
  • The shared settings merge already reconciles the generic promptTemplates collection. Storyboard's specialized prompt collections bypassed that reconciliation and were replaced wholesale by saved settings.

What changed

  • Reused the built-in prompt-template merge behavior for all seven Storyboard-specific collections.
  • Preserved saved same-ID overrides, custom prompts, ordering, and selected prompt IDs while adding newly introduced package defaults.
  • Added a regression covering illustration, video, image-aware refinement, Roleplay episode, style, animation, and output prompt collections.
  • Added an Unreleased changelog entry.

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

  • pnpm check completed successfully, including localization, TypeScript, ESLint, server build, and production client build.
  • The new prompt regression passes for every Storyboard-specific prompt collection and verifies new defaults, saved overrides, custom prompts, and selected IDs.
  • The full pnpm regression:prompt command remains red on current staging because the unrelated existing ElevenLabs TTS input does not prepend sprite tone tags case expects the tone tag to be absent; the new Storyboard case passes in that run.
  • Manual browser verification of an upgraded Storyboard 1.1.3 installation remains for the human contributor.

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)

No user-facing documentation changes are needed; the fix restores the existing package-update contract. CHANGELOG.md is updated.

UI evidence (if applicable)

No UI code changed. The reporter's before-state shows Storyboard 1.1.3 with only Simple Storyboard Motion available in the Animation addon selector.

Summary by CodeRabbit

  • New Features

    • Existing Storyboard agent configurations now receive newly shipped built-in prompt choices after package updates.
    • Saved overrides, custom prompts, and current selections are preserved during updates.
  • Bug Fixes

    • Improved merging of built-in prompts across supported template collections.
    • Removed obsolete entries while retaining valid custom configurations.

🔄 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/5119 **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/fix-storyboard-template-updates` --- ### 📝 Commits (1) - [`59e1b51`](https://github.com/Pasta-Devs/Marinara-Engine/commit/59e1b51c91eae5169d9f2522bf3487d44c2289fe) Fix Storyboard prompt updates ### 📊 Changes **3 files changed** (+125 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/shared/src/types/agent.ts` (+53 -23) 📝 `scripts/regressions/prompt.regression.ts` (+71 -0) </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 #5118 ## Why this change - Storyboard 1.1.3 ships new MiniMax H3 prompt choices, but existing installations retain their previously saved Storyboard prompt arrays and therefore cannot see the newly added package defaults. - The shared settings merge already reconciles the generic `promptTemplates` collection. Storyboard's specialized prompt collections bypassed that reconciliation and were replaced wholesale by saved settings. ## What changed - Reused the built-in prompt-template merge behavior for all seven Storyboard-specific collections. - Preserved saved same-ID overrides, custom prompts, ordering, and selected prompt IDs while adding newly introduced package defaults. - Added a regression covering illustration, video, image-aware refinement, Roleplay episode, style, animation, and output prompt collections. - Added an Unreleased changelog entry. ## Validation - [x] `pnpm check` passes locally - [x] 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 - `pnpm check` completed successfully, including localization, TypeScript, ESLint, server build, and production client build. - The new prompt regression passes for every Storyboard-specific prompt collection and verifies new defaults, saved overrides, custom prompts, and selected IDs. - The full `pnpm regression:prompt` command remains red on current `staging` because the unrelated existing `ElevenLabs TTS input does not prepend sprite tone tags` case expects the tone tag to be absent; the new Storyboard case passes in that run. - Manual browser verification of an upgraded Storyboard 1.1.3 installation remains for the human contributor. ## Docs and release impact - [x] 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) No user-facing documentation changes are needed; the fix restores the existing package-update contract. `CHANGELOG.md` is updated. ## UI evidence (if applicable) No UI code changed. The reporter's before-state shows Storyboard 1.1.3 with only `Simple Storyboard Motion` available in the Animation addon selector. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Existing Storyboard agent configurations now receive newly shipped built-in prompt choices after package updates. * Saved overrides, custom prompts, and current selections are preserved during updates. * **Bug Fixes** * Improved merging of built-in prompts across supported template collections. * Removed obsolete entries while retaining valid custom configurations. <!-- 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:18 +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#6637
No description provided.