mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1878] [MERGED] feat(otome-forge): save an optional theme for each chapter #2013
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#2013
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/1878
Author: @SpicyMarinara
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-chapter-themes📝 Commits (10+)
df4b6e1feat(otome-forge): prepare optional chapter theme settings2a9f3cbfeat(otome-forge): retain chapter themes and guard playback1707df5Merge commit 'f288c046a8' into feat/otome-chapter-themes5e44a12feat(otome-forge): package saved chapter themes in 0.1.8a3b7f73Merge remote-tracking branch 'origin/staging' into feat/otome-chapter-themes1568015fix(otome-forge): never regenerate unavailable saved themes805a000test(otome-forge): respect saved chapter resume position9533ed2test(otome-forge): declare ready faces in presentation fixtures5e14543fix(otome-forge): trust freshly kept chapter tracks for the visitde2d656Merge remote-tracking branch 'origin/staging' into feat/otome-chapter-themes📊 Changes
26 files changed (+877 additions, -233 deletions)
View changed files
➕
artifacts/otome-forge-0.1.8.zip(+0 -0)📝
catalog/preview/catalog.json(+8 -8)📝
catalog/preview/notes.json(+6 -0)📝
catalog/preview/v2/catalog.json(+8 -8)📝
catalog/preview/v2/notes.json(+6 -0)📝
catalog/preview/v3/catalog.json(+8 -8)📝
catalog/preview/v3/notes.json(+6 -0)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/README.md(+2 -0)📝
packages/otome-forge/client.js(+41 -41)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+114 -112)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-otome-audio.ts(+82 -27)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json(+4 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx(+7 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/settings/Audio.tsx(+20 -4)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+11 -1)➕
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/audio.ts(+13 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/audio/music.ts(+78 -2)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/audio.ts(+24 -9)...and 6 more files
📄 Description
Linked issue
Closes #1874. Owner: @SpicyMarinara (Codex).
Why this change
Readers can opt into a thematic track for each chapter and hear the same saved theme on replay. The setting is off by default so existing mood-based playback stays available.
What changed
Package and security impact
otome-forge0.1.8; Engine >=2.5.1 <4.0.0, Capability API 1.386 unchanged.Validation
Passed: npm check (0 errors, 815 existing warnings), strict package types (78 server/shared, 125 client files), all 396 source and rebuilt-bundle regressions, catalog lanes, localization, catalog/archive validation, release notes and whitespace.
All 36 final focused browser cases passed against exact installed 0.1.8 bytes: desktop/mobile Chromium and WebKit, one worker. They cover opt-in settings, first generation, replay/reload reuse, failure retention, late-result isolation, missing saved chapter tracks and existing audio guards. The missing-track regression first reproduced unintended paid brief/music calls on the earlier candidate; after repair the same request guards pass with zero replacement generation through later lines, reentry and reload. One test-only saved-reader-position expectation was corrected after its preserved failure; production and request assertions were unchanged.
Dottore’s initial review found one LOW replay-cache defect: when a concurrent save returns a different first-kept track, that returned tag was not marked fresh. The one-line repair marks only the accepted save response fresh, preserving the missing-saved-file guard. A public leave/reenter regression failed on the prior bytes and now passes on all four projects, with no second chapter generation call. The private generator has exactly two guarded playCue callers; no speculative API expansion was added.
The optional 0.1.7 whole hosted run ended with 174 passing and four failing assertions: two old positive expression fixtures omitted clean-sprite metadata. This PR corrects only those two positive declarations, retaining all image/framing/request assertions and all negative defaults. The same four cases pass on exact 0.1.8 bytes; the original hosted failure is preserved.
Final local CodeRabbit at
018b407completed with zero findings across 25 changed text files. Independent archive audit verifies all declared payload hashes/bytes, exact safe membership and CRC. Hosted CI and Dottore remain merge gates.node scripts/validate-catalog.mjspasses locally.git diff --checkpasses locally.Manual verification notes
Automated proof uses isolated Engine package installation and controlled provider responses in browser emulation. No physical-device or live-provider claim. Original failing traces and final captures are retained in the
/tmp/otome-018-*proof files and browser result directories.Documentation impact
Package README and 0.1.8 release notes describe the optional chapter theme and reuse behavior. No Engine documentation change.
UI evidence (if applicable)
Final browser proof:
/tmp/otome-018-final-music-browser.logand matching result directory; artifact pins recorded in/tmp/otome-018-root-final-artifact-audit.json.ZIP SHA256:
f8f10a761bb239f6b7a1c5b1ed39991c5a5fc229090d4e68696f3031c38995ad(1,640,891 bytes). Client:688196fa523f45315cda7f3d16401bd34014bc7388d3af6b45d420d2e8aced15. Server:ff478b2e66d52e992a9893f0af10a29043d8f8468645a83b5d855b363c3a58a4.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.