mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2173] [MERGED] fix(otome-forge): a new arc no longer fails on long purposes or spent reveals (0.13.1) #2168
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#2168
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/2173
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-arc-purpose-words📝 Commits (4)
e35a872fix(otome-forge): accept long chapter purposes in an arc plan (0.12.1)47e2d2cMerge origin/staging into fix/otome-arc-purpose-words (0.13.1 after group chat's 0.13.0)6c846aefix(otome-forge): a later arc is told which reveals are spent and drops a repeata4764c7fix(otome-forge): an arc plan may leave out reveals or the antagonist📊 Changes
15 files changed (+386 additions, -290 deletions)
View changed files
➕
artifacts/otome-forge-0.13.1.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+5 -0)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/server.mjs(+143 -143)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/prompts.ts(+36 -17)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story-arc.ts(+24 -21)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/arc.ts(+2 -13)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/otome-forge-story-arcs.regression.ts(+136 -56)📄 Description
Pull request
Linked issue
Closes #2172
Why this change
Going on with the story in Otome Hearth could fail every time with "The model's reply wasn't in the expected format. Try again." The arc planner refused the whole plan for things the model could not fix in its one repair turn.
What changed
In detail (package
otome-forge, 0.13.1):normalizeArcPlanno longer rejects a purpose for its word count. The purpose character cap goes from 240 to 1,200, in both the reply schema and the stored arc schema. The unusedPURPOSE_WORDS,overLongPurposeandwordCountOfhelpers are removed.arcPlanMessagestakes the run'srevealedSoFarresult fromplanArc. In the prompt:revealsasks to be left empty.normalizeArcPlandrops a spent reveal instead of refusing the arc: a piece told in an earlier arc, a told truth, the same piece scheduled twice in one arc, or a second truth. A dropped reveal frees its chapter for another one. Model-fixable rules stay as refusals: a reveal past the arc's end, two reveals in one chapter, an unknown love interest, and the truth's position.ArcPlanSchemaaccepts a plan that leaves outrevealsorantagonist; a missing key means none, as null does. The prompt asks for optional fields to be omitted rather than null, and it now asks for no reveals once everything is spent, so a planner may leave the key out.packages/otome-forge/client.js,server.mjsandmanifest.json,artifacts/otome-forge-0.13.1.zip, and the catalogs. Staging is merged in after #2168.Package and security impact
otome-forge(0.13.1)minEngineVersionis unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAgent runs, for the record (not a substitute for the boxes above):
npm run test:otome-forge: 794 passed, 0 failed. New or updated regressions cover:planArcfor arc 2 drops a repeated piece and truth, and its prompt marks the truth as told and asks for no reveals.revealsempty only when nothing is left.revealsorantagonistkey plans the arc, including a breathing arc.node scripts/typecheck-packages.mjs otome-forge: clean.revealsorantagonist, now accepted.Manual verification notes
Documentation impact
The package changelog (
packages/otome-forge/CHANGELOG.md) has the 0.13.1 entry.UI evidence (if 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.
[PR #2173] fix(otome-forge): a new arc no longer fails on long purposes or spent reveals (0.13.1)to [PR #2173] [MERGED] fix(otome-forge): a new arc no longer fails on long purposes or spent reveals (0.13.1)