mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1633] [MERGED] fix(gacha-forge): repair story music and choice pre-generation #1635
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1635
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1633
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/gacha-audio-notice-1628📝 Commits (6)
7968153fix(gacha-forge): ship click-through audio notices as 1.12.14ea94b7fix(gacha-forge): retain audio notices while reading with keyboard focusfe8c110test(gacha-forge): settle notice fixture layout before freezing time214e7d1test(gacha-forge): use supported native scrolling in mobile WebKitf21a373fix(gacha-forge): route story music and pre-generate past small choices07e0400fix(gacha-forge): remeasure audio notices and restore dismissal📊 Changes
19 files changed (+726 additions, -116 deletions)
View changed files
➕
artifacts/gacha-forge-1.12.1.zip(+0 -0)📝
catalog/catalog.json(+9 -9)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+9 -9)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+9 -9)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+9 -0)📝
packages/gacha-forge/README.md(+4 -2)📝
packages/gacha-forge/bundle-patches.json(+24 -0)📝
packages/gacha-forge/client.js(+66 -14)📝
packages/gacha-forge/manifest.json(+6 -6)📝
packages/gacha-forge/server.mjs(+11 -9)📝
packages/gacha-forge/src/audio-client.mjs(+63 -11)📝
packages/gacha-forge/src/browser-presentation.mjs(+1 -1)📝
packages/gacha-forge/src/player-choices-server.mjs(+10 -8)📝
tests/gacha-forge-audio.regression.mjs(+160 -5)📝
tests/gacha-forge-player-choices.regression.mjs(+133 -15)📝
tests/package-gacha-forge-audio.e2e.ts(+194 -0)📄 Description
Linked issue
Closes #1628. Closes #1634. Closes #1635. @SpicyMarinara / Codex owns this work.
Why this change
Chapters and Character Stories incorrectly resolve to the Home audio cue, so they reuse its song. An unanswered small choice also blocks later shared narration, although all its alternatives are already stored. Audio notices can intercept game taps or lose scrolling and dismissal after layout or text changes.
What changed
Each small choice's alternatives and shared continuation are written together in one section response. Playback waits for the player and then uses the stored branch. Chapters are still written in sections. A big choice remains the final beat and blocks future generation until selected. Music is cached per world, connection and cue; this does not add a new song for every beat.
Package and security impact
gacha-forge1.12.1; no new permissions, entrypoints or storage format.b9cc386e868d8ab9cdb4826939323a67d464e7bf.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAutomated evidence for final head
07e0400e3878946af374e05b2156eb9b26d108cb:npm run check,git diff --checkand all 62/62 CI commands pass.f21a373cand the final notice repair at07e0400e; both substantive review logs are retained.5aa7a7a701504038aecd39637f4b9631103531cc24f1a61c3218eb9f39e18027(7,931,914 bytes)._rootis verified to be the component's actual ShadowRoot.Reproduction, review and validation receipts. Earlier checkpoints and first failures remain separately labeled. Current hosted checks and Dottore must pass before merge.
Manual verification notes
Documentation impact
Engine user documentation is unchanged.
UI evidence
The proof packet identifies project reports, screenshots, traces and exact source/archive hashes. Browser phone emulation does not establish physical-device or touch-gesture behavior. The browser audio fixtures use local assets and mocked requests; no additional paid provider calls were made and no API key is included.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.