[GH-ISSUE #1635] Unanswered small choices block story pre-generation #1617

Closed
opened 2026-10-25 04:02:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1635

Originally assigned to: @SpicyMarinara on GitHub.

Problem

Unanswered small player choices currently block later narration chunks and background pre-forging. The intended behavior is that every small alternative is generated together and rejoins common narration; only a big decision should block later generation.

The selected small branch is already present in the current chunk and does not need a new model call. However, forgePendingChoice and the pre-forge continuation guard currently treat unanswered small and big choices alike, so background generation waits for small selections unnecessarily.

Expected behavior

  • Keep playback paused while the player selects a small choice, and preserve first-play canon and replay alternatives.
  • Include all small alternatives in the same response and allow common later chunks to generate before selection.
  • Keep big decisions terminal and block later generation until their irreversible choice is saved.
  • Apply the same rules to chapters and Character Stories, including pre-forging on/off.

An offline four-case reproduction of both story types and pre-forging settings confirms the current mismatch. No live model or paid provider calls were used.

@SpicyMarinara / Codex owns this correction in the existing draft #1633. Keep the fix scoped to the pending-choice generation guard, its prompt contract if necessary, and maintained regressions; do not change playback selection, canon or replay storage semantics.

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1635 Originally assigned to: @SpicyMarinara on GitHub. ## Problem Unanswered small player choices currently block later narration chunks and background pre-forging. The intended behavior is that every small alternative is generated together and rejoins common narration; only a big decision should block later generation. The selected small branch is already present in the current chunk and does not need a new model call. However, `forgePendingChoice` and the pre-forge continuation guard currently treat unanswered small and big choices alike, so background generation waits for small selections unnecessarily. ## Expected behavior - Keep playback paused while the player selects a small choice, and preserve first-play canon and replay alternatives. - Include all small alternatives in the same response and allow common later chunks to generate before selection. - Keep big decisions terminal and block later generation until their irreversible choice is saved. - Apply the same rules to chapters and Character Stories, including pre-forging on/off. An offline four-case reproduction of both story types and pre-forging settings confirms the current mismatch. No live model or paid provider calls were used. @SpicyMarinara / Codex owns this correction in the existing draft #1633. Keep the fix scoped to the pending-choice generation guard, its prompt contract if necessary, and maintained regressions; do not change playback selection, canon or replay storage semantics.
bsakaguchi 2026-10-25 04:02:05 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 24, 2026):

Resolved: unanswered small choices allow later shared narration and pre-forging. Every alternative remains stored with its section; playback pauses for the player and selects a stored branch without another model call. First-play canon, replay alternatives and immutable big choices are preserved. Big choices still block future generation; completion/compression waits for pending selections so canon is not lost.

Maintained regressions include a future model request held open while a small choice is saved and played from existing data. The installed client’s pause, canon, retry, replay and big-choice controls also passed in all three browser projects.

Merged to staging in #1633 (3fa04d0783321ce948859e0ff29395602f3aeb9c), Gacha Forge 1.12.1. Update the installed package through Download Agents. All seven premerge gates passed, Dottore confirmed zero defects, and the exact archive passed 33 browser cases plus both update/restart/uninstall paths. Published staging catalogs and ZIP are byte-verified. Validation receipts. Post-merge CodeQL is tracked separately and is still running.

<!-- gh-comment-id:6377518168 --> @SpicyMarinara commented on GitHub (Oct 24, 2026): Resolved: unanswered small choices allow later shared narration and pre-forging. Every alternative remains stored with its section; playback pauses for the player and selects a stored branch without another model call. First-play canon, replay alternatives and immutable big choices are preserved. Big choices still block future generation; completion/compression waits for pending selections so canon is not lost. Maintained regressions include a future model request held open while a small choice is saved and played from existing data. The installed client’s pause, canon, retry, replay and big-choice controls also passed in all three browser projects. Merged to staging in #1633 (`3fa04d0783321ce948859e0ff29395602f3aeb9c`), Gacha Forge **1.12.1**. Update the installed package through Download Agents. All seven premerge gates passed, Dottore confirmed zero defects, and the exact archive passed 33 browser cases plus both update/restart/uninstall paths. Published staging catalogs and ZIP are byte-verified. [Validation receipts](https://gist.github.com/SpicyMarinara/f20945cb1b0d55f2a206be067e095379). Post-merge CodeQL is tracked separately and is still running.
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#1617
No description provided.