mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2093] [MERGED] fix(otome-forge): 0.7.6 caching follow-ups from the second review round (0.8.1) #2113
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#2113
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/2093
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-cache-followups📝 Commits (1)
261e450fix(otome-forge): the 0.7.6 caching follow-ups from the second review round (0.8.1)📊 Changes
20 files changed (+367 additions, -144 deletions)
View changed files
➕
artifacts/otome-forge-0.8.1.zip(+0 -0)📝
catalog/preview/catalog.json(+6 -6)📝
catalog/preview/notes.json(+6 -6)📝
catalog/preview/v2/catalog.json(+6 -6)📝
catalog/preview/v2/notes.json(+6 -6)📝
catalog/preview/v3/catalog.json(+6 -6)📝
catalog/preview/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+5 -0)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/server.mjs(+57 -57)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/generation.ts(+8 -6)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/memory/memory.ts(+5 -5)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/memory/timeline.ts(+1 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/prompts.ts(+25 -15)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/canon.ts(+18 -12)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/chapters.ts(+9 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/otome-forge-beats.regression.ts(+117 -3)📝
tests/otome-forge-generation.regression.ts(+34 -0)📝
tests/otome-forge-memory-audience.regression.ts(+48 -4)📄 Description
Pull request
Linked issue
Closes #2094 (follow-up to #2091 and #2092)
Why this change
#2092 (0.7.6, merged) made Otome Hearth's prompt cache stable across a chapter. A second local review round on it, with five lenses and every finding adversarially verified, finished after the merge. It confirmed one real story-continuity defect and a few smaller costs and test gaps, all fixed here.
What changed
ponytail:note says the two parts can together hold twice the bound while memory isn't ready.resolveConnectionId(world, "structured") === resolveConnectionId(world, "narration").apartoption.ponytail:note.ponytail:note: private canon told after the cached part is no longer in story order among the rest.Package and security impact
otome-forge(0.8.0 → 0.8.1)cacheTtlstill needs 1.815 and is ignored by older Engines)Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks (for reference):
pnpm test:otome-forge: 650 + 13 pass, 0 fail.node scripts/typecheck-packages.mjs otome-forge: no strict errors.chapters.ts.a cached prompt's own canon has a bound of its own in the canonical history: both of a love interest's dates played after the previous chapter stay. It fails on the 0.7.6 code.in his own route chapter, a love interest's own canon is cached with the rest: his date sits in every scene's messages[0]. It fails if side chapters stop passingli.a cached prompt's own canon gives way before the cached part's summaries: the fitter's recalls-first order. It fails if the order is reverted.cachedwiring.Not changed (reviewed and left, with reasons):
ponytail:and is unchanged from before 0.7.6.Documentation impact
UI evidence (if applicable)
Not applicable: no UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.