[PR #1812] [MERGED] feat(otome-forge): Otome Hearth Home and phone, new name and icon (0.0.5, M3) #1978

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

📋 Pull Request Information

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

Base: staging ← Head: feat/otome-forge-m3


📝 Commits (8)

  • d996ee2 feat(otome-forge): Home and phone (Otome Forge 0.0.5, M3)
  • e646f43 Merge commit 'f72a2eb63' into feat/otome-forge-m3
  • ffcff55 fix(otome-forge): time out a stalled cut-out, and test a real repaired grievance
  • 953ff9f Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3
  • e152477 Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3
  • fae4fca feat(otome-forge): Otome Hearth: the new name and its icon
  • f7f9a7d fix(otome-forge): Dottore review of M3, and Home's layout on short phones
  • 848a360 Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3

📊 Changes

80 files changed (+10231 additions, -837 deletions)

View changed files

📝 CONTRIBUTING.md (+1 -1)
📝 README.md (+1 -1)
➕ artifacts/otome-forge-0.0.5.zip (+0 -0)
📝 artwork/agent-covers/art-direction.json (+6 -0)
📝 artwork/agent-covers/otome-forge.png (+0 -0)
📝 catalog/preview/catalog.json (+22 -14)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+22 -14)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+22 -14)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/otome-forge/CHANGELOG.md (+9 -1)
📝 packages/otome-forge/README.md (+24 -8)
📝 packages/otome-forge/agents.json (+1 -1)
📝 packages/otome-forge/client.js (+1126 -584)
📝 packages/otome-forge/locales/en.json (+3 -3)
📝 packages/otome-forge/manifest.json (+19 -11)
➕ packages/otome-forge/otome-hearth-icon.png (+0 -0)
📝 packages/otome-forge/server.mjs (+100 -78)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx (+24 -19)

...and 60 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Fixes #1809 (milestone M3 of #1781, Otome Forge release 1).

M2b (#1808) is merged; this branch is merged with staging, so the diff is M3 alone.

Why this change

The maintainer asked that "the home page should be our selected LI or the player in their current outfit, with a message of the day for the player". The love interests should also have somewhere to talk with the player outside the story. This milestone makes the love interest the interface: Home, the phone, and each love interest's pre-written lines.

What changed

otome-forge 0.0.5 (staging-only).

  • Home (home/, routes/home.ts, screens/home/):
    • The chosen love interest, cut out and layered over their newest CG or a painted place, with a time-of-day tint, gentle breathing and a slight parallax (all off under reduced motion). "Me" shows the protagonist instead.
    • A handwritten message of the day: one per love interest per local day, one model call even under simultaneous requests, and curt during a rupture. It is replaced when a rupture opens or is repaired that day.
    • Tap zones (head, hand, heart) play the love interest's own lines for the time of day, with no request, and turn annoyed after five quick taps. Faces follow the line (M2b's painted faces), and lines are voiced when voices are on.
    • "Rough day?" offers a comfort line, voiced, with no model call and no cache key.
    • Reply opens the love interest's thread with the note quoted.
  • Cut-outs (art/cutout.ts): the worn look and its faces are cut out once through the Engine's sprite cleanup. A failure falls back to a slow pan over the uncut image and is never retried.
  • Phone (phone/, routes/phone.ts, screens/phone/):
    • A private thread per love interest, with history pages, typing, stickers from ready faces, and suggestions.
    • One reply runs at a time (409 busy). A reply is a message, never a scene, and never writes the player's side.
    • "Close and remember" turns the session into a memory only that love interest recalls, and grants +20 affection once.
  • Line packs: each love interest's tap, annoyed, cold, comfort and claw lines, written in the background when missing or when the stage changes. Until then, Home uses the catalog's fallback lines. Comfort lines follow the comfort rule (no diagnosis or prescription) and stay warm whatever the darkness setting.
  • Knowledge boundary: the note, line packs and chat replies see only what their love interest may know. Another love interest's route or repair chapter, ledger rows, grievances and disclosures never reach them. Phone sessions are recalled under a private label.
  • Tests: home, phone and own-reader regressions (193 .ts + 5 .mjs in all), and tests/package-otome-forge-home.e2e.ts.

Internal review

Three review rounds before this PR:

  • First M3 round: 17 confirmed findings. Among them: the note ignoring a same-day rupture, P16 presenting shared canon as the love interest's own memory, stickers unsendable in Safari, the tap ring stuck on screen under reduced motion, and lost earlier messages after a reply.
  • Merging onto M2b: the integration found and fixed a leak of another love interest's private chapter into the note and chat replies.
  • Integration review: nine more confirmed problems. Among them: a stale note after a same-day repair, a love interest's own chapter missing from their chat reply, and a tap's voice continuing after switching love interest.

