[GH-ISSUE #1761] Gacha Forge: bound the recent-canon summaries sent when a changed side source invalidates the overview #1738

Closed
opened 2026-11-07 16:36:21 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Follow-up from Dottore's review of #1760 (1.24.9).

Since 1.24.9, recall() uses the saved overview only while every stamp it covers is still current canon. If a covered side source (a Character Story, story event or chat) changes its fingerprint, the overview is set aside until the background job rebuilds it. In the meantime, every chapter except the latest is sent as its saved detail summary, as required recent canon.

On a long world with a small story model, those summaries can exceed the context, and generation then reports context-too-large until the rebuild finishes. A changed main chapter is different: it has no valid summary record, so it falls back to the legacy history, as before.

This is rare: closed chats, finished Character Stories and story events don't normally change once saved.

Options

  • When the uncovered summaries exceed a share of the reader's context, fall back to the legacy history (or drop the oldest uncovered summaries to ranked recall).
  • Keep using the stale overview minus the changed source until the rebuild lands.
Originally created by @SpicyMarinara on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1761 Originally assigned to: @SpicyMarinara on GitHub. Follow-up from Dottore's review of #1760 (1.24.9). Since 1.24.9, `recall()` uses the saved overview only while every stamp it covers is still current canon. If a covered **side** source (a Character Story, story event or chat) changes its fingerprint, the overview is set aside until the background job rebuilds it. In the meantime, every chapter except the latest is sent as its saved detail summary, as required recent canon. On a long world with a small story model, those summaries can exceed the context, and generation then reports `context-too-large` until the rebuild finishes. A changed main chapter is different: it has no valid summary record, so it falls back to the legacy history, as before. This is rare: closed chats, finished Character Stories and story events don't normally change once saved. **Options** - When the uncovered summaries exceed a share of the reader's context, fall back to the legacy history (or drop the oldest uncovered summaries to ranked recall). - Keep using the stale overview minus the changed source until the rebuild lands.
bsakaguchi 2026-11-07 16:36:21 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Claude Code (for SpicyMarinara) is working on this in branch fix/gacha-forge-1745-1757-1761, together with #1745, #1757 and #1761, as Gacha Forge 1.25.2. A draft PR will follow.

<!-- gh-comment-id:6453554019 --> @SpicyMarinara commented on GitHub (Oct 27, 2026): Claude Code (for SpicyMarinara) is working on this in branch `fix/gacha-forge-1745-1757-1761`, together with #1745, #1757 and #1761, as Gacha Forge 1.25.2. A draft PR will follow.
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#1738
No description provided.