[GH-ISSUE #4544] [Issue]: Storyboard fallback hides planner failures and bypasses appearance-toggle intent #2478

Closed
opened 2026-10-21 05:48:35 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @thetopham on GitHub.

Summary

Game Mode Storyboard can silently replace a failed Storyboard planner call with a narration-based fallback, then present the result like an ordinary successful storyboard. The fallback also has different character-appearance behavior from the successful planner path: matched appearance context is currently prepended to every planner request regardless of Attach Card Appearance, while fallback beats are capped at 900 characters and depend on the final appearance attachment to stay visually grounded.

This makes the appearance toggle misleading, can repeat the same appearance inventory across planning and final prompt assembly, and makes it difficult for a beta tester to tell whether they are evaluating the configured planner or the fallback.

Expected behavior

  • A Storyboard planner failure is visibly reported as a degraded/fallback result, including the original failure reason when safe.
  • The warning survives prompt preview/review and remains attached to the saved storyboard.
  • Attach Card Appearance is authoritative for Storyboard appearance injection:
    • when off, matched card/persona appearance is not silently prepended to the planner or appended later;
    • when on, appearance is supplied once in the effective image-generation chain, without repeating the same inventory in both the planner result and final provider prompt.
  • The implementation should choose the safest single injection point (planner context, final provider prompt, or structured character prompt) using fixed-plan/fixed-seed evidence rather than assuming repeated appearance text is harmless.
  • Keep the fallback for resilience unless beta evidence shows that failing the storyboard is safer, but label it clearly and skip animation as it does today.
  • Increase the fallback keyframe beat cap from the current 900 characters toward the existing 2,000-character cleaned-narration bound, while preserving the final provider prompt ceiling and avoiding mid-word truncation.

Actual behavior

Current origin/staging source at 83163346b41c0938804f48065029b5632d3ec7c5 shows:

  • fallbackStoryboardPlan(...) caps each fallback narrationBeat at 900 characters.
  • The fallback uses narration text rather than planner JSON and has no planner-produced appearance grounding.
  • The Storyboard planner appearance asset collection uses includeCharacterDescriptions: true, so <character_appearance_context> is supplied even when Attach Card Appearance is off.
  • The final rendering stage separately gates characterDescriptions and native character-prompt appearance on storyboardAgentIncludeCharacterAppearance.
  • A direct generation stores the planner exception in storyboard.error, but normal success UI can still say the storyboard was planned/saved.
  • With image-prompt review enabled, preview can return a fallback plannedStoryboard; the final request then submits it as reviewed client input and no longer preserves the original planner failure. This path can hide the fallback completely.
  • Automatic generation catches the request failure in the console, but a successful fallback does not produce an immediate user-facing degraded-result alert.

Steps to reproduce

  1. Open a Game Mode chat with Storyboard enabled and matched character/persona appearance text.
  2. Turn Attach Card Appearance off.
  3. Enable image-prompt review.
  4. Configure or mock the Storyboard planner connection to return empty, malformed, or otherwise unusable JSON.
  5. Generate a storyboard for a completed GM narration longer than 900 characters.
  6. Inspect the planner messages and observe that matched appearance context is still supplied despite the toggle being off.
  7. Inspect the previewed fallback keyframes and observe the 900-character narration cap.
  8. Approve the preview and let the final storyboard request run.
  9. Observe that the reviewed fallback can be saved/rendered without preserving an obvious planner-failure warning.
  10. Repeat with prompt review off and compare the saved storyboard.error, success toast, and Storyboard panel behavior.

Environment

  • Marinara Engine version: Reporter version not provided; current origin/staging source inspected at 83163346b41c0938804f48065029b5632d3ec7c5
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided
  • Affected mode: Game Mode Storyboard beta

Logs, screenshots, or video

The reporter observed narration-style fallback prompts truncated around the fallback limit, but the original planner exception and raw response were not captured.

Useful debug evidence for a fresh reproduction:

[debug/game/storyboard-illustrator] raw response:
[game/storyboard] Storyboard Illustrator failed; using fallback images and skipping video generation

Also capture:

  • planner model/connection;
  • raw planner response or provider exception;
  • Attach Card Appearance and Use Storyboard Template states;
  • preview response and final saved storyboard error/status;
  • planned frame prompt and final compiled provider prompt;
  • fixed image seed and output for appearance on/off.

Additional context

This is narrower than #4459, which tracked formatter/Krea duplication and appearance loss, and separate from #4495/#4496, which fixed duplicate Game character identities. #3628 established the earlier planner-appearance grounding behavior; this issue asks to revisit its unconditional nature because the beta user experienced a broken prompt path and the current toggle no longer describes the full chain.

Suggested regression matrix:

Planner path Prompt review Appearance toggle Required result
Success Off/On Off No matched appearance injection
Success Off/On On Appearance available once, no duplicated inventory
Fallback Off/On Off Degraded warning preserved; no appearance injection
Fallback Off/On On Degraded warning preserved; appearance available once
Fallback, long narration Off/On Either Increased bounded beat text; no mid-word cut; final prompt remains within provider limit

The fallback warning should be visible without requiring the user to open a secondary assets panel, and a fallback result should not use the ordinary success wording.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4544 Originally assigned to: @thetopham on GitHub. ## Summary Game Mode Storyboard can silently replace a failed Storyboard planner call with a narration-based fallback, then present the result like an ordinary successful storyboard. The fallback also has different character-appearance behavior from the successful planner path: matched appearance context is currently prepended to every planner request regardless of **Attach Card Appearance**, while fallback beats are capped at 900 characters and depend on the final appearance attachment to stay visually grounded. This makes the appearance toggle misleading, can repeat the same appearance inventory across planning and final prompt assembly, and makes it difficult for a beta tester to tell whether they are evaluating the configured planner or the fallback. ## Expected behavior - A Storyboard planner failure is visibly reported as a degraded/fallback result, including the original failure reason when safe. - The warning survives prompt preview/review and remains attached to the saved storyboard. - **Attach Card Appearance** is authoritative for Storyboard appearance injection: - when off, matched card/persona appearance is not silently prepended to the planner or appended later; - when on, appearance is supplied once in the effective image-generation chain, without repeating the same inventory in both the planner result and final provider prompt. - The implementation should choose the safest single injection point (planner context, final provider prompt, or structured character prompt) using fixed-plan/fixed-seed evidence rather than assuming repeated appearance text is harmless. - Keep the fallback for resilience unless beta evidence shows that failing the storyboard is safer, but label it clearly and skip animation as it does today. - Increase the fallback keyframe beat cap from the current 900 characters toward the existing 2,000-character cleaned-narration bound, while preserving the final provider prompt ceiling and avoiding mid-word truncation. ## Actual behavior Current `origin/staging` source at `83163346b41c0938804f48065029b5632d3ec7c5` shows: - `fallbackStoryboardPlan(...)` caps each fallback `narrationBeat` at 900 characters. - The fallback uses narration text rather than planner JSON and has no planner-produced appearance grounding. - The Storyboard planner appearance asset collection uses `includeCharacterDescriptions: true`, so `<character_appearance_context>` is supplied even when **Attach Card Appearance** is off. - The final rendering stage separately gates `characterDescriptions` and native character-prompt appearance on `storyboardAgentIncludeCharacterAppearance`. - A direct generation stores the planner exception in `storyboard.error`, but normal success UI can still say the storyboard was planned/saved. - With image-prompt review enabled, preview can return a fallback `plannedStoryboard`; the final request then submits it as reviewed client input and no longer preserves the original planner failure. This path can hide the fallback completely. - Automatic generation catches the request failure in the console, but a successful fallback does not produce an immediate user-facing degraded-result alert. ## Steps to reproduce 1. Open a Game Mode chat with Storyboard enabled and matched character/persona appearance text. 2. Turn **Attach Card Appearance** off. 3. Enable image-prompt review. 4. Configure or mock the Storyboard planner connection to return empty, malformed, or otherwise unusable JSON. 5. Generate a storyboard for a completed GM narration longer than 900 characters. 6. Inspect the planner messages and observe that matched appearance context is still supplied despite the toggle being off. 7. Inspect the previewed fallback keyframes and observe the 900-character narration cap. 8. Approve the preview and let the final storyboard request run. 9. Observe that the reviewed fallback can be saved/rendered without preserving an obvious planner-failure warning. 10. Repeat with prompt review off and compare the saved `storyboard.error`, success toast, and Storyboard panel behavior. ## Environment - Marinara Engine version: Reporter version not provided; current `origin/staging` source inspected at `83163346b41c0938804f48065029b5632d3ec7c5` - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided - Affected mode: Game Mode Storyboard beta ## Logs, screenshots, or video The reporter observed narration-style fallback prompts truncated around the fallback limit, but the original planner exception and raw response were not captured. Useful debug evidence for a fresh reproduction: ```text [debug/game/storyboard-illustrator] raw response: [game/storyboard] Storyboard Illustrator failed; using fallback images and skipping video generation ``` Also capture: - planner model/connection; - raw planner response or provider exception; - **Attach Card Appearance** and **Use Storyboard Template** states; - preview response and final saved storyboard error/status; - planned frame prompt and final compiled provider prompt; - fixed image seed and output for appearance on/off. ## Additional context This is narrower than #4459, which tracked formatter/Krea duplication and appearance loss, and separate from #4495/#4496, which fixed duplicate Game character identities. #3628 established the earlier planner-appearance grounding behavior; this issue asks to revisit its unconditional nature because the beta user experienced a broken prompt path and the current toggle no longer describes the full chain. Suggested regression matrix: | Planner path | Prompt review | Appearance toggle | Required result | | --- | --- | --- | --- | | Success | Off/On | Off | No matched appearance injection | | Success | Off/On | On | Appearance available once, no duplicated inventory | | Fallback | Off/On | Off | Degraded warning preserved; no appearance injection | | Fallback | Off/On | On | Degraded warning preserved; appearance available once | | Fallback, long narration | Off/On | Either | Increased bounded beat text; no mid-word cut; final prompt remains within provider limit | The fallback warning should be visible without requiring the user to open a secondary assets panel, and a fallback result should not use the ordinary success wording. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:48:35 +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#2478
No description provided.