[PR #2096] [MERGED] fix(otome-forge): key images ready when reached, fewer extra limbs, image prompt style picker, Show off +5 (0.8.2) #2115

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

📋 Pull Request Information

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

Base: staging ← Head: fix/otome-cg-paint-ahead


📝 Commits (8)

  • 48bdebf fix(otome-forge): a scene written ahead paints its key image at once again (0.8.2)
  • a7225e3 fix(otome-forge): a CG written ahead is not seen before its scene is read (#2095)
  • 8a30ffe feat(otome-forge): showing off a look earns 5 affection, not 20
  • d21de2e fix(otome-forge): pictures of two or more people send one labelled reference each, with a headcount
  • 6e98cbc fix(otome-forge): image references and labels from one list; review fixes to the anatomy change
  • bd336ac feat(otome-forge): pick the image prompt style in Settings → Images and setup
  • 7efa069 test(otome-forge): only an explicit scene draws them undressed; an ordinary CG keeps its outfits
  • 98d368f fix(otome-forge): distinct names for people who share a first name; a namesake protagonist stays herself

📊 Changes

47 files changed (+1045 additions, -459 deletions)

View changed files

➕ artifacts/otome-forge-0.8.2.zip (+0 -0)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+7 -7)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+7 -7)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+7 -7)
📝 packages/otome-forge/CHANGELOG.md (+8 -1)
📝 packages/otome-forge/README.md (+4 -4)
📝 packages/otome-forge/client.js (+41 -41)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+158 -158)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-image-style-profiles.ts (+28 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+11 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/settings/Images.tsx (+8 -3)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/ConnectionsStep.tsx (+64 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/draft.ts (+11 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts (+2 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts (+2 -2)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/cg.ts (+103 -21)

...and 27 more files

📄 Description

Pull request

Linked issue

Closes #2095

Why this change

The maintainer noticed that a scene's key image (CG) now makes them wait when its moment comes; before, it was usually ready already. Otome 0.6.27 (4eb58f841, an audit fix) moved the CG paint from when the scene is written (including the scene written ahead) to when it is opened. That stopped paying for an image for a scene written ahead and then dropped by Ease off or Rewrite. The price was waiting at the key moment. The maintainer chose the earlier behaviour.

In the same release the maintainer also asked for two more changes:

  • Show off: showing off a look should pay 5 affection instead of 20, and its reaction should run on the Messages connection.
  • Anatomy: Otome's images on GPT Image 2.5 Sunburst often had terrible anatomy (three legs, six fingers). A multi-lens investigation found the Engine passes Otome's image request through cleanly. The problem was the shape of Otome's own requests, mainly unlabelled duplicate references and thin poses.

What changed

  • Key images are ready when you reach them again. The scene written ahead paints its key image as soon as it is written, so it is usually waiting when its moment comes.
  • Ease off and Rewrite say they may cost an image again. They drop the scene written ahead, so that scene is written again and its key image painted again (1 image). The Ease off note, the Rewrite button label and the README cost table say so again. A dropped scene's image is still let go: a paint that hasn't started stops, and a painted one is deleted.
  • No missed record when a scene opens mid-paint. A scene written in the same request that opens it no longer answers without its key image's record. Before, the paint started at write held the lock, so the open-time start couldn't write the record, and the reader could offer Paint while the image was already painting. A second start now waits for the first one's record and answers with the stored scene.
  • An image written ahead can't reach the Album early. A key image painted with its scene written ahead can be ready before you open that scene. The Album now accepts it only once its scene is the one being read, an earlier one, or the chapter is finished. Before, an image on a scene's first line could be added through a direct request (the reader itself never did this). Ease off could then no longer delete it. Found by local CodeRabbit.
  • Fixed two of Dottore's wording notes from #2093: the 0.8.1 release note and the timeline header no longer overstate.
  • Showing off a look earns 5 affection, down from 20, the first time you show a love interest that look. The reaction was already written on the Messages connection (job chat, the one phone replies use). A test now pins that.
  • Fewer extra limbs in pictures of two or more people:
    • One picture per person. Story key images, Memory and banner art, the pair portrait and the date keepsake now send one picture of each person, the look they wear. Before, each person got two full-body standing pictures: their likeness, then their look. A single-person image still gets the likeness and then the look.
    • Labels and a headcount. Sentence prompts now say which picture is whose, in order, and that the pictures are for face, hair, build and clothing only, never pose, framing or background. They also say "Draw exactly N people, each appearing once, with two arms, two legs and five fingers on each visible hand."
    • The date keepsake shows you too. Before, it described the two of you but sent two pictures of him only. It now paints like a key image of both of you.
    • Better-staged briefs. Every rule for writing an image brief now asks for one clear interaction with the fewest people needed. It also asks who stands where, where the hands are, and a waist-up or knee-up framing whenever they touch. Key images hold at most 3 people, matching the rules.
    • Clearer Photo Shoot poses. Shared poses say where hands, arms and legs go and how close the shot is. A pose where you face each other is a candid shot, never "posing for the camera" too. The pair portrait is knee-up instead of "in full view".
  • The prompts never mislabel a picture: a single list now decides both which pictures are sent and how they're labelled. Someone with no picture at all is neither sent nor named. A protagonist known only through a persona goes last, so a missing picture of her can't shift anyone else's label. Explicit images aren't told to take clothing from the clothed looks. A cheek kiss no longer opens with "they face each other". Banner illustration briefs get 1–4 sentences and the same 1200-character cap as key images. These are fixes from an independent review of the anatomy change.
  • Pick the image prompt style: Settings → Images, and setup, now let you pick which Engine image style profile your pictures follow. Each profile is listed by name with its prompt style (sentences, tags, Danbooru tags, or sentences and tags). There's an "Engine default" option, and a profile the Engine no longer has is marked as such. Before, Otome quietly used the Engine's default profile and offered only the free-text Image style. A tag profile such as Anime or Danbooru writes tag prompts, which GPT Image handles badly.
  • Version 0.8.2, with release notes, rebuilt bundle, catalogs and artifact.

Package and security impact

  • Affected package IDs: otome-forge (0.8.1 → 0.8.2)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. Affection: showing off a look pays 5 (was 20). Image cost: Ease off or Rewrite on a scene whose next scene was written ahead and had a key image now repaints that image (1 image), as before 0.6.27.

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

  • On GPT Image 2.5, paint a story key image with two or more people, and the pair portrait of a couple set. Check each person appears once with normal limbs and hands, and compare with images from before.
  • Paint a date keepsake. Check both of you appear and look like yourselves.
  • Take Photo Shoot pictures with Piggyback, Back hug and Kiss. Check the limbs and framing.
  • Show a love interest a look you haven't shown them before. Check it says +5 affection.
  • Open Settings → Images. Check "Image prompt style" lists your Engine image style profiles. Pick a sentence profile, save, and paint something. In debug mode, check the image prompt is written as sentences rather than tags.
  • With an image connection and automatic painting, read a scene whose next scene has a key image. When you reach that moment, check the image is already there or nearly done.
  • Ease off a scene after the next one was written ahead with a key image. Open the next scene and check its key image paints once, with no leftover image from the dropped scene in the gallery.
  • With Ask before painting on, check the key image still waits for your tap.

Agent-run checks (for reference): pnpm test:otome-forge 652 + 13 pass on the final commit; node scripts/typecheck-packages.mjs otome-forge clean; ESLint and Prettier on the changed files clean. The art regression a scene written ahead paints its CG as soon as it is written… fails on the 0.8.1 code (timed out waiting for the CG before the scene is served) and passes here. It also covers the Ease off path (the dropped image is deleted, and the scene written again paints its own once), the open-time record check, and the Album refusing an image whose scene hasn't been reached (its image opens on the first line). The reader browser test's Ease off note assertion still matches; CI runs it.

Local CodeRabbit:

  • First run, one finding: fixed. The Album now refuses an image whose scene hasn't been reached.
  • Second run, one finding: not changed. It points out that the next scene to be read could still have its image accepted through a direct request before that scene is opened. The reader is the only caller, and it reports an image only once it's on screen (use-reader.ts:753). It opens that scene right after the previous one ends. Closing the gap fully would need a new "shown" flag stored on every scene, which is out of proportion for something normal play can't reach.

Documentation impact

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

UI evidence (if applicable)

The Ease off note and the Rewrite button label (text only), and a new "Image prompt style" select in Settings → Images and setup (English catalog).

🤖 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/2096 **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-cg-paint-ahead` --- ### 📝 Commits (8) - [`48bdebf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/48bdebf6795fbfd2089934823ab80796585426c1) fix(otome-forge): a scene written ahead paints its key image at once again (0.8.2) - [`a7225e3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a7225e3a4dc5fd5dafaa69895f4883b3d0fd589a) fix(otome-forge): a CG written ahead is not seen before its scene is read (#2095) - [`8a30ffe`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8a30ffe53e5e203daf85fe5092e1bd56444debcb) feat(otome-forge): showing off a look earns 5 affection, not 20 - [`d21de2e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d21de2ea6e3b0613c95eb82e0443b1f09805ce00) fix(otome-forge): pictures of two or more people send one labelled reference each, with a headcount - [`6e98cbc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6e98cbc008d801dc52e70836f53dcc9854ff283f) fix(otome-forge): image references and labels from one list; review fixes to the anatomy change - [`bd336ac`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bd336acc672fbb6869dba557f982224a01dfb817) feat(otome-forge): pick the image prompt style in Settings → Images and setup - [`7efa069`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7efa0691c00317a2e04a93c17f96b41741ee9444) test(otome-forge): only an explicit scene draws them undressed; an ordinary CG keeps its outfits - [`98d368f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/98d368feb5118aa8b3f0a8a0e5493256ef72da24) fix(otome-forge): distinct names for people who share a first name; a namesake protagonist stays herself ### 📊 Changes **47 files changed** (+1045 additions, -459 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.8.2.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+7 -7) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+7 -7) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+7 -7) 📝 `packages/otome-forge/CHANGELOG.md` (+8 -1) 📝 `packages/otome-forge/README.md` (+4 -4) 📝 `packages/otome-forge/client.js` (+41 -41) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+158 -158) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-image-style-profiles.ts` (+28 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+11 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/settings/Images.tsx` (+8 -3) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/ConnectionsStep.tsx` (+64 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/draft.ts` (+11 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts` (+2 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts` (+2 -2) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/cg.ts` (+103 -21) _...and 27 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #2095 ## Why this change The maintainer noticed that a scene's key image (CG) now makes them wait when its moment comes; before, it was usually ready already. Otome 0.6.27 (`4eb58f841`, an audit fix) moved the CG paint from when the scene is written (including the scene written ahead) to when it is opened. That stopped paying for an image for a scene written ahead and then dropped by Ease off or Rewrite. The price was waiting at the key moment. The maintainer chose the earlier behaviour. In the same release the maintainer also asked for two more changes: - **Show off:** showing off a look should pay 5 affection instead of 20, and its reaction should run on the Messages connection. - **Anatomy:** Otome's images on GPT Image 2.5 Sunburst often had terrible anatomy (three legs, six fingers). A multi-lens investigation found the Engine passes Otome's image request through cleanly. The problem was the shape of Otome's own requests, mainly unlabelled duplicate references and thin poses. ## What changed - **Key images are ready when you reach them again.** The scene written ahead paints its key image as soon as it is written, so it is usually waiting when its moment comes. - **Ease off and Rewrite say they may cost an image again.** They drop the scene written ahead, so that scene is written again and its key image painted again (1 image). The Ease off note, the Rewrite button label and the README cost table say so again. A dropped scene's image is still let go: a paint that hasn't started stops, and a painted one is deleted. - **No missed record when a scene opens mid-paint.** A scene written in the same request that opens it no longer answers without its key image's record. Before, the paint started at write held the lock, so the open-time start couldn't write the record, and the reader could offer **Paint** while the image was already painting. A second start now waits for the first one's record and answers with the stored scene. - **An image written ahead can't reach the Album early.** A key image painted with its scene written ahead can be ready before you open that scene. The Album now accepts it only once its scene is the one being read, an earlier one, or the chapter is finished. Before, an image on a scene's first line could be added through a direct request (the reader itself never did this). Ease off could then no longer delete it. Found by local CodeRabbit. - Fixed two of Dottore's wording notes from #2093: the 0.8.1 release note and the timeline header no longer overstate. - **Showing off a look earns 5 affection, down from 20,** the first time you show a love interest that look. The reaction was already written on the Messages connection (job `chat`, the one phone replies use). A test now pins that. - **Fewer extra limbs in pictures of two or more people:** - **One picture per person.** Story key images, Memory and banner art, the pair portrait and the date keepsake now send one picture of each person, the look they wear. Before, each person got two full-body standing pictures: their likeness, then their look. A single-person image still gets the likeness and then the look. - **Labels and a headcount.** Sentence prompts now say which picture is whose, in order, and that the pictures are for face, hair, build and clothing only, never pose, framing or background. They also say "Draw exactly N people, each appearing once, with two arms, two legs and five fingers on each visible hand." - **The date keepsake shows you too.** Before, it described the two of you but sent two pictures of him only. It now paints like a key image of both of you. - **Better-staged briefs.** Every rule for writing an image brief now asks for one clear interaction with the fewest people needed. It also asks who stands where, where the hands are, and a waist-up or knee-up framing whenever they touch. Key images hold at most 3 people, matching the rules. - **Clearer Photo Shoot poses.** Shared poses say where hands, arms and legs go and how close the shot is. A pose where you face each other is a candid shot, never "posing for the camera" too. The pair portrait is knee-up instead of "in full view". - **The prompts never mislabel a picture:** a single list now decides both which pictures are sent and how they're labelled. Someone with no picture at all is neither sent nor named. A protagonist known only through a persona goes last, so a missing picture of her can't shift anyone else's label. Explicit images aren't told to take clothing from the clothed looks. A cheek kiss no longer opens with "they face each other". Banner illustration briefs get 1–4 sentences and the same 1200-character cap as key images. These are fixes from an independent review of the anatomy change. - **Pick the image prompt style:** Settings → Images, and setup, now let you pick which Engine image style profile your pictures follow. Each profile is listed by name with its prompt style (sentences, tags, Danbooru tags, or sentences and tags). There's an "Engine default" option, and a profile the Engine no longer has is marked as such. Before, Otome quietly used the Engine's default profile and offered only the free-text Image style. A tag profile such as Anime or Danbooru writes tag prompts, which GPT Image handles badly. - Version 0.8.2, with release notes, rebuilt bundle, catalogs and artifact. ## Package and security impact - Affected package IDs: `otome-forge` (0.8.1 → 0.8.2) - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. Affection: showing off a look pays 5 (was 20). Image cost: Ease off or Rewrite on a scene whose next scene was written ahead and had a key image now repaints that image (1 image), as before 0.6.27. ## 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 - [ ] On GPT Image 2.5, paint a story key image with two or more people, and the pair portrait of a couple set. Check each person appears once with normal limbs and hands, and compare with images from before. - [ ] Paint a date keepsake. Check both of you appear and look like yourselves. - [ ] Take Photo Shoot pictures with Piggyback, Back hug and Kiss. Check the limbs and framing. - [ ] Show a love interest a look you haven't shown them before. Check it says +5 affection. - [ ] Open Settings → Images. Check "Image prompt style" lists your Engine image style profiles. Pick a sentence profile, save, and paint something. In debug mode, check the image prompt is written as sentences rather than tags. - [ ] With an image connection and automatic painting, read a scene whose next scene has a key image. When you reach that moment, check the image is already there or nearly done. - [ ] Ease off a scene after the next one was written ahead with a key image. Open the next scene and check its key image paints once, with no leftover image from the dropped scene in the gallery. - [ ] With **Ask before painting** on, check the key image still waits for your tap. Agent-run checks (for reference): `pnpm test:otome-forge` 652 + 13 pass on the final commit; `node scripts/typecheck-packages.mjs otome-forge` clean; ESLint and Prettier on the changed files clean. The art regression `a scene written ahead paints its CG as soon as it is written…` fails on the 0.8.1 code (timed out waiting for the CG before the scene is served) and passes here. It also covers the Ease off path (the dropped image is deleted, and the scene written again paints its own once), the open-time record check, and the Album refusing an image whose scene hasn't been reached (its image opens on the first line). The reader browser test's Ease off note assertion still matches; CI runs it. **Local CodeRabbit:** - First run, one finding: fixed. The Album now refuses an image whose scene hasn't been reached. - Second run, one finding: not changed. It points out that the next scene to be read could still have its image accepted through a direct request before that scene is opened. The reader is the only caller, and it reports an image only once it's on screen (`use-reader.ts:753`). It opens that scene right after the previous one ends. Closing the gap fully would need a new "shown" flag stored on every scene, which is out of proportion for something normal play can't reach. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The Ease off note and the Rewrite button label (text only), and a new "Image prompt style" select in Settings → Images and setup (English catalog). 🤖 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:36 +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#2115
No description provided.