mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1700] [MERGED] feat(gacha-forge): add daily messages and improve mobile help and Formation setup #1702
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#1702
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/1700
Author: @SpicyMarinara
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/gacha-proactive-unit-messages📝 Commits (8)
d91caa9docs(gacha-forge): describe mobile help overlay behavior3a94e40feat(gacha-forge): add daily unit messages and floating Writing help73f0bf8fix(gacha-forge): retain saved message counts and help toggles395c2d8fix(gacha-forge): preserve WebKit history anchoring on incoming messages2525a57fix(gacha-forge): reserve Formation output and restore readable setup hints091ffe3fix(gacha-forge): preserve message pacing and enforce output minimumsa3408e2fix(gacha-forge): explain insufficient generation capacityed9fd68Merge staging into Gacha Forge output and messaging fixes📊 Changes
41 files changed (+4387 additions, -164 deletions)
View changed files
📝
.github/workflows/gacha-forge-browser.yml(+3 -1)📝
.github/workflows/pull-request-checks.yml(+6 -0)➕
artifacts/gacha-forge-1.20.0.zip(+0 -0)📝
catalog/catalog.json(+30 -10)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+30 -10)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+30 -10)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+8 -0)📝
packages/gacha-forge/README.md(+11 -1)📝
packages/gacha-forge/bundle-patches.json(+164 -0)📝
packages/gacha-forge/client.js(+427 -48)📝
packages/gacha-forge/manifest.json(+27 -7)📝
packages/gacha-forge/server.mjs(+424 -7)📝
packages/gacha-forge/src/audio-client.mjs(+6 -2)📝
packages/gacha-forge/src/browser-presentation.mjs(+141 -30)📝
packages/gacha-forge/src/chat-continuity-client.mjs(+46 -4)📝
packages/gacha-forge/src/formation-settings-client.mjs(+7 -4)➕
packages/gacha-forge/src/proactive-messages-adapter.mjs(+74 -0)...and 21 more files
📄 Description
Why this change
Let unlocked characters initiate conversations at the player's chosen daily frequency. Make mobile Writing help and combat setup usable, and prevent insufficient output budgets from silently truncating Gacha writing or character replies.
What changed
Players can opt into messages initiated by unlocked units through setup or Settings → Story → Continuity → Daily unit messages. The default is 0/off. A typed nonnegative whole number sets one daily total across all eligible units; a random eligible unit is selected for each opportunity. Messages are spaced while the world is visible, without offline catch-up.
Incoming messages reuse saved, scrollable conversations and the normal story connection, debug logging, authored character grounding and played story context. Delivery preserves drafts and older-history position. Durable reservations and atomic message/quota writes prevent duplicate paid attempts across reloads or tabs; failed or interrupted attempts consume an opportunity. Reopening or settings revisions preserve the existing paid pacing deadline.
Mobile Writing → Advanced help now opens in separate native top-layer popovers above Settings, with compact question-mark controls, outside-tap dismissal, scrolling and keyboard support. Classic and Formation setup choices each have a readable, accessible description.
Every Gacha text generation requests at least 8,192 output tokens, including normal and autonomous character messages, retries and Formation conversion. The shared dispatcher preserves additional reasoning headroom where capacity permits, the selected model, reasoning settings and cancellation. A configured context window or hard output override below the minimum produces a clear capacity error before a model request; it cannot silently fall back to 4,096. Conversion truncation remains an unconfirmed explanation for the original saved-game failure.
Rebuild Gacha Forge 1.20.0 through the official builder, including maintained sources, manifest, ZIP and all catalog lanes/notes. This PR contains no Home artwork/download feature; that work remains independently scoped in #1708.
Closes #1698. Closes #1699. Closes #1701. Closes #1702.
Implementation owner: @SpicyMarinara via Codex.
Package and security impact
Package-owned executable client/server changes; no dependencies, permissions or Engine compatibility changes. Default 0 makes no autonomous model requests. Scheduling uses the existing authenticated routes, cancellation and public persistence, with no detached background job. State is additive in existing session/chat documents; uninstall retains worlds. The configured daily limit counts message attempts, not any separate automatic-memory preparation calls.
Candidate:
ed9fd68a838bbd79b1799b35a30e770e5fe28c8a, including current staging's unrelated Long Term Memory repair without changing its files.ZIP: 8,634,782 bytes, SHA-256
3c2ab1b60aee4c3a700a57d928f41d76b881cf0fc58b810a637f3d4e771b16f8.Client
2844fbb908848f9355db791b6ca2e557c4ea71781c71c95b8ec9c06e7a67c078; server5af4af0dab2b591b7fe270dadc438e8dfba436bbebc8b9dc1edc54f9d657806c. Historical Gacha archives are unchanged.Validation
npm run checkpasses with 0 errors and 812 existing warnings. Catalog, lanes, locales, release notes and diff checks pass on the integrated tree. An official no-op rebuild preserves all 313 package files, 12 catalog files, 262 declared payloads and 263 ZIP members byte for byte. Temporary historical-archive links and the exact Git-backed LTM archive used for sparse-checkout validation were removed; original sparse flags were restored.Final-head required CI, a viable Dottore verdict and resolved review threads remain merge gates. Browser emulation and controlled SDK transports do not prove physical-iPhone or real paid-provider behavior.
Manual verification
Documentation impact
Package README, canonical English copy and 1.20 release notes cover opt-in pacing, help overlays, readable choices and the shared minimum output budget. No Engine user documentation changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.