[PR #7819] [MERGED] feat(mari): dated appearance packs #7945

Closed
opened 2026-10-24 04:09:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7819
Author: @Gunterlie
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @Gunterlie

Base: staging ← Head: feat/mari-seasonal-packs


📝 Commits (5)

  • 8713f23 feat(mari): dated appearance packs
  • b7c97c2 fix(mari): voice flavor follows the pack on screen
  • 3786bdc feat(mari): art for the dated appearance pack
  • 6a57584 Merge remote-tracking branch 'origin/staging' into feat/mari-seasonal-packs
  • b492258 test(mari): dated pack inside its window

📊 Changes

42 files changed (+243 additions, -14 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+2 -0)
📝 e2e/mari-appearance-pack.e2e.ts (+42 -0)
➕ packages/client/assets/imagegen/mari-raccoon/prompts.json (+39 -0)
➕ packages/client/public/sprites/mari/raccoon/approval.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/cancelled.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/debugging.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/editing.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/idle.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/images.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/planning.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/portrait-blink.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/portrait-drag.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/portrait-hover.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/portrait-idle.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/portrait-shrug.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/pose-chibi.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/pose-explaining.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/pose-greet.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/pose-point-down.webp (+0 -0)
➕ packages/client/public/sprites/mari/raccoon/pose-point-middle.webp (+0 -0)

...and 22 more files

📄 Description

Important

Release notes: please leave this PR out of CHANGELOG.md and the release text. The pack it adds is meant to be found by users on the day, not announced. No CHANGELOG line is included on purpose.

Why

Professor Mari appearance packs were always on. This adds packs that belong to a date window: inside the window the pack appears by itself (people should not have to dig through settings to see it), and outside it the pack does not exist for the user at all. Users who do not want it can switch away during the window and keep their choice.

What changed

  • Dated packs (season on MariAppearancePack, inclusive local MM-DD window): listed in the appearance chooser only inside the window, and rendered automatically there.
  • Opt-out per window: picking another pack during the window stores mariSeasonOptOut (pack id + year), so the user's pick wins until the window closes and the dated pack returns next year. The stored mariAppearancePackId never becomes the dated pack, so the user's own pick comes back by itself afterwards. Persisted and synced like the other pack fields.
  • Respects Settings → General → Disable seasonal ME themes (#7811): with it on, dated packs neither show by themselves nor appear in the chooser, and the voice flavor is off.
  • One dated pack with its full art set (portraits, held sheet, pull heads, 12 stories, 9 poses) and generation prompts under assets/imagegen/.
  • Home card copy swaps while that pack renders.
  • Voice flavor: the client sends the dated pack it shows (seasonalPackId) with a workspace prompt; the server then adds one context line that may flavor say only. Answers, actions, reason, authorization and approval/diff text are explicitly unchanged. Client-driven, so an opt-out or a server in another time zone cannot desync it.
  • Tests: regression covers window edges, auto-show, per-year opt-out, out-of-window fallback. The e2e UI-state fixture opts out of dated packs, and the pack e2e pins its clock, so CI stays green inside the window.

Validation

  • pnpm check (TypeScript, ESLint, localization, Prettier, build): passed. One existing lint warning in HomeProfessorMariChat.tsx, not touched here.
  • scripts/regressions/mari-appearance-pack.regression.mjs: passed (asset sizes/alpha for every pack plus the new window cases).
  • e2e/mari-appearance-pack.e2e.ts, e2e/home-widget-fit.e2e.ts (desktop-chromium): 4 passed.
  • After merging current staging: pnpm check passed again; regression (now also covering the seasonal-themes toggle) passed; e2e/mari-appearance-pack.e2e.ts + e2e/seasonal-halloween.e2e.ts: 3 passed.
  • A temporary e2e (not committed) with the clock pinned inside the window, at 390/768/1440: pack auto-shows, chooser lists 5 packs, opt-out and opt-back-in persist, no sprite 4xx, Home copy is not clamped.
  • Local CodeRabbit review: 2 trivial findings, reasons below.

Manual verification

  • Set the system date inside the window (see season in packages/client/src/lib/mari-work-animations.ts), reload: the new pack shows on Home, in the omnibar and the top bar, and the Home card copy changes.
  • In the appearance chooser, pick another pack, reload: your pick stays. Pick the dated pack again: it comes back.
  • Inside the window, turn on Settings → General → Disable seasonal ME themes: the pack disappears from Home and the chooser.
  • Set the date outside the window: the pack is not in the chooser and never renders, even if it was picked.
  • Inside the window, ask Professor Mari something: answers and change cards read as usual, only a light flavor in her voice.
  • Check the new sprites animate without jitter in the Mari work timeline (story strips) and the blink on the Home card.

No linked issue: planned work.

@SpicyMarinara

Local CodeRabbit (2 trivial findings, not changed)

  1. Flavor line inside <workspace_context>: that block already carries plain-language lines (e.g. "Embedding model: configured"), and the line itself restricts its effect to say and states literal fields are unchanged.
  2. No re-render at midnight when the window opens/closes: self-corrects on the next render; an open session across the boundary is a short delay for a 4-day window, not worth a timer.

Summary by CodeRabbit

  • New Features
    • Added Professor Mari’s raccoon-themed Halloween appearance, available October 29 through November 1, with a matching greeting and description in the Home hub.
    • During the seasonal window, the raccoon appearance is shown automatically unless you choose another appearance or disable seasonal themes. Your appearance choice is preserved outside the window.
    • When the seasonal appearance is active, Professor Mari can use light raccoon- or Halloween-themed wording in workspace replies.

🔄 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-Engine/pull/7819 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/mari-seasonal-packs` --- ### 📝 Commits (5) - [`8713f23`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8713f23b8be64e8b6a4a6a21223929eb8c2f94ea) feat(mari): dated appearance packs - [`b7c97c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b7c97c20a95533df4828d8883af14990abc5e4ae) fix(mari): voice flavor follows the pack on screen - [`3786bdc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3786bdcb9957e80a88d0c7ae237822d78db257ab) feat(mari): art for the dated appearance pack - [`6a57584`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6a57584610e94b14f0560db5d82033cdf4170960) Merge remote-tracking branch 'origin/staging' into feat/mari-seasonal-packs - [`b492258`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b49225862ddf94fe9cd24fc0bc2b260ae178c3d8) test(mari): dated pack inside its window ### 📊 Changes **42 files changed** (+243 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+2 -0) 📝 `e2e/mari-appearance-pack.e2e.ts` (+42 -0) ➕ `packages/client/assets/imagegen/mari-raccoon/prompts.json` (+39 -0) ➕ `packages/client/public/sprites/mari/raccoon/approval.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/cancelled.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/debugging.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/editing.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/idle.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/images.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/planning.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/portrait-blink.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/portrait-drag.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/portrait-hover.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/portrait-idle.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/portrait-shrug.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/pose-chibi.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/pose-explaining.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/pose-greet.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/pose-point-down.webp` (+0 -0) ➕ `packages/client/public/sprites/mari/raccoon/pose-point-middle.webp` (+0 -0) _...and 22 more files_ </details> ### 📄 Description > [!IMPORTANT] > **Release notes: please leave this PR out of `CHANGELOG.md` and the release text.** The pack it adds is meant to be found by users on the day, not announced. No CHANGELOG line is included on purpose. ## Why Professor Mari appearance packs were always on. This adds packs that belong to a date window: inside the window the pack appears by itself (people should not have to dig through settings to see it), and outside it the pack does not exist for the user at all. Users who do not want it can switch away during the window and keep their choice. ## What changed - **Dated packs** (`season` on `MariAppearancePack`, inclusive local `MM-DD` window): listed in the appearance chooser only inside the window, and rendered automatically there. - **Opt-out per window:** picking another pack during the window stores `mariSeasonOptOut` (pack id + year), so the user's pick wins until the window closes and the dated pack returns next year. The stored `mariAppearancePackId` never becomes the dated pack, so the user's own pick comes back by itself afterwards. Persisted and synced like the other pack fields. - **Respects Settings → General → Disable seasonal ME themes** (#7811): with it on, dated packs neither show by themselves nor appear in the chooser, and the voice flavor is off. - **One dated pack** with its full art set (portraits, held sheet, pull heads, 12 stories, 9 poses) and generation prompts under `assets/imagegen/`. - **Home card copy** swaps while that pack renders. - **Voice flavor:** the client sends the dated pack it shows (`seasonalPackId`) with a workspace prompt; the server then adds one context line that may flavor `say` only. Answers, actions, `reason`, authorization and approval/diff text are explicitly unchanged. Client-driven, so an opt-out or a server in another time zone cannot desync it. - **Tests:** regression covers window edges, auto-show, per-year opt-out, out-of-window fallback. The e2e UI-state fixture opts out of dated packs, and the pack e2e pins its clock, so CI stays green inside the window. ## Validation - `pnpm check` (TypeScript, ESLint, localization, Prettier, build): passed. One existing lint warning in `HomeProfessorMariChat.tsx`, not touched here. - `scripts/regressions/mari-appearance-pack.regression.mjs`: passed (asset sizes/alpha for every pack plus the new window cases). - `e2e/mari-appearance-pack.e2e.ts`, `e2e/home-widget-fit.e2e.ts` (desktop-chromium): 4 passed. - After merging current `staging`: `pnpm check` passed again; regression (now also covering the seasonal-themes toggle) passed; `e2e/mari-appearance-pack.e2e.ts` + `e2e/seasonal-halloween.e2e.ts`: 3 passed. - A temporary e2e (not committed) with the clock pinned inside the window, at 390/768/1440: pack auto-shows, chooser lists 5 packs, opt-out and opt-back-in persist, no sprite 4xx, Home copy is not clamped. - Local CodeRabbit review: 2 trivial findings, reasons below. ## Manual verification - [ ] Set the system date inside the window (see `season` in `packages/client/src/lib/mari-work-animations.ts`), reload: the new pack shows on Home, in the omnibar and the top bar, and the Home card copy changes. - [ ] In the appearance chooser, pick another pack, reload: your pick stays. Pick the dated pack again: it comes back. - [ ] Inside the window, turn on Settings → General → Disable seasonal ME themes: the pack disappears from Home and the chooser. - [ ] Set the date outside the window: the pack is not in the chooser and never renders, even if it was picked. - [ ] Inside the window, ask Professor Mari something: answers and change cards read as usual, only a light flavor in her voice. - [ ] Check the new sprites animate without jitter in the Mari work timeline (story strips) and the blink on the Home card. No linked issue: planned work. @SpicyMarinara ### Local CodeRabbit (2 trivial findings, not changed) 1. *Flavor line inside `<workspace_context>`*: that block already carries plain-language lines (e.g. "Embedding model: configured"), and the line itself restricts its effect to `say` and states literal fields are unchanged. 2. *No re-render at midnight when the window opens/closes*: self-corrects on the next render; an open session across the boundary is a short delay for a 4-day window, not worth a timer. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Professor Mari’s raccoon-themed Halloween appearance, available October 29 through November 1, with a matching greeting and description in the Home hub. * During the seasonal window, the raccoon appearance is shown automatically unless you choose another appearance or disable seasonal themes. Your appearance choice is preserved outside the window. * When the seasonal appearance is active, Professor Mari can use light raccoon- or Halloween-themed wording in workspace replies. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:09:03 +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-Engine#7945
No description provided.