mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2053] [MERGED] feat(otome-forge): a chapter may close on a judgment the player can get wrong (0.6.21) #2091
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#2091
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/2053
Author: @SpicyMarinara
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-judgment-choices-2047📝 Commits (4)
3b90055feat(otome-forge): an arc may close a chapter on a judgment the player can get wrong4760095chore(otome-forge): release 0.6.2161172a2fix(otome-forge): a listed chapter leaves its end free for the judgment, and the arc names its answere2fc983Merge staging (0.6.20) into feat/otome-judgment-choices-2047; rebuild 0.6.21📊 Changes
18 files changed (+595 additions, -176 deletions)
View changed files
➕
artifacts/otome-forge-0.6.21.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(+4 -0)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/server.mjs(+127 -127)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+13 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story-arc.ts(+50 -2)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story.ts(+5 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/arc.ts(+6 -3)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/chapters.ts(+41 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/prompts.ts(+21 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/otome-forge-story-arcs.regression.ts(+288 -2)📄 Description
Pull request
Linked issue
Closes #2047
Why this change
The maintainer hadn't had an end-of-chapter big choice in six chapters. They asked that those choices can also be judgments the player may get wrong:
The true answer should always be among the options, and a wrong guess plays out in the arc.
A narrator-only prompt line can't promise that. The scene writer never sees the mystery's hidden truth; only the arc planner does. So the line could produce a judgment with no correct option. The maintainer chose to let the arc planner list the suspects. They also asked that an arc with no such question never gets one, and that the model knows the judgment is optional.
What changed
Package:
otome-forge(Otome Hearth) 0.6.21.sources/forge-kitand Gacha Forge are untouched.story/arc.ts): a new, optionaljudgmentfield: a short question, 2 to 4 plausible answers worded the same way, and the 1-based chapters whose end may close on it.endsWith.whator in the reveal that answers it, since later writers see only those. When neither the hidden truth nor the ending answers the question, the judgment is omitted. Without this, an arc-local answer (a traitor in arc 2) lived only in the planner's head. The arc's last chapter would then settle the culprit after the pick, most likely matching it, so the player could never be wrong.schemas/story-arc.ts,judgmentOf): a judgment is dropped, never retried, when it breaks a rule:story/chapters.ts,judgmentFor):ponytail:comment notes the ceiling: any picked big choice on that node spends it, because a beat doesn't record which kind of big choice it was.story/prompts.ts): on such a node, after the existing "make it a different kind of decision" line, one more line:toArcViewand the client never see the judgment.Release: 0.6.21 with a CHANGELOG entry. The rebuilt
server.mjs, manifest, preview catalogs andartifacts/otome-forge-0.6.21.zipagree.This PR and #2052 (0.6.20) both change the release files. Whichever merges second is rebased and rebuilt on the other.
Package and security impact
otome-forge(0.6.19 → 0.6.21).judgment. Arcs already planned have none and play as before.judgmentfield; older saves read unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
.mjsregressions pass.git diff --checkpasses.tests/otome-forge-story-arcs.regression.ts:POST /chapters/nextstamps the arc's judgment on a listed chapter's last node, and the player never sees it. The chapter planner's prompt says the end may close on one, without the question;endsWith.whator in the reveal that answers it.For a human to verify:
judgmentwhose answers include the arc's real answer.Documentation impact
The package CHANGELOG describes the change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.