mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2055] [MERGED] feat(otome-forge): love interests may be genuinely evil; side with one when they disagree (0.6.22) #2093
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#2093
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/2055
Author: @SpicyMarinara
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-evil-lis📝 Commits (10+)
bbb3d85feat(otome-forge): love interests may be genuinely evil, stories may have real villains (0.6.22)5800309fix(otome-forge): the shared rules keep whatever red lines a love interest has, so none are inventedb5a7688feat(otome-forge): scenes see a love interest's darkness; Angst and Dark let a love interest be the villain (#2054)cab6ca4feat(otome-forge): now and then, side with one love interest when they disagree (#2046)49ec4f7chore(otome-forge): release 0.6.230d247f6fix(otome-forge): a love interest's darkness names what they are, never a secret's eventsdd044b8Merge staging (0.6.20) into feat/otome-evil-lis; rebuild 0.6.22fcc7866Merge feat/otome-side-with-2046 (#2046) into feat/otome-evil-lis: one PR, one release (0.6.22)7fbaa09fix(otome-forge): the scene card names darkness after the red lines, so a card cut to fit keeps theme088da5Merge staging (0.6.21) into feat/otome-evil-lis; keep both node fields (sideWith, judgment); rebuild 0.6.22📊 Changes
42 files changed (+1433 additions, -367 deletions)
View changed files
➕
artifacts/otome-forge-0.6.22.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(+7 -0)📝
packages/otome-forge/README.md(+3 -2)📝
packages/otome-forge/client.js(+92 -75)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+147 -140)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts(+31 -7)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json(+4 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ChoicePills.tsx(+21 -5)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx(+34 -2)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+18 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts(+7 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+17 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/content-contract.ts(+5 -5)...and 22 more files
📄 Description
Pull request
Linked issue
Closes #2054
Closes #2046
Why this change
This PR now covers two issues, released together as one 0.6.22 at the maintainer's request: #2054 (love interests may be genuinely evil) and #2046 (side with one love interest). #2046's PR, #2056, was merged into this branch and closed.
#2054, love interests may be genuinely evil: Some love interests are meant to be monsters the player tames into falling in love, for example Genshin Impact's Fatui Harbingers. Playing on Opus 5.5, the maintainer found that chapters never explore that these love interests are evil. Three prompt lines pushed the other way:
An audit of every prompt that shapes a love interest found more lines pulling the same way. The maintainer picked which ones to change, listed below:
#2046, side with one love interest: The maintainer asked for a new kind of choice in chapters with several love interests. Now and then, when they argue or want to handle something differently, the player sides with one of them. That raises affection with the one picked and lowers it with the others. It should be rare: at most once every 3-4 chapters.
Today a pick can only ever lower affection (the hostile −15), so nothing let a choice reward the love interest the player backs.
What changed
Package:
otome-forge(Otome Hearth) 0.6.22. The #2054 changes are:Requested changes
setup/prompts.ts, world plan: the line "Rivals still respect, owe or need each other; nobody is simply a villain." is removed.setup/prompts.ts, bible: the moral code and red lines are now described as:writing-rules.ts: one new shared writing rule, right after "Every cruelty has a reason the love interest believes…":"as dark as this story's Darkness allows" was added after review. The rule reaches Gentle stories too, whose contract says "No menace on the page", so the Darkness setting decides how far a villain goes.
The shared rules block goes to the bible writer, the arc and chapter planners, every scene writer, the climaxes, phone replies, home lines, wishes and banners, items and the mini-games.
writing-rules.ts: "…and the love interest keeps their red lines." becomes "…and the love interest keeps whatever red lines they have." The bible writer also gets this rule, and the old wording would have pushed it to invent red lines for a character who has none.content-contract.ts: Dark romance's "red lines they keep" becomes "whatever red lines they keep", since a love interest may now have none.Audit changes the maintainer chose
Planners (
story/prompts.tschapter, route and repair;items/prompts.tsCharacter Story and Extra Story): "each is a human, even if inside a monster" becomes "each is a human, even if a monster". They still say every love interest is "capable of earned, character-consistent change".scene-card.ts: the card every scene, climax, phone reply, home line, Read Me, Read Him and banner gets now names the love interest's darkness: "Darkness: …", next to "Red lines: …". An empty list adds nothing, so old bibles produce the same card.setup/prompts.ts, bible:mask.presentsis "the face they show, which may hide something kinder or something worse".darkness.kindsis "the kinds of darkness in them, as dark as the card or archetype makes them within this story's Darkness, never softened: what they are (cruelty, a hunger for control), never a secret's events, which belong in secrets". The Gentle rule still keeps them interpersonal.writing-rules.ts: a new rule after "not automatic redemption or a replacement personality":It keeps the maintainer's point that a love interest naturally becomes a better partner as affection grows. It brings back neither of the removed 0.5.x phrases, "softens toward the protagonist…" and "changed toward the protagonist only"; the regression still forbids both.
content-contract.ts:What didn't change:
Side with one love interest (#2046)
How often (
story/chapters.ts,sideWithOpen)SIDE_WITH_GAP = 3chapters complete in between).ponytail:comment notes the ceiling: a planned side-with scene that was eased off before the pick still uses up the gap.The plan (P5)
sideWith, and its guide names what they disagree on. "Never invent one to use it."normalizeChapterPlankeeps the first mark that fits: a main chapter's beat node with 2-4 love interests. It drops any other mark without a repair turn, so the scene is never forced.The scene (P6)
backsid. There's no stay-out or split-the-difference option.readSideWithchecks the reply: one choice, one option per love interest present, none missing or unknown. A miss costs the usual one repair turn, which names what's missing.backsmarks the choice, so an empty"backs": nullon another choice is ignored.Affection (code only, never the model's reply)
sideWithEffectsreplaces any effects the model gave that choice:affectionFloorOf), so no level, route stage or unlocked story is lost.SIDE_WITH_AFFECTIONlives inshared/economy.tsbeside the other pinned numbers.Canon
Reader UI
Release: one release, 0.6.22, for both issues, at the maintainer's request: #2056 (side with) was merged into this branch and closed. The branch is up to date with staging (0.6.21). The rebuilt
client.js,server.mjs, manifest, preview catalogs andartifacts/otome-forge-0.6.22.zipagree.With 0.6.21 merged, two files had a node field from each side,
judgmentandsideWith:api-types.tsChapterNodeandschemas/story.tsNodeSchema.chapters.tsandprompts.tseach had a context flag or block from each side. Every conflict kept both. The combined build passes all 602 Otome TypeScript regressions, 12.mjsregressions and the full reader browser suite, 62/62.Package and security impact
otome-forge(0.6.21 → 0.6.22).POST …/choosealso returnsaffection, the per-love-interest point change, for the side-with toasts.sideWithfields. Older saves read unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
Regression suites: on the combined branch, all 602 Otome TypeScript regressions and 12
.mjsregressions pass, and so does the full reader browser suite (62/62, desktop and mobile Chromium).Typecheck: 0 strict errors in 88 server and 139 client files.
Other checks: Prettier and
git diff --checkpass.Package files: the rebuilt zip's size and SHA-256 match all three preview catalogs and the manifest. The committed blob is the full 1,828,793-byte archive.
New proofs. All three fail with the source change reverted.
otome-forge-knowledge.regression.ts, #2054:otome-forge-scene-card.regression.ts: the card names a love interest's darkness beside their red lines, and leaves it out when there is none.otome-forge-contract.regression.ts:Pinned SFW prompts:
otome-forge-sfw-defaults.regression.tsandotome-forge-seasons.regression.tswere retaken, with a note in each file. Every story and banner prompt carries the writing rules and the Angst contract, so all of them moved.Local CodeRabbit:
darkness.kindsto what they are ("cruelty, a hunger for control"), never a secret's events, which stay insecrets, gated by stage. The knowledge proof pins the wording.Side-with proofs, each checked to fail without its change:
otome-forge-chapters.regression.ts:POST /chapters/nextkeeps a mark in chapter 4 and not in chapter 5 after one in chapter 2.otome-forge-beats.regression.ts:otome-forge-state-caps.regression.ts:Browser (
package-otome-forge-reader.e2e.ts, desktop and mobile Chromium):Independent reviews: three review agents (logic and canon, UX and accessibility, proofs and build) found five defects. All are fixed with proofs:
backson another choice refused a valid reply;Side-with CodeRabbit: no findings.
CodeRabbit on the combined branch: one finding, fixed. The "genuinely evil" rule conflicted with Gentle's "No menace on the page"; it now reads "as dark as this story's Darkness allows". The SFW digests were retaken for it.
CodeRabbit on the scene card: the card is trimmed from the end when it runs long, so Darkness now comes after Red lines and Moral code, and a trimmed card keeps the boundaries it kept before. The scene-card proof pins the order.
For a human to verify:
Documentation impact
The package README's rewards section and the CHANGELOG describe both changes.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.