mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1682] fix(gacha-forge): repair chats, artwork, help and character prompts #1672
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#1672
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/1682
Author: @SpicyMarinara
Created: 10/25/2026
Status: 🔄 Open
Base:
staging← Head:fix/gacha-portrait-animation-recovery📝 Commits (10+)
e682913chore(gacha-forge): start portrait and banner recovery fixes74e14d8fix(gacha-forge): recover portrait and banner media states17cc19bMerge staging Noodle delivery into Gacha media repair5df88cefix(gacha-forge): retain character chats and authored story canonfc45b0cMerge branch 'staging' into fix/gacha-portrait-animation-recoveryafac636fix(gacha-forge): retain successful messages until canonical reads settlea26ece0Merge remote staging update into Gacha recovery candidate22df8fftest(gacha-forge): verify visible context bounds in the active settings viewa490776fix(gacha-forge): preserve sent-message order during canonical adoption9c07fb6build(gacha-forge): publish the ordered-chat recovery archive📊 Changes
29 files changed (+3369 additions, -241 deletions)
View changed files
➕
artifacts/gacha-forge-1.16.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(+9 -0)📝
packages/gacha-forge/README.md(+10 -2)📝
packages/gacha-forge/bundle-patches.json(+139 -0)📝
packages/gacha-forge/client.js(+280 -50)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+231 -43)📝
packages/gacha-forge/src/animation-client.mjs(+58 -38)📝
packages/gacha-forge/src/animation-en.mjs(+1 -0)📝
packages/gacha-forge/src/animation-server.mjs(+82 -30)📝
packages/gacha-forge/src/browser-presentation.mjs(+22 -9)➕
packages/gacha-forge/src/character-card-context.mjs(+90 -0)➕
packages/gacha-forge/src/chat-continuity-client.mjs(+194 -0)➕
packages/gacha-forge/src/chat-continuity-server.mjs(+45 -0)...and 9 more files
📄 Description
Linked issue
Closes #1680
Closes #1681
Closes #1684
Closes #1686
Closes #1689
Refs #1685
Refs Pasta-Devs/Marinara-Engine#8287
Owner: @SpicyMarinara (Codex).
Why this change
Character messages persisted the player's first message, then threw
ReferenceError: de is not definedbefore calling the reply provider. The UI could hide that persisted message after an error or a failed canonical reload. Loaded story portraits also retained an SVG silhouette, failed banner playback offered no recovery, and mobile Writing help became oversized while tap state was lost on rerender.What changed
Context issue #1685 remains open. Its reported blank landscape card was not reproduced, including after keyboard dismissal, saved scroll, a high-context warning, synthetic notch insets and portrait/landscape rotation. This PR adds focused visibility and persistence proof, with no speculative Context styling change.
Package and security impact
gacha-forge1.16.1; API version, Engine compatibility, permissions and entrypoints unchanged.Validation
Completed locally (source-head boundaries stated below):
npm run format:check;npm run lint -- --concurrency 1: passed, 0 errors and 812 existing warnings. Final two-file browser-fixture delta also passes ESLint/Prettier.tests/gacha-forge*.regression.mjsNode suites passed during source consolidation, plus the actual Chromium/WebKit portrait DOM regression. After the final client ordering repair, the affected chat suite passed all 20 cases and the nine affected installed-browser cases passed again. The prior 12 card-context cases cover the unchanged four-field paths. After the logging guard, all three logging-contract cases and the actual fitted main/bond provider/log equality probe passed again on the final server payload; existing animation/audio/security guards passed.8eb7c74a6a531f408b9f3d0396f8f2570bead486ab8d1736205ac1bda235718e).c3edbfcd36c50440edb56e47d3af762bfa1c9f08b117efb03cad3ff1b3b6c28b.Manual verification notes
Browser emulation, controlled viewport geometry and fake providers do not establish physical-device behavior, paid-provider output quality or correction of already generated prose. The broader browser proof used compiled Engine
ad331de19e4eabbdad847c2b7f9a1d9ae8a9bbe2(the delivered shadow-editor keyboard fix). The latest six-case banner replay (capture head189e, with the unchanged client payload) and the final8e manager lifecycle/provider logging proof use the stable compiled Engine candidate334c052d19040daaea8ee5e09f5498cb584abefa; candidate validation is separate from its staging merge.Documentation impact
Updated Gacha Forge README and its package changelog for recovery, chat retention, compact help and four-field card grounding.
UI evidence
Six inspected installed-package screenshots: compact help text, explicit banner Retry, distinctive synthetic loaded portrait without the fallback, ordered first reply, same-window archived history, and the controlled unreproduced Context case. The comment identifies exact capture heads and physical-device/provider limitations.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.