mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2005] [MERGED] fix(otome-forge): a portrait sends his full body and his avatar together #2069
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#2069
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2005
Author: @SpicyMarinara
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-portrait-fullbody-refs📝 Commits (7)
d89fbe8fix(otome-forge): a portrait sends his full body and his avatar together6ed2588chore(otome-forge): release 0.6.11 with the portrait references687a980fix(otome-forge): the kit's declaration accepts several likenesses per subjecte2b3386chore(gacha-forge): rebuild the bundle with the shared reference kit changeaf391c3fix(otome-forge): the resolver context is optional, matching its defaultc6be392chore(gacha-forge): recertify the bundle rebuilt with the shared reference kit6049603Merge branch 'staging' into fix/otome-portrait-fullbody-refs📊 Changes
21 files changed (+164 additions, -123 deletions)
View changed files
📝
artifacts/gacha-forge-1.27.5.zip(+0 -0)➕
artifacts/otome-forge-0.6.11.zip(+0 -0)📝
catalog/catalog.json(+4 -4)📝
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)📝
catalog/v2/catalog.json(+4 -4)📝
catalog/v3/catalog.json(+4 -4)📝
packages/gacha-forge/manifest.json(+2 -2)📝
packages/gacha-forge/server.mjs(+8 -4)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/server.mjs(+51 -51)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/image-client.ts(+16 -5)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/forge-kit.d.ts(+12 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
sources/forge-kit/image-avatar-references.mjs(+8 -4)...and 1 more files
📄 Description
Closes #2004
Why this change
A love interest made from a character card has a neutral full-body image and an avatar on that card. His painted portrait was only ever given one of them as an identity reference: the kit's
subjectReferenceresolved a single image per subject, and the full body simply displaced the avatar when the lookup succeeded. So the portrait could never see both his build and his face, and on a card without a full-body sprite you got the avatar alone with no trace of why.Image generation is not being changed in what it does: the portrait keeps the same prompt, matte, size and provider call. Only which likenesses accompany it changes.
What changed
The kit accepts several likenesses per subject (
sources/forge-kit/image-avatar-references.mjs)subjectReferencemay return a string (as before) or an array; the wrapper flattens them into the identity list, ahead of every outfit, exactly as it already ordered them.Otome sends both for a portrait, one for a scene (
art/image-client.ts)generatePortraitandgenerateOutfitreturn[full body, avatar]when both exist;generateBannerArtkeeps one per subject, because the four-reference budget is shared across the whole cast and doubling every subject would push people out of a scene.art/expressions.tssends its own Single base reference.Package and security impact
otome-forge0.6.11Validation
npm run test:otome-forge: 540/540 TypeScript regressions pass.node --test "tests/forge-kit-*.regression.mjs": 23/23 pass, including the wrapper's ordering, dedup and cap.tests/otome-forge-image-references.regression.ts: a portrait sends[full body, avatar], a new look the same, a scene[full body, outfit], and a replaced assertion now checks the avatar accompanies the full body instead of being displaced by it.npx prettier --checkover the CI pattern: clean.node scripts/typecheck-packages.mjs otome-forge: no syntax errors, undefined names or unresolved modules.Test plan
Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.