[PR #1844] [MERGED] feat(otome-forge): Otome Hearth 0.1.0 "First Date": polish, full browser loop, accessibility, docs (M7) #1994

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

📋 Pull Request Information

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

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


📝 Commits (3)

  • cb2dd73 feat(otome-forge): Otome Hearth 0.1.0 "First Date": playtest fixes, full browser loop, accessibility, docs (M7)
  • 9bedec0 Merge origin/staging (Otome 0.0.9 prompt lines, Gacha Forge 1.27.3, Long-Term Memory 1.5.8) into feat/otome-forge-m7
  • 11f2716 fix(otome-forge): archetype paints on xAI, portraits fill their circle, Repaint, Image style, retry focus

📊 Changes

68 files changed (+3712 additions, -601 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/otome-forge-0.1.0.zip (+0 -0)
📝 catalog/preview/catalog.json (+11 -11)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+11 -11)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+11 -11)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/otome-forge/CHANGELOG.md (+10 -0)
📝 packages/otome-forge/README.md (+311 -61)
📝 packages/otome-forge/agents.json (+1 -1)
📝 packages/otome-forge/client.js (+199 -193)
📝 packages/otome-forge/locales/en.json (+2 -2)
📝 packages/otome-forge/manifest.json (+8 -8)
📝 packages/otome-forge/server.mjs (+118 -118)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx (+11 -5)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/Avatar.tsx (+51 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CostHint.tsx (+33 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/DeclinedPanel.tsx (+19 -1)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/RetryNotice.tsx (+77 -0)

...and 48 more files

📄 Description

Pull request

Important

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

Linked issue

Fixes #1834 (milestone M7 of #1781, Otome Hearth release 1).

Why this change

Every release-1 feature of Otome Hearth is on staging (M0–M6). This makes it release quality, as 0.1.0 "First Date". The maintainer said: "We will release it with the next update to main, for now it stays on staging." So otome-forge stays in STAGING_ONLY_PACKAGE_IDS. The promotion out of staging-only is a separate PR for that update.

What changed

otome-forge 0.1.0 (staging-only).

  • Playtest fixes:
    • Empty and error states are kind and lead somewhere. A story that fails to load no longer strands Home and the dock; "Arrives in a later build." is gone.
    • Cost hints: every paid image, voice and music action shows its cost before it spends (CostHint).
    • Nothing expires: banners stay pullable as Echoes, and nothing is deleted by date. The Love Timeline cap now keeps every first and stage day (the calendar's anniversaries) and lets only the oldest Snapshot and couple-set lines roll off.
    • Logs: no care line, cycle data, request body or prompt reaches a non-debug log line, checked by grep and a probe.
    • Long worlds: a 32-chapter probe world (20 main, 6 route, 6 date) found every request listing every world's units, and Home listing every world's threads. They are now read by id. Memory sources are kept between writes: the cold summary pass went from 87,650 document reads (about 840 MB parsed) to 2,115 (118 MB).
  • End-to-end and accessibility:
    • New tests/package-otome-forge-loop.e2e.ts: at 1280×800 and 390×844, reduced motion, text only, it walks setup → forge → a chapter → Home → the phone → Wish → Wear at home → the Album → Read Them → Date Night → the Claw Machine → Remind Me → the tracker and a Caring message. Starlight is checked screen by screen.
    • Checks on every screen: keyboard reach, visible focus rings, no pointer cursor on non-controls, nothing animating at reduced motion, polite live regions, and nine dialogs trapping and restoring focus.
    • Fixes: AA contrast for the tokens that failed in Midnight and Pearl; focus after leaving a thread opened from Home's Reply; the date field's focus ring.
  • Docs:
    • The package README is a play guide, with a costs-by-action table and the actions that never call anything.
    • It covers Privacy & data with the tracker rules, ADMIN_SECRET for phone play, independence from Gacha Forge, and the OFL fonts.
    • The root README row says Release 1 "First Date".
  • Release: the ## 0.1.0 notes (under the 1,000-character cap, marked notable); version 0.1.0; manifest, agents.json, locales, the preview catalogs and the zip are rebuilt.
  • Fixes from the maintainer's 0.0.9 playtest (commit 11f271668):
    • Archetype love interests paint again on xAI. A paint with no reference image goes to xAI's generations endpoint. Its b64_json comes back as a whole data:image/jpeg;base64,… URL, and the Engine wraps it again as image/png, so the decoded bytes were garbage and the paint failed after xAI had already charged for it. Card love interests send their avatar, so they use the edits endpoint, which answers with a URL. The image client now unwraps an inner data URL and types the image by its bytes (ponytail: shim; the Engine fix is a follow-up).
    • Portraits fill their circle. A tall full-body look kept its own height inside .of-avatar, so its framing was ignored (checked in WebKit and Chromium: 64×93 before, 64×64 after). Card and persona avatars in setup now use the crop chosen in the Engine (its source-rectangle shape).
    • Repaint on the forge's cast list (Home → Your cast) for a look already painted; in debug mode a failed paint shows its reason.
    • Image style in setup and Settings → Images: the player's own style words lead every image prompt (looks, outfits, CGs, places, banners, faces) in place of the style profile's.
    • Dottore's finding (run 40784392949): Try again kept unmounting its own button while a failed Engine list reloaded. The fix is in the shared list hooks, so it covers every RetryNotice, including the setup steps the repair left out. Check again now says when nothing new was found.
    • Internal review findings: the Connections step no longer says "no connections" when the list failed; Rewrite's label and README row say up to 2 calls; Show them voices are listed; the README admits that line packs are retried after a failure, and says what deleting a story keeps and which reference images leave the device; the 18+ withdrawal wording is fixed.

For the maintainer

  • Midnight colours: accent text (#F0C6D2) and danger text (#F5AEC0) are now close in Midnight. Danger states keep their words and icons, so it is a look call.
  • Silent caps: Favourites (300) and Album CGs (500) still drop their oldest entry silently, marked ponytail:. A refusal needs an Unstar button first.
  • Engine follow-ups: eight Engine issues are drafted, not filed, each with file:line evidence. They are signed-in sessions for package routes, services.notifications, a background admission mode, a sensitive chatComplete option, image/TTS/music calls by connection id, the care route's request id on provider warnings, xAI/Grok dropping negatives and keeping 3 references, and a loopback catalog for browser tests.
  • Staging merged: includes #1837 (Otome 0.0.9), Gacha Forge 1.27.3 and Long-Term Memory 1.5.8. Changelog order is 0.1.0 > 0.0.9.
  • Engine follow-up: the Engine's generateXAI should unwrap and type xAI's b64_json, which also affects the Engine's own avatar generation for every package.

Package and security impact

  • Affected package IDs: otome-forge (0.1.0, staging-only).
  • Engine compatibility impact: Capability API 1.386, unchanged.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: none beyond the Love Timeline cap now keeping firsts and stage days.

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:

  • At cb2dd73bd: two builds were byte-identical, and the full real-Engine browser suite passed (146 tests).
  • At 11f271668: npm run test:otome-forge (355 + 5) passes, as do npm run check (no new warnings in changed files) and the strict typecheck. The new regression fails on the old image client. The browser suite was not rerun locally; the Otome browser CI job runs it.

Please verify by hand:

  • Manually verify, on a staging Engine with a fresh profile and only a text connection, that the whole loop plays: setup, a chapter, Home, the phone, Wish, Wardrobe, the Album, each game and the tracker.
  • Manually verify the same loop again with image, audio and voice connections, and that every paid action shows its cost first.
  • Manually verify a story whose load fails shows "This can't open right now" with a way back to Your stories.
  • Manually verify both looks (Midnight and Pearl) at phone width and by keyboard only.
  • Manually verify an archetype love interest's look paints on a Grok (xAI) image connection and shows on the forge's cast list.
  • Manually verify portraits fill their circles on the forge's "Your cast" list on an iPhone, and that a card avatar cropped in the Engine is framed the same way in the setup picker.
  • Manually verify Repaint on a painted look replaces it, and that an Image style typed in Settings → Images shows in the prompt review dialog.
  • Manually verify, with the connections request blocked, that Try again keeps keyboard focus while it reloads.

🤖 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/1844 **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-m7` --- ### 📝 Commits (3) - [`cb2dd73`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cb2dd73bd2d10c983e3b74a939106bc1ae4529c7) feat(otome-forge): Otome Hearth 0.1.0 "First Date": playtest fixes, full browser loop, accessibility, docs (M7) - [`9bedec0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9bedec01289d0713ff75e835d84e502a21f34a06) Merge origin/staging (Otome 0.0.9 prompt lines, Gacha Forge 1.27.3, Long-Term Memory 1.5.8) into feat/otome-forge-m7 - [`11f2716`](https://github.com/Pasta-Devs/Marinara-Agents/commit/11f2716686769e93fa35e1639e4fe4a35f2e5770) fix(otome-forge): archetype paints on xAI, portraits fill their circle, Repaint, Image style, retry focus ### 📊 Changes **68 files changed** (+3712 additions, -601 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/otome-forge-0.1.0.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+11 -11) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+11 -11) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+11 -11) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/otome-forge/CHANGELOG.md` (+10 -0) 📝 `packages/otome-forge/README.md` (+311 -61) 📝 `packages/otome-forge/agents.json` (+1 -1) 📝 `packages/otome-forge/client.js` (+199 -193) 📝 `packages/otome-forge/locales/en.json` (+2 -2) 📝 `packages/otome-forge/manifest.json` (+8 -8) 📝 `packages/otome-forge/server.mjs` (+118 -118) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx` (+11 -5) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/Avatar.tsx` (+51 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CostHint.tsx` (+33 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/DeclinedPanel.tsx` (+19 -1) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/RetryNotice.tsx` (+77 -0) _...and 48 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Fixes #1834 (milestone M7 of #1781, Otome Hearth release 1). ## Why this change Every release-1 feature of Otome Hearth is on staging (M0–M6). This makes it release quality, as **0.1.0 "First Date"**. The maintainer said: "We will release it with the next update to main, for now it stays on staging." So `otome-forge` stays in `STAGING_ONLY_PACKAGE_IDS`. The promotion out of staging-only is a separate PR for that update. ## What changed `otome-forge` 0.1.0 (staging-only). - **Playtest fixes:** - **Empty and error states** are kind and lead somewhere. A story that fails to load no longer strands Home and the dock; "Arrives in a later build." is gone. - **Cost hints:** every paid image, voice and music action shows its cost before it spends (`CostHint`). - **Nothing expires:** banners stay pullable as Echoes, and nothing is deleted by date. The Love Timeline cap now keeps every first and stage day (the calendar's anniversaries) and lets only the oldest Snapshot and couple-set lines roll off. - **Logs:** no care line, cycle data, request body or prompt reaches a non-debug log line, checked by grep and a probe. - **Long worlds:** a 32-chapter probe world (20 main, 6 route, 6 date) found every request listing every world's units, and Home listing every world's threads. They are now read by id. Memory sources are kept between writes: the cold summary pass went from 87,650 document reads (about 840 MB parsed) to 2,115 (118 MB). - **End-to-end and accessibility:** - **New `tests/package-otome-forge-loop.e2e.ts`:** at 1280×800 and 390×844, reduced motion, text only, it walks setup → forge → a chapter → Home → the phone → Wish → Wear at home → the Album → Read Them → Date Night → the Claw Machine → Remind Me → the tracker and a Caring message. Starlight is checked screen by screen. - **Checks on every screen:** keyboard reach, visible focus rings, no pointer cursor on non-controls, nothing animating at reduced motion, polite live regions, and nine dialogs trapping and restoring focus. - **Fixes:** AA contrast for the tokens that failed in Midnight and Pearl; focus after leaving a thread opened from Home's Reply; the date field's focus ring. - **Docs:** - The package README is a play guide, with a costs-by-action table and the actions that never call anything. - It covers Privacy & data with the tracker rules, ADMIN_SECRET for phone play, independence from Gacha Forge, and the OFL fonts. - The root README row says Release 1 "First Date". - **Release:** the `## 0.1.0` notes (under the 1,000-character cap, marked notable); version 0.1.0; manifest, `agents.json`, locales, the preview catalogs and the zip are rebuilt. - **Fixes from the maintainer's 0.0.9 playtest (commit 11f271668):** - **Archetype love interests paint again on xAI.** A paint with no reference image goes to xAI's generations endpoint. Its `b64_json` comes back as a whole `data:image/jpeg;base64,…` URL, and the Engine wraps it again as `image/png`, so the decoded bytes were garbage and the paint failed after xAI had already charged for it. Card love interests send their avatar, so they use the edits endpoint, which answers with a URL. The image client now unwraps an inner data URL and types the image by its bytes (`ponytail:` shim; the Engine fix is a follow-up). - **Portraits fill their circle.** A tall full-body look kept its own height inside `.of-avatar`, so its framing was ignored (checked in WebKit and Chromium: 64×93 before, 64×64 after). Card and persona avatars in setup now use the crop chosen in the Engine (its source-rectangle shape). - **Repaint** on the forge's cast list (Home → Your cast) for a look already painted; in debug mode a failed paint shows its reason. - **Image style** in setup and Settings → Images: the player's own style words lead every image prompt (looks, outfits, CGs, places, banners, faces) in place of the style profile's. - **Dottore's finding (run 40784392949):** Try again kept unmounting its own button while a failed Engine list reloaded. The fix is in the shared list hooks, so it covers every `RetryNotice`, including the setup steps the repair left out. Check again now says when nothing new was found. - **Internal review findings:** the Connections step no longer says "no connections" when the list failed; Rewrite's label and README row say up to 2 calls; Show them voices are listed; the README admits that line packs are retried after a failure, and says what deleting a story keeps and which reference images leave the device; the 18+ withdrawal wording is fixed. ### For the maintainer - **Midnight colours:** accent text (#F0C6D2) and danger text (#F5AEC0) are now close in Midnight. Danger states keep their words and icons, so it is a look call. - **Silent caps:** Favourites (300) and Album CGs (500) still drop their oldest entry silently, marked `ponytail:`. A refusal needs an Unstar button first. - **Engine follow-ups:** eight Engine issues are drafted, not filed, each with file:line evidence. They are signed-in sessions for package routes, `services.notifications`, a background admission mode, a `sensitive` chatComplete option, image/TTS/music calls by connection id, the care route's request id on provider warnings, xAI/Grok dropping negatives and keeping 3 references, and a loopback catalog for browser tests. - **Staging merged:** includes #1837 (Otome 0.0.9), Gacha Forge 1.27.3 and Long-Term Memory 1.5.8. Changelog order is 0.1.0 > 0.0.9. - **Engine follow-up:** the Engine's `generateXAI` should unwrap and type xAI's `b64_json`, which also affects the Engine's own avatar generation for every package. ## Package and security impact - Affected package IDs: `otome-forge` (0.1.0, staging-only). - Engine compatibility impact: Capability API 1.386, unchanged. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: none beyond the Love Timeline cap now keeping firsts and stage days. ## 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: - At cb2dd73bd: two builds were byte-identical, and the full real-Engine browser suite passed (146 tests). - At 11f271668: `npm run test:otome-forge` (355 + 5) passes, as do `npm run check` (no new warnings in changed files) and the strict typecheck. The new regression fails on the old image client. The browser suite was not rerun locally; the Otome browser CI job runs it. Please verify by hand: - [ ] Manually verify, on a staging Engine with a fresh profile and only a text connection, that the whole loop plays: setup, a chapter, Home, the phone, Wish, Wardrobe, the Album, each game and the tracker. - [ ] Manually verify the same loop again with image, audio and voice connections, and that every paid action shows its cost first. - [ ] Manually verify a story whose load fails shows "This can't open right now" with a way back to Your stories. - [ ] Manually verify both looks (Midnight and Pearl) at phone width and by keyboard only. - [ ] Manually verify an archetype love interest's look paints on a Grok (xAI) image connection and shows on the forge's cast list. - [ ] Manually verify portraits fill their circles on the forge's "Your cast" list on an iPhone, and that a card avatar cropped in the Engine is framed the same way in the setup picker. - [ ] Manually verify Repaint on a painted look replaces it, and that an Image style typed in Settings → Images shows in the prompt review dialog. - [ ] Manually verify, with the connections request blocked, that Try again keeps keyboard focus while it reloads. 🤖 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: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#1994
No description provided.