[PR #1942] [MERGED] Otome Hearth 0.4.1: image descriptions, long 5★ reveals on phones, crude language in NSFW and swearing in SFW #2041

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

📋 Pull Request Information

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

Base: staging ← Head: fix/otome-image-description-1941


📝 Commits (6)

  • 235f028 fix(otome-forge): the story's image description only stands in for an unpainted picture
  • 7b1a4c5 fix(otome-forge): a painted picture that fails to load keeps its description
  • b7c4f27 fix(otome-forge): a long 5★ reveal fits on a phone
  • a36adf9 feat(otome-forge): NSFW stories name the crude words they allow
  • 866e136 feat(otome-forge): SFW stories let characters swear, without the sexual words
  • 0addd13 Merge staging (the Closer, 0.4.0) into #1942; release as 0.4.1

📊 Changes

23 files changed (+449 additions, -280 deletions)

View changed files

➕ artifacts/otome-forge-0.4.1.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 (+4 -3)
📝 packages/otome-forge/client.js (+100 -97)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+91 -91)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CgTakeover.tsx (+11 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx (+48 -16)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx (+1 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts (+3 -0)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/content-contract.ts (+7 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-nsfw.regression.ts (+20 -0)
📝 tests/otome-forge-sfw-defaults.regression.ts (+28 -21)

...and 3 more files

📄 Description

Pull request

Linked issue

Closes #1941
Closes #1944

Why this change

  • The maintainer's report: the story reader's Image description, under the chapter title and location, showed even with a painted background.
  • Why it's wrong: the description stands in for a missing picture. Over a painted background it repeats what's already on screen.
  • Second report (#1944): a 5★ Memory reveal with a long premise was cut off at the top on a phone. The title went under the header, out of reach. It's another 0.4.1 display fix, so it rides in this PR rather than a third version bump.

What changed

otome-forge 0.4.1 (staging-only).

  • Reader (Reader.tsx): each text now shows only when its own picture is missing.

    • The place's tags: only while the place has no painted background, and no painted key image covers it.
    • A key image's brief: only until that image is painted.
    • A file that fails to load counts as missing (Dottore). The reader keeps one set of art URLs that failed to load: sprites already used it, and now the backdrop's decode and the key image's <img> fill it too. A repaint to a new URL isn't in the set, so its description goes again once it shows.
    • Unchanged: the panel is still hidden while a character sprite is on stage.
  • 5★ reveal on a phone (#1944, theme/styles.ts): the card sat at the bottom of a stage that doesn't scroll, so a long premise pushed it past the top. It's now capped at the stage below Skip's row and scrolls inside, title first, with Continue at its end.

  • Crude language (maintainer's request): NSFW mode's contract line said only "characters swear and speak crudely when it is in their voice". It now names the words: "crude and vulgar words are fine in dialogue and narration alike (fuck, shit, cock, pussy and the like) whenever they fit the character's voice and the moment". A regression checks it for planner, scene and chat contracts under NSFW Heat and Dark romance.

  • SFW swearing (maintainer's call: "swearing, not sexual words"): an SFW contract (story prompts, and Home in every story) now says "Characters may swear (fuck, shit, damn and the like) when it fits their voice; explicit sexual words are left out." Care notes and summaries are unchanged. All 18 SFW story and banner digests were retaken for this line, and the pinned SFW contracts carry it.

  • Docs and release: README (the reader paragraph and the "Story image descriptions" note), a CHANGELOG 0.4.1 entry, and the version in scripts/build-feature-packages.mjs. The bundle, manifest, preview catalogs and the 0.4.1 zip are rebuilt.

  • Version: the Closer (#1943, 0.4.0) merged first, so this ships as 0.4.1, a patch on top of it. Staging is merged in, and the 0.4.0 release notes and Closer digests are kept. The SFW digests were retaken once more with both changes.

Package and security impact

  • Affected package IDs: otome-forge (0.4.1, staging-only).
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: none. The change is client display only.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Agent-side checks:

  • Pass: npm run test:otome-forge (459 + 12), the strict typecheck, both locale validators, Prettier and ESLint on the changed files, and git diff --check.

  • Browser tests, run against the real Engine (desktop and mobile): the story-header, imageless-play and image-failure tests.

    • The imageless-play test that paints on tap now checks all four states: the place's description shows, is gone once the place is painted, the key image's brief shows, and is gone once that image is painted.
    • The story-header test's last step expected the brief under a painted key image (the old behaviour). It now expects no description.
    • One untouched test (the keyboard scroll of a long description) failed once under load. It passed 6/6 when rerun alone.
    • A new test serves a 404 for a "ready" place file and a "ready" key image file. Both descriptions come back. It fails if a failed background counts as on screen (mutation check).
    • After the Dottore fix: 22/22 of the story-header, imageless-play, image-failure and full reader (Confrontation) tests pass on desktop and mobile.
  • Not run locally: validate-catalog, because the sparse worktree leaves out other packages' zips. CI covers it.

  • #1944: a new phone-size (390×700) browser test with a long premise passes on desktop and mobile. It checks that the title is whole in view, the card sits inside the stage and below Skip, the premise scrolls, and Continue works. It fails without the fix (mutation check). The existing 5★ reveal test passes.

Please verify by hand:

  • Manually verify in a story with painted backgrounds that no Image description shows under the chapter title and location.
  • Manually verify with Ask before painting on that the description shows until you paint the place, then disappears.
  • Manually verify that a key moment's brief shows until its image is painted, then disappears.
  • Manually verify on a phone that a 5★ Memory with a long premise shows its title whole, scrolls its premise inside the card, and reaches Continue.
  • Manually verify that a painted background whose file is gone (for example, deleted from the gallery) shows its description again.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

Owner: @SpicyMarinara (made by Claude).

🤖 Generated with Claude Code


🔄 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/1942 **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-image-description-1941` --- ### 📝 Commits (6) - [`235f028`](https://github.com/Pasta-Devs/Marinara-Agents/commit/235f02845b0b0a7536556b08c5d6f20749d88853) fix(otome-forge): the story's image description only stands in for an unpainted picture - [`7b1a4c5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7b1a4c591d723d6c6a260dbd7fcebee8cfacb894) fix(otome-forge): a painted picture that fails to load keeps its description - [`b7c4f27`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b7c4f27921edc8a818864d7915e20de11412acbf) fix(otome-forge): a long 5★ reveal fits on a phone - [`a36adf9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a36adf906875e9649781c8d31847ae83983f3f38) feat(otome-forge): NSFW stories name the crude words they allow - [`866e136`](https://github.com/Pasta-Devs/Marinara-Agents/commit/866e136ee483c51556e30fecd59041aaa6ec652c) feat(otome-forge): SFW stories let characters swear, without the sexual words - [`0addd13`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0addd1315fc3cc64e7bc4ac6199a54beea820b01) Merge staging (the Closer, 0.4.0) into #1942; release as 0.4.1 ### 📊 Changes **23 files changed** (+449 additions, -280 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.4.1.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` (+4 -3) 📝 `packages/otome-forge/client.js` (+100 -97) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+91 -91) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CgTakeover.tsx` (+11 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx` (+48 -16) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx` (+1 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts` (+3 -0) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/content-contract.ts` (+7 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-nsfw.regression.ts` (+20 -0) 📝 `tests/otome-forge-sfw-defaults.regression.ts` (+28 -21) _...and 3 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1941 Closes #1944 ## Why this change - **The maintainer's report:** the story reader's **Image description**, under the chapter title and location, showed even with a painted background. - **Why it's wrong:** the description stands in for a missing picture. Over a painted background it repeats what's already on screen. - **Second report (#1944):** a 5★ Memory reveal with a long premise was cut off at the top on a phone. The title went under the header, out of reach. It's another 0.4.1 display fix, so it rides in this PR rather than a third version bump. ## What changed `otome-forge` 0.4.1 (staging-only). - **Reader** (`Reader.tsx`): each text now shows only when its own picture is missing. - **The place's tags:** only while the place has no painted background, and no painted key image covers it. - **A key image's brief:** only until that image is painted. - **A file that fails to load** counts as missing (Dottore). The reader keeps one set of art URLs that failed to load: sprites already used it, and now the backdrop's decode and the key image's `<img>` fill it too. A repaint to a new URL isn't in the set, so its description goes again once it shows. - **Unchanged:** the panel is still hidden while a character sprite is on stage. - **5★ reveal on a phone** (#1944, `theme/styles.ts`): the card sat at the bottom of a stage that doesn't scroll, so a long premise pushed it past the top. It's now capped at the stage below Skip's row and scrolls inside, title first, with Continue at its end. - **Crude language** (maintainer's request): NSFW mode's contract line said only "characters swear and speak crudely when it is in their voice". It now names the words: "crude and vulgar words are fine in dialogue and narration alike (fuck, shit, cock, pussy and the like) whenever they fit the character's voice and the moment". A regression checks it for planner, scene and chat contracts under NSFW Heat and Dark romance. - **SFW swearing** (maintainer's call: "swearing, not sexual words"): an SFW contract (story prompts, and Home in every story) now says "Characters may swear (fuck, shit, damn and the like) when it fits their voice; explicit sexual words are left out." Care notes and summaries are unchanged. All 18 SFW story and banner digests were retaken for this line, and the pinned SFW contracts carry it. - **Docs and release:** README (the reader paragraph and the "Story image descriptions" note), a CHANGELOG 0.4.1 entry, and the version in `scripts/build-feature-packages.mjs`. The bundle, manifest, preview catalogs and the 0.4.1 zip are rebuilt. - **Version:** the Closer (#1943, 0.4.0) merged first, so this ships as **0.4.1**, a patch on top of it. Staging is merged in, and the 0.4.0 release notes and Closer digests are kept. The SFW digests were retaken once more with both changes. ## Package and security impact - Affected package IDs: `otome-forge` (0.4.1, staging-only). - Engine compatibility impact: none. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: none. The change is client display only. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Agent-side checks: - **Pass:** `npm run test:otome-forge` (459 + 12), the strict typecheck, both locale validators, Prettier and ESLint on the changed files, and `git diff --check`. - **Browser tests, run against the real Engine (desktop and mobile):** the story-header, imageless-play and image-failure tests. - The imageless-play test that paints on tap now checks all four states: the place's description shows, is gone once the place is painted, the key image's brief shows, and is gone once that image is painted. - The story-header test's last step expected the brief under a painted key image (the old behaviour). It now expects no description. - One untouched test (the keyboard scroll of a long description) failed once under load. It passed 6/6 when rerun alone. - A new test serves a 404 for a "ready" place file and a "ready" key image file. Both descriptions come back. It fails if a failed background counts as on screen (mutation check). - After the Dottore fix: 22/22 of the story-header, imageless-play, image-failure and full reader (Confrontation) tests pass on desktop and mobile. - **Not run locally:** `validate-catalog`, because the sparse worktree leaves out other packages' zips. CI covers it. - **#1944:** a new phone-size (390×700) browser test with a long premise passes on desktop and mobile. It checks that the title is whole in view, the card sits inside the stage and below Skip, the premise scrolls, and Continue works. It fails without the fix (mutation check). The existing 5★ reveal test passes. Please verify by hand: - [ ] Manually verify in a story with painted backgrounds that no **Image description** shows under the chapter title and location. - [ ] Manually verify with **Ask before painting** on that the description shows until you paint the place, then disappears. - [ ] Manually verify that a key moment's brief shows until its image is painted, then disappears. - [ ] Manually verify on a phone that a 5★ Memory with a long premise shows its title whole, scrolls its premise inside the card, and reaches Continue. - [ ] Manually verify that a painted background whose file is gone (for example, deleted from the gallery) shows its description again. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Owner: @SpicyMarinara (made by Claude). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:00 +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#2041
No description provided.