[PR #1877] [MERGED] [WIP] feat(otome-forge): repaint character expressions with the configured image prompt #2010

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

📋 Pull Request Information

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

Base: staging ← Head: feat/otome-repaint-expressions


📝 Commits (10+)

  • 9e95257 feat(otome-forge): begin explicit expression repaint controls
  • 71dc375 feat(otome-forge): repaint current-look expressions explicitly
  • 19f237b fix(otome-forge): preserve reviewed expression prompt safeguards
  • d933148 Merge commit 'b5259c631b' into feat/otome-repaint-expressions
  • 231d93e build(otome-forge): prepare expression repaint in 0.1.10
  • 308a157 Merge commit '9533ed2f9' into feat/otome-repaint-expressions
  • 7b6df27 build(otome-forge): include expression repaint release artifact
  • 13bfa35 fix(otome-forge): retain partial expression uploads on automatic retry
  • a9ea519 Merge updated persona base and rebuild expression repaint 0.1.10
  • 137fc3d Merge staged Persona 0.1.9 release into repaint expressions

📊 Changes

42 files changed (+1691 additions, -477 deletions)

View changed files

➕ artifacts/gacha-forge-1.27.5.zip (+0 -0)
➕ artifacts/otome-forge-0.1.10.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/gacha-forge/CHANGELOG.md (+4 -0)
📝 packages/gacha-forge/bundle-patches.json (+14 -0)
📝 packages/gacha-forge/client.js (+2 -2)
📝 packages/gacha-forge/manifest.json (+5 -5)
📝 packages/gacha-forge/server.mjs (+108 -31)
📝 packages/otome-forge/CHANGELOG.md (+5 -0)

...and 22 more files

📄 Description

Linked issue

Closes #1875. Owner: @SpicyMarinara (Codex).

Why this change

Players can repaint a love interest’s look but cannot explicitly replace its expression set. Tagged expression requests also omit the configured image style.

What changed

  • Adds Repaint expressions beside each love interest’s look repaint, using their current worn or neutral look as the real reference for five edits.
  • Reviews all five prompts before one explicit batch, with the existing cost and busy controls. Cancel stops the entire review; failures and request conflicts keep the dialog and edits available for retry.
  • Keeps the usable expression set while its replacement runs or fails. Superseded and incomplete upload references remain tracked for run deletion.
  • Includes the full configured style in prose and tagged expression prompts, retaining profile tags, safety and debug logging.
  • Ships Otome Hearth 0.1.10 and the required Gacha Forge 1.27.5 shared-dependency maintenance rebuild.

Package and safety impact

Both games consume the same expression-lifecycle source, which Gacha Forge pastes into its bundle. Its original reproducibility guards correctly exposed that the affected consumer also needed rebuilding. The Gacha server changes only inside that shared helper; its client changes only the version and maintenance release note. Its other 264 declared payloads are unchanged. The new repaint controls remain Otome-only, and the existing Gacha replay/location guards are unchanged.

The lifecycle retains the existing paid-image slots, ownership and automatic retry policy. Only requests with the same current base and exact full reviewed prompts join a running replacement; different edits receive the existing 409 conflict and never start a second paid batch. Identical retries still join. Reviewed prompts require their base, reject whitespace-only positives before payment, and keep valid wording unmodified. Empty or whitespace-only negatives remain allowed.

No new provider, permission or identity field. No arbitrary prompt caps: the finite face schema, nonblank positive validation, base-equality guard and existing Engine HTTP body limit protect the route while full positive/negative edits remain supported.

Validation

  • Supported builders generated both packages, their manifests, ZIPs and catalogs.
  • Formatting/ESLint, strict package types (78 server/shared and 125 client files), catalog lanes, locales, catalog validation and release-note checks pass.
  • Otome 403 source regressions and 5 rebuilt-server bundle regressions pass. All 76 Gacha/shared-kit regression commands pass; both original replay/location guards and kit options pass again after the final route-only repair.
  • Kit and actual-route RED/GREEN proofs cover changed positive/negative requests, unreviewed-to-edited conflicts, reordered identical requests sharing five paid calls, long edits, retained artwork/history, and blank-positive rejection without payment. A route spy confirms valid text passes unchanged.
  • The three repaint cases pass on exact installed final bytes in desktop and mobile Chromium and WebKit (12/12). Two existing real-server co-install cases pass in desktop/mobile Chromium (2/2); disk hashes match both installed profiles, and separate Gacha/Otome index documents persist correctly.
  • Whole-PR CodeRabbit review completed; its valid whitespace-validation finding is repaired. Final incremental repair review at c3934055 completed with zero findings.

Provider behavior uses controlled fakes; the co-install proof uses the real Engine host without model/provider calls. Browser emulation does not establish physical-device behavior or live-provider image quality. Hosted checks and Dottore Review remain separate merge gates.

  • Manually verify expression repaint and prompt review in Engine.
  • Manually verify physical-phone controls and live-provider output.
  • Manually verify update/restart and uninstall lifecycle.

🔄 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/1877 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/otome-repaint-expressions` --- ### 📝 Commits (10+) - [`9e95257`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9e952576831077c583c4af99cb5761feeef860f9) feat(otome-forge): begin explicit expression repaint controls - [`71dc375`](https://github.com/Pasta-Devs/Marinara-Agents/commit/71dc3752481eb34571668f1e06724c7c2053d46b) feat(otome-forge): repaint current-look expressions explicitly - [`19f237b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/19f237bc1031ded62bcc91aabcc3e2114fe985fd) fix(otome-forge): preserve reviewed expression prompt safeguards - [`d933148`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d933148f29b913cb9e0c4ce7a5f70889d2b0388f) Merge commit 'b5259c631b3d860b893a6d1d6c367d8662db3a88' into feat/otome-repaint-expressions - [`231d93e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/231d93e8e4d7d20c84c7d5bac81f2cc81abc3994) build(otome-forge): prepare expression repaint in 0.1.10 - [`308a157`](https://github.com/Pasta-Devs/Marinara-Agents/commit/308a1574a1db513835c0e1d2f3d234877cb4abda) Merge commit '9533ed2f9' into feat/otome-repaint-expressions - [`7b6df27`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7b6df273194607393dfc27356eea4300b79087e1) build(otome-forge): include expression repaint release artifact - [`13bfa35`](https://github.com/Pasta-Devs/Marinara-Agents/commit/13bfa35bb8730ad156b4b79bacf45e28e46f54a3) fix(otome-forge): retain partial expression uploads on automatic retry - [`a9ea519`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a9ea5198f40f70ae0ebcd883e15c57f9cbe34814) Merge updated persona base and rebuild expression repaint 0.1.10 - [`137fc3d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/137fc3d0fcdb4065e3f9e7225cfeaf91907c34fd) Merge staged Persona 0.1.9 release into repaint expressions ### 📊 Changes **42 files changed** (+1691 additions, -477 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/gacha-forge-1.27.5.zip` (+0 -0) ➕ `artifacts/otome-forge-0.1.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/gacha-forge/CHANGELOG.md` (+4 -0) 📝 `packages/gacha-forge/bundle-patches.json` (+14 -0) 📝 `packages/gacha-forge/client.js` (+2 -2) 📝 `packages/gacha-forge/manifest.json` (+5 -5) 📝 `packages/gacha-forge/server.mjs` (+108 -31) 📝 `packages/otome-forge/CHANGELOG.md` (+5 -0) _...and 22 more files_ </details> ### 📄 Description ## Linked issue Closes #1875. Owner: @SpicyMarinara (Codex). ## Why this change Players can repaint a love interest’s look but cannot explicitly replace its expression set. Tagged expression requests also omit the configured image style. ## What changed - Adds **Repaint expressions** beside each love interest’s look repaint, using their current worn or neutral look as the real reference for five edits. - Reviews all five prompts before one explicit batch, with the existing cost and busy controls. Cancel stops the entire review; failures and request conflicts keep the dialog and edits available for retry. - Keeps the usable expression set while its replacement runs or fails. Superseded and incomplete upload references remain tracked for run deletion. - Includes the full configured style in prose and tagged expression prompts, retaining profile tags, safety and debug logging. - Ships Otome Hearth **0.1.10** and the required Gacha Forge **1.27.5** shared-dependency maintenance rebuild. ## Package and safety impact Both games consume the same expression-lifecycle source, which Gacha Forge pastes into its bundle. Its original reproducibility guards correctly exposed that the affected consumer also needed rebuilding. The Gacha server changes only inside that shared helper; its client changes only the version and maintenance release note. Its other 264 declared payloads are unchanged. The new repaint controls remain Otome-only, and the existing Gacha replay/location guards are unchanged. The lifecycle retains the existing paid-image slots, ownership and automatic retry policy. Only requests with the same current base and exact full reviewed prompts join a running replacement; different edits receive the existing 409 conflict and never start a second paid batch. Identical retries still join. Reviewed prompts require their base, reject whitespace-only positives before payment, and keep valid wording unmodified. Empty or whitespace-only negatives remain allowed. No new provider, permission or identity field. No arbitrary prompt caps: the finite face schema, nonblank positive validation, base-equality guard and existing Engine HTTP body limit protect the route while full positive/negative edits remain supported. ## Validation - Supported builders generated both packages, their manifests, ZIPs and catalogs. - Formatting/ESLint, strict package types (78 server/shared and 125 client files), catalog lanes, locales, catalog validation and release-note checks pass. - Otome 403 source regressions and 5 rebuilt-server bundle regressions pass. All 76 Gacha/shared-kit regression commands pass; both original replay/location guards and kit options pass again after the final route-only repair. - Kit and actual-route RED/GREEN proofs cover changed positive/negative requests, unreviewed-to-edited conflicts, reordered identical requests sharing five paid calls, long edits, retained artwork/history, and blank-positive rejection without payment. A route spy confirms valid text passes unchanged. - The three repaint cases pass on exact installed final bytes in desktop and mobile Chromium and WebKit (12/12). Two existing real-server co-install cases pass in desktop/mobile Chromium (2/2); disk hashes match both installed profiles, and separate Gacha/Otome index documents persist correctly. - Whole-PR CodeRabbit review completed; its valid whitespace-validation finding is repaired. Final incremental repair review at `c3934055` completed with zero findings. Provider behavior uses controlled fakes; the co-install proof uses the real Engine host without model/provider calls. Browser emulation does not establish physical-device behavior or live-provider image quality. Hosted checks and Dottore Review remain separate merge gates. - [ ] Manually verify expression repaint and prompt review in Engine. - [ ] Manually verify physical-phone controls and live-provider output. - [ ] Manually verify update/restart and uninstall lifecycle. --- <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:43 +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#2010
No description provided.