[GH-ISSUE #726] [Feature]: Gacha Forge 1.7.0 — a chapter written ahead of you, and events that run alongside a banner #370

Closed
opened 2026-10-20 17:26:57 +07:00 by bsakaguchi · 1 comment
Owner

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

What problem does this solve?

staging carries Gacha Forge 1.6.0. This is the work since then. It has two headlines and a tail of things found by playing, several of them reported by a player rather than guessed.

The first headline: the game made you wait for it. A story beat is written on demand, so opening a chapter meant sitting on a loading screen for every scene, one after another — and any background work the game had started (banner art, portraits) queued in front of the beat the player was actually waiting for, because the queue was per world rather than per connection.

The second: a banner ran for fourteen days and nothing happened inside them. The seasonal event rotated with the featured banner, and that was the whole of it. A player logging in on day six had the same three things to do as on day one.

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

  • Leaving a scene lost your place. Reported: "if I leave a story beat partway through and return to it, it starts me over at page 1". A twenty-segment beat had to be re-read from the top.
  • The top bar cut off its own buttons at 100% HUD scale on a 2560x1440 window in Firefox — the fullscreen control was the one clipped, and raising the in-game scale made it worse.
  • Two routes answered ok with a value they had not saved. documents.update returns null on a revision conflict instead of throwing, so /warn-threshold and /home-decor reported a number that never reached disk. Measured, not suspected: 19 of 54 session writes ignored the return.
  • NPC names were lowercase — "the man in the gray coat" read as running prose, not as a name.
  • The player's own persona could not be dragged out of the party from the bench, only between slots, so benching it was a one-way trip. The server also put it back silently.
  • The settings control read as a brightness icon: it was a circle with eight separated rays. A gear's teeth touch its ring.
  • World creation hid its own options. Reported: "Key Images (CGS) was hidden from me until I used the mouse wheel" — the scroll region was legal but its thumb was drawn in a colour nobody sees.
  • The battle screen could be dragged sideways. The enemy formation's back row is offset half a step; its box stretched to the full width of the side, so the offset pushed an empty box 103px past the stage. No card was ever outside — only the box — which is why nothing looked wrong.

Proposed package or change

A chapter can be written ahead of you. Ask once and the remaining beats of the chapter are written in the background, in order, so they open with no wait. The chapter screen counts them as they land and the run can be stopped and started again. A beat the player opens themselves always takes the connection first: the chain loses its turn, never its place.

One generation at a time, per connection. The limit belongs to the endpoint, not to the world — a local model serves one request whoever asks — so the queue is keyed by connection, with text and image counted apart and the player's own request always first.

A scene remembers where you stopped. Leaving a beat halfway writes a mark; coming back offers to carry on from that page or start again. It is offered only when there is enough left to be worth it.

Mini events run alongside every banner. Each featured banner draws three smaller events with windows inside its own fourteen days — Tidewalk (a ring of prizes moved around with a die that arrives every six hours), Salvage Bingo (Materials runs earn marks that turn over squares on a card) and Supply Line (the first three Materials runs of a day return double). The schedule is sealed into the world when the banner opens, so adding events in a later version never reshuffles a period already in progress.

The rest of the release, by area — listed here so the issue's scope is the branch's scope:

  • The seasonal event is finished. Ten box draws at once, a boss beatable once a day, 25% more event coin for each banner character in the party, and rewards at five milestones for the coin earned. Its boxes now hold Tenets as well as the Mandate that unlocks what Tenets pay for — the ladder was selling the key and not the steps.
  • Items and rewards show their own art. Nine screens that drew a symbol now draw the item: the pass ladder, the login week, the seasonal stacks and boss, the shop, the inventory, the summon results and both mini-event boards.
  • What a screen promises, it shows. The login week names what each day pays before it is claimed, and the event box shows what is inside each stack and how much of it is left.
  • Author and connection controls. A fifth author directive says how key images should be described; cast books can name a character's role and element; the Reasoning Effort and Verbosity configured on a connection are used; and the debug list says why a call failed, not only that it did.
  • The player's reports, fixed. The top bar, the dropdown arrow, the hidden scroll, the letter size in world creation, the gear, capitalised names, and the persona that can now leave the party.
  • Writes that could be lost. The two routes that answered with an unsaved value re-read and retry, and answer write-conflict rather than a number that is not on disk.
  • Layout. The help and changelog rails beside the 16:9 stage were whatever was left over — 152px on a 1920x1080 window, below the width at which they hide their own text. The stage now yields them width on a wide screen (272px per rail at 1920x1080), and the reserve switches itself off wherever the rails do not exist.

Why should this be optional?

Gacha Forge is a whole game mode — its own Home tab, its own narrator, its own economy, dozens of screens and 85 server routes. It belongs in the downloadable catalogue because most Engine users will never open it and the ones who do want all of it at once. It stays staging-only while the mode is exercised, so stable users are not offered it at all.

Everything generated — world text, cast sheets, portraits, banner art, key images — runs through the Engine profile's own configured model and image connections. The package adds no external services and sends nothing anywhere else.

This release is the first to ship static assets: 68 item pictures declared through contributions.assets, which is why the manifest's capabilityApi moves 1.9 → 1.10. They are served by the Engine's own asset route with hash verification rather than inlined into the client bundle.

Alternatives considered

  • Pre-generating from the server on a timer. Rejected: the player's own beat has to be able to overtake the background one, and a server-side timer has no way to know a player just opened a node. The chain runs client-side and marks its calls background, which is what the queue sorts on.
  • A per-world generation queue. Rejected, and it was the original design: what has a limit is the endpoint. Two worlds pointed at one local model still contend; two worlds on different providers never do.
  • Deriving each period's mini events from a seed. Rejected: a derived plan reads pool[seed % length], so adding an event in a later version reshuffles a banner already running. The plan is stamped into the session the first time it is asked for.
  • Resuming a scene automatically without asking. Rejected: a beat can have changed since you left, and dropping someone silently into the middle of a scene is worse than one question.
  • Inlining the item art as data URIs. Rejected: it is exactly what capability API 1.10 exists to avoid, and it would put roughly 0.5 MB of base64 into the client bundle on every load.

Additional context

  • Branch: SonaGat3:feature/gacha-forge-1.7.0 → Pasta-Devs:staging, built on the current staging (10a591cc), catalog regenerated with scripts/build-gacha-forge-package.mjs rather than hand-merged.
  • packages/gacha-forge on staging is at 1.6.0, which is why this carries 1.6.1 onward.
  • Staging-only: the entry lands in the catalog/preview/* overlay, not the stable lanes.
  • First release with a packages/gacha-forge/CHANGELOG.md, as the release-notes rule now requires for a minor bump.

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 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/726 ## What problem does this solve? staging carries Gacha Forge 1.6.0. This is the work since then. It has two headlines and a tail of things found by playing, several of them reported by a player rather than guessed. The first headline: the game made you wait for it. A story beat is written on demand, so opening a chapter meant sitting on a loading screen for every scene, one after another — and any background work the game had started (banner art, portraits) queued in front of the beat the player was actually waiting for, because the queue was per world rather than per connection. The second: a banner ran for fourteen days and nothing happened inside them. The seasonal event rotated with the featured banner, and that was the whole of it. A player logging in on day six had the same three things to do as on day one. And a set of smaller problems, each one measured or reported rather than guessed: - Leaving a scene lost your place. Reported: "if I leave a story beat partway through and return to it, it starts me over at page 1". A twenty-segment beat had to be re-read from the top. - The top bar cut off its own buttons at 100% HUD scale on a 2560x1440 window in Firefox — the fullscreen control was the one clipped, and raising the in-game scale made it worse. - Two routes answered ok with a value they had not saved. documents.update returns null on a revision conflict instead of throwing, so /warn-threshold and /home-decor reported a number that never reached disk. Measured, not suspected: 19 of 54 session writes ignored the return. - NPC names were lowercase — "the man in the gray coat" read as running prose, not as a name. - The player's own persona could not be dragged out of the party from the bench, only between slots, so benching it was a one-way trip. The server also put it back silently. - The settings control read as a brightness icon: it was a circle with eight separated rays. A gear's teeth touch its ring. - World creation hid its own options. Reported: "Key Images (CGS) was hidden from me until I used the mouse wheel" — the scroll region was legal but its thumb was drawn in a colour nobody sees. - The battle screen could be dragged sideways. The enemy formation's back row is offset half a step; its box stretched to the full width of the side, so the offset pushed an empty box 103px past the stage. No card was ever outside — only the box — which is why nothing looked wrong. ## Proposed package or change A chapter can be written ahead of you. Ask once and the remaining beats of the chapter are written in the background, in order, so they open with no wait. The chapter screen counts them as they land and the run can be stopped and started again. A beat the player opens themselves always takes the connection first: the chain loses its turn, never its place. One generation at a time, per connection. The limit belongs to the endpoint, not to the world — a local model serves one request whoever asks — so the queue is keyed by connection, with text and image counted apart and the player's own request always first. A scene remembers where you stopped. Leaving a beat halfway writes a mark; coming back offers to carry on from that page or start again. It is offered only when there is enough left to be worth it. Mini events run alongside every banner. Each featured banner draws three smaller events with windows inside its own fourteen days — Tidewalk (a ring of prizes moved around with a die that arrives every six hours), Salvage Bingo (Materials runs earn marks that turn over squares on a card) and Supply Line (the first three Materials runs of a day return double). The schedule is sealed into the world when the banner opens, so adding events in a later version never reshuffles a period already in progress. The rest of the release, by area — listed here so the issue's scope is the branch's scope: - The seasonal event is finished. Ten box draws at once, a boss beatable once a day, 25% more event coin for each banner character in the party, and rewards at five milestones for the coin earned. Its boxes now hold Tenets as well as the Mandate that unlocks what Tenets pay for — the ladder was selling the key and not the steps. - Items and rewards show their own art. Nine screens that drew a symbol now draw the item: the pass ladder, the login week, the seasonal stacks and boss, the shop, the inventory, the summon results and both mini-event boards. - What a screen promises, it shows. The login week names what each day pays before it is claimed, and the event box shows what is inside each stack and how much of it is left. - Author and connection controls. A fifth author directive says how key images should be described; cast books can name a character's role and element; the Reasoning Effort and Verbosity configured on a connection are used; and the debug list says why a call failed, not only that it did. - The player's reports, fixed. The top bar, the dropdown arrow, the hidden scroll, the letter size in world creation, the gear, capitalised names, and the persona that can now leave the party. - Writes that could be lost. The two routes that answered with an unsaved value re-read and retry, and answer write-conflict rather than a number that is not on disk. - Layout. The help and changelog rails beside the 16:9 stage were whatever was left over — 152px on a 1920x1080 window, below the width at which they hide their own text. The stage now yields them width on a wide screen (272px per rail at 1920x1080), and the reserve switches itself off wherever the rails do not exist. ## Why should this be optional? Gacha Forge is a whole game mode — its own Home tab, its own narrator, its own economy, dozens of screens and 85 server routes. It belongs in the downloadable catalogue because most Engine users will never open it and the ones who do want all of it at once. It stays staging-only while the mode is exercised, so stable users are not offered it at all. Everything generated — world text, cast sheets, portraits, banner art, key images — runs through the Engine profile's own configured model and image connections. The package adds no external services and sends nothing anywhere else. This release is the first to ship static assets: 68 item pictures declared through contributions.assets, which is why the manifest's capabilityApi moves 1.9 → 1.10. They are served by the Engine's own asset route with hash verification rather than inlined into the client bundle. ## Alternatives considered - Pre-generating from the server on a timer. Rejected: the player's own beat has to be able to overtake the background one, and a server-side timer has no way to know a player just opened a node. The chain runs client-side and marks its calls background, which is what the queue sorts on. - A per-world generation queue. Rejected, and it was the original design: what has a limit is the endpoint. Two worlds pointed at one local model still contend; two worlds on different providers never do. - Deriving each period's mini events from a seed. Rejected: a derived plan reads pool[seed % length], so adding an event in a later version reshuffles a banner already running. The plan is stamped into the session the first time it is asked for. - Resuming a scene automatically without asking. Rejected: a beat can have changed since you left, and dropping someone silently into the middle of a scene is worse than one question. - Inlining the item art as data URIs. Rejected: it is exactly what capability API 1.10 exists to avoid, and it would put roughly 0.5 MB of base64 into the client bundle on every load. ## Additional context - Branch: SonaGat3:feature/gacha-forge-1.7.0 → Pasta-Devs:staging, built on the current staging (10a591cc), catalog regenerated with scripts/build-gacha-forge-package.mjs rather than hand-merged. - packages/gacha-forge on staging is at 1.6.0, which is why this carries 1.6.1 onward. - Staging-only: the entry lands in the catalog/preview/* overlay, not the stable lanes. - First release with a packages/gacha-forge/CHANGELOG.md, as the release-notes rule now requires for a minor bump. ## 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:26:57 +07:00
Author
Owner

@Gunterlie commented on GitHub (Sep 5, 2026):

Closed by merged internal transfer PR #728: https://github.com/Pasta-Devs/Marinara-Agents/pull/728

<!-- gh-comment-id:5555253984 --> @Gunterlie commented on GitHub (Sep 5, 2026): Closed by merged internal transfer PR #728: https://github.com/Pasta-Devs/Marinara-Agents/pull/728
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#370
No description provided.