mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1833] [MERGED] fix(gacha-forge): 1.27.1 image references send the avatar and the worn outfit #1989
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#1989
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/1833
Author: @SpicyMarinara
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/forge-kit-outfit-references📝 Commits (2)
97f005afix(gacha-forge): 1.27.1 image references send the avatar and the worn outfit (#1832)7b8b0adMerge remote-tracking branch 'origin/staging' into fix/forge-kit-outfit-references📊 Changes
18 files changed (+492 additions, -102 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+1 -0)➕
artifacts/gacha-forge-1.27.1.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
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(+7 -0)📝
packages/gacha-forge/README.md(+6 -0)📝
packages/gacha-forge/bundle-patches.json(+40 -0)📝
packages/gacha-forge/client.js(+2 -2)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+58 -22)📝
sources/forge-kit/image-avatar-references.mjs(+55 -19)➕
tests/forge-kit-image-references.regression.mjs(+154 -0)📝
tests/forge-kit-options.regression.mjs(+3 -3)📝
tests/gacha-forge-image-avatar-references.regression.mjs(+119 -9)📄 Description
Pull request
Linked issue
Fixes #1832
Why this change
The maintainer asked whether image generation sends "the character's avatar and their current outfit as a reference (if any outfit is on)". The shared kit sent only one reference per person: the card avatar whenever there was one. So a character card's worn outfit never reached the image model. A character without a card sent its worn outfit as its face, which leaked the old outfit into new portraits and outfits.
What changed
Gacha Forge 1.27.1, and the shared kit:
sources/forge-kit/image-avatar-references.mjs:avatarPath. It never uses the worn outfit.generateBannerArtalso adds the worn outfit's image, looked up fromwornOutfitandoutfits.generatePortraitandgenerateOutfitsend identity only.wornOutfitonly when the picture paints that outfit, so the image never contradicts the prompt.tests/forge-kit-image-references.regression.mjs, wired into Pull Request Checks. It covers ordering, dedupe, the limit and its log, identity-only portrait and outfit, the removed-card fallback, and unsafe outfit paths.gacha-forge-image-avatar-references:For the maintainer
Package and security impact
gacha-forge(1.27.1).otome-forgepicks up the kit at its next rebuild.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
node --test tests/gacha-forge-*.regression.mjs tests/forge-kit-*.regression.mjs: 628 pass, including the bundle rebuild proof.npm run test:otome-forgeand Otome's strict typecheck pass.npm run check, both locale validators,test-catalog-lanesandgit diff --checkare clean.Please verify by hand:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.