mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1708] [MERGED] feat(gacha-forge): save and unlock witnessed Home artwork #1699
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#1699
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/1708
Author: @SpicyMarinara
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/gacha-home-background-downloads📝 Commits (5)
62e9c86feat(gacha-forge): add shared gallery download controller (WIP)4df20edUnlock experienced artwork and download Home backgroundse776a18Merge branch 'staging' into feat/gacha-home-background-downloads71cde76Merge staging into Home artwork downloadsa8d5ddfci(gacha-forge): run artwork authority regressions📊 Changes
25 files changed (+2211 additions, -59 deletions)
View changed files
📝
.github/workflows/gacha-forge-browser.yml(+2 -1)📝
.github/workflows/pull-request-checks.yml(+3 -0)➕
artifacts/gacha-forge-1.21.0.zip(+0 -0)📝
catalog/catalog.json(+24 -9)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+24 -9)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+24 -9)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+6 -0)📝
packages/gacha-forge/README.md(+6 -0)📝
packages/gacha-forge/bundle-patches.json(+86 -0)📝
packages/gacha-forge/client.js(+303 -3)📝
packages/gacha-forge/manifest.json(+21 -6)📝
packages/gacha-forge/server.mjs(+244 -4)➕
packages/gacha-forge/src/background-download-client.mjs(+148 -0)➕
packages/gacha-forge/src/background-unlocks-client.mjs(+139 -0)➕
packages/gacha-forge/src/background-unlocks-server.mjs(+238 -0)📝
packages/gacha-forge/src/player-choices-client.mjs(+9 -0)➕
tests/gacha-forge-background-package.regression.mjs(+205 -0)...and 5 more files
📄 Description
Linked issue
Closes #1705. Uses the merged Pasta-Devs/Marinara-Engine#8334 host capability (API 1.385).
Why this change
Future generated scenes appeared in Home’s background picker before the player reached them, spoiling upcoming scenes. Players also had no direct way to save images from this picker to their device.
What changed
Story backgrounds and key images now unlock only after their image has loaded in a visible scene, including Character Stories and Seasonal events. A brief “New background unlocked” notice confirms a new image. The server protects both the picker list and direct selection, respects saved choices, and permits selected alternate branches during completed-story replay without changing canon.
Every image thumbnail in Home → Background → Change → Story / Story CG / Banners / Bond now has a small download button. Downloading leaves the picker open and does not select the image. The package reuses Engine’s existing gallery helpers, including prepared iPhone native sharing, Android saving and silent cancellation.
Completed canonical scenes and existing background selections migrate safely. Earned snapshots retain their original image and authoritative Gallery reference when later generation replaces the same location. Canon, progression, wallet and unrelated saved records remain intact.
Validation
pnpm check, catalog/localization validation, reversible source rebuild and reproducible official package build passed.a8d5ddf5f44e8b460eb730107b3480841efc3a1apasses all seven required GitHub checks and the additional hosted browser proof (39 passed, one intentional skip). Dottore reviewed the full package-identical integration at71cde760and then the exact final CI delta: both Viable With Notes, zero defects and zero notes, with zero inline threads. The final delta review records two packet/proof-visibility unknowns and one least-privilege pass; the actual hosted log confirms all three added regression commands executed successfully.Manual verification
Coordination
Merged actual
stagingat7d92f5183c6c9d339a9a04c2f2c0c31acaee37ae, preserving the maintainer’se776a18web merge. This PR’s diff against that base contains only artwork/download changes; Gacha Forge 1.20’s proactive messages, context floor, pacing, and cleanup remain baseline behavior. The 25 client and 16 server source-patch groups from staging are unchanged, with only the 1.21 artwork groups appended.Engine API 1.385 is on Engine
staging; the browser workflow keeps that canonical checkout. Unit-card and banner fixes remain in separate PRs. Merged tostagingas9d5efd802bb5f6d722b1dc6654b5e3330fca06e9from reviewed heada8d5ddf5f44e8b460eb730107b3480841efc3a1a. Final-head checks and Dottore Review passed. The public rawstagingand immutable merge catalogs, manifest, client and 1.21.0 ZIP match: 8,682,849 bytes, SHA-256ac99b0f2e877467d6c2cccb71b4b2cb18f08eeb5d56b5092a2c283f8d52c1622, 265 verified payloads plus the manifest. No CDN mismatch was observed. Separately, post-merge CodeQL passed for that exact merge. No stable release or main promotion is claimed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.