mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1787] [MERGED] feat(gacha-forge): 1.26.0 story events in What happens next, pre-forged #1964
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#1964
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/1787
Author: @SpicyMarinara
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/gacha-forge-event-preforge📝 Commits (4)
fa63669feat(gacha-forge): 1.26.0 story events in What happens next, pre-forged (#1780)1f050fbfix(gacha-forge): 1.26.0 review fixes for event pre-forgeda076d7Merge remote-tracking branch 'origin/staging' into feat/gacha-forge-event-preforgecfaac5eMerge remote-tracking branch 'origin/staging' into feat/gacha-forge-event-preforge📊 Changes
23 files changed (+1413 additions, -166 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+2 -0)➕
artifacts/gacha-forge-1.26.0.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(+8 -2)📝
packages/gacha-forge/bundle-patches.json(+92 -0)📝
packages/gacha-forge/client.js(+98 -21)📝
packages/gacha-forge/docs/seasonal-story-events.md(+2 -1)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+50 -41)📝
packages/gacha-forge/src/chapter-regeneration-client.mjs(+0 -1)📝
packages/gacha-forge/src/seasonal-events-adapter.mjs(+48 -39)📝
packages/gacha-forge/src/seasonal-events-client.mjs(+79 -10)📝
packages/gacha-forge/src/seasonal-events-en.mjs(+10 -0)📝
packages/gacha-forge/src/story-cancel-client.mjs(+0 -1)...and 3 more files
📄 Description
Pull request
Linked issue
Fixes #1780
Follow-up filed: #1786 (a held chapter's big choice can block an open story event; predates this PR, which makes it rarer).
Why this change
The maintainer reported: "I have preforging on, yet when I entered a seasonal event, the story generates only when I enter the first beat." They then asked: "can we make starting events in gacha forge the same way like when we select to start a character story? Basically, instead of choosing a new chapter, we should have an option to instead start an event. And pre-forging should be available for it."
/story-event/preforgewas a stub that always answeredmode: "off", and the client sent all four/preforge*calls for an event there.What changed
Package
gacha-forge1.26.0 (a feature release on top of 1.25.2).src/seasonal-events-adapter.mjs)./preforge*and the/story/cancelflag accept anevent-Nkey, likebond-*.designFight: the same prompt, scale, character canon and document as an opened battle). One dedupe means the chain and an opened battle share a single design./preforge*to the main routes.main-identicalprobe).src/seasonal-events-en.mjs.docs/seasonal-story-events.md, manifest, artifact and catalog. New CI regressions:tests/gacha-forge-event-preforge.regression.mjsandtests/gacha-forge-event-choice.regression.mjs. The seasonal-events e2e now expects the event's pre-forge on the main route with its event key.Package and security impact
gacha-forgeValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
All 73
tests/gacha-forge-*.regression.mjsfiles pass locally (578 by the runner's count; the event pre-forge file runs its 14 cases as one entry). Prettier, eslint,node --checkon both bundles andgit diff --checkare clean.validate-catalogcould not run locally (sparse worktree).New regressions:
gacha-forge-event-preforge(14 cases) drives the real server bundle: an event's scenes are written ahead at no Vigor cost; its fights are designed after the scene before them, once; Cancel and Retry; art mode; an ended or switched-off event reports pre-forge off and paints nothing more, including a fight designed at that moment; the 1.24.10 rule, the main-story hold and memory are unchanged. That main chapters and Character Stories behave byte-identically was proved separately by the design'smain-identicalprobe, not by this file.gacha-forge-event-choice(9 tests) covers the chooser: the option appears only when the event can start and the next chapter is not forged; it is hidden for ended, preparing, blocked, finished and events-off states and with a held Character Story; the open card replaces the next chapter; a started event shows its open card without a reload, even when opening it stopped a refresh of the event list.An investigation workflow mapped main pre-forge, the event flow and the next-story choice, then a designer prototyped this against the real bundles. A critic re-ran every proof and added probes:
It found the stale open card, fixed here with a regression case, and the doc overclaim, reworded here.
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.