mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2027] [MERGED] fix(otome-forge): a love interest's sprite leaves the stage when he does (0.6.13) #2080
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#2080
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/2027
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-stage-leaves-2024📝 Commits (1)
2231a0efix(otome-forge): a love interest's sprite leaves the stage when he does (0.6.13)📊 Changes
19 files changed (+415 additions, -172 deletions)
View changed files
➕
artifacts/otome-forge-0.6.13.zip(+0 -0)📝
catalog/preview/catalog.json(+8 -8)📝
catalog/preview/notes.json(+6 -6)📝
catalog/preview/v2/catalog.json(+8 -8)📝
catalog/preview/v2/notes.json(+6 -6)📝
catalog/preview/v3/catalog.json(+8 -8)📝
catalog/preview/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/client.js(+1 -1)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+109 -109)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/reader-state.ts(+9 -4)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+5 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story.ts(+1 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/beats.ts(+15 -2)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/prompts.ts(+7 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/otome-forge-sfw-defaults.regression.ts(+10 -8)➕
tests/otome-forge-stage-exits.regression.ts(+206 -0)📄 Description
Pull request
Linked issue
Closes #2024
Why this change
What changed
otome-forge).exitslist. The scene, Confrontation and Closer writers fill it in on the line where love interests leave the scene, or where the protagonist leaves them behind. This comes from one shared prompt line, with no content wording added.normalizeBeatBodykeeps only known love interests, matched by id, full name or first name the same way speakers are. It stores them as ids, once each, and leaves the field out when nothing is left. Choice branches, Confrontations and Closers all go through the same normalizer.onStageAtskips anyone who has left since they last spoke. He stays on stage for his own exit line, is gone after it, and comes back when he speaks again. Anyone still in the scene stays on stage.tests/otome-forge-stage-exits.regression.tscovers the reader, the server normalizer, stored beats and the three writers. 6 of its 7 tests fail on the old code. The 7th pins the no-exits behaviour and passes both ways on purpose. The SFW story-prompt digests intests/otome-forge-sfw-defaults.regression.tswere retaken for beat, beatWithCg, Confrontation and Closer, in both Angst and Gentle.client.js,server.mjs, the manifest,artifacts/otome-forge-0.6.13.zipand the preview catalog entries.Package and security impact
otome-forgeexitsid list per segment. Nothing is migrated, and older beats are unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
npm run test:otome-forgepassed: 547/547 TS regressions and 12/12 MJS regressions, including the server-bundle snapshot.npm run format:check, eslint on the changed files andgit diff --checkall pass.package-otome-forge-reader.e2e.tsandpackage-otome-forge-loop.e2e.tspassed 54/54 on desktop and mobile Chromium.validate-catalog.mjscould not run in this sparse worktree because the older artifacts aren't checked out. The required Catalog validation check covers it in CI.For a human to verify:
exitson exit lines. How well this works depends on the model following that one instruction.Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.