[PR #1952] [MERGED] Otome Hearth 0.5.2: banners follow the Heat, and an explicit Memory gets explicit art #2047

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

📋 Pull Request Information

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

Base: staging ← Head: feat/otome-banner-heat-1951


📝 Commits (6)

  • 63f1d74 feat(otome-forge): banners follow the Heat, and an explicit Memory gets explicit art (#1951)
  • 9a7ed36 test(otome-forge): Explicit Heat with SFW images keeps explicit premises and SFW art (#1951)
  • dbf4b1c fix(otome-forge): a 4★ Moment's picture comes from its own brief, not its premise (#1951)
  • 2f6308d fix(otome-forge): a Memory keeps an explicit mark only where its plan offered one (#1951)
  • c3ff757 fix(otome-forge): a lowered Memory paints its clothed brief, never its explicit one (#1951)
  • a938176 fix(otome-forge): a banner plan may leave clothedBrief null when its key image isn't explicit (#1951)

📊 Changes

21 files changed (+557 additions, -207 deletions)

View changed files

➕ artifacts/otome-forge-0.5.2.zip (+0 -0)
📝 catalog/preview/catalog.json (+6 -6)
📝 catalog/preview/notes.json (+6 -6)
📝 catalog/preview/v2/catalog.json (+6 -6)
📝 catalog/preview/v2/notes.json (+6 -6)
📝 catalog/preview/v3/catalog.json (+6 -6)
📝 catalog/preview/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+5 -0)
📝 packages/otome-forge/README.md (+3 -2)
📝 packages/otome-forge/manifest.json (+3 -3)
📝 packages/otome-forge/server.mjs (+121 -121)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/wish.ts (+6 -2)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/outfits.ts (+10 -3)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/prompts.ts (+10 -6)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/content-contract.ts (+24 -5)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/wish.ts (+7 -1)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/banners.ts (+18 -4)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/prompts.ts (+100 -10)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-banners.regression.ts (+143 -0)

...and 1 more files

📄 Description

Pull request

Linked issue

Closes #1951

Why this change

  • The problem: Wish banners lean SFW whatever the story's Heat.
    • The banner prompt (P20) gives titles and premises the Heat, but nothing invites an intimate premise, and the SFW Snapshot contract is the last block in that prompt. With a tame premise, the Memory's Character Story and the Moments stay tame.
    • The featured Memory's key image was always painted clothed, even at NSFW: Explicit with the Explicit image rating.
  • The maintainer's call: banners allow every type: SFW scenarios, suggestive ones, and explicit ones when the Heat is at its maximum and NSFW is allowed.

What changed

otome-forge 0.5.2 (staging-only).

  • Premises (wish/prompts.ts, Memories banners only): above SFW Heat, the featured Memory's and the 4★ Moments' premises span the Heat.
    • NSFW: Fade mixes SFW and suggestive premises.
    • NSFW: Explicit adds explicit ones.
    • The scenes are still written later, under the story's Heat, as before.
  • The Memory's key image:
    • The plan: at NSFW: Explicit with the Explicit image rating, the brief takes the story CG's rule ("set explicit: true" for sex or nudity on the page), and the reply shape carries the mark.
    • Saved: normalizeBannerPlan keeps the mark, and the item's cg.explicit stores it.
    • Painted: the banner art (wish/banners.ts) and the Memory's own art on first open or Repaint (art/outfits.ts) are painted explicit only when the brief is marked and both settings still allow it at the paid call. Otherwise they stay clothed, at most Suggestive.
    • A clothed twin: beside an explicit brief, the plan also writes clothedBrief, the same moment clothed. If the settings are lowered before painting, that brief is painted instead, so the explicit description never reaches a clothed prompt (content-contract.ts memoryArtBrief; Dottore's finding).
  • A 4★ Moment's picture: above SFW Heat, the banner plan also writes each Moment's own English brief and cast, held to clothed art whatever its premise holds. It's required there, and saved on the item, which the art already prefers over the premise. So an explicit premise never reaches an SFW or Suggestive image prompt (a CodeRabbit finding).
  • Unchanged:
    • Snapshots stay SFW (a Love Timeline surface), and their art and Moment art stay clothed.
    • Looks stay complete clothed looks.
    • An SFW world sends exactly the same banner prompt (the SFW-defaults digests are unchanged).
  • Docs and release: the README's Wish section (a Heat line) and image rules, CHANGELOG 0.5.2, and the rebuilt bundle, manifest, catalogs, notes and 0.5.2 zip.

Package and security impact

  • Affected package IDs: otome-forge (0.5.2, staging-only).
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact:
    • An item's cg may now hold explicit: true. It's optional, so older items read as before.
    • Banners already created keep their premises and art; new banners (each fortnight) follow the new rules.

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 (488 + 12), the strict typecheck, npm run check, git diff --check, test-catalog-lanes, validate-package-locales and catalog-release-notes.
  • tests/otome-forge-nsfw.regression.ts (the P20 test, rewritten):
    • NSFW: Explicit with the Explicit rating: explicit premises, the explicit brief rule, and the mark in the shape.
    • NSFW: Explicit with the Suggestive rating: explicit premises, but the art stays at most Suggestive.
    • NSFW: Explicit with the SFW rating: explicit premises, and the art stays SFW (everyone clothed).
    • NSFW: Fade: SFW and suggestive premises only.
    • SFW, and wardrobe banners: neither gets the new line.
    • Looks: stay clothed throughout.
  • tests/otome-forge-banners.regression.ts:
    • The plan keeps the mark only when the reply sets it.
    • A marked Memory's banner art and its own art are painted explicit under NSFW: Explicit with the Explicit rating.
    • The same Memory stays clothed under NSFW: Explicit with the Suggestive or SFW rating, and under NSFW: Fade with the Explicit rating.
    • In every case, a Moment with an explicit premise is painted from its own brief, never its premise, and stays clothed. A missing Moment brief is refused above SFW Heat.
  • Fail without the fix:
    • Both tests fail against staging's source.
    • The banners test also fails with only art/outfits.ts reverted.
  • tests/otome-forge-sfw-defaults.regression.ts: unchanged and passing, so SFW banner prompts are byte-identical.
  • Not run locally: validate-catalog, because the sparse worktree leaves out other packages' zips (CI runs it), and the browser suite (CI runs it; no UI changed).
  • Running alongside: local CodeRabbit and a multi-agent review.

Please verify by hand:

  • Manually verify, with NSFW: Explicit and the Explicit image rating, that a new fortnight's Memories banner holds a mix of SFW, suggestive and explicit premises across its Memory and Moments.
  • Manually verify that an explicit Memory's banner art paints explicit there, and stays clothed after lowering the image rating to Suggestive and tapping Repaint.
  • Manually verify, with NSFW: Fade, that premises are SFW or suggestive and the art stays clothed.
  • Manually verify, with NSFW: Explicit and the SFW image rating, that a new banner still holds explicit premises and its art paints fully clothed.
  • Manually verify that an SFW story's banners look as before.

Review notes

  • Local CodeRabbit: 2 major findings.
    • Fixed (dbf4b1c0c): a 4★ Moment's picture was painted from its premise, which can now be explicit. Above SFW Heat each Moment gets its own clothed brief.
    • Split out to #1953 (the maintainer's call): saved explicit art stays visible after the settings are lowered or the 18+ gate is withdrawn. Story key images already behave this way, so it's fixed once for all explicit art in its own PR after this one.
  • Dottore: 1 medium finding, raised twice; fixed in c3ff757d5. A lowered Memory painted its explicit brief text under clothed tags; it now paints its clothed twin. The art/prompts.ts header nitpick is fixed there too.
  • Independent multi-agent review: 3 confirmed, 3 refuted.
    • Confirmed: the same Moment finding.
    • Confirmed, fixed in 2f6308d44: a Memory kept an explicit mark its plan was never offered. It's now kept only where the plan offered it, as a story CG's is.
    • Confirmed, fixed in 2f6308d44: four comments still said Memory art always stays clothed.
    • Refuted: a damaged stored mark wiping the item's brief, which no code path can produce; and two other readings of the mark finding.

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/1952 **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:** `feat/otome-banner-heat-1951` --- ### 📝 Commits (6) - [`63f1d74`](https://github.com/Pasta-Devs/Marinara-Agents/commit/63f1d7485b43b2f0a60b255f0294cde1dd25b034) feat(otome-forge): banners follow the Heat, and an explicit Memory gets explicit art (#1951) - [`9a7ed36`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9a7ed367541622cfbbd9eb32585dcf3a900380d6) test(otome-forge): Explicit Heat with SFW images keeps explicit premises and SFW art (#1951) - [`dbf4b1c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dbf4b1c0c2281fc6c3547101ec35b8a784bc3600) fix(otome-forge): a 4★ Moment's picture comes from its own brief, not its premise (#1951) - [`2f6308d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2f6308d444befcdc538bbd355edcf76de1d1c14c) fix(otome-forge): a Memory keeps an explicit mark only where its plan offered one (#1951) - [`c3ff757`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c3ff757d52709ebc0c4a949f400950744879384a) fix(otome-forge): a lowered Memory paints its clothed brief, never its explicit one (#1951) - [`a938176`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a93817635a54f50d95a6b6fc509f77a103f177cb) fix(otome-forge): a banner plan may leave clothedBrief null when its key image isn't explicit (#1951) ### 📊 Changes **21 files changed** (+557 additions, -207 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.5.2.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+6 -6) 📝 `catalog/preview/notes.json` (+6 -6) 📝 `catalog/preview/v2/catalog.json` (+6 -6) 📝 `catalog/preview/v2/notes.json` (+6 -6) 📝 `catalog/preview/v3/catalog.json` (+6 -6) 📝 `catalog/preview/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+5 -0) 📝 `packages/otome-forge/README.md` (+3 -2) 📝 `packages/otome-forge/manifest.json` (+3 -3) 📝 `packages/otome-forge/server.mjs` (+121 -121) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/wish.ts` (+6 -2) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/outfits.ts` (+10 -3) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/prompts.ts` (+10 -6) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/content-contract.ts` (+24 -5) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/wish.ts` (+7 -1) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/banners.ts` (+18 -4) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/prompts.ts` (+100 -10) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-banners.regression.ts` (+143 -0) _...and 1 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1951 ## Why this change - **The problem:** Wish banners lean SFW whatever the story's Heat. - The banner prompt (P20) gives titles and premises the Heat, but nothing invites an intimate premise, and the SFW Snapshot contract is the last block in that prompt. With a tame premise, the Memory's Character Story and the Moments stay tame. - The featured Memory's key image was always painted clothed, even at NSFW: Explicit with the Explicit image rating. - **The maintainer's call:** banners allow every type: SFW scenarios, suggestive ones, and explicit ones when the Heat is at its maximum and NSFW is allowed. ## What changed `otome-forge` 0.5.2 (staging-only). - **Premises (`wish/prompts.ts`, Memories banners only):** above SFW Heat, the featured Memory's and the 4★ Moments' premises span the Heat. - NSFW: Fade mixes SFW and suggestive premises. - NSFW: Explicit adds explicit ones. - The scenes are still written later, under the story's Heat, as before. - **The Memory's key image:** - **The plan:** at NSFW: Explicit with the Explicit image rating, the brief takes the story CG's rule ("set `explicit`: true" for sex or nudity on the page), and the reply shape carries the mark. - **Saved:** `normalizeBannerPlan` keeps the mark, and the item's `cg.explicit` stores it. - **Painted:** the banner art (`wish/banners.ts`) and the Memory's own art on first open or Repaint (`art/outfits.ts`) are painted explicit only when the brief is marked and both settings still allow it at the paid call. Otherwise they stay clothed, at most Suggestive. - **A clothed twin:** beside an explicit brief, the plan also writes `clothedBrief`, the same moment clothed. If the settings are lowered before painting, that brief is painted instead, so the explicit description never reaches a clothed prompt (`content-contract.ts memoryArtBrief`; Dottore's finding). - **A 4★ Moment's picture:** above SFW Heat, the banner plan also writes each Moment's own English brief and cast, held to clothed art whatever its premise holds. It's required there, and saved on the item, which the art already prefers over the premise. So an explicit premise never reaches an SFW or Suggestive image prompt (a CodeRabbit finding). - **Unchanged:** - Snapshots stay SFW (a Love Timeline surface), and their art and Moment art stay clothed. - Looks stay complete clothed looks. - An SFW world sends exactly the same banner prompt (the SFW-defaults digests are unchanged). - **Docs and release:** the README's Wish section (a Heat line) and image rules, CHANGELOG 0.5.2, and the rebuilt bundle, manifest, catalogs, notes and 0.5.2 zip. ## Package and security impact - Affected package IDs: `otome-forge` (0.5.2, staging-only). - Engine compatibility impact: none. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: - An item's `cg` may now hold `explicit: true`. It's optional, so older items read as before. - Banners already created keep their premises and art; new banners (each fortnight) follow the new rules. ## 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` (488 + 12), the strict typecheck, `npm run check`, `git diff --check`, `test-catalog-lanes`, `validate-package-locales` and `catalog-release-notes`. - **`tests/otome-forge-nsfw.regression.ts`** (the P20 test, rewritten): - **NSFW: Explicit with the Explicit rating:** explicit premises, the explicit brief rule, and the mark in the shape. - **NSFW: Explicit with the Suggestive rating:** explicit premises, but the art stays at most Suggestive. - **NSFW: Explicit with the SFW rating:** explicit premises, and the art stays SFW (everyone clothed). - **NSFW: Fade:** SFW and suggestive premises only. - **SFW, and wardrobe banners:** neither gets the new line. - **Looks:** stay clothed throughout. - **`tests/otome-forge-banners.regression.ts`:** - The plan keeps the mark only when the reply sets it. - A marked Memory's banner art and its own art are painted explicit under NSFW: Explicit with the Explicit rating. - The same Memory stays clothed under NSFW: Explicit with the Suggestive or SFW rating, and under NSFW: Fade with the Explicit rating. - In every case, a Moment with an explicit premise is painted from its own brief, never its premise, and stays clothed. A missing Moment brief is refused above SFW Heat. - **Fail without the fix:** - Both tests fail against staging's source. - The banners test also fails with only `art/outfits.ts` reverted. - **`tests/otome-forge-sfw-defaults.regression.ts`:** unchanged and passing, so SFW banner prompts are byte-identical. - **Not run locally:** `validate-catalog`, because the sparse worktree leaves out other packages' zips (CI runs it), and the browser suite (CI runs it; no UI changed). - **Running alongside:** local CodeRabbit and a multi-agent review. Please verify by hand: - [ ] Manually verify, with NSFW: Explicit and the Explicit image rating, that a new fortnight's Memories banner holds a mix of SFW, suggestive and explicit premises across its Memory and Moments. - [ ] Manually verify that an explicit Memory's banner art paints explicit there, and stays clothed after lowering the image rating to Suggestive and tapping Repaint. - [ ] Manually verify, with NSFW: Fade, that premises are SFW or suggestive and the art stays clothed. - [ ] Manually verify, with NSFW: Explicit and the SFW image rating, that a new banner still holds explicit premises and its art paints fully clothed. - [ ] Manually verify that an SFW story's banners look as before. ### Review notes - **Local CodeRabbit:** 2 major findings. - **Fixed (`dbf4b1c0c`):** a 4★ Moment's picture was painted from its premise, which can now be explicit. Above SFW Heat each Moment gets its own clothed brief. - **Split out to #1953 (the maintainer's call):** saved explicit art stays visible after the settings are lowered or the 18+ gate is withdrawn. Story key images already behave this way, so it's fixed once for all explicit art in its own PR after this one. - **Dottore:** 1 medium finding, raised twice; fixed in `c3ff757d5`. A lowered Memory painted its explicit brief text under clothed tags; it now paints its clothed twin. The art/prompts.ts header nitpick is fixed there too. - **Independent multi-agent review:** 3 confirmed, 3 refuted. - **Confirmed:** the same Moment finding. - **Confirmed, fixed in `2f6308d44`:** a Memory kept an `explicit` mark its plan was never offered. It's now kept only where the plan offered it, as a story CG's is. - **Confirmed, fixed in `2f6308d44`:** four comments still said Memory art always stays clothed. - **Refuted:** a damaged stored mark wiping the item's brief, which no code path can produce; and two other readings of the mark finding. ## 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:02 +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#2047
No description provided.