mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1880] [MERGED] [WIP] fix(otome-forge): ground chapters in authored persona facts #2012
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#2012
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/1880
Author: @SpicyMarinara
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-persona-grounding📝 Commits (10+)
8fd26a6fix(otome-forge): read authored persona story fields separately from image overrides719ea29fix(otome-forge): refresh full authored persona grounding for story generation77d1a84fix(otome-forge): treat authored persona fields as canondedc781Merge commit '805a000dee' into fix/otome-persona-groundingb5259c6build(otome-forge): publish authored persona grounding in 0.1.9faa486cMerge commit '9533ed2f9f' into fix/otome-persona-groundingdbf730dMerge commit 'de2d6562b7' into fix/otome-persona-grounding2245ac3build(otome-forge): include chapter replay cache repair in 0.1.9bae72b8Merge commit '018b407d4b' into fix/otome-persona-grounding2e06234Merge remote-tracking branch 'origin/staging' into fix/otome-persona-grounding📊 Changes
22 files changed (+314 additions, -146 deletions)
View changed files
➕
artifacts/otome-forge-0.1.9.zip(+0 -0)📝
catalog/preview/catalog.json(+6 -6)📝
catalog/preview/notes.json(+6 -0)📝
catalog/preview/v2/catalog.json(+6 -6)📝
catalog/preview/v2/notes.json(+6 -0)📝
catalog/preview/v3/catalog.json(+6 -6)📝
catalog/preview/v3/notes.json(+6 -0)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/README.md(+3 -2)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/server.mjs(+108 -106)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+2 -2)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/minigames/date-night.ts(+2 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/runs.ts(+7 -7)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/player.ts(+4 -2)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/setup/forge.ts(+2 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/setup/prompts.ts(+32 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/beats.ts(+2 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/chapters.ts(+4 -1)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/routes-plan.ts(+2 -1)...and 2 more files
📄 Description
Linked issue
Closes #1879. Owner: @SpicyMarinara (Codex).
Why this change
Otome chapter and scene writers previously received only the persona’s Description. A missing Personality, Backstory or Appearance let the writer invent conflicting facts about the player’s character.
What changed
Package and security impact
otome-forge0.1.9; existing Engine >=2.5.1 <4.0.0 and Capability API 1.386 unchanged.Validation
Passed: npm check (0 errors, 815 existing warnings), strict types (78 server/shared, 125 client files), all 399 regressions (394 TypeScript + 5 rebuilt-bundle smoke checks), catalog lanes, localization, catalog/archive validation, release notes and whitespace.
The source regressions first failed on existing-run chapter/scene requests without a prior UI read. They now verify complete long fields, current edits between chapter planning and scene writing, excluded roleplay/metadata fields, separate image overrides and own-persona fallback after missing or failed resource reads. Eleven focused persona/image regressions passed.
An independent temporary harness activated the exact compiled server and drove real chapter/scene handlers. The 0.1.8 server failed the full-field guard; 0.1.9 passes, including edits after planning and exclusion of image-only overrides. An initial test string ending in whitespace was corrected with an end sentinel to reflect the existing trim behavior; its first failure is retained. This proof uses controlled model replies, not a live provider.
Final local CodeRabbit at
bae72b8b2completed with zero findings across the changed text files, with the 0.1.8 frozen candidate as baseline. The actual 0.1.8 staging ancestry merge changed no tree bytes. A later disclosure-only review repair updates README/release-note text and their generated sidecars; all payload pins remain unchanged. Dottore’s initial LOW identified that the disclosure omitted other consumers of the shared protagonist context. All aboutLine/protagonistBlock callers were traced, including item/outfit prompts as well as phone, Home, care and Read Him. README and release notes now name every context and distinguish fresh story reads from the other prompts’ saved copy. No runtime change or new provider call was needed. CodeRabbit at4d2447c69reviewed all five documentation/sidecar changes with zero findings after one recorded temporary service quota rejection and its permitted retry.Independent ZIP audit verifies payload bytes/hashes, exact safe membership, all preview pins and CRC.
node scripts/validate-catalog.mjspasses locally.git diff --checkpasses locally.Manual verification notes
No physical-device, live-provider quality, or manual Download Agents lifecycle claim. No new visual controls. The source, compiled-handler and archive proof lives in
/tmp/otome-019-*.Documentation impact
Updated package README and 0.1.9 release notes. No Engine documentation changes.
ZIP SHA256:
21c1d085fee700b7095cc552f41ff7b940f44e4eda4ddbdaf306336e85ebc7ba(1,641,564 bytes). Server:68c5e0cd9b6b8d88a2ddf7d03225ebbdbc67374b9b24b92800d4b4425786176a. Client unchanged from 0.1.8:688196fa523f45315cda7f3d16401bd34014bc7388d3af6b45d420d2e8aced15.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.