mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #542] [MERGED] feat: add Gacha Forge (Collection slice) 1.0.0 #1017
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#1017
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/542
Author: @SonaGat3
Created: 8/24/2026
Status: ✅ Merged
Merged: 8/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feature/gacha-forge-package📝 Commits (3)
5e8e044feat: add Gacha Forge (Collection slice) 1.0.0f5a47e3fix: remove trailing whitespace from the Gacha Forge client bundlebde50daMerge branch 'staging' into feature/gacha-forge-package📊 Changes
16 files changed (+3574 additions, -3 deletions)
View changed files
📝
README.md(+2 -1)➕
artifacts/gacha-forge-1.0.0.zip(+0 -0)➕
artwork/agent-covers/gacha-forge.png(+0 -0)📝
catalog/catalog.json(+78 -0)📝
catalog/v2/catalog.json(+78 -0)📝
catalog/v3/catalog.json(+78 -0)➕
packages/gacha-forge/README.md(+24 -0)➕
packages/gacha-forge/agents.json(+22 -0)➕
packages/gacha-forge/client.js(+3065 -0)➕
packages/gacha-forge/gacha-forge-icon.png(+0 -0)➕
packages/gacha-forge/locales/en.json(+17 -0)➕
packages/gacha-forge/manifest.json(+68 -0)➕
packages/gacha-forge/server.mjs(+65 -0)➕
scripts/build-gacha-forge-package.mjs(+71 -0)📝
scripts/catalog-package-guidance.mjs(+4 -0)📝
scripts/validate-catalog.mjs(+2 -2)📄 Description
New feature package: a standalone gacha game mode as a Home browser tab. Pre-built payload bundles with their own builder (build-gacha-forge-package.mjs) re-deriving manifest hashes, locale, deterministic zip, and catalog entry.
Pull request
Linked issue
Closes #541
Why this change
The catalog has no collection/gacha Experience. Gacha Forge adds a standalone gacha game mode as a Home browser tab (same surface shape as Noodle and Slurp): forge a world from your lorebooks, pull on banners with pity, and collect the cast the model writes and paints.
Follows up on the maintainer's request to split the package into reviewable slices: this PR is the first slice (Collection) — world forging, banners, portraits and banner art, the Units browser, and the Home scene with its pickers. Combat, story, materials, equipment and events are drawn locked and ship as follow-up PRs, one system each.
What changed
New package packages/gacha-forge/: manifest.json (schema v2, with builtAgainst provenance), agents.json, pre-built client.js and server.mjs bundles, gacha-forge-icon.png (Home tab icon), generated locales/en.json, and a package README.md.
New builder scripts/build-gacha-forge-package.mjs: re-derives manifest hashes and the English locale from the committed payload bytes, writes the reproducible artifact zip with createDeterministicZip, and updates the catalog family through writeCatalogFamily (lanes are routed from the manifest's Engine range, never hand-placed).
artifacts/gacha-forge-1.0.0.zip (deterministic, store-only).
Catalog lanes regenerated: catalog/catalog.json, catalog/v2/, catalog/v3/ (the package publishes to v2 and v3).
scripts/catalog-package-guidance.mjs: activation guidance entry for gacha-forge.
scripts/validate-catalog.mjs: package-count assertion 36 → 37 (24 agents, 13 features).
Root README.md: catalog counts, the v2.4.4 compatibility list, and a Misc Agents row.
artwork/agent-covers/gacha-forge.png (512×512 catalog cover).
Package and security impact
- routes — the package's own game routes (28 in this slice), registered through the capability runtime; all privileged by the Engine's standard capability-route guard.
- network — loopback HTTP to the Engine's own APIs for portrait/banner-art generation and lorebook reads (/api/characters/avatar-generation, /api/global-gallery/upload, /api/lorebooks); nothing leaves the machine.
- storage — world/session state as capability documents; generated art is stored in the Global Gallery with global-gallery: references so the Engine's cleanup never orphans it.
- ui — the Home browser tab client.
- No chat-read/chat-write: the package never touches chats.
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Tested on a clean Marinara Engine staging checkout (2.4.4 @ ddc712b) with a fresh profile — no pre-existing worlds, portraits, or art, so first-run branches actually ran.
Full flow played end to end: world creation from lorebooks (cast slots honored), founding banner splash painted automatically at the end of world creation, featured banner art painted on first sight, pulls with pity, portraits generated per unit, Units browser and unit sheets, Home scene with background and unit pickers.
Full Agents → Download Agents lifecycle exercised against the exact catalog entry and artifact zip from this branch (served through a throwaway catalog override): update to 1.0.0 with checksum verification and restart prompt; uninstall with cleanup verified after restart (package absent from health, client route 404, Home tab gone); fresh install from the catalog with the package active and its client served again.
Existing game worlds survived the uninstall → reinstall cycle intact — world state lives in the Engine's capability-document storage, not in the package payload, so removing the package never destroys player data.
Documentation impact
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.