[GH-ISSUE #1634] Gacha Forge reuses Home music during story playback #1613

Closed
opened 2026-10-25 04:02:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1634

Originally assigned to: @SpicyMarinara on GitHub.

Problem

Gacha Forge generates a Home song and then keeps using it during chapters and Character Stories, instead of generating and playing separate story cues.

The actual reader derives displayed state beat from _beatState, while _hudView remains home or chapter. forgeAudioCue() checks the nonexistent _hudView === "beat" transition, so story playback falls through to the home cue. Its unchanged cue/cache identity explains the single generation.

Reproduction and expected behavior

  • Enable generated music in a world and enter Home.
  • Enter a ready story scene with a sad or tense music mood, then a Character Story.
  • Actual: the real shipped _state() displays beat, but the controller keeps requesting/playing home.
  • Expected: a distinct Home cue, mood-appropriate happy/tense/sad story cues and the Character Story cue; loading a scene should not generate a premature or stale cue.

A bounded offline reproduction executed the extracted shipped _state(), helper and audio controller from both released 1.11.1 and staging candidate 1.12.1. Both made one Home generation. The explicit-cue control produced separate Home, sad and Character Story generations. No network, live models or paid provider calls were used.

@SpicyMarinara / Codex owns this correction in the existing draft #1633. The current 1.12.1 archive is unreleased; all previously published archives must remain unchanged. Engine player/cache selection was independently traced and does not require a host change.

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1634 Originally assigned to: @SpicyMarinara on GitHub. ## Problem Gacha Forge generates a Home song and then keeps using it during chapters and Character Stories, instead of generating and playing separate story cues. The actual reader derives displayed state `beat` from `_beatState`, while `_hudView` remains `home` or `chapter`. `forgeAudioCue()` checks the nonexistent `_hudView === "beat"` transition, so story playback falls through to the `home` cue. Its unchanged cue/cache identity explains the single generation. ## Reproduction and expected behavior - Enable generated music in a world and enter Home. - Enter a ready story scene with a sad or tense music mood, then a Character Story. - Actual: the real shipped `_state()` displays `beat`, but the controller keeps requesting/playing `home`. - Expected: a distinct Home cue, mood-appropriate happy/tense/sad story cues and the Character Story cue; loading a scene should not generate a premature or stale cue. A bounded offline reproduction executed the extracted shipped `_state()`, helper and audio controller from both released 1.11.1 and staging candidate 1.12.1. Both made one Home generation. The explicit-cue control produced separate Home, sad and Character Story generations. No network, live models or paid provider calls were used. @SpicyMarinara / Codex owns this correction in the existing draft #1633. The current 1.12.1 archive is unreleased; all previously published archives must remain unchanged. Engine player/cache selection was independently traced and does not require a host change.
bsakaguchi 2026-10-25 04:02:03 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 24, 2026):

Resolved: music follows the actual ready reader state rather than the HUD tag. Home, happy/tense/sad scenes and Character Stories have separate cues; loading and stale scenes do not request a premature track. Tracks are generated when those contexts are visited and reused per world/connection/cue. This does not generate a new song for every story beat.

Actual installed-package navigation on desktop Chromium, phone Chromium and phone WebKit verified distinct Home, sad-story and Character Story generation/playback and Home-cache reuse.

Merged to staging in #1633 (3fa04d0783321ce948859e0ff29395602f3aeb9c), Gacha Forge 1.12.1. Update the installed package through Download Agents. All seven premerge gates passed, Dottore confirmed zero defects, and the exact archive passed 33 browser cases plus both update/restart/uninstall paths. Published staging catalogs and ZIP are byte-verified. Validation receipts. Post-merge CodeQL is tracked separately and is still running.

<!-- gh-comment-id:6377517421 --> @SpicyMarinara commented on GitHub (Oct 24, 2026): Resolved: music follows the actual ready reader state rather than the HUD tag. Home, happy/tense/sad scenes and Character Stories have separate cues; loading and stale scenes do not request a premature track. Tracks are generated when those contexts are visited and reused per world/connection/cue. This does not generate a new song for every story beat. Actual installed-package navigation on desktop Chromium, phone Chromium and phone WebKit verified distinct Home, sad-story and Character Story generation/playback and Home-cache reuse. Merged to staging in #1633 (`3fa04d0783321ce948859e0ff29395602f3aeb9c`), Gacha Forge **1.12.1**. Update the installed package through Download Agents. All seven premerge gates passed, Dottore confirmed zero defects, and the exact archive passed 33 browser cases plus both update/restart/uninstall paths. Published staging catalogs and ZIP are byte-verified. [Validation receipts](https://gist.github.com/SpicyMarinara/f20945cb1b0d55f2a206be067e095379). Post-merge CodeQL is tracked separately and is still running.
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-Agents#1613
No description provided.