[PR #2088] [MERGED] feat(otome-forge): a Photo Shoot in Dates (0.8.0) #2110

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

📋 Pull Request Information

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

Base: staging ← Head: feat/2087-otome-photo-shoot


📝 Commits (10+)

  • 6ee9951 chore(otome-forge): start the Photo Shoot (#2087)
  • 65ec4fc Merge branch 'staging' into feat/2087-otome-photo-shoot
  • 852e589 feat(otome-forge): the Photo Shoot's server, one photo with no model call (#2087)
  • b6348bf feat(otome-forge): the Photo Shoot screen, the Album's Photos and the photo taped into Home's note (#2087)
  • 7296f75 test(otome-forge): the Photo Shoot pays once, calls no model, and wraps Home's note (#2087)
  • 62c9cdc chore(otome-forge): release the Photo Shoot as 0.8.0 (#2087)
  • 646dacf fix(otome-forge): the Photo Shoot keeps a long photo, refuses first without images, and words its picks plainly (#2087)
  • 027446b fix(otome-forge): the Album deletes the photo shown, reads its question, and the Photo Shoot keeps its look note (#2087)
  • 7ccfc7e chore(otome-forge): rebuild 0.8.0 with the Photo Shoot review fixes (#2087)
  • 1d647db Merge remote-tracking branch 'origin/staging' into feat/2087-otome-photo-shoot

📊 Changes

46 files changed (+3803 additions, -585 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/otome-forge-0.8.0.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 (+4 -0)
📝 packages/otome-forge/README.md (+17 -4)
📝 packages/otome-forge/client.js (+336 -310)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+152 -152)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx (+16 -2)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+78 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/album/Album.tsx (+84 -12)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/album/CgViewer.tsx (+98 -5)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/DatesHub.tsx (+27 -7)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/LookPicker.tsx (+19 -9)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/PhotoShoot.tsx (+519 -0)

...and 26 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #2087

Why this change

The maintainer asked for a Photo Shoot in Otome Hearth's Dates. With the love interest picked in Dates, the player chooses:

  • a place the story has painted;
  • an outfit for each of the two, from the looks each has;
  • an expression and a pose for each of them, including shared poses such as kissing, hugging and play-fighting.

"Take picture" paints them posing for the camera together. The photo is saved to the Album, can be downloaded, and is taped into that love interest's note on Home. The maintainer's rules:

  • only the image call, with no text-model call;
  • available only with an image connection.

What changed

Package: otome-forge 0.8.0 (rebuilt server.mjs, client.js, artifact and catalog preview entries).

Server (minigames/photo-shoot.ts, routes in routes/dates.ts)

  • Each photo is its own document (photo, in RUN_DOC_KINDS), so deleting a run deletes its photos and their images.
  • The photo stores only the ids of the place and looks, never their image refs, so deleting a photo can never delete a place's or look's image.
  • POST /runs/:run/photos/prompt builds the prompt for review, with no paid call.
  • POST /runs/:run/photos creates and paints a photo. The client chooses its id: a double tap or a resend pays once, and Try again on a failed or stopped photo repaints it once (tapPaint/paintRecord).
  • POST /runs/:run/photos/:id/delete deletes a photo.
  • A bad setup is refused before anything is saved or paid for:
    • 503 without an image connection, checked first, on both the prompt and the paint;
    • 404 for an unknown love interest;
    • 400 for an unpainted place, someone else's look, an empty or over-80-character custom field, or a shared pose the two don't agree on;
    • 409 for a look not won or not painted yet.
  • The Photo Shoot has no side effects:
    • no text-model call anywhere;
    • nothing is worn, and nothing is written to a wardrobe (wearableLook checks without adding the outfit);
    • no Starlight, affection, memory or Timeline entry.
  • One 1024×1024 image. The references are their look, her look, then the place: faces and outfits first, so providers that keep fewer references still get both likenesses.
    • A base look with no portrait falls back to the love interest's card or the protagonist's persona avatar, labelled as a face.
  • The prompt is built in code (photoPrompt in prompts.ts). It states each shared pose with the right roles (who carries whom, who kisses whose cheek), and it uses no softening words; a regression checks for them.
    • A place's "no humans" scenery tags are dropped.
    • The photo is clothed, at most Suggestive even in an Explicit story, as couple portraits are: it shows the chosen outfits and is taped to Home.

Client

  • Dates gets a fifth card. Without an image connection it reads "Needs an image connection" and has no Play.
  • The Photo Shoot screen (screens/dates/PhotoShoot.tsx) is one page:
    • painted place cards, and both look pickers;
    • for each of you, expression and pose radio groups plus a "Your own" field;
    • a shared pose is one pick that sets the other side to its partner ("Carries piggyback" with "Rides piggyback"); choosing a solo pose ends it, and the change is announced.
  • Take picture goes through Ask before painting and prompt review, and sends one POST per tap. Busy, failed and stopped states each have their own message, and Try again reuses the photo's id.
  • The Album gets a Photos tab. Its viewer can save or delete a photo; the delete confirmation is in the same dialog, and focus returns to the tab panel.
  • Home's note shows the newest photo with that love interest, taped in, with the note's text wrapping around it. It works in both looks, at phone and desktop sizes, and in right-to-left.
  • English copy is in locales/en.json.

Docs and release: README (Dates, the Album, Home, images, the cost table) and CHANGELOG 0.8.0.

Package and security impact

  • Affected package IDs: otome-forge
  • Engine compatibility impact: none. The Engine already accepts the override prompt, data-URL references and debugMode.
  • New or changed permissions/entrypoints: three package routes under the existing ones. There are no new permissions.
  • Restart, storage, update, or uninstall impact: a new run document kind, photo. Deleting the run removes it with its gallery images.

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

What the agent ran:

  • tests/otome-forge-*.regression.ts: 643/643 pass, including 8 Photo Shoot tests and an image-references case. tests/otome-forge-*.regression.mjs: 13/13 pass.
    • The Photo Shoot tests cover: no model call, the reference order, every refusal, paying once, the prompt in sentence and tag modes and at each rating, the logs, Album and Home, deleting, and the run sweep.
  • Browser tests, desktop and mobile Chromium:
    • before the staging merge: the new package-otome-forge-photo-shoot.e2e.ts plus the read-me, wish, home, loop, presentation and claw suites, 238 tests in all;
    • after it: the Photo Shoot, Home and Read Me suites again, 60 tests.
  • Typecheck, eslint and prettier: clean. validate-package-locales, validate-package-locale-keys, test-catalog-lanes and the catalog release-notes regression pass.
  • validate-catalog.mjs fails locally only because this sparse worktree leaves out other packages' artifacts; CI runs it.
  • After merging staging (0.7.4, 0.7.5), rebuilding leaves the tree clean.
  • CodeRabbit: 0 findings.
  • Three-angle review (server, client, prompt and tests): 12 findings, all fixed. Each fix is proven against the old code. They include:
    • a long sent prompt that made the paid photo unreadable;
    • Delete acting on a stale index;
    • "at the camera" wording on kiss poses;
    • the connection check order.

Manual verification notes

  • Manually verify on a story with an image connection: in Dates, with a love interest selected, open Photo Shoot. Pick a painted place, both looks, and an expression and pose for each (try Kiss, Piggyback, a solo pose and a custom one), then take the picture. One image is painted, of the two posing in the chosen outfits at that place.
  • Manually verify that Ask before painting and prompt review appear when they are on.
  • Manually verify that the photo appears in Album → Photos, downloads, and can be deleted.
  • Manually verify that the newest photo with that love interest is taped into their note on Home, with the text wrapping around it, on an iPhone and on desktop.
  • Manually verify that without an image connection, the Photo Shoot card shows as unavailable.

Documentation impact

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

🤖 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/2088 **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:** `feat/2087-otome-photo-shoot` --- ### 📝 Commits (10+) - [`6ee9951`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6ee9951e018c6fef566c69919c307a18a1ac34c3) chore(otome-forge): start the Photo Shoot (#2087) - [`65ec4fc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/65ec4fc2de0c5c104f17e933841083abcfbe26d7) Merge branch 'staging' into feat/2087-otome-photo-shoot - [`852e589`](https://github.com/Pasta-Devs/Marinara-Agents/commit/852e589a6df02bb1d1a4e4f0be75a296c7a82826) feat(otome-forge): the Photo Shoot's server, one photo with no model call (#2087) - [`b6348bf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b6348bf0286ad645f146a575f3219b440210ee24) feat(otome-forge): the Photo Shoot screen, the Album's Photos and the photo taped into Home's note (#2087) - [`7296f75`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7296f75f23f92cfc7d7448ecf98b4b72ffcdda87) test(otome-forge): the Photo Shoot pays once, calls no model, and wraps Home's note (#2087) - [`62c9cdc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/62c9cdcc01f828bf9b96f17ef6a811613e3060ee) chore(otome-forge): release the Photo Shoot as 0.8.0 (#2087) - [`646dacf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/646dacf3647aa1dc8f81b4f536efdaddf7927a7b) fix(otome-forge): the Photo Shoot keeps a long photo, refuses first without images, and words its picks plainly (#2087) - [`027446b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/027446b43a4b5cdfe20c965c3897a2c430d39be3) fix(otome-forge): the Album deletes the photo shown, reads its question, and the Photo Shoot keeps its look note (#2087) - [`7ccfc7e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7ccfc7e45e42906fc9e86c3f99ece04d6b1b8722) chore(otome-forge): rebuild 0.8.0 with the Photo Shoot review fixes (#2087) - [`1d647db`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1d647db5e181e580aa3eae26fa653ee4e2854450) Merge remote-tracking branch 'origin/staging' into feat/2087-otome-photo-shoot ### 📊 Changes **46 files changed** (+3803 additions, -585 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/otome-forge-0.8.0.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` (+4 -0) 📝 `packages/otome-forge/README.md` (+17 -4) 📝 `packages/otome-forge/client.js` (+336 -310) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+152 -152) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx` (+16 -2) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+78 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/album/Album.tsx` (+84 -12) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/album/CgViewer.tsx` (+98 -5) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/DatesHub.tsx` (+27 -7) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/LookPicker.tsx` (+19 -9) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/PhotoShoot.tsx` (+519 -0) _...and 26 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #2087 ## Why this change The maintainer asked for a Photo Shoot in Otome Hearth's Dates. With the love interest picked in Dates, the player chooses: - a place the story has painted; - an outfit for each of the two, from the looks each has; - an expression and a pose for each of them, including shared poses such as kissing, hugging and play-fighting. "Take picture" paints them posing for the camera together. The photo is saved to the Album, can be downloaded, and is taped into that love interest's note on Home. The maintainer's rules: - only the image call, with no text-model call; - available only with an image connection. ## What changed Package: `otome-forge` 0.8.0 (rebuilt `server.mjs`, `client.js`, artifact and catalog preview entries). **Server** (`minigames/photo-shoot.ts`, routes in `routes/dates.ts`) - Each photo is its own document (`photo`, in `RUN_DOC_KINDS`), so deleting a run deletes its photos and their images. - The photo stores only the ids of the place and looks, never their image refs, so deleting a photo can never delete a place's or look's image. - `POST /runs/:run/photos/prompt` builds the prompt for review, with no paid call. - `POST /runs/:run/photos` creates and paints a photo. The client chooses its id: a double tap or a resend pays once, and Try again on a failed or stopped photo repaints it once (`tapPaint`/`paintRecord`). - `POST /runs/:run/photos/:id/delete` deletes a photo. - A bad setup is refused before anything is saved or paid for: - 503 without an image connection, checked first, on both the prompt and the paint; - 404 for an unknown love interest; - 400 for an unpainted place, someone else's look, an empty or over-80-character custom field, or a shared pose the two don't agree on; - 409 for a look not won or not painted yet. - The Photo Shoot has no side effects: - no text-model call anywhere; - nothing is worn, and nothing is written to a wardrobe (`wearableLook` checks without adding the outfit); - no Starlight, affection, memory or Timeline entry. - One 1024×1024 image. The references are their look, her look, then the place: faces and outfits first, so providers that keep fewer references still get both likenesses. - A base look with no portrait falls back to the love interest's card or the protagonist's persona avatar, labelled as a face. - The prompt is built in code (`photoPrompt` in `prompts.ts`). It states each shared pose with the right roles (who carries whom, who kisses whose cheek), and it uses no softening words; a regression checks for them. - A place's "no humans" scenery tags are dropped. - The photo is clothed, at most Suggestive even in an Explicit story, as couple portraits are: it shows the chosen outfits and is taped to Home. **Client** - Dates gets a fifth card. Without an image connection it reads "Needs an image connection" and has no Play. - The Photo Shoot screen (`screens/dates/PhotoShoot.tsx`) is one page: - painted place cards, and both look pickers; - for each of you, expression and pose radio groups plus a "Your own" field; - a shared pose is one pick that sets the other side to its partner ("Carries piggyback" with "Rides piggyback"); choosing a solo pose ends it, and the change is announced. - Take picture goes through Ask before painting and prompt review, and sends one POST per tap. Busy, failed and stopped states each have their own message, and Try again reuses the photo's id. - The Album gets a Photos tab. Its viewer can save or delete a photo; the delete confirmation is in the same dialog, and focus returns to the tab panel. - Home's note shows the newest photo with that love interest, taped in, with the note's text wrapping around it. It works in both looks, at phone and desktop sizes, and in right-to-left. - English copy is in `locales/en.json`. **Docs and release:** README (Dates, the Album, Home, images, the cost table) and CHANGELOG 0.8.0. ## Package and security impact - Affected package IDs: `otome-forge` - Engine compatibility impact: none. The Engine already accepts the override prompt, data-URL references and `debugMode`. - New or changed permissions/entrypoints: three package routes under the existing ones. There are no new permissions. - Restart, storage, update, or uninstall impact: a new run document kind, `photo`. Deleting the run removes it with its gallery images. ## 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` What the agent ran: - `tests/otome-forge-*.regression.ts`: 643/643 pass, including 8 Photo Shoot tests and an image-references case. `tests/otome-forge-*.regression.mjs`: 13/13 pass. - The Photo Shoot tests cover: no model call, the reference order, every refusal, paying once, the prompt in sentence and tag modes and at each rating, the logs, Album and Home, deleting, and the run sweep. - Browser tests, desktop and mobile Chromium: - before the staging merge: the new `package-otome-forge-photo-shoot.e2e.ts` plus the read-me, wish, home, loop, presentation and claw suites, 238 tests in all; - after it: the Photo Shoot, Home and Read Me suites again, 60 tests. - Typecheck, eslint and prettier: clean. `validate-package-locales`, `validate-package-locale-keys`, `test-catalog-lanes` and the catalog release-notes regression pass. - `validate-catalog.mjs` fails locally only because this sparse worktree leaves out other packages' artifacts; CI runs it. - After merging `staging` (0.7.4, 0.7.5), rebuilding leaves the tree clean. - CodeRabbit: 0 findings. - Three-angle review (server, client, prompt and tests): 12 findings, all fixed. Each fix is proven against the old code. They include: - a long sent prompt that made the paid photo unreadable; - Delete acting on a stale index; - "at the camera" wording on kiss poses; - the connection check order. ### Manual verification notes - Manually verify on a story with an image connection: in Dates, with a love interest selected, open Photo Shoot. Pick a painted place, both looks, and an expression and pose for each (try Kiss, Piggyback, a solo pose and a custom one), then take the picture. One image is painted, of the two posing in the chosen outfits at that place. - Manually verify that Ask before painting and prompt review appear when they are on. - Manually verify that the photo appears in Album → Photos, downloads, and can be deleted. - Manually verify that the newest photo with that love interest is taped into their note on Home, with the text wrapping around it, on an iPhone and on desktop. - Manually verify that without an image connection, the Photo Shoot card shows as unavailable. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation 🤖 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:34 +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#2110
No description provided.