[PR #597] [MERGED] feat: Gacha Forge 1.3.0 completes the game mode #1037

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

📋 Pull Request Information

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

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


📝 Commits (2)

  • 017b728 feat: Gacha Forge 1.3.0 completes the game mode
  • 458fc7c Merge branch 'staging' into feature/gacha-forge-complete

📊 Changes

11 files changed (+1094 additions, -308 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/gacha-forge-1.3.0.zip (+0 -0)
📝 catalog/preview/catalog.json (+11 -11)
📝 catalog/preview/v2/catalog.json (+11 -11)
📝 catalog/preview/v3/catalog.json (+11 -11)
📝 packages/gacha-forge/README.md (+22 -4)
📝 packages/gacha-forge/agents.json (+1 -1)
📝 packages/gacha-forge/client.js (+976 -208)
📝 packages/gacha-forge/locales/en.json (+2 -2)
📝 packages/gacha-forge/manifest.json (+8 -8)
📝 packages/gacha-forge/server.mjs (+51 -51)

📄 Description

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 #596

Why this change

  • Gacha Forge shipped to staging testers in three parts — collection (1.0.0), farming (1.1.0), story (1.2.0) — and each release deliberately drew the next system locked rather than absent, so the interface would not change shape under a player when it arrived. Two of those doors were still shut: the farming drops had nowhere to be spent, and there was no login event or pass, which also meant the Mandate — the material the ability tracks need at their last steps — had no source anywhere, so a unit could not be finished.
  • This release opens both, which is what makes the mode complete rather than a set of parts.

What changed

Affected package: gacha-forge (1.2.0 → 1.3.0).

Progression — the spend for what the farming drops.

  • The Inventory screen: relics and materials, with relic feeding and locking from the screen itself.
  • A unit's sheet regains Gear (a weapon plus four relic slots), Form (three separate ability tracks — ultimate, passive, and the weapon's own skill) and Facets (what a duplicate character buys).
  • Six routes: /inventory, /equip, /relics, /relic/feed, /relic/lock, /form-up.
  • With the sinks in place the Relic Vault and the Tenet Trial open. The list that refused them leaves the server entirely rather than staying behind as an empty list; the Materials screen keeps the ability to draw a stage locked, since a future release may need it again.

Events — the reason to come back tomorrow.

  • The events tab, a 7 Day Login Event, and a 30-day battle pass with daily, weekly and season missions in three tabs plus one re-roll a day.
  • Three routes: /events/claim, /pass/claim, /pass/reroll. The package now registers 60.
  • The login week renews off the same day index the material rotation already uses — no scheduler and no second calendar — and the week is identified by its Monday, so a week that has already passed starts at day 1 instead of paying out seven days at once.
  • The pass grants what was earned but unclaimed when a season renews, rather than letting it expire silently.
  • The Mandate gets its source (day 6 of the login week, plus four across a pass season), so the sentence on the Form track that explained where Mandates come from stops being false.

Two side rails, and a door for them inside the game.

  • The space left beside the 16:9 frame now carries a collapsible help Q&A on the left and the player-facing changelog on the right, both declared as data.
  • Because a rail is only what is left over — it disappears in fullscreen, on a phone, and in a tall window — neither can be the only place its content lives. The same two lists are also Settings categories, reached by the gear that is already on every screen. The rail whose content is on screen steps aside, so neither list is ever drawn twice at once.

It also reworks screens that already shipped

  • Units, the roster grid (shipped in 1.0.0). Its card text joins the shared type ramp and moves up one step — the name from 13.6px to 17.8px at the default scale — instead of six hand-written sizes that fell between the ramp's steps. The protagonist's "You" tag is gone; the coral edge on its card is the only marker now. And returning from a unit's sheet re-requests the grid, so a level bought on the sheet shows on the card instead of waiting for a screen change.
  • The runs manager (shipped in 1.0.0) re-requests state when it opens. Each row prints a progress line that only a state read refreshes, and the manager was showing it as it stood at boot.
  • Materials and the farming routes (shipped in 1.1.0). Vigor is charged in one place instead of two, and every wallet figure a farming route returns is a projection of a single builder, so the top bar refreshes on any farming read instead of going stale until the next screen.
  • The story's completion route (shipped in 1.2.0) now checks that its write landed. That save does not retry — it reports failure when another write wins the revision — and the portrait queue writes the same session in parallel, so a lost race showed the player a reward the disk had not kept. It answers with a write conflict and consumes nothing instead, and the retry pays in full.

Package and security impact

  • Affected package IDs: gacha-forge
  • Engine compatibility impact: none. engine.min stays 2.4.4 and maxExclusive 4.0.0, unchanged from 1.2.0.
  • New or changed permissions/entrypoints: none. Permissions stay network, routes, storage, ui; entrypoints are unchanged. Nine new routes are registered under the package's existing routes permission, taking it from 51 to 60.
  • Restart, storage, update, or uninstall impact: restartRequired stays true — the server entrypoint changed, and the nine new routes only register on restart. Storage stays in the package's own capability documents; no schema migration. A world created on 1.2.0 opens on 1.3.0 with the new systems available and nothing rewritten: what is missing is written lazily on first read rather than by a migration pass. Uninstall removes the tab and its routes after a restart, and leaves the capability documents alone — a reinstall finds the same worlds.
  • Availability: stays staging only. The catalog entry is routed to the preview overlay, so the three published lanes keep their 36 packages (24 agents, 12 features) and the assertion in validate-catalog.mjs is untouched.

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

What the fourth box means, and why it is not ticked. 1.3.0 is not published yet, so there is no catalog entry to install it from: the package was installed by sideloading the built payload into a clean staging Engine clone and restarting it. That exercises activation, the routes, the bundle and the restart prompt, but not the download, the checksum or the unzip. The catalog listing half was verified separately on the merged 1.2.0: with the package uninstalled, a staging Engine offers gacha-forge in Agents → Download Agents, which is the preview overlay being read behind the channel gate.

Repository checks, in the workflow's own order. 11 of the 12 steps in Catalog validation pass locally. The one that fails is npm run test:security, and it is unrelated to this PR: it fails at scripts/tests/catalog-path-safety.regression.mjs:15, where resolve("/tmp/package") returns a path with a drive letter on Windows and join does not. That file does not mention gacha-forge.

  • npm run check — pass
  • node scripts/test-catalog-lanes.mjs — pass
  • node scripts/validate-package-locales.mjs — pass
  • node scripts/validate-catalog.mjs — pass: 36 packages (24 agents, 12 features); Preview overlay valid: 1 staging-only package(s) (gacha-forge) — hidden from stable users; lanes v2=36, v3=36
  • node scripts/tests/catalog-generatedat-determinism.regression.mjs — pass
  • node scripts/validate-pr-triage.mjs, node scripts/test-owner-approval.mjs — pass
  • git diff --check "origin/staging...HEAD" — empty. (The three-dot form, which is what the workflow runs; the bare git diff --check inspects the working tree and says nothing about the branch.)

The build is reproducible. Re-running node scripts/build-gacha-forge-package.mjs over the committed bytes leaves the tree with zero changes, and the artifact's sha256 in all three preview lanes matches the committed zip (946,446 bytes).

Played, not just built. The mode was exercised in a staging Engine clone across three worlds: world creation from lorebooks, pulling on both banners, a chapter forged and played beat by beat with its combat, farming runs with their claim, levelling and ascension, equipping a weapon and relics, walking the Form tracks, the login event and the battle pass — three of the pass's bugs were found this way rather than by a check — and switching between worlds.

Uninstall and reinstall were exercised too, with a restart on each side: after uninstalling, the client and the routes answer 404; after reinstalling, the three worlds and their 120 stored documents are untouched, which is the property that matters — the package lives in capability-packages/ and the saves in storage/tables/capability_documents/.

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 image image

Summary by CodeRabbit

  • New Features

    • Gacha Forge 1.3.0 now highlights gear progression, unit training, formations, materials, login events, battle passes, and expanded farming stages.
    • Updated game documentation covers route registration, improved interfaces, completion-save conflict handling, and responsive help and changelog panels.
  • Documentation

    • Refreshed package descriptions to reflect the completed 1.3.0 experience and available gameplay systems.
  • Chores

    • Updated release catalogs, artifact details, file metadata, checksums, and package version information for 1.3.0.

🔄 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/597 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feature/gacha-forge-complete` --- ### 📝 Commits (2) - [`017b728`](https://github.com/Pasta-Devs/Marinara-Agents/commit/017b72885b05d390eab35d7e494db2aa6df30a2d) feat: Gacha Forge 1.3.0 completes the game mode - [`458fc7c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/458fc7c8b3feea2c55d1434e1f847364b41305a5) Merge branch 'staging' into feature/gacha-forge-complete ### 📊 Changes **11 files changed** (+1094 additions, -308 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/gacha-forge-1.3.0.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+11 -11) 📝 `catalog/preview/v2/catalog.json` (+11 -11) 📝 `catalog/preview/v3/catalog.json` (+11 -11) 📝 `packages/gacha-forge/README.md` (+22 -4) 📝 `packages/gacha-forge/agents.json` (+1 -1) 📝 `packages/gacha-forge/client.js` (+976 -208) 📝 `packages/gacha-forge/locales/en.json` (+2 -2) 📝 `packages/gacha-forge/manifest.json` (+8 -8) 📝 `packages/gacha-forge/server.mjs` (+51 -51) </details> ### 📄 Description # 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 #596 ## Why this change - Gacha Forge shipped to staging testers in three parts — collection (1.0.0), farming (1.1.0), story (1.2.0) — and each release deliberately drew the next system locked rather than absent, so the interface would not change shape under a player when it arrived. Two of those doors were still shut: the farming drops had nowhere to be spent, and there was no login event or pass, which also meant the Mandate — the material the ability tracks need at their last steps — had no source anywhere, so a unit could not be finished. - This release opens both, which is what makes the mode complete rather than a set of parts. ## What changed Affected package: gacha-forge (1.2.0 → 1.3.0). **Progression** — the spend for what the farming drops. - The Inventory screen: relics and materials, with relic feeding and locking from the screen itself. - A unit's sheet regains Gear (a weapon plus four relic slots), Form (three separate ability tracks — ultimate, passive, and the weapon's own skill) and Facets (what a duplicate character buys). - Six routes: /inventory, /equip, /relics, /relic/feed, /relic/lock, /form-up. - With the sinks in place the Relic Vault and the Tenet Trial open. The list that refused them leaves the server entirely rather than staying behind as an empty list; the Materials screen keeps the ability to draw a stage locked, since a future release may need it again. **Events** — the reason to come back tomorrow. - The events tab, a 7 Day Login Event, and a 30-day battle pass with daily, weekly and season missions in three tabs plus one re-roll a day. - Three routes: /events/claim, /pass/claim, /pass/reroll. The package now registers 60. - The login week renews off the same day index the material rotation already uses — no scheduler and no second calendar — and the week is identified by its Monday, so a week that has already passed starts at day 1 instead of paying out seven days at once. - The pass grants what was earned but unclaimed when a season renews, rather than letting it expire silently. - The Mandate gets its source (day 6 of the login week, plus four across a pass season), so the sentence on the Form track that explained where Mandates come from stops being false. **Two side rails, and a door for them inside the game.** - The space left beside the 16:9 frame now carries a collapsible help Q&A on the left and the player-facing changelog on the right, both declared as data. - Because a rail is only what is left over — it disappears in fullscreen, on a phone, and in a tall window — neither can be the only place its content lives. The same two lists are also Settings categories, reached by the gear that is already on every screen. The rail whose content is on screen steps aside, so neither list is ever drawn twice at once. **It also reworks screens that already shipped** - Units, the roster grid (shipped in 1.0.0). Its card text joins the shared type ramp and moves up one step — the name from 13.6px to 17.8px at the default scale — instead of six hand-written sizes that fell between the ramp's steps. The protagonist's "You" tag is gone; the coral edge on its card is the only marker now. And returning from a unit's sheet re-requests the grid, so a level bought on the sheet shows on the card instead of waiting for a screen change. - The runs manager (shipped in 1.0.0) re-requests state when it opens. Each row prints a progress line that only a state read refreshes, and the manager was showing it as it stood at boot. - Materials and the farming routes (shipped in 1.1.0). Vigor is charged in one place instead of two, and every wallet figure a farming route returns is a projection of a single builder, so the top bar refreshes on any farming read instead of going stale until the next screen. - The story's completion route (shipped in 1.2.0) now checks that its write landed. That save does not retry — it reports failure when another write wins the revision — and the portrait queue writes the same session in parallel, so a lost race showed the player a reward the disk had not kept. It answers with a write conflict and consumes nothing instead, and the retry pays in full. ## Package and security impact - Affected package IDs: gacha-forge - Engine compatibility impact: none. engine.min stays 2.4.4 and maxExclusive 4.0.0, unchanged from 1.2.0. - New or changed permissions/entrypoints: none. Permissions stay network, routes, storage, ui; entrypoints are unchanged. Nine new routes are registered under the package's existing routes permission, taking it from 51 to 60. - Restart, storage, update, or uninstall impact: restartRequired stays true — the server entrypoint changed, and the nine new routes only register on restart. Storage stays in the package's own capability documents; no schema migration. A world created on 1.2.0 opens on 1.3.0 with the new systems available and nothing rewritten: what is missing is written lazily on first read rather than by a migration pass. Uninstall removes the tab and its routes after a restart, and leaves the capability documents alone — a reinstall finds the same worlds. - Availability: stays staging only. The catalog entry is routed to the preview overlay, so the three published lanes keep their 36 packages (24 agents, 12 features) and the assertion in validate-catalog.mjs is untouched. ## Validation - [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 What the fourth box means, and why it is not ticked. 1.3.0 is not published yet, so there is no catalog entry to install it from: the package was installed by sideloading the built payload into a clean staging Engine clone and restarting it. That exercises activation, the routes, the bundle and the restart prompt, but not the download, the checksum or the unzip. The catalog listing half was verified separately on the merged 1.2.0: with the package uninstalled, a staging Engine offers gacha-forge in Agents → Download Agents, which is the preview overlay being read behind the channel gate. Repository checks, in the workflow's own order. 11 of the 12 steps in Catalog validation pass locally. The one that fails is npm run test:security, and it is unrelated to this PR: it fails at scripts/tests/catalog-path-safety.regression.mjs:15, where resolve("/tmp/package") returns a path with a drive letter on Windows and join does not. That file does not mention gacha-forge. - npm run check — pass - node scripts/test-catalog-lanes.mjs — pass - node scripts/validate-package-locales.mjs — pass - node scripts/validate-catalog.mjs — pass: 36 packages (24 agents, 12 features); Preview overlay valid: 1 staging-only package(s) (gacha-forge) — hidden from stable users; lanes v2=36, v3=36 - node scripts/tests/catalog-generatedat-determinism.regression.mjs — pass - node scripts/validate-pr-triage.mjs, node scripts/test-owner-approval.mjs — pass - git diff --check "origin/staging...HEAD" — empty. (The three-dot form, which is what the workflow runs; the bare git diff --check inspects the working tree and says nothing about the branch.) The build is reproducible. Re-running node scripts/build-gacha-forge-package.mjs over the committed bytes leaves the tree with zero changes, and the artifact's sha256 in all three preview lanes matches the committed zip (946,446 bytes). Played, not just built. The mode was exercised in a staging Engine clone across three worlds: world creation from lorebooks, pulling on both banners, a chapter forged and played beat by beat with its combat, farming runs with their claim, levelling and ascension, equipping a weapon and relics, walking the Form tracks, the login event and the battle pass — three of the pass's bugs were found this way rather than by a check — and switching between worlds. Uninstall and reinstall were exercised too, with a restart on each side: after uninstalling, the client and the routes answer 404; after reinstalling, the three worlds and their 120 stored documents are untouched, which is the property that matters — the package lives in capability-packages/ and the saves in storage/tables/capability_documents/. ## 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/8c7760f9-bc8f-4120-a299-ce3d005bcb45" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/83ec65df-3016-4b5d-9775-8d33f208f0f7" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/be2eeee8-d6b1-4ac6-a1ab-095d800cbaf9" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/1caa429c-5b5c-49c1-a717-6825272700d3" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/63c371dd-ba02-4c64-a72a-a69432abe50a" /> <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/0e2227d0-f4a1-42d6-bd7f-6a93a1de0d0f" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Gacha Forge 1.3.0 now highlights gear progression, unit training, formations, materials, login events, battle passes, and expanded farming stages. - Updated game documentation covers route registration, improved interfaces, completion-save conflict handling, and responsive help and changelog panels. - **Documentation** - Refreshed package descriptions to reflect the completed 1.3.0 experience and available gameplay systems. - **Chores** - Updated release catalogs, artifact details, file metadata, checksums, and package version information for 1.3.0. <!-- 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:27 +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#1037
No description provided.