mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1741] [MERGED] feat(gacha-forge): Back Row steps up when a Front Row unit falls (1.24.5) #1946
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#1946
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/1741
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/gacha-forge-formation-step-up📝 Commits (3)
de52cb6feat(gacha-forge): Back Row steps up when a Front Row unit falls (1.24.5)ef053cafix(gacha-forge): keep step-up seats through shuffles; barrier-aware heirs (1.24.5)48a952ctest(gacha-forge): expect the stepped-up Caster in the Formation plan proof📊 Changes
22 files changed (+860 additions, -122 deletions)
View changed files
➕
artifacts/gacha-forge-1.24.5.zip(+0 -0)📝
catalog/catalog.json(+16 -16)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+16 -16)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+16 -16)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+4 -0)📝
packages/gacha-forge/README.md(+1 -1)📝
packages/gacha-forge/bundle-patches.json(+28 -0)📝
packages/gacha-forge/client.js(+82 -8)📝
packages/gacha-forge/docs/formation-combat.md(+3 -3)📝
packages/gacha-forge/manifest.json(+13 -13)📝
packages/gacha-forge/server.mjs(+65 -10)📝
packages/gacha-forge/src/formation-combat-client.mjs(+19 -0)📝
packages/gacha-forge/src/formation-combat-en.mjs(+1 -1)📝
packages/gacha-forge/src/formation-combat-server.mjs(+4 -4)📝
packages/gacha-forge/src/formation-combat-shared.mjs(+60 -5)📝
tests/gacha-forge-formation-balance.regression.mjs(+23 -3)📝
tests/gacha-forge-formation-combat.regression.mjs(+406 -6)...and 2 more files
📄 Description
Linked issue
Closes #1740
Why this change
In Formation, a battle ended as soon as a side had no living Front Row fighter, even with Back Row supports still alive. Mari reported that when the enemy Front Row dies, the fight stops instead of the enemies in the back moving up to fill the empty spots. Mari chose these rules for the fix:
What changed
src/formation-combat-shared.mjs)kill()steps exactly one living support into the free seat. This happens after the death's ownon_death/on_kill/ally_deathtriggers. It goes through the existingenterRow, so therowevent lands in the death's own step andenter_frontfires.entered = turn, so it acts from its side's next turn.collapse()is unchanged. Step-up keeps the front filled while anyone is left. The balance test now asserts that a beaten side has nobody left.FORGE_FORMATION_RULESgoes from 2 to 3, so a tab left open from 1.24.4 is refused at preview/start and asked to reload.FORGE_FORMATION_ENGINEandFORGE_FORMATION_KIT_PROMPTare unchanged. There are no kit remakes and no model calls; the migration suite passes.formationRevision: 3in the server snapshot, and the claim replay passes the stamp through.src/formation-combat-client.mjs).no-frontFRONT relabel no longer fires in Formation.docs/formation-combat.mdand the README.artifacts/gacha-forge-1.24.5.zip. The 1.24.0–1.24.4 archives are untouched.Classic combat and
formation-combat-legacy.mjsare not changed.Balance (400 seeded Auto-vs-Auto fights)
Fights now continue past the old win point, so the p95 threshold moves from under 25 to under 28. A
ponytail:comment cites the rule change and these numbers. The stall and no-hit limits are unchanged.Validation
npm run check: passed.tests/gacha-forge-*.regression.mjsfiles passed: 475 tests, 0 failed.enteredtiming, both on the opponent's turn and for a dot death at the dying side's own turn start;ally_deathpassive firing before the step-up;enteredtiming each makes a new test fail.Manual verification
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.