[PR #1768] [MERGED] fix(gacha-forge): start seasonal events after a chapter again (1.24.10) #1958

Closed
opened 2026-11-07 16:38:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/gacha-forge-event-boundary


📝 Commits (3)

  • 6143c6d fix(gacha-forge): start seasonal events after a chapter again (1.24.10)
  • d6740a7 Merge branch 'staging' into fix/gacha-forge-event-boundary
  • efea80c Merge branch 'staging' into fix/gacha-forge-event-boundary

📊 Changes

18 files changed (+208 additions, -70 deletions)

View changed files

➕ artifacts/gacha-forge-1.24.10.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/bundle-patches.json (+18 -0)
📝 packages/gacha-forge/client.js (+13 -4)
📝 packages/gacha-forge/manifest.json (+5 -5)
📝 packages/gacha-forge/server.mjs (+18 -6)
📝 packages/gacha-forge/src/seasonal-events-client.mjs (+7 -1)
📝 packages/gacha-forge/src/seasonal-events-en.mjs (+3 -0)
📝 packages/gacha-forge/src/seasonal-events-server.mjs (+18 -6)
📝 tests/gacha-forge-seasonal-admission.regression.mjs (+11 -5)
📝 tests/gacha-forge-seasonal-events-client.regression.mjs (+39 -0)
📝 tests/gacha-forge-seasonal-events.regression.mjs (+29 -1)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Fixes #1767

Why this change

The maintainer couldn't start a seasonal story event after finishing a chapter. The event card said to finish the current main chapter or Character Story first.

frontier() closed the event window whenever:

  • any main chapter was forged but not fully played; or
  • any Character Story part had fewer than 3 beats, including 0.

So a chapter or Character Story that was opened (its plan written) but never started blocked events, and the card never said which one.

What changed

Package gacha-forge 1.24.10.

  • What blocks an event now. Only a story in progress closes the window: a main chapter or a Character Story part with some, but not all, of it played (src/seasonal-events-server.mjs).
  • A forged but unstarted story no longer blocks it. It waits behind the open event as before: guardMain blocks its story start, battle start and completion until the event is done, so canon order is unchanged.
  • The event card names the blocker: "Finish Chapter 3 before starting this event." or "Finish Arden's Character Story before starting this event." (src/seasonal-events-client.mjs, src/seasonal-events-en.mjs).
  • Starting a chapter while an event is open names the event to finish first, instead of "That beat could not be started." This is a client ledger edit.
  • Release: CHANGELOG and in-game What's new (1.24.9 pinned), manifest, artifact and catalog.

Package and security impact

  • Affected package IDs: gacha-forge
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none. /story-events events carry an optional blockedBy.
  • 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

Agent-side checks:

  • All 68 tests/gacha-forge-*.regression.mjs files pass locally.
  • gacha-forge-seasonal-events checks that:
    • a forged-but-unstarted chapter allows the event;
    • an in-progress chapter blocks it and names the chapter;
    • Character Story parts at 0, 1 and 3 beats behave as described;
    • the existing boundary race now moves chapter 2 into progress.
  • gacha-forge-seasonal-admission: both orderings stay serialized. Main or Character Story first now lets the queued event open afterwards; event first still refuses the other with story-event-open.
  • gacha-forge-seasonal-events-client: the card text for each blocker, escaped.

To verify by hand:

  • Finish a chapter, open the Events tab. The current event can be played.
  • Forge the next chapter without playing it. The event can still be played; the chapter waits until the event is finished.
  • Play part of the next chapter. The event card says "Finish Chapter N before starting this event."
  • Open a Character Story and play one beat. The card names that character's story.

Documentation impact

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

UI evidence (if applicable)

Text-only change on the event card and the chapter notice.

🤖 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/1768 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/gacha-forge-event-boundary` --- ### 📝 Commits (3) - [`6143c6d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6143c6dc12ced99203fba3ad5f2b6b9dcc06912b) fix(gacha-forge): start seasonal events after a chapter again (1.24.10) - [`d6740a7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d6740a7e1d4d4ee3c6359b840119c045d169cc55) Merge branch 'staging' into fix/gacha-forge-event-boundary - [`efea80c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/efea80c25cca05dfcd513bb3272050e62d9b7e2e) Merge branch 'staging' into fix/gacha-forge-event-boundary ### 📊 Changes **18 files changed** (+208 additions, -70 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/gacha-forge-1.24.10.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/bundle-patches.json` (+18 -0) 📝 `packages/gacha-forge/client.js` (+13 -4) 📝 `packages/gacha-forge/manifest.json` (+5 -5) 📝 `packages/gacha-forge/server.mjs` (+18 -6) 📝 `packages/gacha-forge/src/seasonal-events-client.mjs` (+7 -1) 📝 `packages/gacha-forge/src/seasonal-events-en.mjs` (+3 -0) 📝 `packages/gacha-forge/src/seasonal-events-server.mjs` (+18 -6) 📝 `tests/gacha-forge-seasonal-admission.regression.mjs` (+11 -5) 📝 `tests/gacha-forge-seasonal-events-client.regression.mjs` (+39 -0) 📝 `tests/gacha-forge-seasonal-events.regression.mjs` (+29 -1) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Fixes #1767 ## Why this change The maintainer couldn't start a seasonal story event after finishing a chapter. The event card said to finish the current main chapter or Character Story first. `frontier()` closed the event window whenever: - any main chapter was forged but not fully played; or - any Character Story part had fewer than 3 beats, including 0. So a chapter or Character Story that was opened (its plan written) but never started blocked events, and the card never said which one. ## What changed Package `gacha-forge` 1.24.10. - **What blocks an event now.** Only a story in progress closes the window: a main chapter or a Character Story part with some, but not all, of it played (`src/seasonal-events-server.mjs`). - **A forged but unstarted story** no longer blocks it. It waits behind the open event as before: `guardMain` blocks its story start, battle start and completion until the event is done, so canon order is unchanged. - **The event card names the blocker:** "Finish Chapter 3 before starting this event." or "Finish Arden's Character Story before starting this event." (`src/seasonal-events-client.mjs`, `src/seasonal-events-en.mjs`). - **Starting a chapter while an event is open** names the event to finish first, instead of "That beat could not be started." This is a client ledger edit. - **Release:** CHANGELOG and in-game What's new (1.24.9 pinned), manifest, artifact and catalog. ## Package and security impact - Affected package IDs: `gacha-forge` - Engine compatibility impact: none. - New or changed permissions/entrypoints: none. `/story-events` events carry an optional `blockedBy`. - 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 Agent-side checks: - All 68 `tests/gacha-forge-*.regression.mjs` files pass locally. - `gacha-forge-seasonal-events` checks that: - a forged-but-unstarted chapter allows the event; - an in-progress chapter blocks it and names the chapter; - Character Story parts at 0, 1 and 3 beats behave as described; - the existing boundary race now moves chapter 2 into progress. - `gacha-forge-seasonal-admission`: both orderings stay serialized. Main or Character Story first now lets the queued event open afterwards; event first still refuses the other with `story-event-open`. - `gacha-forge-seasonal-events-client`: the card text for each blocker, escaped. To verify by hand: - Finish a chapter, open the Events tab. The current event can be played. - Forge the next chapter without playing it. The event can still be played; the chapter waits until the event is finished. - Play part of the next chapter. The event card says "Finish Chapter N before starting this event." - Open a Character Story and play one beat. The card names that character's story. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Text-only change on the event card and the chapter notice. 🤖 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-11-07 16:38:18 +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#1958
No description provided.