mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2069] [MERGED] refactor(otome-forge): every Otome Hearth prompt in one file (0.6.26) #2100
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#2100
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/2069
Author: @SpicyMarinara
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:chore/otome-prompts-one-file📝 Commits (3)
7920a3crefactor(otome-forge): every Otome Hearth prompt in one filefd83de6Merge staging (0.6.25) into chore/otome-prompts-one-file; carry the #2061 writing rules into prompts.ts07bd7dachore(otome-forge): release 0.6.26📊 Changes
108 files changed (+6183 additions, -5964 deletions)
View changed files
➕
artifacts/otome-forge-0.6.26.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(+4 -0)📝
packages/otome-forge/client.js(+1 -1)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+182 -182)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/accent.ts(+2 -2)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/cycle.ts(+1 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ContentTagsCard.tsx(+1 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+2 -2)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/read-me.ts(+2 -2)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/wish.ts(+1 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+1 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/cg.ts(+3 -3)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/expressions.ts(+2 -2)...and 80 more files
📄 Description
Pull request
Linked issue
Closes #2064
Why this change
The maintainer is going to rewrite Otome Hearth's prompts by hand, and they were spread across about two dozen files, so it was hard to see them together. In their words: "Why aren't they all in one file? Makes no sense."
What changed
Package:
otome-forge(Otome Hearth) 0.6.26. Not one word of any prompt changed.sources/forge-kitand Gacha Forge are untouched.services/otome-forge/prompts.ts(about 4,600 lines) holds every Otome-owned prompt: 259 top-level names moved from 21 files.prompts.ts. Code that checks replies, schemas and routes stays where it was.story/prompts.ts→story/replies.ts,setup/prompts.ts→setup/cast.ts,phone/prompts.ts→phone/replies.ts,home/prompts.ts→home/replies.ts,care/prompts.ts→care/care-line.ts,items/prompts.ts→items/replies.ts,wish/prompts.ts→wish/replies.ts.art/prompts.ts,content-contract.ts,writing-rules.ts,scene-card.ts.pronounTextare now one.prompts.ts, and itsWRITING_RULESmatches staging's exactly.Release: 0.6.26 with a CHANGELOG entry. The rebuilt
server.mjs,client.js, manifest, preview catalogs andartifacts/otome-forge-0.6.26.zipagree.client.jsdiffers by one path in a CSS comment.Package and security impact
otome-forge(0.6.25 → 0.6.26).Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally, to prove no prompt changed:
Source comparison. A TypeScript AST script compared every top-level declaration in the old 90 server files with the new tree as a token stream. String, template and regex tokens were compared character for character. Each identifier was checked for what it refers to, so a moved helper still points at the same target. All 2,925 statements match, apart from the merged
pronounTextcopies, one removed re-export and one type-only alias.Rendered output. The old tree and the new one each rendered every one of the 103 exported prompt builders and constants, under:
Every hash matched, with 0 mismatches.
Suites after the rebase:
.mjsregressions;Full package browser suite before the rebase: all 10 spec files pass, with no module-initialisation errors.
Completeness review. A separate review scanned for prompt text left outside the file and found none. Its notes on the table of contents (shared-block users, the music brief entry, the care line, the kit-matched sentence, the P25 label, stale comments) are all fixed.
For a human to verify:
services/otome-forge/prompts.ts. Manually verify the CONTENTS list lets you find the prompt you want to rewrite, and that ELSEWHERE explains what isn't in the file.When you rewrite prompts:
tests/otome-forge-sfw-defaults.regression.tsandtests/otome-forge-seasons.regression.tspin the exact story and banner prompts. Take the new values from the failing assertion's "actual".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.