[PR #2098] [MERGED] fix(otome-forge): a 5★ look's first-wear scene shows him in that look; no forced meals (0.8.3) #2114

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2098
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-first-wear-sprite


📝 Commits (3)

  • dc0b0ec fix(otome-forge): a 5★ look's first-wear scene shows him in that look (0.8.3)
  • 56a79f2 fix(otome-forge): a first-wear scene read while its look paints changes into it
  • 1a6f828 fix(otome-forge): the planners remember the protagonist is human, not that they eat

📊 Changes

22 files changed (+553 additions, -197 deletions)

View changed files

➕ artifacts/otome-forge-0.8.3.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 (+5 -0)
📝 packages/otome-forge/client.js (+5 -5)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+109 -109)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts (+4 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx (+7 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts (+11 -1)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/prompts.ts (+5 -2)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/art.ts (+53 -8)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/state.ts (+23 -10)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-knowledge.regression.ts (+2 -1)
📝 tests/otome-forge-sfw-defaults.regression.ts (+6 -6)

...and 2 more files

📄 Description

Pull request

Linked issue

Closes #2097

Why this change

When the player unlocks a love interest's 5★ look and reads its short first-wear scene, the love interest still appears on stage in his old outfit. The reader always drew him in the look he wears on Home. So the scene introducing the new look never showed it, and a replay followed whatever he wore at the time. This also happened when the scene was opened right after the unlock, while the new look was still painting. That is the most common path, because the Wish detail offers "Read the first-wear scene" at once. Reported by the maintainer.

The maintainer also reported that the cast and the story keep pushing food on the protagonist. The chapter, route and repair planners' time rule said "the protagonist eats, rests and sleeps", and planners wrote meals into node after node.

What changed

  • GET /runs/:run/art/scene: in a look's first-wear scene (story-<item>), the love interest who owns the look and is not wearing it now is described in a new looks field, in RunLiView's stage-field shape. It is taken from the item's own art: the look's image (cut out for free, like every stage picture) and that look's faces if a set is already ready. Other scenes are unchanged.
  • While that look is still painting, or its free cut-out is on the way, the reply carries lookComing. The reader keeps polling on it, even with expressions off, and puts him in the new look once it lands. A look waiting for Paint, failed or stopped is not waited for.
  • Replays keep the look the scene is about, even after he wears another look; while he wears it, nothing changes.
  • No new expression sets are painted: a look's faces are still paid for only when he wears it. The protagonist needs nothing, because her looks have no scene and she is never on stage.
  • Otome Hearth 0.8.3: changelog entry, rebuilt bundles, manifest, preview catalogs, notes and artifact.
  • Regressions: the route test in tests/otome-forge-stage-cutouts.regression.ts covers painting, stopped, waiting-consent, failed, ready before addOutfit, cut, replay and worn. Browser tests in tests/package-otome-forge-reader.e2e.ts cover the stage sprite, and the poll while painting with expressions off.
  • Fewer meals forced on the protagonist. The planners' time rule now uses the maintainer's wording: "Time passes as in a life: the protagonist is human, resting, sleeping, washing and seeing to the small needs of a day or night in passing." The two sentences after it, about rest during a long day or night, are unchanged.
  • Version 0.8.3, with release notes, rebuilt bundle, catalogs and artifact.

Package and security impact

  • Affected package IDs: otome-forge (0.8.2 → 0.8.3)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: GET /runs/:run/art/scene gains optional looks and lookComing fields (additive)
  • Restart, storage, update, or uninstall impact: none

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

  • Manually verify in the browser: pull a love interest's new 5★ look, then tap 'Read the first-wear scene' right away while the look is still painting and he still wears another look on Home. He should first show in his current look, then change into the new look, cut out, once the paint lands, without leaving the scene.
  • Manually verify with Ask before painting on: after tapping Paint on the new look, tap 'Read the first-wear scene' right away. He should change into the new look once it is painted.
  • Manually verify with Ask before painting on, reading the scene without tapping Paint: he stays in his current look for the whole scene, because no picture of the new look exists. This is expected.
  • Manually verify, after the look is painted: open the first-wear scene while he wears another look. He should stand in the new look from the start (cut out).
  • Manually verify a replay: wear the new look in the Wardrobe (its faces get painted), switch him back to another look, then replay the first-wear scene. He should show in the new look with that look's expressions.
  • Manually verify that his other chapters and Home still show the look he currently wears.
  • Play a few main-chapter scenes. Check the story no longer keeps pushing meals on the protagonist.

Agent-run checks (for reference):

  • pnpm test:otome-forge: 654 + 13 pass on the final commit.
  • node scripts/typecheck-packages.mjs otome-forge: clean.
  • The reader browser file passes on desktop-chromium (39).
  • The new route regression and the new browser test both fail on the code before the fix.

Review: an independent adversarial review asked for changes (1 issue(s)), and a fix-up pass addressed them. The main one: a scene opened while the new look was still painting kept the old outfit.

Known limits and risks:

  • Brief flash of the old look. The scene's look comes from the scene's art read, which the reader makes only when the world has an image connection. Until that read answers, he shows in his worn look. He only appears once he speaks, so this is usually invisible. It is marked with the ponytail: comment in Reader.tsx; the upgrade path is the look on the chapter view.
  • Old look while the new one paints. No picture of the new look exists yet, so his worn look stands in and is swapped once the paint lands. The poll has the reader's usual limit (36 tries × 5 s, about 3 minutes); a paint slower than that keeps the old look until the scene is reopened. With Ask before painting and no Paint tap, the old look stays for the whole scene.
  • One extra document read. Each /art/scene read of an item-story chapter (memory5, moment4, his-look5) now reads one more document, the item.
  • Not changed, outside this sprite fix: the scene's prose prompt still describes him from his worn outfit's line (appearanceLine), while the chapter guide names the new look. Serving the beat may still paint faces for his worn look, as it always has.
  • validate-catalog.mjs could not run in this sparse worktree because other packages' artifacts are missing; it should run in a full checkout or CI.
  • Not pushed, and no PR opened, as instructed.

Review response: the one major issue (a read while the look paints stops polling) holds up and is fixed as suggested. One difference from the suggestion: the look is taken from the item's own art (outfitOf(item)) instead of waiting for addOutfit. That closes the remaining window between the paint being saved and the look being added to his outfits, which would have stopped polling the same way. The reviewer's minor note about Ask before painting is now in the manual-verification list.

Documentation impact

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

UI evidence (if applicable)

The reader's stage picture in a 5★ look's first-wear scene. There is no new copy.

🤖 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/2098 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/3/2026 **Status:** ✅ Merged **Merged:** 11/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-first-wear-sprite` --- ### 📝 Commits (3) - [`dc0b0ec`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dc0b0ecf19f168bea7e8907dee58a15e6d06ccc0) fix(otome-forge): a 5★ look's first-wear scene shows him in that look (0.8.3) - [`56a79f2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/56a79f288b03ebb8d7e9df26bc7eff51f26457ed) fix(otome-forge): a first-wear scene read while its look paints changes into it - [`1a6f828`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1a6f8281f772af2d8c4d09c46f40d8a948921c88) fix(otome-forge): the planners remember the protagonist is human, not that they eat ### 📊 Changes **22 files changed** (+553 additions, -197 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.8.3.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` (+5 -0) 📝 `packages/otome-forge/client.js` (+5 -5) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+109 -109) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts` (+4 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx` (+7 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts` (+11 -1) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/prompts.ts` (+5 -2) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/art.ts` (+53 -8) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/state.ts` (+23 -10) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-knowledge.regression.ts` (+2 -1) 📝 `tests/otome-forge-sfw-defaults.regression.ts` (+6 -6) _...and 2 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #2097 ## Why this change When the player unlocks a love interest's 5★ look and reads its short first-wear scene, the love interest still appears on stage in his old outfit. The reader always drew him in the look he wears on Home. So the scene introducing the new look never showed it, and a replay followed whatever he wore at the time. This also happened when the scene was opened right after the unlock, while the new look was still painting. That is the most common path, because the Wish detail offers "Read the first-wear scene" at once. Reported by the maintainer. The maintainer also reported that the cast and the story keep pushing food on the protagonist. The chapter, route and repair planners' time rule said "the protagonist eats, rests and sleeps", and planners wrote meals into node after node. ## What changed - GET /runs/:run/art/scene: in a look's first-wear scene (`story-<item>`), the love interest who owns the look and is not wearing it now is described in a new `looks` field, in RunLiView's stage-field shape. It is taken from the item's own art: the look's image (cut out for free, like every stage picture) and that look's faces if a set is already ready. Other scenes are unchanged. - While that look is still painting, or its free cut-out is on the way, the reply carries `lookComing`. The reader keeps polling on it, even with expressions off, and puts him in the new look once it lands. A look waiting for Paint, failed or stopped is not waited for. - Replays keep the look the scene is about, even after he wears another look; while he wears it, nothing changes. - No new expression sets are painted: a look's faces are still paid for only when he wears it. The protagonist needs nothing, because her looks have no scene and she is never on stage. - Otome Hearth 0.8.3: changelog entry, rebuilt bundles, manifest, preview catalogs, notes and artifact. - Regressions: the route test in tests/otome-forge-stage-cutouts.regression.ts covers painting, stopped, waiting-consent, failed, ready before addOutfit, cut, replay and worn. Browser tests in tests/package-otome-forge-reader.e2e.ts cover the stage sprite, and the poll while painting with expressions off. - **Fewer meals forced on the protagonist.** The planners' time rule now uses the maintainer's wording: "Time passes as in a life: the protagonist is human, resting, sleeping, washing and seeing to the small needs of a day or night in passing." The two sentences after it, about rest during a long day or night, are unchanged. - Version 0.8.3, with release notes, rebuilt bundle, catalogs and artifact. ## Package and security impact - Affected package IDs: `otome-forge` (0.8.2 → 0.8.3) - Engine compatibility impact: none - New or changed permissions/entrypoints: `GET /runs/:run/art/scene` gains optional `looks` and `lookComing` fields (additive) - Restart, storage, update, or uninstall impact: none ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 - [ ] Manually verify in the browser: pull a love interest's new 5★ look, then tap 'Read the first-wear scene' right away while the look is still painting and he still wears another look on Home. He should first show in his current look, then change into the new look, cut out, once the paint lands, without leaving the scene. - [ ] Manually verify with Ask before painting on: after tapping Paint on the new look, tap 'Read the first-wear scene' right away. He should change into the new look once it is painted. - [ ] Manually verify with Ask before painting on, reading the scene without tapping Paint: he stays in his current look for the whole scene, because no picture of the new look exists. This is expected. - [ ] Manually verify, after the look is painted: open the first-wear scene while he wears another look. He should stand in the new look from the start (cut out). - [ ] Manually verify a replay: wear the new look in the Wardrobe (its faces get painted), switch him back to another look, then replay the first-wear scene. He should show in the new look with that look's expressions. - [ ] Manually verify that his other chapters and Home still show the look he currently wears. - [ ] Play a few main-chapter scenes. Check the story no longer keeps pushing meals on the protagonist. Agent-run checks (for reference): - `pnpm test:otome-forge`: 654 + 13 pass on the final commit. - `node scripts/typecheck-packages.mjs otome-forge`: clean. - The reader browser file passes on desktop-chromium (39). - The new route regression and the new browser test both fail on the code before the fix. Review: an independent adversarial review asked for changes (1 issue(s)), and a fix-up pass addressed them. The main one: a scene opened while the new look was still painting kept the old outfit. Known limits and risks: - **Brief flash of the old look.** The scene's look comes from the scene's art read, which the reader makes only when the world has an image connection. Until that read answers, he shows in his worn look. He only appears once he speaks, so this is usually invisible. It is marked with the `ponytail:` comment in Reader.tsx; the upgrade path is the look on the chapter view. - **Old look while the new one paints.** No picture of the new look exists yet, so his worn look stands in and is swapped once the paint lands. The poll has the reader's usual limit (36 tries × 5 s, about 3 minutes); a paint slower than that keeps the old look until the scene is reopened. With Ask before painting and no Paint tap, the old look stays for the whole scene. - **One extra document read.** Each /art/scene read of an item-story chapter (memory5, moment4, his-look5) now reads one more document, the item. - **Not changed, outside this sprite fix:** the scene's prose prompt still describes him from his worn outfit's line (`appearanceLine`), while the chapter guide names the new look. Serving the beat may still paint faces for his worn look, as it always has. - **validate-catalog.mjs** could not run in this sparse worktree because other packages' artifacts are missing; it should run in a full checkout or CI. - **Not pushed**, and no PR opened, as instructed. Review response: the one major issue (a read while the look paints stops polling) holds up and is fixed as suggested. One difference from the suggestion: the look is taken from the item's own art (`outfitOf(item)`) instead of waiting for `addOutfit`. That closes the remaining window between the paint being saved and the look being added to his outfits, which would have stopped polling the same way. The reviewer's minor note about Ask before painting is now in the manual-verification list. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The reader's stage picture in a 5★ look's first-wear scene. There is no new copy. 🤖 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:35 +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#2114
No description provided.