mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2130] [MERGED] feat(otome-forge): tell the next main chapter what's on your mind from Home (0.8.12) #2131
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#2131
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/2130
Author: @SpicyMarinara
Created: 11/6/2026
Status: ✅ Merged
Merged: 11/6/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-your-thoughts📝 Commits (6)
4496cf8feat(otome-forge): tell the next main chapter what's on your mind from Home (0.8.12)4aac46bfix(otome-forge): word the thoughts' plan line as possibilities, not a checklist (0.8.12)876a350fix(otome-forge): quote Your thoughts… as one string in the prompts (0.8.12)de5c782fix(otome-forge): Your thoughts… opens only once Home has answered (0.8.12)ef40934Merge remote-tracking branch 'origin/staging' into feat/otome-your-thoughtse464537test(otome-forge): fix the Your thoughts… e2e description check, and leave the memory poll out of 'no request' steps (0.8.12)📊 Changes
31 files changed (+1173 additions, -450 deletions)
View changed files
➕
artifacts/otome-forge-0.8.12.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/README.md(+4 -1)📝
packages/otome-forge/client.js(+224 -221)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+146 -145)📝
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/home/HomeScreen.tsx(+56 -6)➕
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/home/ThoughtsSheet.tsx(+127 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+25 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/home.ts(+9 -3)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+3 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/prompts.ts(+48 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/home.ts(+23 -1)...and 11 more files
📄 Description
Pull request
Linked issue
Closes #2127
Why this change
After a story-heavy chapter, players had no way to tell the story what their protagonist is thinking or planning. They might want to look into something, or not be able to forget what a love interest did, or wish for a hug on a bad day. The maintainer asked for a Your thoughts… button on Home, beside the calendar. It opens a small window with a free-text box. What is sent is used for the next main story chapter only, then dropped, and the player can come back with new thoughts any time.
What changed
client.js,server.mjs, manifest, artifact and catalog entries).screens/home/HomeScreen.tsx: a round thought-bubble button after Remind Me in Home's rail row, same size as the calendar button. The bubble is an inline SVG on lucide's 24×24 grid, since lucide has none. A dot shows while thoughts wait.screens/home/ThoughtsSheet.tsx: a Dialog with one textarea (up to 1000 characters), prefilled with any thoughts still waiting.ui.otomeForge.home.thought*keys.RunState.thoughts({ text, at } | null), read bynormalizeState.GET /runs/:run/homereturns it. NewPOST /runs/:run/home/thoughts { text }trims and saves it; empty text clears it. It calls no model; 400 over the limit, 404 for a missing run.story/chapters.ts: the next main chapter's plan reads the waiting thoughts inside its queued step and gets them after its cached part.Chapter.thoughts, stripped bytoChapterView).prompts.tsthoughtsLines: in P5, and in the uncached tail of that main chapter's scenes, Confrontation and Closer.Package and security impact
otome-forgePOST /runs/:run/home/thoughts. No new permissions.thoughtsfield in the run's state document (null for older stories), and a hiddenthoughtscopy on the main chapter that used them. Deleting the story removes both.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
THE PROTAGONIST'S THOUGHTSin its plan and scenes, and that the dot is gone afterwards.Agent-run checks:
npm run test:otome-forge: 683 + 13 pass, 0 fail. Two checks were confirmed by breaking the code on purpose: dropping theatcomparison fails the chapters test, and dropping the main-chapter check fails the beats test.npm run check: Prettier clean, ESLint 0 errors.validate-catalog.mjs(44 packages, v2=44, v3=44),validate-package-locales,validate-package-locale-keys,test-catalog-lanes,catalog-release-notes,ui-translation-retention,git diff --check: pass.876a350f4: they are JSON-quoted, as the notebook's words are, with a regression assertion. After it:test:otome-forge683 + 13 pass, strict typecheck clean.Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.