[PR #727] [CLOSED] feat(gacha-forge): 1.7.0 — a chapter written ahead of you, and events that run alongside a banner #1112

Closed
opened 2026-10-21 05:02:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/727
Author: @SonaGat3
Created: 9/5/2026
Status: ❌ Closed

Base: staging ← Head: feature/gacha-forge-1.7.0


📝 Commits (1)

  • af2e666 feat(gacha-forge): 1.7.0 — a chapter written ahead, mini events, and item art

📊 Changes

80 files changed (+2961 additions, -570 deletions)

View changed files

➕ artifacts/gacha-forge-1.7.0.zip (+0 -0)
📝 catalog/preview/catalog.json (+423 -11)
➕ catalog/preview/notes.json (+15 -0)
📝 catalog/preview/v2/catalog.json (+423 -11)
➕ catalog/preview/v2/notes.json (+15 -0)
📝 catalog/preview/v3/catalog.json (+423 -11)
➕ catalog/preview/v3/notes.json (+15 -0)
➕ packages/gacha-forge/CHANGELOG.md (+9 -0)
📝 packages/gacha-forge/README.md (+18 -0)
📝 packages/gacha-forge/client.js (+1095 -429)
➕ packages/gacha-forge/item-aether.webp (+0 -0)
➕ packages/gacha-forge/item-coin-event.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-assassin-1.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-assassin-2.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-assassin-3.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-mage-1.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-mage-2.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-mage-3.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-support-1.webp (+0 -0)
➕ packages/gacha-forge/item-doctrine-support-2.webp (+0 -0)

...and 60 more files

📄 Description

Linked issue

Closes #726

Why this change

staging carries Gacha Forge 1.6.0. Two things were wrong with the shape of a session, and both are fixed here.

The game made you wait for it. A story beat is written on demand, so opening a chapter meant one loading screen per scene — and any background work already running (banner art, portraits) queued in front of the beat the player was waiting for, because the generation queue was keyed by world rather than by connection. The limit belongs to the endpoint: a local model serves one request whoever asks.

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, so day six looked exactly like day one.

The rest is a tail of smaller work, most of it reported by a player rather than guessed, plus two routes that were answering ok with a value they had not saved.

What changed

  • A chapter can be written ahead of you. Ask once and the chapter's remaining beats 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 resumed. A beat the player opens themselves takes the connection first — the chain loses its turn, never its place, and nothing is cancelled.
  • One generation at a time, per connection, with text and image counted apart and the player's own request ahead of any background one.
  • A scene remembers where you stopped. Leaving a beat halfway writes a mark; returning offers to carry on from that page or start again, and only when there is enough left to be worth asking.
  • Mini events alongside every banner. Three of them, with windows inside the banner's own fourteen days: Tidewalk (a prize ring moved 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 stamped into the session the first time it is asked for, so adding events in a later version cannot reshuffle a period already in progress.
  • The seasonal event is finished: ten box draws at once, a daily boss, 25% more event coin for each banner character in the party, and rewards at five milestones. Its boxes now hold Tenets as well as the Mandate that unlocks what Tenets pay for.
  • Items and rewards show their own art on nine screens, shipped as 68 static assets declared through contributions.assets rather than inlined into the client bundle.
  • The player's reports, fixed: the top bar no longer cuts off the buttons on its right; the dropdown arrow no longer vanishes while the list is open; the options list in world creation shows that it scrolls; world creation follows the chosen letter size; the settings control is a gear rather than a brightness icon; NPC names are capitalised; and the player's persona can be dragged out of the party and stays out.
  • Two silent write losses closed. documents.update returns null on a revision conflict rather than throwing, so /warn-threshold and /home-decor were answering with a number that never reached disk. Both re-read and retry, and answer write-conflict when they cannot land.

It also reworks screens already in staging

  • Combat and pre-battle (shipped in 1.1.0): the enemy formation's back row is offset half a step into the gaps, and its box stretched to the full width of the side — so the offset pushed an empty box past the stage and the screen could be dragged sideways. Measured at 103px on a 1920x1080 window and 111-115px at 1440x960, on the phone frames too. The box now hugs its own lattice, and no card moves by a pixel.
  • The side rails (shipped in 1.6.0): they were whatever was left beside a 16:9 stage — 152px on a 1920x1080 window, below the width at which they hide their own text, so the help and changelog were effectively unreadable on the most common monitor shape. The stage now yields them width on a wide screen (272px per rail at 1920x1080, 281px at 2560x1440) and the reserve switches itself off wherever the rails do not exist: fullscreen, and any window narrow enough to drop them.
  • Home and the Battle Pass (1.0.0 / 1.3.0): the login week names what each day pays before it is claimed, the event box shows what is inside each stack and how much is left, and the pass ladder can be dragged with the pointer.
  • Settings and Debug (1.3.0): text boxes report how much room is left in them, and the debug list says why a call failed rather than only that it did.

Generated outputs

packages/gacha-forge/client.js, server.mjs, manifest.json, locales/en.json, the artifact zip and the catalog family were re-derived by node scripts/build-gacha-forge-package.mjs from the committed payload bytes. Nothing was hand-edited. catalog/preview/notes.json and its lane copies are new: they are the sidecar the builder derives from the package's CHANGELOG.md, which this release adds because the release-notes rule requires one for a minor bump.

Package and security impact

  • capabilityApi moves 1.9 → 1.10, and it is required rather than cosmetic: contributions.assets is a 1.10 feature (it landed in Engine 2.4.3, below this package's engine.min of 2.4.4). The 68 item pictures are served by the Engine's own asset route with per-request hash verification.
  • Permissions, contributions slots, engine range and restartRequired are unchanged. The only manifest fields that moved are version, capabilityApi, builtAgainst, files[] and the new contributions.assets.paths — verified by diffing against the staging manifest field by field.
  • Routes: 75 → 85, none removed. Every new route is under the package's own privileged prefix.
  • No new external services. Everything generated goes through the Engine profile's own model and image connections over loopback.
  • Payload size: 4 payload files → 72, and the artifact zip 1.12 MB → 1.79 MB. The growth is the art (0.52 MB of WebP); the two bundles account for the rest.

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

⚠️ Why the fourth box is unticked. 1.7.0 is not published, so it cannot be installed through the Engine's download path. It was installed by sideload into a staging Engine and played, which covers activation, the routes and the bundle — but not download or checksum verification, so the box stays honest.

Manual verification notes

  • Branch hygiene. Branched from the current origin/staging (10a591cc) so the catalog is regenerated rather than merged; git ls-files --eol | grep -c w/crlf → 0 before and after building; git diff --check "origin/staging...HEAD" clean.
  • Repo checks run locally: validate-catalog (35 packages; preview overlay valid with gacha-forge and slurp as the staging-only entries), test-catalog-lanes, validate-package-locales (38 canonical English catalogues), scripts/tests/catalog-release-notes.regression.mjs, and npm run check (0 errors; the 69 warnings are pre-existing and none of them in this package -- they are in slurp, long-term-memory, noodle and hierarchical-maps) plus npm run format:check. ⚠️ npm run test:security was not run: it fails on Windows for a reason unrelated to this change (catalog-path-safety.regression.mjs:15 compares resolve("/tmp/…"), which gains a drive letter, against join).
  • Package's own suite: the three package probes (client, server, manifest) plus the slice contract probe, all green, and a 103-script bench with output compared run to run — the bench is deterministic, so a difference is signal. Each new check was verified failing with the bug reintroduced; the ones for the two write losses discriminate by counting documents.update calls, because the fake documents returns the live object and asserting "disk" proves nothing.
  • Played, not only tested. Exercised in two real worlds: the chapter chain across a full chapter, the three mini events through a banner rotation, the seasonal event, and the reported bugs reproduced and re-checked on the reporter's own browser (the dropdown arrow reproduces in Firefox and not in Chromium, which is part of the fixture).
  • Measured in the browser for anything with a layout, against the box the Engine actually hands a capability — 177px shorter than the window — rather than an invented frame: 2558x1263, 1918x903 and 1124x745, in the five HUD styles and at the 175% text scale, with a control cell in every comparison.

Documentation impact

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

UI evidence (if applicable)

image

Summary by CodeRabbit

  • New Features

    • Added pre-written chapters that open immediately and support resuming mid-scene.
    • Added banner side events and a completed seasonal event.
    • Added item and reward imagery across the experience, including reward previews.
    • Added per-connection generation priority and expanded party, character, and author controls.
    • Added improved persona and cast details.
  • Bug Fixes

    • Improved top-bar controls, Home navigation, settings, world creation, and battle-screen behavior.
    • Fixed capitalization, decoration and threshold reversion, and document update conflicts.
    • Expanded side rails on wide screens.

🔄 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/727 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 9/5/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `feature/gacha-forge-1.7.0` --- ### 📝 Commits (1) - [`af2e666`](https://github.com/Pasta-Devs/Marinara-Agents/commit/af2e666776b6e48ebf6a018504c24f0318a0816e) feat(gacha-forge): 1.7.0 — a chapter written ahead, mini events, and item art ### 📊 Changes **80 files changed** (+2961 additions, -570 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/gacha-forge-1.7.0.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+423 -11) ➕ `catalog/preview/notes.json` (+15 -0) 📝 `catalog/preview/v2/catalog.json` (+423 -11) ➕ `catalog/preview/v2/notes.json` (+15 -0) 📝 `catalog/preview/v3/catalog.json` (+423 -11) ➕ `catalog/preview/v3/notes.json` (+15 -0) ➕ `packages/gacha-forge/CHANGELOG.md` (+9 -0) 📝 `packages/gacha-forge/README.md` (+18 -0) 📝 `packages/gacha-forge/client.js` (+1095 -429) ➕ `packages/gacha-forge/item-aether.webp` (+0 -0) ➕ `packages/gacha-forge/item-coin-event.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-assassin-1.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-assassin-2.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-assassin-3.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-mage-1.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-mage-2.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-mage-3.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-support-1.webp` (+0 -0) ➕ `packages/gacha-forge/item-doctrine-support-2.webp` (+0 -0) _...and 60 more files_ </details> ### 📄 Description ## Linked issue Closes #726 ## Why this change staging carries Gacha Forge 1.6.0. Two things were wrong with the shape of a session, and both are fixed here. The game made you wait for it. A story beat is written on demand, so opening a chapter meant one loading screen per scene — and any background work already running (banner art, portraits) queued in front of the beat the player was waiting for, because the generation queue was keyed by world rather than by connection. The limit belongs to the endpoint: a local model serves one request whoever asks. 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, so day six looked exactly like day one. The rest is a tail of smaller work, most of it reported by a player rather than guessed, plus two routes that were answering ok with a value they had not saved. ## What changed - A chapter can be written ahead of you. Ask once and the chapter's remaining beats 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 resumed. A beat the player opens themselves takes the connection first — the chain loses its turn, never its place, and nothing is cancelled. - One generation at a time, per connection, with text and image counted apart and the player's own request ahead of any background one. - A scene remembers where you stopped. Leaving a beat halfway writes a mark; returning offers to carry on from that page or start again, and only when there is enough left to be worth asking. - Mini events alongside every banner. Three of them, with windows inside the banner's own fourteen days: Tidewalk (a prize ring moved 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 stamped into the session the first time it is asked for, so adding events in a later version cannot reshuffle a period already in progress. - The seasonal event is finished: ten box draws at once, a daily boss, 25% more event coin for each banner character in the party, and rewards at five milestones. Its boxes now hold Tenets as well as the Mandate that unlocks what Tenets pay for. - Items and rewards show their own art on nine screens, shipped as 68 static assets declared through contributions.assets rather than inlined into the client bundle. - The player's reports, fixed: the top bar no longer cuts off the buttons on its right; the dropdown arrow no longer vanishes while the list is open; the options list in world creation shows that it scrolls; world creation follows the chosen letter size; the settings control is a gear rather than a brightness icon; NPC names are capitalised; and the player's persona can be dragged out of the party and stays out. - Two silent write losses closed. documents.update returns null on a revision conflict rather than throwing, so /warn-threshold and /home-decor were answering with a number that never reached disk. Both re-read and retry, and answer write-conflict when they cannot land. It also reworks screens already in staging - Combat and pre-battle (shipped in 1.1.0): the enemy formation's back row is offset half a step into the gaps, and its box stretched to the full width of the side — so the offset pushed an empty box past the stage and the screen could be dragged sideways. Measured at 103px on a 1920x1080 window and 111-115px at 1440x960, on the phone frames too. The box now hugs its own lattice, and no card moves by a pixel. - The side rails (shipped in 1.6.0): they were whatever was left beside a 16:9 stage — 152px on a 1920x1080 window, below the width at which they hide their own text, so the help and changelog were effectively unreadable on the most common monitor shape. The stage now yields them width on a wide screen (272px per rail at 1920x1080, 281px at 2560x1440) and the reserve switches itself off wherever the rails do not exist: fullscreen, and any window narrow enough to drop them. - Home and the Battle Pass (1.0.0 / 1.3.0): the login week names what each day pays before it is claimed, the event box shows what is inside each stack and how much is left, and the pass ladder can be dragged with the pointer. - Settings and Debug (1.3.0): text boxes report how much room is left in them, and the debug list says why a call failed rather than only that it did. Generated outputs packages/gacha-forge/client.js, server.mjs, manifest.json, locales/en.json, the artifact zip and the catalog family were re-derived by node scripts/build-gacha-forge-package.mjs from the committed payload bytes. Nothing was hand-edited. catalog/preview/notes.json and its lane copies are new: they are the sidecar the builder derives from the package's CHANGELOG.md, which this release adds because the release-notes rule requires one for a minor bump. ## Package and security impact - capabilityApi moves 1.9 → 1.10, and it is required rather than cosmetic: contributions.assets is a 1.10 feature (it landed in Engine 2.4.3, below this package's engine.min of 2.4.4). The 68 item pictures are served by the Engine's own asset route with per-request hash verification. - Permissions, contributions slots, engine range and restartRequired are unchanged. The only manifest fields that moved are version, capabilityApi, builtAgainst, files[] and the new contributions.assets.paths — verified by diffing against the staging manifest field by field. - Routes: 75 → 85, none removed. Every new route is under the package's own privileged prefix. - No new external services. Everything generated goes through the Engine profile's own model and image connections over loopback. - Payload size: 4 payload files → 72, and the artifact zip 1.12 MB → 1.79 MB. The growth is the art (0.52 MB of WebP); the two bundles account for the rest. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ⚠️ Why the fourth box is unticked. 1.7.0 is not published, so it cannot be installed through the Engine's download path. It was installed by sideload into a staging Engine and played, which covers activation, the routes and the bundle — but not download or checksum verification, so the box stays honest. ### Manual verification notes - Branch hygiene. Branched from the current origin/staging (10a591cc) so the catalog is regenerated rather than merged; git ls-files --eol | grep -c w/crlf → 0 before and after building; git diff --check "origin/staging...HEAD" clean. - Repo checks run locally: validate-catalog (35 packages; preview overlay valid with gacha-forge and slurp as the staging-only entries), test-catalog-lanes, validate-package-locales (38 canonical English catalogues), scripts/tests/catalog-release-notes.regression.mjs, and npm run check (0 errors; the 69 warnings are pre-existing and none of them in this package -- they are in slurp, long-term-memory, noodle and hierarchical-maps) plus npm run format:check. ⚠️ npm run test:security was not run: it fails on Windows for a reason unrelated to this change (catalog-path-safety.regression.mjs:15 compares resolve("/tmp/…"), which gains a drive letter, against join). - Package's own suite: the three package probes (client, server, manifest) plus the slice contract probe, all green, and a 103-script bench with output compared run to run — the bench is deterministic, so a difference is signal. Each new check was verified failing with the bug reintroduced; the ones for the two write losses discriminate by counting documents.update calls, because the fake documents returns the live object and asserting "disk" proves nothing. - Played, not only tested. Exercised in two real worlds: the chapter chain across a full chapter, the three mini events through a banner rotation, the seasonal event, and the reported bugs reproduced and re-checked on the reporter's own browser (the dropdown arrow reproduces in Firefox and not in Chromium, which is part of the fixture). - Measured in the browser for anything with a layout, against the box the Engine actually hands a capability — 177px shorter than the window — rather than an invented frame: 2558x1263, 1918x903 and 1124x745, in the five HUD styles and at the 175% text scale, with a control cell in every comparison. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/4bab7100-072e-4124-b6a5-1f9b049b10fa" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added pre-written chapters that open immediately and support resuming mid-scene. - Added banner side events and a completed seasonal event. - Added item and reward imagery across the experience, including reward previews. - Added per-connection generation priority and expanded party, character, and author controls. - Added improved persona and cast details. - **Bug Fixes** - Improved top-bar controls, Home navigation, settings, world creation, and battle-screen behavior. - Fixed capitalization, decoration and threshold reversion, and document update conflicts. - Expanded side rails on wide screens. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:02:55 +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#1112
No description provided.