[PR #1973] [MERGED] feat(otome-forge): 0.6.5 seasonal banners, one rotation a month on the month's theme #2056

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

📋 Pull Request Information

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

Base: staging ← Head: feat/otome-seasonal-banners


📝 Commits (2)

  • 13ae8d3 feat(otome-forge): 0.6.5 seasonal banners, one rotation a month on the month's theme (#1972)
  • de27665 fix(otome-forge): 0.6.5's release note is plain text, as the Engine shows it

📊 Changes

22 files changed (+653 additions, -213 deletions)

View changed files

➕ artifacts/otome-forge-0.6.5.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/README.md (+2 -1)
📝 packages/otome-forge/client.js (+42 -40)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+120 -119)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+12 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/wish/WishScreen.tsx (+26 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/wish.ts (+37 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts (+2 -0)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/wish.ts (+2 -0)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/banners.ts (+11 -1)
📝 packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/prompts.ts (+37 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 2 more files

📄 Description

Pull request

Linked issue

Closes #1972

Why this change

  • The problem (maintainer's request): Wish banners never followed the calendar. Every fortnight's three banners were the planner's free choice, so October brought no Halloween banner and December no Christmas one.
  • Maintainer, verbatim: "We also need to make it so we have seasonal banners in Otome hearth. One banner each month should be seasonal, one is up to AI. So, for example, in October, one banner should be Halloween themed. November: autumn. December: Christmas. Etc."
  • Which rotation is seasonal (maintainer's decision): the first 14-day rotation that starts in a calendar month. A rotation is 14 days long, so exactly one starts on days 1–14, and a later one that month stays the AI's free choice. The start day is already computed in the request's time zone.
  • Worlds without the holiday (maintainer's decision): they get the world's own version, such as a winter festival of gifts and lights in December or a night of masks and spirits in October. A real-world setting gets the holiday itself.

What changed

otome-forge 0.6.5 (staging-only).

  • The season helper (shared/wish.ts rotationSeason): a rotation's start day → its month's season, or none when it starts on day 15 or later, or when the day key isn't a real day. SEASONS runs January to December: New Year, Valentine's Day, White Day, cherry blossoms, gardens in bloom, June bride, summer festival, summer nights, harvest moon, Halloween, autumn, Christmas.
  • P20 (wish/prompts.ts): a seasonal rotation's user message gains one paragraph: "SEASON: this rotation is October's seasonal banner. Theme: Halloween. Every title, premise, look and Snapshot follows the theme…", with the world's own version named where it has no such holiday. The Heat, the content contracts and every other rule are untouched. Any other rotation's prompt is byte for byte what it was; a regression pins those digests.
  • New ideas (wish/banners.ts, prompts.ts): the theme's earlier banners of the kind are listed after the last twelve titles, so next year's October banner is not this year's again.
  • Storing it: the banner keeps season (normalized field by field, absent on older banners), and BannerView carries it, so current banners and Echoes both show it.
  • The badge (WishScreen.tsx, theme/styles.ts): a small localized "October · Halloween" badge at the top of the seasonal banner's caption and in its Echo row, on an inline-start-aligned variant of the existing of-badge. Twelve English labels added to the package's canonical locale (src/.../locales/en.json); no other locale touched.
  • Docs and release: README (Wish section), CHANGELOG 0.6.5, rebuilt client, server, manifest, preview catalogs and notes, and artifacts/otome-forge-0.6.5.zip.

Package and security impact

  • Affected package IDs: otome-forge (0.6.5, staging-only). Gacha Forge and sources/ are untouched.
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none. Banner and BannerView gain an optional season.
  • Storage: one optional string field on the banner document. Banners written before 0.6.5 have none and behave as before. No migration.
  • 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

Agent-side checks, all run on this branch's heads:

  • Pass: build-feature-packages.mjs otome-forge (rebuilding twice leaves the tree unchanged), typecheck-packages.mjs otome-forge (83 server/shared, 136 client files, no strict errors), npm run test:otome-forge (513 + 12), npm run check (0 errors), test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes, git diff --check.
  • Pass: the loop browser suite (package-otome-forge-loop.e2e.ts, 4 passed), which now also checks a seasonal banner shows its "November · Autumn" badge.
  • tests/otome-forge-seasons.regression.ts (new):
    • Every month's season, for days 1, 7 and 14; day 14 is the last seasonal start and day 15 the first that is not; bad day keys give none.
    • From 15 different creation days (every rotation offset, plus a leap day), a year of rotations has exactly one seasonal start per whole month, in that month's own theme.
    • A seasonal plan prompt carries the theme, the world's-own-version rule and the theme's earlier titles; its system message and the task line are unchanged, so the Heat and content rules are the ones every banner gets.
    • Under SFW and under Explicit Heat with Dark romance settings alike.
    • Wish open stores the season on all three banners, shows it in their views and in Echoes, and leaves a later rotation that month unseasoned; next year's October Memories prompt names last year's title even after twelve later banners pushed it past the last twelve.
  • Fail without the fix: with the source change stashed (staging's own wish.ts, prompts.ts, banners.ts), 5 of the 6 tests in the new file fail: wish.SEASONS is not iterable, wish.rotationSeason is not a function twice, the seasonal prompt assertion, and the Wish open assertion. Only the non-seasonal-prompt-digest test passes, as it should. The loop browser suite's badge assertion can't run against the old bundle at all (the old bundle has no season field).
  • Prompt digests (tests/otome-forge-sfw-defaults.regression.ts): unchanged, deliberately: the test builds every banner prompt without a season, which is the path whose bytes are pinned.

Manual checks for a human

  • Manually verify a world whose creation day is in October on a day 1–14 sees "October · Halloween" and the badge on Fetch the fortnight's three banners.
  • Manually verify a later October rotation that month has no badge and banners not on a Halloween theme.
  • Manually verify the badge reads as expected in Echoes and wraps on a phone.
  • Manually verify an existing 0.6.4 story's banners show no badge and that opening its next rotation still works.
  • Manually verify in a world with no Christmas (e.g. a non-Earth setting) that December's banner uses the world's own winter festival instead.

Documentation impact

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

The package README's Wish section documents seasonal banners; the CHANGELOG has the 0.6.5 entry that the catalog notes are built from.

UI evidence (if applicable)

The seasonal badge on a banner at desktop and phone widths was captured locally during the loop suite's badge step (a small gold pill above "until …" in the caption). No before/after image is attached.


🔄 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/1973 **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-seasonal-banners` --- ### 📝 Commits (2) - [`13ae8d3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/13ae8d309b5564a1a6c0fb9b890f1c878bfdfe25) feat(otome-forge): 0.6.5 seasonal banners, one rotation a month on the month's theme (#1972) - [`de27665`](https://github.com/Pasta-Devs/Marinara-Agents/commit/de2766583946ee657452d13144fad81d32c76bcd) fix(otome-forge): 0.6.5's release note is plain text, as the Engine shows it ### 📊 Changes **22 files changed** (+653 additions, -213 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.6.5.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/README.md` (+2 -1) 📝 `packages/otome-forge/client.js` (+42 -40) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+120 -119) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+12 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/wish/WishScreen.tsx` (+26 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/wish.ts` (+37 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts` (+2 -0) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/schemas/wish.ts` (+2 -0) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/banners.ts` (+11 -1) 📝 `packages/otome-forge/src/engine/packages/server/src/services/otome-forge/wish/prompts.ts` (+37 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 2 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1972 ## Why this change - **The problem (maintainer's request):** Wish banners never followed the calendar. Every fortnight's three banners were the planner's free choice, so October brought no Halloween banner and December no Christmas one. - Maintainer, verbatim: "We also need to make it so we have seasonal banners in Otome hearth. One banner each month should be seasonal, one is up to AI. So, for example, in October, one banner should be Halloween themed. November: autumn. December: Christmas. Etc." - **Which rotation is seasonal (maintainer's decision):** the first 14-day rotation that starts in a calendar month. A rotation is 14 days long, so exactly one starts on days 1–14, and a later one that month stays the AI's free choice. The start day is already computed in the request's time zone. - **Worlds without the holiday (maintainer's decision):** they get the world's own version, such as a winter festival of gifts and lights in December or a night of masks and spirits in October. A real-world setting gets the holiday itself. ## What changed `otome-forge` 0.6.5 (staging-only). - **The season helper (`shared/wish.ts rotationSeason`):** a rotation's start day → its month's season, or none when it starts on day 15 or later, or when the day key isn't a real day. `SEASONS` runs January to December: New Year, Valentine's Day, White Day, cherry blossoms, gardens in bloom, June bride, summer festival, summer nights, harvest moon, Halloween, autumn, Christmas. - **P20 (`wish/prompts.ts`):** a seasonal rotation's user message gains one paragraph: "SEASON: this rotation is October's seasonal banner. Theme: Halloween. Every title, premise, look and Snapshot follows the theme…", with the world's own version named where it has no such holiday. The Heat, the content contracts and every other rule are untouched. Any other rotation's prompt is byte for byte what it was; a regression pins those digests. - **New ideas (`wish/banners.ts`, `prompts.ts`):** the theme's earlier banners of the kind are listed after the last twelve titles, so next year's October banner is not this year's again. - **Storing it:** the banner keeps `season` (normalized field by field, absent on older banners), and `BannerView` carries it, so current banners and Echoes both show it. - **The badge (`WishScreen.tsx`, `theme/styles.ts`):** a small localized "October · Halloween" badge at the top of the seasonal banner's caption and in its Echo row, on an inline-start-aligned variant of the existing `of-badge`. Twelve English labels added to the package's canonical locale (`src/.../locales/en.json`); no other locale touched. - **Docs and release:** README (Wish section), CHANGELOG 0.6.5, rebuilt client, server, manifest, preview catalogs and notes, and `artifacts/otome-forge-0.6.5.zip`. ## Package and security impact - Affected package IDs: `otome-forge` (0.6.5, staging-only). Gacha Forge and `sources/` are untouched. - Engine compatibility impact: none. - New or changed permissions/entrypoints: none. `Banner` and `BannerView` gain an optional `season`. - Storage: one optional string field on the banner document. Banners written before 0.6.5 have none and behave as before. No migration. - 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 Agent-side checks, all run on this branch's heads: - **Pass:** `build-feature-packages.mjs otome-forge` (rebuilding twice leaves the tree unchanged), `typecheck-packages.mjs otome-forge` (83 server/shared, 136 client files, no strict errors), `npm run test:otome-forge` (513 + 12), `npm run check` (0 errors), `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes`, `git diff --check`. - **Pass:** the loop browser suite (`package-otome-forge-loop.e2e.ts`, 4 passed), which now also checks a seasonal banner shows its "November · Autumn" badge. - **`tests/otome-forge-seasons.regression.ts` (new):** - Every month's season, for days 1, 7 and 14; day 14 is the last seasonal start and day 15 the first that is not; bad day keys give none. - From 15 different creation days (every rotation offset, plus a leap day), a year of rotations has exactly one seasonal start per whole month, in that month's own theme. - A seasonal plan prompt carries the theme, the world's-own-version rule and the theme's earlier titles; its system message and the task line are unchanged, so the Heat and content rules are the ones every banner gets. - Under SFW and under Explicit Heat with Dark romance settings alike. - Wish open stores the season on all three banners, shows it in their views and in Echoes, and leaves a later rotation that month unseasoned; next year's October Memories prompt names last year's title even after twelve later banners pushed it past the last twelve. - **Fail without the fix:** with the source change stashed (staging's own `wish.ts`, `prompts.ts`, `banners.ts`), 5 of the 6 tests in the new file fail: `wish.SEASONS is not iterable`, `wish.rotationSeason is not a function` twice, the seasonal prompt assertion, and the Wish open assertion. Only the non-seasonal-prompt-digest test passes, as it should. The loop browser suite's badge assertion can't run against the old bundle at all (the old bundle has no `season` field). - **Prompt digests (`tests/otome-forge-sfw-defaults.regression.ts`):** unchanged, deliberately: the test builds every banner prompt without a season, which is the path whose bytes are pinned. ### Manual checks for a human - [ ] Manually verify a world whose creation day is in October on a day 1–14 sees "October · Halloween" and the badge on Fetch the fortnight's three banners. - [ ] Manually verify a later October rotation that month has no badge and banners not on a Halloween theme. - [ ] Manually verify the badge reads as expected in Echoes and wraps on a phone. - [ ] Manually verify an existing 0.6.4 story's banners show no badge and that opening its next rotation still works. - [ ] Manually verify in a world with no Christmas (e.g. a non-Earth setting) that December's banner uses the world's own winter festival instead. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation The package README's Wish section documents seasonal banners; the CHANGELOG has the 0.6.5 entry that the catalog notes are built from. ## UI evidence (if applicable) The seasonal badge on a banner at desktop and phone widths was captured locally during the loop suite's badge step (a small gold pill above "until …" in the caption). No before/after image is attached. --- <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:07 +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#2056
No description provided.