mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1760] [MERGED] fix(gacha-forge): forge chapters without waiting for fights or memory (1.24.9) #1955
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#1955
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/1760
Author: @SpicyMarinara
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/gacha-forge-chapter-forge-speed📝 Commits (6)
63c0f61fix(gacha-forge): forge chapters without waiting for fights or memory (1.24.9)5278a8bMerge remote-tracking branch 'origin/staging' into fix/gacha-forge-chapter-forge-speed9c33b72fix(gacha-forge): address 1.24.9 review findings870f037test(gacha-forge): fail clearly if story memory never settles before the seasonal rollback snapshot5865472fix(gacha-forge): pin no client fight prewarm in Keep playing e2e; README 1.24.9 section86646e5Merge remote-tracking branch 'origin/staging' into fix/gacha-forge-chapter-forge-speed📊 Changes
26 files changed (+1362 additions, -260 deletions)
View changed files
➕
artifacts/gacha-forge-1.24.9.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(+6 -0)📝
packages/gacha-forge/README.md(+6 -0)📝
packages/gacha-forge/bundle-patches.json(+48 -0)📝
packages/gacha-forge/client.js(+22 -23)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+128 -32)📝
packages/gacha-forge/src/preforge-art-server.mjs(+15 -0)📝
packages/gacha-forge/src/story-cancel-client.mjs(+17 -18)📝
packages/gacha-forge/src/story-memory-integration.mjs(+17 -8)📝
packages/gacha-forge/src/story-memory.mjs(+94 -22)📝
tests/gacha-forge-chapter-regeneration-package.regression.mjs(+2 -0)📝
tests/gacha-forge-preforge-art.regression.mjs(+163 -0)📝
tests/gacha-forge-proactive-messages-sdk.regression.mjs(+50 -7)...and 6 more files
📄 Description
Pull request
Linked issue
Fixes #1758
Why this change
Forging the next chapter took 15–20 minutes. A traced, skeptic-verified investigation found that the forging screen waited for much more than the chapter plan:
The maintainer's direction:
What changed
Package
gacha-forge1.24.9.client.jsandserver.mjsare rebuilt from newbundle-patches.jsonentries. The artifact, manifest and catalog are regenerated. The branch merges staging after #1754.Fights
_prewarmCombats) is removed. The opening-story dialogs no longer promise chapter one's fights.forgePreforgeFights)./beatdesigns the fights that follow a played scene in the background (forgeFightsAfter), without delaying its reply./combat-guideroute did. A fight neither path reached is still designed when its battle opens.Memory (
src/story-memory.mjs,src/story-memory-integration.mjs)recall()never callsmaintain()orsummarize. The saved overview stays usable while everything it covers is still canon (a subset check, no longer a prefix check).max(8192, min(max(10240, tokenBudget), maxOutput))output tokens, replacingmin(2000, …).Docs
Package and security impact
gacha-forge/combat-guidestays, and the client simply no longer calls it before the map.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks
tests/gacha-forge-*.regression.mjsfiles pass locally, before and after merging staging.git diff --checkis clean.validate-catalog's changelog and notes check passes locally. The sparse worktree lacks other packages' zips, so the full run is left to CI.New or changed regressions
gacha-forge-preforge-art(29 cases):/beatdesigns the following fight in the background, with enemy art, without waiting.gacha-forge-story-memory,-integrationand-packagenow pin:gacha-forge-story-cancel: Keep playing and plan landing prewarm nothing.chapter-regeneration-package: given an ample window, because unsummarized canon is now sent in full instead of being summarized in front of the scene.proactive-messages-sdk: background summaries are held on a gate. The message is sent while they are pending, and they then complete with records for chapter, chat and event.seasonal-events-package: lets background memory settle before its rollback snapshot.Review record
context-unknownphase still counted as lagging, so every scene would requeue a job that can't run. Fixed, with a regression.870f0373e).9c33b7229:To verify by hand
Documentation impact
UI evidence (if applicable)
No layout changes. The forging screen simply ends after the plan.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.