[PR #559] [MERGED] feat: Gacha Forge 1.1.0 adds the Farming slice #1024

Closed
opened 2026-10-20 17:33:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/559
Author: @SonaGat3
Created: 8/24/2026
Status: ✅ Merged
Merged: 8/24/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feature/gacha-forge-farming


📝 Commits (3)

  • 00fb3b1 feat: Gacha Forge 1.1.0 adds the Farming slice
  • bae99d0 Merge branch 'staging' into feature/gacha-forge-farming
  • f0a27c9 Merge branch 'staging' into feature/gacha-forge-farming

📊 Changes

11 files changed (+1204 additions, -226 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/gacha-forge-1.1.0.zip (+0 -0)
📝 catalog/catalog.json (+12 -12)
📝 catalog/v2/catalog.json (+12 -12)
📝 catalog/v3/catalog.json (+12 -12)
📝 packages/gacha-forge/README.md (+5 -1)
📝 packages/gacha-forge/agents.json (+1 -1)
📝 packages/gacha-forge/client.js (+1115 -142)
📝 packages/gacha-forge/locales/en.json (+2 -2)
📝 packages/gacha-forge/manifest.json (+9 -9)
📝 packages/gacha-forge/server.mjs (+35 -34)

📄 Description

The units a player collects now have somewhere to go. On top of 1.0.0's collection loop this adds the Materials modes with their three difficulties, a Formation board with presets, the deterministic combat simulation and its result screen, and unit growth (levelling and ascension) on the unit sheet. Battle and Formation are live on the Home from here.

Story chapters, equipment and relics, the inventory, and the events tab stay drawn locked, as follow-up PRs. Two farming stages whose drops have no sink yet -- the Relic Vault and the Tenet Trial -- are drawn locked and refused by the server too, so the screen and the route cannot hold two opinions about the same rule.

The payloads are re-built esbuild bundles from the package's source tree; the manifest hashes, locale, artifact zip and catalog entry are all re-derived from the committed bytes by scripts/build-gacha-forge-package.mjs. Engine compatibility, permissions, entrypoints and the restart requirement are unchanged from 1.0.0; builtAgainst records the staging commit the release was played against.

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #558

Why this change

  • Gacha Forge 1.0.0 shipped the collection half of a gacha and nothing that spends it. A unit has a level, an ascension tier and a formation slot in its own data model, and none of them could move, so the loop ended at the reveal animation. Materials, Battle and Formation were already drawn on the Home as locked doors.
  • This is the second slice of the split the maintainer asked for on #542: one system per PR, each one a version that works on its own.

What changed

  • Affected package: gacha-forge, 1.0.0 → 1.1.0.
  • Materials: four farming stages across three difficulties, entered through a formation like any other fight, paying the materials a unit needs.
  • Formation: a six-slot board with presets.
  • Combat: the deterministic, seeded simulation that resolves a run, plus its result screen. No model call and no randomness the player cannot reproduce.
  • Growth on the unit sheet: levelling and ascension, which is what the materials are for.
  • Battle and Formation are live on the Home from here. Story chapters, equipment and relics, the inventory and the events tab stay drawn locked, as follow-up PRs.
  • Two farming stages whose drops have no sink in this release — the Relic Vault and the Tenet Trial — are drawn locked and refused by the server, so the screen and the route cannot hold two opinions about the same rule.
  • Generated outputs, all re-derived by node scripts/build-gacha-forge-package.mjs from the committed payload bytes: packages/gacha-forge/manifest.json, locales/en.json, artifacts/gacha-forge-1.1.0.zip, and the three catalog lanes. The two READMEs were updated by hand to describe the new scope.

Package and security impact

  • Affected package IDs: gacha-forge.
  • Engine compatibility impact: none. engine.min stays 2.4.4 and maxExclusive stays 4.0.0, so the same v2 and v3 lanes are published. builtAgainst.engineVersion is 2.4.4 and builtAgainst.engineCommit is the staging commit the release was actually played against.
  • New or changed permissions/entrypoints: none. Permissions stay network, routes, storage, ui; entrypoints stay agents.json, client.js, server.mjs. The new screens are the package's own surface — no new host contract is consumed.
  • Restart, storage, update, or uninstall impact: unchanged. restartRequired stays true because the package registers server routes. Storage is the same per-world capability documents the package already wrote; this release adds fields inside them and no new document kind. Update from 1.0.0 keeps every existing world: verified. Uninstall removes the tab and the routes, and leaves the worlds in capability storage: verified.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Everything below was run against a staging checkout of Marinara Engine at 50e52028a (version 2.4.4), rebuilt from source, on Windows.

Repository checks, all green locally, in the order pull-request-checks.yml runs them: npm run check (0 errors), node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-generatedat-determinism.regression.mjs, node scripts/validate-pr-triage.mjs, node scripts/test-owner-approval.mjs, and git diff --check "origin/staging...HEAD" (the three-dot form, empty).

npm run test:security fails on Windows only and for an unrelated reason: scripts/tests/catalog-path-safety.regression.mjs:15 compares resolve("/tmp/package", …), which prepends the current drive letter on Windows, against join(…), which does not. The file does not reference this package.

Install path. 1.0.0 was installed on this Engine through Agents → Download Agents from the official staging catalog — download, checksum, unzip, restart prompt — and activated after the restart. 1.1.0 is not published yet, so it could not be exercised through that same path: it was installed into the Engine's package store and activated after a restart, which covers activation, route registration and the client bundle, but not the download and checksum steps. That is why the box above is left unticked. The artifact in this PR is byte-identical to the one that was played: the built payload, the installed payload and the committed payload have matching hashes for all four files.

Update over 1.0.0. With 1.0.0 installed from the catalog, updating to 1.1.0 kept all three existing worlds: the runs list, their rosters, wallets and banners all read back unchanged.

Uninstall. The package was removed from the Engine's installed set and its version directories deleted, then the Engine restarted: the client bundle and every package route answered 404 and the tab was gone from Home. This was done directly against the package store rather than through the Engine's own uninstall action, so it covers deactivation and route removal but not that action's own cleanup. The worlds stayed in capability storage and came back intact on reinstall, which is the intended behaviour for a game mode.

Modes and surface. The package contributes a Home browser tab and declares conversation, roleplay and game.

Exercised on this exact build, over its own HTTP routes and in the browser, on a world forged from scratch plus the two existing ones:

  • World forging with a lorebook-driven cast, the founding banner, and the featured banner and its paired weapon banner; portraits and banner art generated through the profile's image connection.
  • The Summon rail and splash, the Details sheet's pools, the Units browser, the unit sheet, the Home scene and both of its pickers, and switching between worlds.
  • The full farming loop end to end: /farm listed the stages with what each pays, /farm/start charged 6 Vigor (60 → 54), /farm/battle returned the prebattle against the stage's Effigies, and /farm/claim paid 1,200 Funds and 225 commander XP — taking the account from rank 1 to 2 and its Vigor ceiling from 60 to 61. A second run on the XP stage dropped 12 Insight Shards.
  • Growth on the back of that: spending 20 of those shards took the unit from Lv 1 to Lv 6, CP 2,369 → 3,080, against the level ceiling the new commander rank had just raised.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

image image image image

Summary by CodeRabbit

  • New Features
    • Released Gacha Forge 1.1.0: Farming.
    • Added materials farming, formation presets, deterministic battles, battle results, character leveling, and ascension.
    • Made Battle and Formation available from Home.
  • Documentation
    • Updated descriptions and usage documentation to reflect the new gameplay features and current content availability.
    • Clarified which story, equipment, relic, inventory, event, and farming content remains unavailable.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/559 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 8/24/2026 **Status:** ✅ Merged **Merged:** 8/24/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feature/gacha-forge-farming` --- ### 📝 Commits (3) - [`00fb3b1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/00fb3b17d049d10888c0b5a729330b7c32717e7e) feat: Gacha Forge 1.1.0 adds the Farming slice - [`bae99d0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bae99d0e9ba608b5d5d224abb80736308fcc7494) Merge branch 'staging' into feature/gacha-forge-farming - [`f0a27c9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f0a27c9bae0d22a443de350968a0dc66a8883390) Merge branch 'staging' into feature/gacha-forge-farming ### 📊 Changes **11 files changed** (+1204 additions, -226 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/gacha-forge-1.1.0.zip` (+0 -0) 📝 `catalog/catalog.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+12 -12) 📝 `packages/gacha-forge/README.md` (+5 -1) 📝 `packages/gacha-forge/agents.json` (+1 -1) 📝 `packages/gacha-forge/client.js` (+1115 -142) 📝 `packages/gacha-forge/locales/en.json` (+2 -2) 📝 `packages/gacha-forge/manifest.json` (+9 -9) 📝 `packages/gacha-forge/server.mjs` (+35 -34) </details> ### 📄 Description The units a player collects now have somewhere to go. On top of 1.0.0's collection loop this adds the Materials modes with their three difficulties, a Formation board with presets, the deterministic combat simulation and its result screen, and unit growth (levelling and ascension) on the unit sheet. Battle and Formation are live on the Home from here. Story chapters, equipment and relics, the inventory, and the events tab stay drawn locked, as follow-up PRs. Two farming stages whose drops have no sink yet -- the Relic Vault and the Tenet Trial -- are drawn locked and refused by the server too, so the screen and the route cannot hold two opinions about the same rule. The payloads are re-built esbuild bundles from the package's source tree; the manifest hashes, locale, artifact zip and catalog entry are all re-derived from the committed bytes by scripts/build-gacha-forge-package.mjs. Engine compatibility, permissions, entrypoints and the restart requirement are unchanged from 1.0.0; builtAgainst records the staging commit the release was played against. # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #558 ## Why this change - Gacha Forge 1.0.0 shipped the collection half of a gacha and nothing that spends it. A unit has a level, an ascension tier and a formation slot in its own data model, and none of them could move, so the loop ended at the reveal animation. Materials, Battle and Formation were already drawn on the Home as locked doors. - This is the second slice of the split the maintainer asked for on #542: one system per PR, each one a version that works on its own. ## What changed - Affected package: gacha-forge, 1.0.0 → 1.1.0. - Materials: four farming stages across three difficulties, entered through a formation like any other fight, paying the materials a unit needs. - Formation: a six-slot board with presets. - Combat: the deterministic, seeded simulation that resolves a run, plus its result screen. No model call and no randomness the player cannot reproduce. - Growth on the unit sheet: levelling and ascension, which is what the materials are for. - Battle and Formation are live on the Home from here. Story chapters, equipment and relics, the inventory and the events tab stay drawn locked, as follow-up PRs. - Two farming stages whose drops have no sink in this release — the Relic Vault and the Tenet Trial — are drawn locked and refused by the server, so the screen and the route cannot hold two opinions about the same rule. - Generated outputs, all re-derived by node scripts/build-gacha-forge-package.mjs from the committed payload bytes: packages/gacha-forge/manifest.json, locales/en.json, artifacts/gacha-forge-1.1.0.zip, and the three catalog lanes. The two READMEs were updated by hand to describe the new scope. ## Package and security impact - Affected package IDs: gacha-forge. - Engine compatibility impact: none. engine.min stays 2.4.4 and maxExclusive stays 4.0.0, so the same v2 and v3 lanes are published. builtAgainst.engineVersion is 2.4.4 and builtAgainst.engineCommit is the staging commit the release was actually played against. - New or changed permissions/entrypoints: none. Permissions stay network, routes, storage, ui; entrypoints stay agents.json, client.js, server.mjs. The new screens are the package's own surface — no new host contract is consumed. - Restart, storage, update, or uninstall impact: unchanged. restartRequired stays true because the package registers server routes. Storage is the same per-world capability documents the package already wrote; this release adds fields inside them and no new document kind. Update from 1.0.0 keeps every existing world: verified. Uninstall removes the tab and the routes, and leaves the worlds in capability storage: verified. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Everything below was run against a staging checkout of Marinara Engine at 50e52028a (version 2.4.4), rebuilt from source, on Windows. Repository checks, all green locally, in the order pull-request-checks.yml runs them: npm run check (0 errors), node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-generatedat-determinism.regression.mjs, node scripts/validate-pr-triage.mjs, node scripts/test-owner-approval.mjs, and git diff --check "origin/staging...HEAD" (the three-dot form, empty). npm run test:security fails on Windows only and for an unrelated reason: scripts/tests/catalog-path-safety.regression.mjs:15 compares resolve("/tmp/package", …), which prepends the current drive letter on Windows, against join(…), which does not. The file does not reference this package. Install path. 1.0.0 was installed on this Engine through Agents → Download Agents from the official staging catalog — download, checksum, unzip, restart prompt — and activated after the restart. 1.1.0 is not published yet, so it could not be exercised through that same path: it was installed into the Engine's package store and activated after a restart, which covers activation, route registration and the client bundle, but not the download and checksum steps. That is why the box above is left unticked. The artifact in this PR is byte-identical to the one that was played: the built payload, the installed payload and the committed payload have matching hashes for all four files. Update over 1.0.0. With 1.0.0 installed from the catalog, updating to 1.1.0 kept all three existing worlds: the runs list, their rosters, wallets and banners all read back unchanged. Uninstall. The package was removed from the Engine's installed set and its version directories deleted, then the Engine restarted: the client bundle and every package route answered 404 and the tab was gone from Home. This was done directly against the package store rather than through the Engine's own uninstall action, so it covers deactivation and route removal but not that action's own cleanup. The worlds stayed in capability storage and came back intact on reinstall, which is the intended behaviour for a game mode. Modes and surface. The package contributes a Home browser tab and declares conversation, roleplay and game. Exercised on this exact build, over its own HTTP routes and in the browser, on a world forged from scratch plus the two existing ones: - World forging with a lorebook-driven cast, the founding banner, and the featured banner and its paired weapon banner; portraits and banner art generated through the profile's image connection. - The Summon rail and splash, the Details sheet's pools, the Units browser, the unit sheet, the Home scene and both of its pickers, and switching between worlds. - The full farming loop end to end: /farm listed the stages with what each pays, /farm/start charged 6 Vigor (60 → 54), /farm/battle returned the prebattle against the stage's Effigies, and /farm/claim paid 1,200 Funds and 225 commander XP — taking the account from rank 1 to 2 and its Vigor ceiling from 60 to 61. A second run on the XP stage dropped 12 Insight Shards. - Growth on the back of that: spending 20 of those shards took the unit from Lv 1 to Lv 6, CP 2,369 → 3,080, against the level ceiling the new commander rank had just raised. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/df2215c2-8b82-4805-b354-2596b1c1e1a2" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/7b07bc35-ea9d-437e-9d4d-18934ef11985" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/6471534f-e686-4bf5-809b-27da2c1f0104" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/465cf98f-5ddc-4cc1-bc7b-9c123e41a130" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Released Gacha Forge 1.1.0: Farming. * Added materials farming, formation presets, deterministic battles, battle results, character leveling, and ascension. * Made Battle and Formation available from Home. * **Documentation** * Updated descriptions and usage documentation to reflect the new gameplay features and current content availability. * Clarified which story, equipment, relic, inventory, event, and farming content remains unavailable. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:33:19 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1024
No description provided.