mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1985] [MERGED] feat(otome-forge): 0.6.8 — story arcs that land, the end-of-arc choice, and a love interest who arrives (M1–M3) #2060
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#2060
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/1985
Author: @SpicyMarinara
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-story-arcs-m1📝 Commits (9)
c4bcc58feat(otome-forge): story arcs, with the mystery's answer on a schedule (#1980, M1)ba8f614fix(otome-forge): the arc's repeat checks read the run's history; one piece per love interest per arc492591afix(otome-forge): the arc line reads its own locale key661ad69feat(otome-forge): the end-of-arc choice, breathing arcs, and a love interest who arrives (#1983 M2, M3)9bf8dcbtest(otome-forge): pin the newcomer's arrival and the refused arrival65d2267docs(otome-forge): the chapter list does not name each chapter's arc yetf3aa0c3build(otome-forge): ship the 0.6.8 artifact the catalog points at78941b6fix(otome-forge): Dottore's five findings on the arc choice and the newcomer1208560Merge branch 'staging' into feat/otome-story-arcs-m1📊 Changes
36 files changed (+2318 additions, -312 deletions)
View changed files
➕
artifacts/otome-forge-0.6.7.zip(+0 -0)➕
artifacts/otome-forge-0.6.8.zip(+0 -0)📝
catalog/preview/catalog.json(+8 -8)📝
catalog/preview/notes.json(+12 -12)📝
catalog/preview/v2/catalog.json(+8 -8)📝
catalog/preview/v2/notes.json(+12 -12)📝
catalog/preview/v3/catalog.json(+8 -8)📝
catalog/preview/v3/notes.json(+12 -12)📝
packages/otome-forge/CHANGELOG.md(+9 -0)📝
packages/otome-forge/README.md(+4 -0)📝
packages/otome-forge/client.js(+45 -45)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+150 -141)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json(+53 -33)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/draft.ts(+7 -3)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/story/StoryHome.tsx(+194 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+53 -0)➕
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/cast.ts(+7 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/ids.ts(+3 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/runs.ts(+1 -2)...and 16 more files
📄 Description
Pull request
Linked issue
Closes #1984
Closes #1985
Closes #1986
Refs #1983
Why this change
Before this, Otome Hearth planned one main chapter at a time. There was no long-term plan, and the mystery's whole truth was handed to every chapter planner with the instruction "(never stated outright)", so the mystery raised at setup could never be answered.
This PR delivers the first three milestones of #1983 in one release (0.6.8), as the maintainer asked:
M4 (polish) follows after this merges.
What changed
M1 — the arc itself
schemas/story-arc.ts,story/arc.ts,ids.ts): one${R}:arc:<n>per arc, swept with the run. Chapter numbers stay global; completion and progress are derived from the chapters, never stored.story/chapters.ts,story/prompts.ts): the truth now reaches a planner prompt only in the chapter scheduled to reveal it (the route/repair line that always carried it is gone); a scheduled chapter must place the reveal on a node whose cast holds the piece's holder; any other chapter's reveal is dropped; the arc's last chapter must carry the big event in its climax. Chapter plan budget raised from 4,000 to 10,000 tokens.M2 — the end-of-arc choice
POST /runs/:run/arcs {choice}plans the next arc: breathe (3–5 chapters, no plot, no reveals, a warm ending), continue (another story arc), or newcomer. Writing one document keeps it atomic; a repeat call returns the arc already there; 409 while the current arc is unfinished.storyView.arcChoiceoffers the three ways exactly when an arc has ended and no next arc exists;nextis null meanwhile, andPOST /chapters/nextanswers 409 "Choose how the story goes on."M3 — someone new
story/introduce.ts: a card or an invented love interest writes their unit, their bible (checked against every existing love interest), their ties intoworld.web, and appends them last to the cast order — the arc's first chapter meets them beside at least one of the others. Nothing touchesworld.forge.steps, so a mid-run arrival never drops the player onto a forge screen.LIS_MIN/LIS_MAXmoved intoshared/cast.tsso the client and server cannot drift.Package and security impact
otome-forgePOST /runs/:run/arcs).Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
typecheck-packages.mjs otome-forge: no errors (86 server/shared, 137 client).npm run test:otome-forge: all pass, including the 17 assertions intests/otome-forge-story-arcs.regression.ts:revealNoderefused; a node without the holder refused; an unscheduledrevealNodedropped; the last chapter'seventNoderequired; both stamped fields absent from the client; progress counted from completed chapters.POST /arcsrefused mid-arc and for a newcomer nobody named.format:check,test-catalog-lanes,validate-package-localesandvalidate-package-locale-keyspass.validate-catalogneeds the full artifacts set, so CI's Catalog validation runs it.ba8f614dc(repeat history, one piece per love interest, ending position, blank label, README claim) and492591a70(a locale key).Please verify by hand:
Documentation impact
UI evidence (if applicable)
The Story screen gains an arc line and, at an arc's end, a three-button card; the newcomer opens a dialog with a card list or a name field.
Owner: @SpicyMarinara (made by Claude).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.