mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2033] [MERGED] feat(otome-forge): prestige past level 10 unlocks extra stories you imagine together (0.6.15) #2082
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#2082
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/2033
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-prestige-2025📝 Commits (4)
cc610f7feat(otome-forge): prestige past level 10 unlocks extra stories (#2025)e642fecchore(otome-forge): release prestige as 0.6.15; EXITS_RULE keeps its commentd75cdd7test(otome-forge): the prestige browser test gives the level-4 love interest its affection meter14eb0beMerge branch 'staging' into feat/otome-prestige-2025📊 Changes
34 files changed (+1294 additions, -291 deletions)
View changed files
➕
artifacts/otome-forge-0.6.15.zip(+0 -0)📝
catalog/preview/catalog.json(+8 -8)📝
catalog/preview/notes.json(+7 -7)📝
catalog/preview/v2/catalog.json(+8 -8)📝
catalog/preview/v2/notes.json(+7 -7)📝
catalog/preview/v3/catalog.json(+8 -8)📝
catalog/preview/v3/notes.json(+7 -7)📝
packages/otome-forge/CHANGELOG.md(+7 -1)📝
packages/otome-forge/README.md(+3 -2)📝
packages/otome-forge/client.js(+61 -48)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+131 -127)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json(+9 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/Reader.tsx(+19 -10)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/story/StoryHome.tsx(+135 -21)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+21 -2)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts(+53 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+13 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/ids.ts(+12 -4)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/items/character-story.ts(+22 -8)...and 14 more files
📄 Description
Pull request
Linked issue
Closes #2025
Why this change
Affection with a love interest stopped meaning anything at level 10, the maximum. The maintainer asked for a prestige system after that: it goes on forever, and every three extra points unlock a new extra story, written like a Character Story. Those stories are imagined scenarios the two of them explore for fun:
After each unlock the points reset, and it starts over.
What changed
Otome Hearth 0.6.15 (
otome-forge).The numbers (
shared/economy.ts,prestigeOf). Everything is computed from his affection points, which were never capped, so nothing new is stored but the stories themselves.over= points − 2700, never below 0. Level 10 is 2700.Losses (
state/relationship.ts,affectionFloorOf). At level 10 the affection floor is 2700 + 900 × unlocked stories, so a hostile pick can never take an unlocked story back. Points inside the current set of three can still fall, the same way points within a level can. Below level 10, nothing changes.Writing a story (new
items/prestige.tsand routePOST /runs/:run/prestige/:liinroutes/arcs.ts).story-kind chapter with keyprestige-<li>-<n>, run through the normal Character Story beat engine: him alone in every node, no stage move, beat Starlight only.readOrGenerate, so a double tap plans it once. It returns his latest story when nothing new is unlocked, and answers 409lockedbefore his first unlock.sideStoryNodesand reused here.The planner prompt (P25,
items/prompts.ts). The model picks one of three kinds:The prompt frames the story as something they imagine or play out for fun, not canon. It lists his earlier extra stories and tells the model not to repeat one. The normalizer refuses an unknown kind, a kink when NSFW is off, an empty premise, and the wrong node count. No censorship or softening wording was added; the normal content contract applies.
Kept out of the main story.
story/prompts.ts).story/beats.ts).story/canon.ts), so a vampire AU can't leak into later chapters.story/chapters.ts).Client.
RunLiView.prestigeis sent only at level 10, never his raw points.packages/otome-forge/README.mddocuments prestige.Two of Dottore's notes from #2031:
EXITS_RULE's comment sits on it again, and the 0.6.14 release note no longer promises the writer "always" words choices to you.Tests.
tests/otome-forge-prestige.regression.ts(7 tests) covers the math, the loss floor, the route's idempotency and locking, the P25 prompt and normalizer, the play-through rules (choices change nothing, never a memory source, not-canon framing), the run view, and that the premise stays on the server. Each proof fails when its source file is reverted.tests/otome-forge-server-bundle.regression.mjsnow registers the new route.tests/package-otome-forge-presentation.e2e.ts.Rebuilt
client.js,server.mjs, the manifest,artifacts/otome-forge-0.6.15.zipand the preview catalog entries.Package and security impact
otome-forgePOST /runs/:run/prestige/:li, inside the existing package server. No new permissions.prestigefield. Older chapters, states and cached views read back unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
npx tsx --tsconfig tests/tsconfig.regressions.json --test "tests/otome-forge-*.regression.ts"passes 555/555, andnode --test "tests/otome-forge-*.regression.mjs"passes 12/12, including the server-bundle snapshot with the new route.npm run format:check, both locale validators andgit diff --checkpass.For a human to verify:
Design follow-ups, not in this PR:
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.