[PR #1932] [MERGED] Otome Hearth: respect story sprites and paint four-star memories #2038

Closed
opened 2026-11-07 16:38:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1932
Author: @SpicyMarinara
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-sprites-memory-art-20261030


📝 Commits (8)

  • 884747a chore(otome): track sprite and memory artwork repairs
  • 2003bb0 fix(otome): prefer story sprites and illustrate four-star memories
  • 5fe2817 fix(otome): retain scene prose when speaker artwork cannot display
  • cf048cd Merge remote-tracking branch 'origin/staging' into fix/otome-sprites-memory-art-20261030
  • a0d3894 build(otome): publish reviewed 0.2.2 sprite fallback and memory artwork
  • 9ab7a85 fix(otome): handle failed love-interest artwork and round nameplates
  • 5c96f7b build(otome): rebuild 0.2.2 after reader review repairs
  • a5a4eb0 Merge remote-tracking branch 'origin/staging' into fix/otome-sprites-memory-art-20261030

📊 Changes

23 files changed (+840 additions, -284 deletions)

View changed files

➕ artifacts/otome-forge-0.2.2.zip (+0 -0)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+6 -6)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+6 -6)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+6 -0)
📝 packages/otome-forge/README.md (+5 -3)
📝 packages/otome-forge/client.js (+189 -190)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+2 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-items.ts (+1 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/FacePlate.tsx (+19 -3)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx (+29 -5)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/SpeakerPlate.tsx (+18 -7)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts (+1 -2)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/outfits.ts (+24 -20)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/album.ts (+2 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 3 more files

📄 Description

Linked issue

Closes #1931.

Why this change

The story header's Image description panel stays visible beside character sprites, and four-star Moments have a playable scene but no collectible illustration. Both behaviors make the presentation inconsistent with the player's image choices.

What changed

  • Hide that header panel when the reader displays a character sprite. Preserve descriptions for scenes without a sprite, key-moment views, and unavailable portraits or expressions. Reuse the reader's existing portrait/expression/outfit selection and supporting-character display validation.
  • Let four-star Moments paint one illustration from their saved premise through the existing item-art flow. Existing owned/read Moments retain their scene, progress, rewards and saved state. Ready illustrations join the Album; later opens reuse them.
  • Keep existing image settings, cost display, consent, prompt review, edited prompts, failure/retry handling and concurrent-request protection.
  • Round all four corners of story character nameplates, including the previously shallow lower-left corner.
  • Rebuild Otome Hearth 0.2.2, its archive, all three preview catalog lanes and release notes. Update package documentation.

Package and security impact

Executable client/server payloads change. Engine compatibility, capability API, permissions, entrypoints, routes and storage format stay the same. No additional text-model call or new saved field is introduced for Moment illustrations. Supporting-character cleanup uses the existing free display derivative and leaves the original card untouched.

Validation

  • Reproduced both requested failures against published 0.2.1, then reproduced the supporting-character and love-interest image-failure fallbacks identified during review against the corresponding candidate builds. Preserved RED traces before fixing each path.
  • Local npm run check, strict Otome client/server typecheck, 455 TypeScript and 12 bundle regressions, catalog lanes/localization/archive/release-note validation and git diff --check passed.
  • Integrated concurrent staging updates with no Otome changes: all 233 package/test/artifact files and six preview catalog/notes files remain byte-identical to the browser-validated 5c96f7bc build. Baseline checks and catalog validation passed again on the resulting tree.
  • The actual Engine core installer installed 0.2.1, updated to the exact 0.2.2 payloads with restart pending, and uninstalled cleanly while preserving unrelated data. All six installed file hashes/sizes matched; no network calls were made in this isolated lifecycle check.
  • Final installed-package browser proof: 32/32 targeted cases across desktop/mobile Chromium and WebKit (both themes for the requested behaviors), plus 6/6 adjacent speaker-isolation/slow-image/cleanup-failure cases in desktop/mobile Chromium. All checks used the final archive and client bytes; screenshots were inspected.
  • Local CodeRabbit and Dottore fallback findings were reproduced and repaired. The final local CodeRabbit review completed with zero remaining findings. Independent source/repair reviews found no remaining defect.

The browser proof uses installed package bytes on compatible Engine staging c32671af7fdaf9873ccd6a11b6c7b7451b398967, with provider endpoints stubbed. Fresh server startup verifies activation separately from the pending-install lifecycle harness. Physical iPhone/Android behavior, a live paid image-provider call, remote-catalog update UI and a literal offline restart remain manual verification gaps.

  • Manually verify the story header with sprites enabled and disabled on a physical phone.
  • Manually verify a live-provider four-star illustration and subsequent reuse.
  • Manually verify updating from Download Agents, restarting, and reopening offline.

Owner: @SpicyMarinara (Codex).

Publication note: earlier 0.2.2 candidates were confined to this unmerged PR and controlled local fixtures. Immediately before merge, all three ordinary staging preview URLs and the staging tree still publish 0.2.1; staging has no 0.2.2 archive. The new 0.2.2 is its first official staging publication.


🔄 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-Agents/pull/1932 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-sprites-memory-art-20261030` --- ### 📝 Commits (8) - [`884747a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/884747ab610826942c5bd3d279a22e5a0557d08e) chore(otome): track sprite and memory artwork repairs - [`2003bb0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2003bb0e601077a8f705369c5c70bcbfe058181f) fix(otome): prefer story sprites and illustrate four-star memories - [`5fe2817`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5fe2817a92857af0bbe189cd1a3525950ef479a6) fix(otome): retain scene prose when speaker artwork cannot display - [`cf048cd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cf048cd5c6c29bc6c5c36fd51b4e3e510c52ccfd) Merge remote-tracking branch 'origin/staging' into fix/otome-sprites-memory-art-20261030 - [`a0d3894`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a0d389421cceee4811bfe83cbfc74ea1c27ea2f6) build(otome): publish reviewed 0.2.2 sprite fallback and memory artwork - [`9ab7a85`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9ab7a85348109f830e523fcc56c2ab4ab4608e8c) fix(otome): handle failed love-interest artwork and round nameplates - [`5c96f7b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5c96f7bc8df1ecd4d127592ee01ccf30a426fce3) build(otome): rebuild 0.2.2 after reader review repairs - [`a5a4eb0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a5a4eb0ad1749992b1d9c6117c40e59e945da901) Merge remote-tracking branch 'origin/staging' into fix/otome-sprites-memory-art-20261030 ### 📊 Changes **23 files changed** (+840 additions, -284 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.2.2.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+6 -6) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+6 -6) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+6 -0) 📝 `packages/otome-forge/README.md` (+5 -3) 📝 `packages/otome-forge/client.js` (+189 -190) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+2 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-items.ts` (+1 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/FacePlate.tsx` (+19 -3) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx` (+29 -5) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/SpeakerPlate.tsx` (+18 -7) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts` (+1 -2) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/outfits.ts` (+24 -20) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/album.ts` (+2 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 3 more files_ </details> ### 📄 Description ## Linked issue Closes #1931. ## Why this change The story header's **Image description** panel stays visible beside character sprites, and four-star Moments have a playable scene but no collectible illustration. Both behaviors make the presentation inconsistent with the player's image choices. ## What changed - Hide that header panel when the reader displays a character sprite. Preserve descriptions for scenes without a sprite, key-moment views, and unavailable portraits or expressions. Reuse the reader's existing portrait/expression/outfit selection and supporting-character display validation. - Let four-star Moments paint one illustration from their saved premise through the existing item-art flow. Existing owned/read Moments retain their scene, progress, rewards and saved state. Ready illustrations join the Album; later opens reuse them. - Keep existing image settings, cost display, consent, prompt review, edited prompts, failure/retry handling and concurrent-request protection. - Round all four corners of story character nameplates, including the previously shallow lower-left corner. - Rebuild Otome Hearth **0.2.2**, its archive, all three preview catalog lanes and release notes. Update package documentation. ## Package and security impact Executable client/server payloads change. Engine compatibility, capability API, permissions, entrypoints, routes and storage format stay the same. No additional text-model call or new saved field is introduced for Moment illustrations. Supporting-character cleanup uses the existing free display derivative and leaves the original card untouched. ## Validation - Reproduced both requested failures against published 0.2.1, then reproduced the supporting-character and love-interest image-failure fallbacks identified during review against the corresponding candidate builds. Preserved RED traces before fixing each path. - Local `npm run check`, strict Otome client/server typecheck, 455 TypeScript and 12 bundle regressions, catalog lanes/localization/archive/release-note validation and `git diff --check` passed. - Integrated concurrent staging updates with no Otome changes: all 233 package/test/artifact files and six preview catalog/notes files remain byte-identical to the browser-validated `5c96f7bc` build. Baseline checks and catalog validation passed again on the resulting tree. - The actual Engine core installer installed 0.2.1, updated to the exact 0.2.2 payloads with restart pending, and uninstalled cleanly while preserving unrelated data. All six installed file hashes/sizes matched; no network calls were made in this isolated lifecycle check. - Final installed-package browser proof: **32/32** targeted cases across desktop/mobile Chromium and WebKit (both themes for the requested behaviors), plus **6/6** adjacent speaker-isolation/slow-image/cleanup-failure cases in desktop/mobile Chromium. All checks used the final archive and client bytes; screenshots were inspected. - Local CodeRabbit and Dottore fallback findings were reproduced and repaired. The final local CodeRabbit review completed with **zero remaining findings**. Independent source/repair reviews found no remaining defect. The browser proof uses installed package bytes on compatible Engine staging `c32671af7fdaf9873ccd6a11b6c7b7451b398967`, with provider endpoints stubbed. Fresh server startup verifies activation separately from the pending-install lifecycle harness. Physical iPhone/Android behavior, a live paid image-provider call, remote-catalog update UI and a literal offline restart remain manual verification gaps. - [ ] Manually verify the story header with sprites enabled and disabled on a physical phone. - [ ] Manually verify a live-provider four-star illustration and subsequent reuse. - [ ] Manually verify updating from Download Agents, restarting, and reopening offline. Owner: @SpicyMarinara (Codex). Publication note: earlier 0.2.2 candidates were confined to this unmerged PR and controlled local fixtures. Immediately before merge, all three ordinary staging preview URLs and the staging tree still publish 0.2.1; staging has no 0.2.2 archive. The new 0.2.2 is its first official staging publication. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:57 +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-Agents#2038
No description provided.