Each was fixed with a regression shown to fail without its fix.

Local CodeRabbit review

Two findings on the M3 delta, both fixed in ffcff558d:

  • A cut-out's loopback read or sprite cleanup had no timeout. Cut-outs run one at a time, so a stalled one held every later one, and Home kept polling. Each request now times out after two minutes; the cut-out then fails, and Home pans over the uncut look. A regression stalls the source read and the cleanup.
  • The same-day repair test used an invalid grievance status ("repaired"), so the grievance was dropped before the step it was meant to test. It now uses "addressed".

Otome Hearth: new name and icon

At the maintainer's request (fae4fca97):

  • The package's user-facing name is now Otome Hearth: manifest, Home tab and aria label, every English UI string, READMEs, and a CHANGELOG line. The id otome-forge stays, so saved worlds, routes, documents and keys are unchanged.
  • A new catalog cover and Home tab icon (otome-hearth-icon.png, 256 px with transparency) were made with Codex image generation from the Professor Mari and Dottore references. Mari blushes as Dottore offers her a rose, with hearts, in the collection's medallion style. art-direction.json has the new entry.

Dottore review fixes (f7f9a7d2c)

Seven findings fixed, each with a regression that fails without its fix:

  • sticker or suggestion sends kept the draft;
  • a late reply is cached;
  • the stale phone-open entry;
  • the Close dialog's old error;
  • star opacity while twinkling;
  • Korean word counts;
  • one-sentence curt notes.

The two nitpicks are answered on their rows as not defects.

The integration review of M6 found a layout bug, fixed here too: on short phones, Home's nameplate and rail covered the tap pills. Home is now a two-column grid, with browser assertions at 390×664 and another phone size, with and without images.

Choices made for the maintainer to confirm

  • The plan names the care contract for comfort lines in one place and home in another. This keeps one P15 call under home, with an explicit warmth-only rule for comfort lines.
  • Home's background shows the love interest's newest CG first, otherwise the newest painted place. A place first may look calmer, since a CG usually shows the love interest too.
  • Without images, a long four-line note can overlap the initials medallion on desktop. The medallion's position is fixed; placing it relative to the note is a small follow-up.

Package and security impact

  • Affected package IDs: otome-forge (0.0.5, staging-only).
  • Engine compatibility impact: Capability API 1.386, unchanged. Uses the Engine's sprite cleanup route over loopback for cut-outs.
  • New or changed permissions/entrypoints: none beyond routes, storage, ui.
  • Restart, storage, update, or uninstall impact: new note, chat and line-pack documents under otome-forge:, plus a home state field and unit lines/cutouts. Deleting a world removes them.

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, on the tree merged with current staging:

  • npm run test:otome-forge: 193 .ts and 5 .mjs pass.
  • These are clean:
    • npm run check and npm run typecheck:packages;
    • the strict typecheck against an Engine root;
    • both locale validators and test-catalog-lanes;
    • git diff --check.
  • Two builds are byte-identical.
  • A Chromium smoke of the built bundles used a scripted model and stand-ins for the Engine's image routes. It covered:
    • one note per local day, including two time zones and five simultaneous requests;
    • Him/Me;
    • taps with no request;
    • Rough day? with no model call;
    • Reply with the quote;
    • a thread with typing, stickers and a busy refusal;
    • Close and remember granting once;
    • two love interests' threads staying private;
    • cut-outs, once each, with the no-retry fallback;
    • a rupture's curt note and cold lines;
    • 390 px with reduced motion and no images.
  • The real-Engine browser suite runs in CI.

Please verify by hand:

  • Manually verify, on a staging Engine with a real model, that the first Home visit of a day writes one note and later visits reuse it.
  • Manually verify Home with a painted look shows the cut-out (or the slow pan if cleanup fails), and taps play lines and faces with no wait.
  • Manually verify "Rough day?" makes no model call and the comfort line is gentle.
  • Manually verify a phone thread with two love interests: each reply remembers only its own closed sessions.
  • Manually verify Home and the phone at phone width (390 px), with reduced motion, and by keyboard only.

