mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1788] [MERGED] fix(gacha-forge): 1.26.1 held chapters wait for an open event; played-only fallback history #1965
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#1965
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/1788
Author: @SpicyMarinara
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/gacha-forge-1784-1786📝 Commits (4)
f5b21c3fix(gacha-forge): 1.26.1 held chapters wait for an open event; played-only fallback history (#1786, #1784)8bbda61fix(gacha-forge): 1.26.1 review fixes for held chapters and played-only history1fbee32Merge remote-tracking branch 'origin/staging' into fix/gacha-forge-1784-178633ed8b7Merge remote-tracking branch 'origin/staging' into fix/gacha-forge-1784-1786📊 Changes
19 files changed (+583 additions, -94 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+1 -0)➕
artifacts/gacha-forge-1.26.1.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+5 -0)📝
packages/gacha-forge/README.md(+6 -0)📝
packages/gacha-forge/bundle-patches.json(+52 -0)📝
packages/gacha-forge/client.js(+2 -2)📝
packages/gacha-forge/docs/seasonal-story-events.md(+1 -1)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+44 -26)📝
packages/gacha-forge/src/player-choices-server.mjs(+8 -5)📝
packages/gacha-forge/src/seasonal-events-server.mjs(+22 -12)📝
tests/gacha-forge-event-preforge.regression.mjs(+147 -1)➕
tests/gacha-forge-played-history.regression.mjs(+248 -0)📄 Description
Pull request
Linked issue
Fixes #1784
Fixes #1786
Why this change
The maintainer asked for the open Gacha Forge bug fixes to be taken care of. Both bugs were found by critics during tonight's investigations.
choice-required, and starting the event from Events → Story events failed. The player could not open the held chapter to resolve the choice.What changed
Package
gacha-forge1.26.1 (8 server ledger edits plus src).src/seasonal-events-server.mjs,src/player-choices-server.mjs):mainHoldcheck makeschoiceActivefalse for a main chapter an open event holds. Its pre-forge then reads off while the event runs, the scene in flight is kept, and its pending choice no longer gates the event's chain or scenes.heldAfter), the one the open event holds, so a forged-ahead chapter ending on a big choice no longer blocks starting the event. A Character Story's pending choice is not held, so it still stops the event from opening.forgePlayedFrontier, the same read the current-scene prefix already used). A chapter at or past the frontier keeps only its played scenes./compress/mergerefuses a Character Story that is not played to its end, as it already refused a chapter.docs/seasonal-story-events.md, manifest, artifact and catalog. New CI regression:tests/gacha-forge-played-history.regression.mjs.Package and security impact
gacha-forgeValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
tests/gacha-forge-*.regression.mjsfiles pass locally (584 by the runner's count). Prettier, eslint,node --checkon both bundles andgit diff --checkare clean.validate-catalogcould not run locally (sparse worktree).gacha-forge-played-history(new, 6 tests) drives the real routes: chat, proactive messages, a Character Story plan and its scenes keep every played scene and none that is unplayed or summarized ahead. It covers a chapter and a Character Story fully written but only partly played, then compressed. 4 of the first 5 fail on 1.26.0, removing either summary guard fails test 5, and test 6 (a merge with an unfinished Character Story is refused) fails without the merge guard.gacha-forge-event-preforgegains the #1786 cases: the chain stops while the event holds the chapter; an already written big choice does not refuse the event's scenes or its start; afterwards the chapter's pre-forge and choice resume; a Character Story's pending choice still refuses the event plan (fails with the first version of the guard).identical.mjs10/10).Review:
To verify by hand:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.