mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6252] [MERGED] fix: preserve portrait crops and reuse fitting memory summaries #7108
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#7108
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/6252
Author: @SpicyMarinara
Created: 9/15/2026
Status: ✅ Merged
Merged: 9/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/6247-6250-avatars-memory📝 Commits (4)
fda9b93chore: track avatar and memory recall issue fixesc9dc9b7Merge remote-tracking branch 'origin/staging' into fix/6247-6250-avatars-memory6557d3efix: preserve portrait crops and reuse fitting memory summariesb17781etest: prove continuity generation is reused across budgets📊 Changes
7 files changed (+196 additions, -18 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)➕
e2e/avatar-preview.e2e.ts(+118 -0)📝
packages/client/src/components/characters/CardLibraryPreview.tsx(+22 -12)📝
packages/client/src/components/chat/RecentChats.tsx(+2 -2)📝
packages/client/src/styles/globals.css(+6 -0)📝
packages/server/src/services/advanced-memory.ts(+7 -3)📝
scripts/regressions/advanced-memory-summary.regression.ts(+38 -1)📄 Description
Linked issues
Closes #6247
Closes #6249
Related issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6250 — partially addressed for continuity-summary duplication; the reported duplicate scene summaries remain under investigation and this issue should stay open.
Why this change
Saved square avatar crops stretched in rectangular Character Library previews. Home image grids also scaled and filtered the artwork on hover, and their cards applied additional transforms, changing image sampling and sharpness.
Memory Recall treated a context-budget adjustment as a new summary identity even when the existing summary had unchanged sources and already fit. Repeated preparation consequently produced multiple continuity entries for the same range.
What changed
Verification
pnpm checkpassed, including localization, formatting, lint, types, and production builds. Final CSS and browser-test updates also passed targeted formatting and e2e type checks; hostedpnpm-validatepassed on the submitted head.pnpm regression:promptandpnpm version:checkpassed.Manual verification still needed
Scope and data safety
The memory change prevents redundant new summary versions; it does not delete existing archive records or manual corrections. A summary that no longer fits still takes the compaction path. No providers, dependencies, prompts, release versions, or translated documentation change. No new user-facing copy requires localization keys.
UI evidence
Before/after browser evidence contains the original PNG captures embedded in a self-contained HTML file. Download the HTML through Raw → Save As and open it in a browser. Desktop and mobile comparisons show the original stretch and corrected proportions. Screenshots use disposable local fixtures.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.