[GH-ISSUE #875] [Feature]: Gacha Forge 1.8.1 — the chapter written ahead lives on the server, and the first week's fixes #461

Closed
opened 2026-10-20 17:27:46 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SonaGat3 on GitHub (Sep 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/875

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

staging carries Gacha Forge 1.8.0. This is the first week of 1.8.0 played, and what it turned up. The
one headline is structural; the rest are bugs found by a player, each measured before it was fixed.

The chapter written ahead died with the tab. The chain that writes a chapter's scenes in advance ran
in the client, one request after another. The Engine remounts a package's surface on every Home tab
change, so switching to another Marinara tab, closing Gacha Forge or changing worlds killed the chain:
the scene in flight landed on the server and nothing asked for the next one. Worse, coming back to the
tab restored the loading screen for the scene the chain was writing — as if the player had pressed Play —
and then opened it: a scene they had not reached.

And a set of smaller problems, each one measured or reported:

  • A scene being read jumped back to its first line when the tab came back: the surface is rebuilt,
    and the reader was re-opened at the mark it started from instead of the line it was on.
  • In Firefox the top bar ran out of the game at 175% text, in fullscreen included — 105px past the
    stage windowed, 91px in fullscreen. Firefox sizes an auto grid track by the flex box's min-content, and
    three buttons sized by aspect-ratio alone counted at their icon's width.
  • The creator's scrollbars sat on the content: 0px between the fields and the bar in the creator grid,
    0px in the Settings lorebook list, 6px in the cards list.
  • The picked character cards could not be reordered without unticking them, although the game takes
    them in pick order.
  • The Cast lorebook list had no Expand, while World lorebooks did — and the expanded lorebook list
    in Settings opened as bare text, with no grid and no ticks, since 1.8.0.
  • The cast counter said "needs 5 to open this world" and never mentioned the two cards every
    featured banner takes.
  • Units written in Spanish came back without accents or ñ ("energica", "engana", "ano") from the
    plain-text record prompts, while the JSON prompts kept theirs.

Proposed package or change

  • The chain runs on the server. One job per chapter under the package's own dedupe, in the
    background lane; it re-reads its state before every scene, so Cancel and the Settings switch stop it
    after the scene in flight, and a scene that does not land stops it too. The chapter screen only
    watches it (a read every few seconds while it runs). A boot never restores a background job's
    loading screen: /state now says which in-flight keys are background work.
  • A rebuilt scene opens at the line the reader is on.
  • The top bar's buttons declare their width (the row's height, written once), so Firefox sizes the
    group by its real content: 26px to spare where it spilled 105.
  • Every scrolling region of the creator and Settings keeps air from its scrollbar: 17 / 12 / 10px.
  • Two arrows per picked card move it in place; the list shows picked cards first, in the order the
    game takes them.
  • Cast lorebook expands like World lorebooks, and the Settings popup wears the pane's skin.
  • The cast counter counts the featured banner's two cards and the opening cast's split, from the
    constants.
  • The record grammar and the hard language rule say the prose keeps the language's own spelling,
    never transliterated to ASCII; only the image fields are ASCII.

Why should this be optional?

Unchanged: Gacha Forge is a whole game mode with 113 server routes, and everything it generates goes
through the Engine profile's own model and image connections. No new external services.

Alternatives considered

  • Keeping the chain client-side and re-arming it on every remount. Rejected: the remount is the
    Engine's, the beat in flight belongs to the server, and a client that re-asks spends the automatic
    start budget on every tab change.
  • Restoring loading screens by key only. Rejected: the chain's beat carries the same key as a
    player's; the server has to say which keys are background.

Additional context

  • Branch: SonaGat3:feature/gacha-forge-1.8.1 → Pasta-Devs:staging, built on the current staging
    (66571772), catalog regenerated with scripts/build-gacha-forge-package.mjs.
  • Twelve files: the two bundles, the manifest (version and builtAgainst only), the catalog family
    and its release-notes sidecars, the package's CHANGELOG and README. No art changes, so the review
    fits under the file limit this time.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is
intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SonaGat3 on GitHub (Sep 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/875 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? `staging` carries Gacha Forge **1.8.0**. This is the first week of 1.8.0 played, and what it turned up. The one headline is structural; the rest are bugs found by a player, each measured before it was fixed. **The chapter written ahead died with the tab.** The chain that writes a chapter's scenes in advance ran in the client, one request after another. The Engine remounts a package's surface on every Home tab change, so switching to another Marinara tab, closing Gacha Forge or changing worlds killed the chain: the scene in flight landed on the server and nothing asked for the next one. Worse, coming back to the tab restored the loading screen for the scene the chain was writing — as if the player had pressed Play — and then opened it: a scene they had not reached. **And a set of smaller problems, each one measured or reported:** - **A scene being read jumped back to its first line** when the tab came back: the surface is rebuilt, and the reader was re-opened at the mark it started from instead of the line it was on. - **In Firefox the top bar ran out of the game** at 175% text, in fullscreen included — 105px past the stage windowed, 91px in fullscreen. Firefox sizes an auto grid track by the flex box's min-content, and three buttons sized by `aspect-ratio` alone counted at their icon's width. - **The creator's scrollbars sat on the content**: 0px between the fields and the bar in the creator grid, 0px in the Settings lorebook list, 6px in the cards list. - **The picked character cards could not be reordered** without unticking them, although the game takes them in pick order. - **The Cast lorebook list had no Expand**, while World lorebooks did — and the expanded lorebook list in Settings opened as bare text, with no grid and no ticks, since 1.8.0. - **The cast counter said "needs 5 to open this world"** and never mentioned the two cards every featured banner takes. - **Units written in Spanish came back without accents or ñ** ("energica", "engana", "ano") from the plain-text record prompts, while the JSON prompts kept theirs. ## Proposed package or change - **The chain runs on the server.** One job per chapter under the package's own dedupe, in the background lane; it re-reads its state before every scene, so Cancel and the Settings switch stop it after the scene in flight, and a scene that does not land stops it too. The chapter screen only watches it (a read every few seconds while it runs). A boot never restores a background job's loading screen: `/state` now says which in-flight keys are background work. - **A rebuilt scene opens at the line the reader is on.** - **The top bar's buttons declare their width** (the row's height, written once), so Firefox sizes the group by its real content: 26px to spare where it spilled 105. - **Every scrolling region of the creator and Settings keeps air from its scrollbar**: 17 / 12 / 10px. - **Two arrows per picked card** move it in place; the list shows picked cards first, in the order the game takes them. - **Cast lorebook expands** like World lorebooks, and the Settings popup wears the pane's skin. - **The cast counter counts the featured banner's two cards** and the opening cast's split, from the constants. - **The record grammar and the hard language rule say the prose keeps the language's own spelling**, never transliterated to ASCII; only the image fields are ASCII. ## Why should this be optional? Unchanged: Gacha Forge is a whole game mode with **113** server routes, and everything it generates goes through the Engine profile's own model and image connections. No new external services. ## Alternatives considered - **Keeping the chain client-side and re-arming it on every remount.** Rejected: the remount is the Engine's, the beat in flight belongs to the server, and a client that re-asks spends the automatic start budget on every tab change. - **Restoring loading screens by key only.** Rejected: the chain's beat carries the same key as a player's; the server has to say which keys are background. ## Additional context - Branch: `SonaGat3:feature/gacha-forge-1.8.1` → `Pasta-Devs:staging`, built on the current `staging` (`66571772`), catalog **regenerated** with `scripts/build-gacha-forge-package.mjs`. - Twelve files: the two bundles, the manifest (version and `builtAgainst` only), the catalog family and its release-notes sidecars, the package's CHANGELOG and README. No art changes, so the review fits under the file limit this time. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:27:46 +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#461
No description provided.