mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1786] [Issue]: Gacha Forge: a held chapter's big choice can block an open story event #1753
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#1753
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?
Originally created by @SpicyMarinara on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1786
Originally assigned to: @SpicyMarinara on GitHub.
Summary
If a main chapter's pre-forge writes that chapter's final big choice while a seasonal story event is open, the event's own scenes are refused with
choice-requiredfor the held chapter, and the player cannot resolve that choice because the event holds the chapter. The event stays blocked until it expires or Seasonal events is turned off.Affected package
gacha-forge(1.25.x; less likely in 1.26.0, still possible)Expected behavior
A choice in a chapter that an open event holds never blocks the event. The main chain either stops while the event holds its chapter, or the held chapter's pending choice is ignored by the event's scene guard.
Actual behavior
wt/Ytin server.mjs) keeps writing a forged next chapter after the event opens;Ytdoes not know the chapter is held.forgeChoices.pending(runId)andforgeChoices.guard(runId)are world-wide, so a pending big choice in the held chapter stops the event chain (waitingChoice) and makes/story-event/beatreturn{ok:false,error:"choice-required",chapter:N}.story-event-open), so the player cannot open it to choose.Steps to reproduce
choice-required.Found by the critic in the #1780 investigation (probe
chains.mjs, scenario 2): event status{done:5,next:5,waitingChoice:true}, event scene 5{ok:false,error:'choice-required',chapter:2}. On 1.25.1 the event's first scene is already blocked.Environment
Logs, screenshots, or video
See the probe output above.
Additional context
Suggested fix: a side-effect-free "held by an open event" check (the condition
guardMainuses, without itsretireInactiveFightwrite), used byYtto report pre-forge off for a held main chapter, and bychoiceChapterActiveso a held chapter's pending choice does not gate the event.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: