[PR #1723] [MERGED] fix(gacha-forge): Formation kits on the Skills tab, more room for chapters (1.22.1) #1710

Closed
opened 2026-10-27 06:06:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1723
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/gacha-forge-1-22-1


📝 Commits (3)

  • 7542c79 fix(gacha-forge): show Formation kits on the Skills tab, more room for chapters (1.22.1)
  • 662fcc2 fix(gacha-forge): show turns only for lasting Formation effects
  • 5fc8c2f fix(gacha-forge): no duration on Formation shields; give the core browser suite room

📊 Changes

17 files changed (+378 additions, -120 deletions)

View changed files

📝 .github/workflows/gacha-forge-browser.yml (+1 -1)
➕ artifacts/gacha-forge-1.22.1.zip (+0 -0)
📝 catalog/catalog.json (+12 -12)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+12 -12)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+12 -12)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/gacha-forge/CHANGELOG.md (+5 -0)
📝 packages/gacha-forge/bundle-patches.json (+52 -0)
📝 packages/gacha-forge/client.js (+109 -29)
📝 packages/gacha-forge/manifest.json (+9 -9)
📝 packages/gacha-forge/server.mjs (+4 -4)
📝 packages/gacha-forge/src/formation-combat-client.mjs (+62 -22)
📝 packages/gacha-forge/src/formation-combat-en.mjs (+40 -0)
📝 packages/gacha-forge/src/seasonal-events-adapter.mjs (+1 -1)
📝 tests/package-gacha-forge-formation.e2e.ts (+41 -0)

📄 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 #1722

Why this change

  • After converting a world to Formation combat, each unit card kept the Classic skills. The Formation kit was a plain-text block prepended to whichever tab was open, so the maintainer saw it on Stats, Skills, Gear and the rest.
  • Chapter generation sometimes fails, and the maintainer asked for at least 16k output tokens for chapters.

What changed

  • Skills tab in Formation:
    • A unit's Skills tab shows its Formation kit: Standard ability, Ultimate, Passive and any special mechanics. These use the card's skill-row style and skill art, and replace the Classic skills, which Formation combat does not use (it also ignores Classic skill levels and weapon skills).
    • Each row shows its cost (and native element cost), or the passive's trigger and row. Below that come the ability's description and a short mechanics line: effect, target, power and turns.
    • The plain-text kit block is gone from every tab. Classic worlds are unchanged.
  • Chapter generation: chapter plans, Character Story plans, story beats and event chapter plans now request 16,384 answer tokens on top of the 16,000 reasoning reserve, a 32,384 request in total, up from 24,192. The connection's Max Output Tokens Override and context window still cap the request, as before.
  • gacha-forge 1.22.1, with rebuilt bundles, manifest, artifact, catalog lanes, a changelog entry and an in-game What's new entry.

Package and security impact

  • Affected package IDs: gacha-forge
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

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

Run by the agent:

  • Every tests/gacha-forge-*.regression.mjs and validate-catalog pass against the rebuilt bundle.
  • package-gacha-forge-formation.e2e.ts and package-gacha-forge-units.e2e.ts pass 18/18 on desktop and mobile Chromium. That includes a new test: a Formation unit's Skills tab shows the three kit rows, its trigger, and no Classic skill, and Stats shows no kit text.

Still to do by hand:

  • In a Formation world, open a unit: the Skills tab shows the kit; Stats, Gear and the other tabs show no kit text.
  • Switch the world back to Classic: the Classic skills return.
  • Forge a chapter with your usual connection; if one still fails, open Gacha Forge → Settings → Debug and share the failed chapter-plan entry.

Documentation impact

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

UI evidence (if applicable)

The new browser test's screenshot shows Vale's Skills tab in Formation: Standard ability "Kindled strike" (Cost 0), Ultimate "Lighthouse dawn" (Cost 2) and Passive "Steady watch" (Turn start · Either row), each with skill art and a mechanics line.

🤖 Generated with Claude Code


