[PR #1991] [MERGED] feat(otome-forge): 0.6.9 — arc polish: grouped chapters, the arc in the reader, a quiet-stretch badge (M4) #2061

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1991
Author: @SpicyMarinara
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/otome-arcs-m4


📝 Commits (2)

  • f1a56e7 feat(otome-forge): arc polish — grouped chapters, the arc in the reader, a quiet-stretch badge (#1983 M4)
  • 740ee2e fix(otome-forge): arc headings only for prologue and main chapters; older chapters name their arc in the reader

📊 Changes

22 files changed (+288 additions, -180 deletions)

View changed files

➕ artifacts/otome-forge-0.6.9.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 (+5 -0)
📝 packages/otome-forge/README.md (+1 -1)
📝 packages/otome-forge/client.js (+9 -9)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+82 -82)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+4 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx (+8 -4)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/story/StoryHome.tsx (+54 -32)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts (+2 -0)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story.ts (+1 -0)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/chapters.ts (+6 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/fixtures/otome-forge-fakes.ts (+6 -2)

...and 2 more files

📄 Description

Pull request

Linked issue

Closes #1990
Refs #1983

Why this change

The last milestone of the story-arc work (#1983). M1–M3 landed as 0.6.8: the arc with its scheduled reveals, the end-of-arc choice, and a love interest who arrives. M4 is the polish that makes the arc legible in play, plus the one proof gap Dottore noted in its review.

Without it, the player sees "Arc The drowned bell · chapter 4 of 10" but the chapter list is one flat run, the reader never says which arc a chapter belongs to, and a breathing-room arc looks identical to the plot stalling.

What changed

  • The chapter list groups chapters under their arc, with a heading where a new arc begins and one for the chapters from before arcs existed. (StoryHome.tsx, three locale keys.)
  • A main chapter stores its arc (Chapter.arc, written by the planner and normalized by schemas/story.ts), so the reader's eyebrow can read "Arc 2 · Chapter 4" through chapterEyebrowKey.
  • A breathing-room arc shows a quiet-stretch badge beside its arc line, so a plot-free stretch is labelled as one.
  • Dottore's proof gap: the previous test exercised revealedSoFar directly. The new test plans a second arc through planArc itself, with a scripted reply that reschedules the piece the first arc already revealed, and expects the refusal. The fakes gained an arcReply option so a test can script the arc planner.
  • 0.6.9, with its changelog entry and README sentence, and rebuilt bundles and artifact.

Package and security impact

  • Affected package IDs: otome-forge
  • Engine compatibility impact: none; no new capability.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. Chapter.arc is optional, so chapters stored before this read unchanged.

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

Agent-side checks:

  • typecheck-packages.mjs otome-forge: no errors (86 server/shared, 137 client).
  • npm run test:otome-forge: all pass; tests/otome-forge-story-arcs.regression.ts now holds 18 assertions, including the new planArc proof gap.
  • node scripts/validate-catalog.mjs passes in a full checkout: 42 packages, lanes v2=42 and v3=42, preview overlay valid.
  • npm run format:check, test-catalog-lanes, validate-package-locales and validate-package-locale-keys pass.
  • The route snapshot is unchanged (no new route).

Please verify by hand:

  • Manually verify the chapter list groups under arc headings on desktop and phone.
  • Manually verify a chapter's reader shows "Arc 2 · Chapter 4".
  • Manually verify a breathing-room arc shows the quiet-stretch badge.

Documentation impact

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

UI evidence (if applicable)

The chapter list gains arc headings, the reader eyebrow gains the arc, and a breathing arc gains one badge.

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.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1991 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/otome-arcs-m4` --- ### 📝 Commits (2) - [`f1a56e7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f1a56e78ecd6761c743c6c9dc4604acf928a8d94) feat(otome-forge): arc polish — grouped chapters, the arc in the reader, a quiet-stretch badge (#1983 M4) - [`740ee2e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/740ee2e233d4fbb1673eb17c9462d2d8bb912e3c) fix(otome-forge): arc headings only for prologue and main chapters; older chapters name their arc in the reader ### 📊 Changes **22 files changed** (+288 additions, -180 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.6.9.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` (+5 -0) 📝 `packages/otome-forge/README.md` (+1 -1) 📝 `packages/otome-forge/client.js` (+9 -9) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+82 -82) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+4 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx` (+8 -4) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/story/StoryHome.tsx` (+54 -32) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts` (+2 -0) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/story.ts` (+1 -0) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/story/chapters.ts` (+6 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/fixtures/otome-forge-fakes.ts` (+6 -2) _...and 2 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1990 Refs #1983 ## Why this change The last milestone of the story-arc work (#1983). M1–M3 landed as 0.6.8: the arc with its scheduled reveals, the end-of-arc choice, and a love interest who arrives. M4 is the polish that makes the arc legible in play, plus the one proof gap Dottore noted in its review. Without it, the player sees "Arc The drowned bell · chapter 4 of 10" but the chapter list is one flat run, the reader never says which arc a chapter belongs to, and a breathing-room arc looks identical to the plot stalling. ## What changed - **The chapter list** groups chapters under their arc, with a heading where a new arc begins and one for the chapters from before arcs existed. (`StoryHome.tsx`, three locale keys.) - **A main chapter stores its arc** (`Chapter.arc`, written by the planner and normalized by `schemas/story.ts`), so the reader's eyebrow can read "Arc 2 · Chapter 4" through `chapterEyebrowKey`. - **A breathing-room arc shows a quiet-stretch badge** beside its arc line, so a plot-free stretch is labelled as one. - **Dottore's proof gap:** the previous test exercised `revealedSoFar` directly. The new test plans a second arc through `planArc` itself, with a scripted reply that reschedules the piece the first arc already revealed, and expects the refusal. The fakes gained an `arcReply` option so a test can script the arc planner. - **0.6.9**, with its changelog entry and README sentence, and rebuilt bundles and artifact. ## Package and security impact - Affected package IDs: `otome-forge` - Engine compatibility impact: none; no new capability. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. `Chapter.arc` is optional, so chapters stored before this read unchanged. ## 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 Agent-side checks: - `typecheck-packages.mjs otome-forge`: no errors (86 server/shared, 137 client). - `npm run test:otome-forge`: all pass; `tests/otome-forge-story-arcs.regression.ts` now holds 18 assertions, including the new `planArc` proof gap. - `node scripts/validate-catalog.mjs` passes in a full checkout: 42 packages, lanes v2=42 and v3=42, preview overlay valid. - `npm run format:check`, `test-catalog-lanes`, `validate-package-locales` and `validate-package-locale-keys` pass. - The route snapshot is unchanged (no new route). Please verify by hand: - [ ] Manually verify the chapter list groups under arc headings on desktop and phone. - [ ] Manually verify a chapter's reader shows "Arc 2 · Chapter 4". - [ ] Manually verify a breathing-room arc shows the quiet-stretch badge. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The chapter list gains arc headings, the reader eyebrow gains the arc, and a breathing arc gains one badge. Owner: @SpicyMarinara (made by Claude). 🤖 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:10 +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#2061
No description provided.