mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4228] [MERGED] Improve matched full-body sprite generation #6293
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6293
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-Engine/pull/4228
Author: @SpicyMarinara
Created: 7/28/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/full-body-sprite-generation📝 Commits (1)
7437facImprove matched full-body sprite generation📊 Changes
9 files changed (+946 additions, -74 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+145 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+2 -4)📝
packages/client/src/components/personas/PersonaEditor.tsx(+2 -4)📝
packages/client/src/components/ui/SpriteGenerationModal.tsx(+221 -36)📝
packages/client/src/localization/locales/en.json(+14 -4)📝
packages/server/src/routes/sprites.routes.ts(+297 -18)📝
packages/server/src/services/image/sprite-background.service.ts(+173 -6)📝
packages/server/src/services/prompt-overrides/registry/sprites.ts(+3 -1)📝
scripts/regressions/sprite-background.regression.ts(+89 -1)📄 Description
Linked issue
Closes #4227
Why this change
Full-body sprite batches could begin without establishing a canonical neutral design, so later expressions drifted in clothing and proportions. Existing expression portraits were not paired with their full-body counterparts, the image contract still allowed waist-up framing, and GPT Image 2 background cleanup could preserve white or green fringe pixels around otherwise transparent sprites.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands completed during implementation:
pnpm checkpnpm regression:spritespnpm checkcompleted with the existingNoodleHome.tsxexhaustive-deps warning and no errors.Manual verification notes
Maintainer manually tested the GPT Image 2 full-body workflow in Firefox on macOS through multiple cleanup iterations. The final result was confirmed to have correct framing, neutral approval/reference behavior, and clean transparent edges without visible chroma fringe.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No user-facing documentation or release metadata changes are required.
UI evidence (if applicable)
Maintainer-provided screenshots were used during manual iteration to verify removal of white and green edge artifacts.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.