🔄 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/1723 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/gacha-forge-1-22-1` --- ### 📝 Commits (3) - [`7542c79`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7542c79ac67aa191cd05628747cee8ae8531f6be) fix(gacha-forge): show Formation kits on the Skills tab, more room for chapters (1.22.1) - [`662fcc2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/662fcc2c06f6a4feacbe8046c10c84b994616b6b) fix(gacha-forge): show turns only for lasting Formation effects - [`5fc8c2f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5fc8c2f3e6af4c2d9a737ed939998c98a33c98ea) fix(gacha-forge): no duration on Formation shields; give the core browser suite room ### 📊 Changes **17 files changed** (+378 additions, -120 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/gacha-forge-browser.yml` (+1 -1) ➕ `artifacts/gacha-forge-1.22.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+12 -12) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+12 -12) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+12 -12) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/gacha-forge/CHANGELOG.md` (+5 -0) 📝 `packages/gacha-forge/bundle-patches.json` (+52 -0) 📝 `packages/gacha-forge/client.js` (+109 -29) 📝 `packages/gacha-forge/manifest.json` (+9 -9) 📝 `packages/gacha-forge/server.mjs` (+4 -4) 📝 `packages/gacha-forge/src/formation-combat-client.mjs` (+62 -22) 📝 `packages/gacha-forge/src/formation-combat-en.mjs` (+40 -0) 📝 `packages/gacha-forge/src/seasonal-events-adapter.mjs` (+1 -1) 📝 `tests/package-gacha-forge-formation.e2e.ts` (+41 -0) </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 #1722 ## Why this change - After converting a world to Formation combat, each unit card kept the Classic skills. The Formation kit was a plain-text block prepended to whichever tab was open, so the maintainer saw it on Stats, Skills, Gear and the rest. - Chapter generation sometimes fails, and the maintainer asked for at least 16k output tokens for chapters. ## What changed - **Skills tab in Formation:** - A unit's Skills tab shows its Formation kit: Standard ability, Ultimate, Passive and any special mechanics. These use the card's skill-row style and skill art, and replace the Classic skills, which Formation combat does not use (it also ignores Classic skill levels and weapon skills). - Each row shows its cost (and native element cost), or the passive's trigger and row. Below that come the ability's description and a short mechanics line: effect, target, power and turns. - The plain-text kit block is gone from every tab. Classic worlds are unchanged. - **Chapter generation:** chapter plans, Character Story plans, story beats and event chapter plans now request 16,384 answer tokens on top of the 16,000 reasoning reserve, a 32,384 request in total, up from 24,192. The connection's Max Output Tokens Override and context window still cap the request, as before. - `gacha-forge` 1.22.1, with rebuilt bundles, manifest, artifact, catalog lanes, a changelog entry and an in-game What's new entry. ## Package and security impact - Affected package IDs: `gacha-forge` - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## 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 Run by the agent: - Every `tests/gacha-forge-*.regression.mjs` and `validate-catalog` pass against the rebuilt bundle. - `package-gacha-forge-formation.e2e.ts` and `package-gacha-forge-units.e2e.ts` pass 18/18 on desktop and mobile Chromium. That includes a new test: a Formation unit's Skills tab shows the three kit rows, its trigger, and no Classic skill, and Stats shows no kit text. Still to do by hand: - [ ] In a Formation world, open a unit: the Skills tab shows the kit; Stats, Gear and the other tabs show no kit text. - [ ] Switch the world back to Classic: the Classic skills return. - [ ] Forge a chapter with your usual connection; if one still fails, open Gacha Forge → Settings → Debug and share the failed `chapter-plan` entry. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The new browser test's screenshot shows Vale's Skills tab in Formation: Standard ability "Kindled strike" (Cost 0), Ultimate "Lighthouse dawn" (Cost 2) and Passive "Steady watch" (Turn start · Either row), each with skill art and a mechanics line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 06:06:03 +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#1710
No description provided.