[GH-ISSUE #2091] Otome Hearth: story prompts write their cache but never read it #1912

Closed
opened 2026-11-07 16:37:37 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What happens

Otome Hearth's prompt cache is written but almost never read. The maintainer's Anthropic usage on 2026-11-03 showed about 534k cache-write tokens against 30k cache-read tokens in four hours. Two causes:

  • Parts that change between scenes sit inside the cached story context: memory recalled for each scene's cast, per-node framing, and memory blocks the fitter drops. So the cached prefix differs from call to call.
  • The cache lasts 5 minutes, and scenes are written further apart than that.

Expected (the maintainer, 2026-11-03)

  • Anything that can change between scenes comes after the cached part.
  • The cached part holds the rules, contract, world, protagonist, the arc's line for the chapter, the story memory and the last chapter in full. It also holds every love interest's stable card.
  • A chapter plan's cache is reused by the scenes, Confrontation and Closer that follow it, for one hour on Anthropic (Engine #8748).
  • Chapter summaries and condensing happen only after a chapter is finished.
  • The last chapter's summary is never sent beside the same chapter in full.

Package

otome-forge (Otome Hearth)

Originally created by @SpicyMarinara on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/2091 Originally assigned to: @SpicyMarinara on GitHub. ### What happens Otome Hearth's prompt cache is written but almost never read. The maintainer's Anthropic usage on 2026-11-03 showed about 534k cache-write tokens against 30k cache-read tokens in four hours. Two causes: - Parts that change between scenes sit inside the cached story context: memory recalled for each scene's cast, per-node framing, and memory blocks the fitter drops. So the cached prefix differs from call to call. - The cache lasts 5 minutes, and scenes are written further apart than that. ### Expected (the maintainer, 2026-11-03) - Anything that can change between scenes comes after the cached part. - The cached part holds the rules, contract, world, protagonist, the arc's line for the chapter, the story memory and the last chapter in full. It also holds every love interest's stable card. - A chapter plan's cache is reused by the scenes, Confrontation and Closer that follow it, for one hour on Anthropic (Engine #8748). - Chapter summaries and condensing happen only after a chapter is finished. - The last chapter's summary is never sent beside the same chapter in full. ### Package otome-forge (Otome Hearth)
bsakaguchi 2026-11-07 16:37:37 +07:00
  • closed this issue
  • added the
    bugfix
    label
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#1912
No description provided.