🤖 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/1812 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/otome-forge-m3` --- ### 📝 Commits (8) - [`d996ee2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d996ee2d636d0f6bf7f0d4cfc45b7c883ab33592) feat(otome-forge): Home and phone (Otome Forge 0.0.5, M3) - [`e646f43`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e646f43707d7d286b501b6edc659218e3dd03690) Merge commit 'f72a2eb63' into feat/otome-forge-m3 - [`ffcff55`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ffcff558df175c9a761a4594564225f2c518b2f5) fix(otome-forge): time out a stalled cut-out, and test a real repaired grievance - [`953ff9f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/953ff9f9e8768fdb000c0ba0538f36b41827e1f7) Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3 - [`e152477`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e152477490a0d3078fa111961e5b9c63fafa1bec) Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3 - [`fae4fca`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fae4fca97b2c5517ab53d3d803180be4819136fc) feat(otome-forge): Otome Hearth: the new name and its icon - [`f7f9a7d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f7f9a7d2ccff77cbf35c3597eeecd3dfd25d1478) fix(otome-forge): Dottore review of M3, and Home's layout on short phones - [`848a360`](https://github.com/Pasta-Devs/Marinara-Agents/commit/848a3601958a181ae1f8169d5906012efe8344cd) Merge remote-tracking branch 'origin/staging' into feat/otome-forge-m3 ### 📊 Changes **80 files changed** (+10231 additions, -837 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+1 -1) 📝 `README.md` (+1 -1) ➕ `artifacts/otome-forge-0.0.5.zip` (+0 -0) 📝 `artwork/agent-covers/art-direction.json` (+6 -0) 📝 `artwork/agent-covers/otome-forge.png` (+0 -0) 📝 `catalog/preview/catalog.json` (+22 -14) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+22 -14) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+22 -14) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/otome-forge/CHANGELOG.md` (+9 -1) 📝 `packages/otome-forge/README.md` (+24 -8) 📝 `packages/otome-forge/agents.json` (+1 -1) 📝 `packages/otome-forge/client.js` (+1126 -584) 📝 `packages/otome-forge/locales/en.json` (+3 -3) 📝 `packages/otome-forge/manifest.json` (+19 -11) ➕ `packages/otome-forge/otome-hearth-icon.png` (+0 -0) 📝 `packages/otome-forge/server.mjs` (+100 -78) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx` (+24 -19) _...and 60 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Fixes #1809 (milestone M3 of #1781, Otome Forge release 1). M2b (#1808) is merged; this branch is merged with staging, so the diff is M3 alone. ## Why this change The maintainer asked that "the home page should be our selected LI or the player in their current outfit, with a message of the day for the player". The love interests should also have somewhere to talk with the player outside the story. This milestone makes the love interest the interface: Home, the phone, and each love interest's pre-written lines. ## What changed `otome-forge` 0.0.5 (staging-only). - **Home (`home/`, `routes/home.ts`, `screens/home/`):** - The chosen love interest, cut out and layered over their newest CG or a painted place, with a time-of-day tint, gentle breathing and a slight parallax (all off under reduced motion). "Me" shows the protagonist instead. - A handwritten message of the day: one per love interest per local day, one model call even under simultaneous requests, and curt during a rupture. It is replaced when a rupture opens or is repaired that day. - Tap zones (head, hand, heart) play the love interest's own lines for the time of day, with no request, and turn annoyed after five quick taps. Faces follow the line (M2b's painted faces), and lines are voiced when voices are on. - "Rough day?" offers a comfort line, voiced, with no model call and no cache key. - Reply opens the love interest's thread with the note quoted. - **Cut-outs (`art/cutout.ts`):** the worn look and its faces are cut out once through the Engine's sprite cleanup. A failure falls back to a slow pan over the uncut image and is never retried. - **Phone (`phone/`, `routes/phone.ts`, `screens/phone/`):** - A private thread per love interest, with history pages, typing, stickers from ready faces, and suggestions. - One reply runs at a time (409 `busy`). A reply is a message, never a scene, and never writes the player's side. - "Close and remember" turns the session into a memory only that love interest recalls, and grants +20 affection once. - **Line packs:** each love interest's tap, annoyed, cold, comfort and claw lines, written in the background when missing or when the stage changes. Until then, Home uses the catalog's fallback lines. Comfort lines follow the comfort rule (no diagnosis or prescription) and stay warm whatever the darkness setting. - **Knowledge boundary:** the note, line packs and chat replies see only what their love interest may know. Another love interest's route or repair chapter, ledger rows, grievances and disclosures never reach them. Phone sessions are recalled under a private label. - **Tests:** home, phone and own-reader regressions (193 `.ts` + 5 `.mjs` in all), and `tests/package-otome-forge-home.e2e.ts`. ### Internal review Three review rounds before this PR: - **First M3 round:** 17 confirmed findings. Among them: the note ignoring a same-day rupture, P16 presenting shared canon as the love interest's own memory, stickers unsendable in Safari, the tap ring stuck on screen under reduced motion, and lost earlier messages after a reply. - **Merging onto M2b:** the integration found and fixed a leak of another love interest's private chapter into the note and chat replies. - **Integration review:** nine more confirmed problems. Among them: a stale note after a same-day repair, a love interest's own chapter missing from their chat reply, and a tap's voice continuing after switching love interest. Each was fixed with a regression shown to fail without its fix. ### Local CodeRabbit review Two findings on the M3 delta, both fixed in ffcff558d: - A cut-out's loopback read or sprite cleanup had no timeout. Cut-outs run one at a time, so a stalled one held every later one, and Home kept polling. Each request now times out after two minutes; the cut-out then fails, and Home pans over the uncut look. A regression stalls the source read and the cleanup. - The same-day repair test used an invalid grievance status (`"repaired"`), so the grievance was dropped before the step it was meant to test. It now uses `"addressed"`. ### Otome Hearth: new name and icon At the maintainer's request (fae4fca97): - The package's user-facing name is now **Otome Hearth**: manifest, Home tab and aria label, every English UI string, READMEs, and a CHANGELOG line. The id `otome-forge` stays, so saved worlds, routes, documents and keys are unchanged. - A new catalog cover and Home tab icon (`otome-hearth-icon.png`, 256 px with transparency) were made with Codex image generation from the Professor Mari and Dottore references. Mari blushes as Dottore offers her a rose, with hearts, in the collection's medallion style. `art-direction.json` has the new entry. ### Dottore review fixes (f7f9a7d2c) Seven findings fixed, each with a regression that fails without its fix: - sticker or suggestion sends kept the draft; - a late reply is cached; - the stale phone-open entry; - the Close dialog's old error; - star opacity while twinkling; - Korean word counts; - one-sentence curt notes. The two nitpicks are answered on their rows as not defects. The integration review of M6 found a layout bug, fixed here too: on short phones, Home's nameplate and rail covered the tap pills. Home is now a two-column grid, with browser assertions at 390×664 and another phone size, with and without images. ### Choices made for the maintainer to confirm - The plan names the `care` contract for comfort lines in one place and `home` in another. This keeps one P15 call under `home`, with an explicit warmth-only rule for comfort lines. - Home's background shows the love interest's newest CG first, otherwise the newest painted place. A place first may look calmer, since a CG usually shows the love interest too. - Without images, a long four-line note can overlap the initials medallion on desktop. The medallion's position is fixed; placing it relative to the note is a small follow-up. ## Package and security impact - Affected package IDs: `otome-forge` (0.0.5, staging-only). - Engine compatibility impact: Capability API 1.386, unchanged. Uses the Engine's sprite cleanup route over loopback for cut-outs. - New or changed permissions/entrypoints: none beyond `routes`, `storage`, `ui`. - Restart, storage, update, or uninstall impact: new note, chat and line-pack documents under `otome-forge:`, plus a `home` state field and unit `lines`/`cutouts`. Deleting a world removes them. ## 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, on the tree merged with current `staging`: - `npm run test:otome-forge`: 193 `.ts` and 5 `.mjs` pass. - These are clean: - `npm run check` and `npm run typecheck:packages`; - the strict typecheck against an Engine root; - both locale validators and `test-catalog-lanes`; - `git diff --check`. - Two builds are byte-identical. - A Chromium smoke of the built bundles used a scripted model and stand-ins for the Engine's image routes. It covered: - one note per local day, including two time zones and five simultaneous requests; - Him/Me; - taps with no request; - Rough day? with no model call; - Reply with the quote; - a thread with typing, stickers and a busy refusal; - Close and remember granting once; - two love interests' threads staying private; - cut-outs, once each, with the no-retry fallback; - a rupture's curt note and cold lines; - 390 px with reduced motion and no images. - The real-Engine browser suite runs in CI. Please verify by hand: - [ ] Manually verify, on a staging Engine with a real model, that the first Home visit of a day writes one note and later visits reuse it. - [ ] Manually verify Home with a painted look shows the cut-out (or the slow pan if cleanup fails), and taps play lines and faces with no wait. - [ ] Manually verify "Rough day?" makes no model call and the comfort line is gentle. - [ ] Manually verify a phone thread with two love interests: each reply remembers only its own closed sessions. - [ ] Manually verify Home and the phone at phone width (390 px), with reduced motion, and by keyboard only. 🤖 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:38:28 +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#1978
No description provided.