[PR #2124] [MERGED] fix(otome-forge): write scenes as before 0.8.9 (0.8.10) #2129

Closed
opened 2026-11-07 16:39:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2124
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-restore-scene-writing


📝 Commits (1)

  • cefc05b fix(otome-forge): write scenes as before 0.8.9 (0.8.10)

📊 Changes

17 files changed (+197 additions, -236 deletions)

View changed files

➕ artifacts/otome-forge-0.8.10.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+4 -0)
📝 packages/otome-forge/README.md (+2 -2)
📝 packages/otome-forge/manifest.json (+3 -3)
📝 packages/otome-forge/server.mjs (+103 -103)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/story.ts (+1 -4)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/beats.ts (+21 -39)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-beats.regression.ts (+19 -34)
📝 tests/otome-forge-date-night.regression.ts (+5 -7)
📝 tests/otome-forge-logs.regression.ts (+2 -7)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #2125

Refs #2122. Corrects #2123 (0.8.9).

Why this change

0.8.9 changed how scenes are written, which the maintainer did not ask for: they asked only about image generation. To paint art early it wrote a chapter's scenes ahead up to the next big choice, so later scenes missed the small choices made in between. This puts scene writing back exactly as it was in 0.8.8.

What changed

  • otome-forge 0.8.10: story/beats.ts, routes/story.ts, the README's scene text and the beats, logs and date tests are restored from 0.8.8 (1c6e97990). git diff 1c6e97990 of those files is empty. Scenes are written when you reach them, and the next one is written ahead while you read, as before.
  • Kept from 0.8.9:
    • The 10-minute deadline on one paid image (art/paint.ts). A call that never answered held its connection's paint queue, so every picture behind it waited; this is the "Painting this moment…" that hung for 30 minutes. It now ends as failed with Retry, the next picture starts, and a late image is deleted.
    • The reader keeps looking for a pending key image for 12 minutes instead of 3 (use-reader.ts).
    • The Story connection for Date Night, Read Them, Read Me, the banner plan, Character Stories and prestige stories, as the maintainer asked.

Package and security impact

  • Affected package IDs: otome-forge
  • Engine compatibility impact: none (Engine 2.5.1+, capability API 1.386). Built against the same Engine commit as 0.8.7–0.8.9.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify that a chapter writes each scene as you reach it and only the next one ahead, and that a small choice shows up in the following scenes.
  • Manually verify that a picture whose image service never answers ends with Retry after about 10 minutes.

Agent-run checks:

  • npm run test:otome-forge: 690 pass (677 + 13): the restored 0.8.8 tests plus the Story-connection and image-deadline tests.
  • build-feature-packages.mjs otome-forge, validate-catalog.mjs (v2=44, v3=44), catalog-release-notes, format:check and the strict package typecheck: pass.
  • git diff --stat 1c6e97990 -- packages/otome-forge/src tests shows only use-reader.ts, art/paint.ts, the six Story-connection files and two test files.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/2124 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/5/2026 **Status:** ✅ Merged **Merged:** 11/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-restore-scene-writing` --- ### 📝 Commits (1) - [`cefc05b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cefc05b5c02d38c38c294fa7613867365cf4d0e1) fix(otome-forge): write scenes as before 0.8.9 (0.8.10) ### 📊 Changes **17 files changed** (+197 additions, -236 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.8.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+4 -0) 📝 `packages/otome-forge/README.md` (+2 -2) 📝 `packages/otome-forge/manifest.json` (+3 -3) 📝 `packages/otome-forge/server.mjs` (+103 -103) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/story.ts` (+1 -4) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/beats.ts` (+21 -39) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-beats.regression.ts` (+19 -34) 📝 `tests/otome-forge-date-night.regression.ts` (+5 -7) 📝 `tests/otome-forge-logs.regression.ts` (+2 -7) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #2125 Refs #2122. Corrects #2123 (0.8.9). ## Why this change 0.8.9 changed how scenes are written, which the maintainer did not ask for: they asked only about image generation. To paint art early it wrote a chapter's scenes ahead up to the next big choice, so later scenes missed the small choices made in between. This puts scene writing back exactly as it was in 0.8.8. ## What changed - **otome-forge 0.8.10:** `story/beats.ts`, `routes/story.ts`, the README's scene text and the beats, logs and date tests are restored from 0.8.8 (`1c6e97990`). `git diff 1c6e97990` of those files is empty. Scenes are written when you reach them, and the next one is written ahead while you read, as before. - **Kept from 0.8.9:** - **The 10-minute deadline on one paid image** (`art/paint.ts`). A call that never answered held its connection's paint queue, so every picture behind it waited; this is the "Painting this moment…" that hung for 30 minutes. It now ends as failed with **Retry**, the next picture starts, and a late image is deleted. - **The reader** keeps looking for a pending key image for 12 minutes instead of 3 (`use-reader.ts`). - **The Story connection** for Date Night, Read Them, Read Me, the banner plan, Character Stories and prestige stories, as the maintainer asked. ## Package and security impact - Affected package IDs: `otome-forge` - Engine compatibility impact: none (Engine 2.5.1+, capability API 1.386). Built against the same Engine commit as 0.8.7–0.8.9. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify that a chapter writes each scene as you reach it and only the next one ahead, and that a small choice shows up in the following scenes. - Manually verify that a picture whose image service never answers ends with **Retry** after about 10 minutes. Agent-run checks: - `npm run test:otome-forge`: 690 pass (677 + 13): the restored 0.8.8 tests plus the Story-connection and image-deadline tests. - `build-feature-packages.mjs otome-forge`, `validate-catalog.mjs` (v2=44, v3=44), `catalog-release-notes`, `format:check` and the strict package typecheck: pass. - `git diff --stat 1c6e97990 -- packages/otome-forge/src tests` shows only `use-reader.ts`, `art/paint.ts`, the six Story-connection files and two test files. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:43 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#2129
No description provided.