[PR #1829] [MERGED] feat(otome-forge): Otome Hearth Remind Me and the period tracker (0.0.8, M6) #1987

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

📋 Pull Request Information

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

Base: staging ← Head: feat/otome-forge-m6


📝 Commits (10+)

  • 1d1f33a wip: Otome Forge M6 before merging M3
  • 00f67ca Merge remote-tracking branch 'origin/feat/otome-forge-m3' into feat/otome-forge-m6
  • 360f02a Merge origin/staging (M3, Otome Hearth) into feat/otome-forge-m6
  • 8cf6e0e fix(otome-forge): say Otome Hearth in M6's own copy
  • 6658759 test(otome-forge): M6's rail buttons in Home's layout checks; Him / Me stays in the rail
  • fc1c3ec Merge branch 'staging' into feat/otome-forge-m6
  • 4073f07 fix(otome-forge): apply Dottore's repair for M6, formatted and rebuilt
  • 86d93df fix(otome-forge): apply Dottore's second repair for M6, rebuilt
  • 38c9b5b fix(otome-forge): apply Dottore's third repair for M6, rebuilt
  • e1a2f2c Merge branch 'staging' into feat/otome-forge-m6

📊 Changes

49 files changed (+7102 additions, -1654 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/otome-forge-0.0.8.zip (+0 -0)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/otome-forge/CHANGELOG.md (+7 -0)
📝 packages/otome-forge/README.md (+13 -2)
📝 packages/otome-forge/client.js (+1555 -1429)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+119 -116)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx (+22 -4)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CaringMessage.tsx (+233 -0)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/cycle-storage.ts (+265 -0)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/cycle.ts (+243 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/tap-mood.ts (+6 -3)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+105 -4)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/home/HomeScreen.tsx (+144 -10)

...and 29 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Fixes #1826 (milestone M6 of #1781, Otome Hearth release 1).

Note

Stacked on M3 (#1812). Branch policy allows only a staging base, so until #1812 merges this diff also shows M3. Once #1812 lands, staging is merged here and the diff shrinks to this milestone. Merge order: M4 (0.0.6), then M5 (0.0.7), then M6 (0.0.8).

Why this change

The maintainer asked for a period tracker for players, so the love interests "message us then and take care of us", opt-in for anyone who has periods. They agreed these privacy rules:

  • it is stored only on the device, with one-click delete;
  • a prompt gets only today's state;
  • the setting says it reaches the model provider;
  • love interests comfort and never diagnose.

This adds the tracker and a Remind Me calendar.

What changed

otome-forge 0.0.8 (staging-only).

  • Remind Me: a month calendar with:
    • the love interests' birthdays;
    • the player's own birthday, opt-in and kept on the device;
    • anniversaries and timeline firsts;
    • banner end dates once banners exist;
    • a cycle row: filled hearts for logged days, outlined ones labelled "predicted".
  • The tracker:
    • Storage: off by default, with neutral copy ("for anyone who has periods"). Kept only in Otome Hearth's storage in this browser (otome-forge:cycle:v1).
    • Controls: one-click Delete all cycle data, JSON export and import, and changes made in another tab are followed.
    • Prediction: "late" is never computed.
    • Settings copy: the exact text from the design, including what reaches the model and voice providers.
  • Caring message:
    • It appears only on a day the tracker has something to say, and sends exactly one templated line ("{Name} has told you: today is day 2 of their period.").
    • It sends only when pressed, and never with Debug mode, DEBUG_AGENTS or a debug log level, or in Keep it off the model mode; the love interest's comfort lines answer then.
    • The server validates the line against its templates and writes nothing anywhere; replies are no-store.
    • The note is voiced with no cache key and is never offered as a Reply quote. Love interests comfort and never diagnose.

Internal review

  • First round: 16 confirmed findings fixed. Among them:
    • another tab's Delete all or mode switch was ignored;
    • a warn line dated each failed Caring message;
    • P27's repair turn re-sent the line unchecked;
    • one press could send twice.
  • Integration with M3: 5 more fixed. Among them, rail and button overlaps on Home at phone heights, and an Engine log tagged each Caring press.

For the maintainer

  • The Engine adds the route and request id to every log line during a request. A provider warning during the care call (a rate limit or retry) can therefore name the care-note route and its time, though never the line or the note. That is an Engine-side follow-up.

Package and security impact

  • Affected package IDs: otome-forge (0.0.8, staging-only).
  • Engine compatibility impact: Capability API 1.386, unchanged.
  • New or changed permissions/entrypoints: none beyond routes, storage, ui. New routes: POST /runs/:run/care-note and GET /runs/:run/calendar.
  • Restart, storage, update, or uninstall impact: cycle data lives only in the browser's storage; no server document stores it.

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

Please verify by hand:

  • Manually verify the tracker is off by default and its copy is neutral.
  • Manually verify opting in shows predicted hearts, and a Caring message sends exactly one line (check the request in DevTools).
  • Manually verify Keep it off the model and Debug mode send nothing, and Delete all clears every cycle key.
  • Manually verify Remind Me at phone width (390 px) and by keyboard only.

🤖 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/1829 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/otome-forge-m6` --- ### 📝 Commits (10+) - [`1d1f33a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1d1f33abf9a6fe988d0f7c0d2e42728abcfe1731) wip: Otome Forge M6 before merging M3 - [`00f67ca`](https://github.com/Pasta-Devs/Marinara-Agents/commit/00f67cab152651e6afe9943fe843544655cfbe19) Merge remote-tracking branch 'origin/feat/otome-forge-m3' into feat/otome-forge-m6 - [`360f02a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/360f02a0a09f1e0ebaef63db5bf39344a7e46236) Merge origin/staging (M3, Otome Hearth) into feat/otome-forge-m6 - [`8cf6e0e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8cf6e0e68667c95d19641eee555ec5a6822e26dc) fix(otome-forge): say Otome Hearth in M6's own copy - [`6658759`](https://github.com/Pasta-Devs/Marinara-Agents/commit/665875917b2d9aa10d2ab235a22ab66e2611ce8e) test(otome-forge): M6's rail buttons in Home's layout checks; Him / Me stays in the rail - [`fc1c3ec`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fc1c3ec0b04db3bd97d22fd8d22ed056ddb6c63f) Merge branch 'staging' into feat/otome-forge-m6 - [`4073f07`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4073f07dc6dfc397654ec5e3744007dc4f6bbb6c) fix(otome-forge): apply Dottore's repair for M6, formatted and rebuilt - [`86d93df`](https://github.com/Pasta-Devs/Marinara-Agents/commit/86d93dfefc5f661345278b496ad4360620cf5b82) fix(otome-forge): apply Dottore's second repair for M6, rebuilt - [`38c9b5b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/38c9b5bc7bf605d6932d52ed144f8dc07698af70) fix(otome-forge): apply Dottore's third repair for M6, rebuilt - [`e1a2f2c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e1a2f2c167a1aa3f5f6ff45b3ee54ee54c0f3dfb) Merge branch 'staging' into feat/otome-forge-m6 ### 📊 Changes **49 files changed** (+7102 additions, -1654 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/otome-forge-0.0.8.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/otome-forge/CHANGELOG.md` (+7 -0) 📝 `packages/otome-forge/README.md` (+13 -2) 📝 `packages/otome-forge/client.js` (+1555 -1429) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+119 -116) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx` (+22 -4) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CaringMessage.tsx` (+233 -0) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/cycle-storage.ts` (+265 -0) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/cycle.ts` (+243 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/tap-mood.ts` (+6 -3) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+105 -4) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/home/HomeScreen.tsx` (+144 -10) _...and 29 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Fixes #1826 (milestone M6 of #1781, Otome Hearth release 1). > [!NOTE] > **Stacked on M3 (#1812).** Branch policy allows only a `staging` base, so until #1812 merges this diff also shows M3. Once #1812 lands, staging is merged here and the diff shrinks to this milestone. Merge order: M4 (0.0.6), then M5 (0.0.7), then M6 (0.0.8). ## Why this change The maintainer asked for a period tracker for players, so the love interests "message us then and take care of us", opt-in for anyone who has periods. They agreed these privacy rules: - it is stored only on the device, with one-click delete; - a prompt gets only today's state; - the setting says it reaches the model provider; - love interests comfort and never diagnose. This adds the tracker and a Remind Me calendar. ## What changed `otome-forge` 0.0.8 (staging-only). - **Remind Me:** a month calendar with: - the love interests' birthdays; - the player's own birthday, opt-in and kept on the device; - anniversaries and timeline firsts; - banner end dates once banners exist; - a cycle row: filled hearts for logged days, outlined ones labelled "predicted". - **The tracker:** - **Storage:** off by default, with neutral copy ("for anyone who has periods"). Kept only in Otome Hearth's storage in this browser (`otome-forge:cycle:v1`). - **Controls:** one-click **Delete all cycle data**, JSON export and import, and changes made in another tab are followed. - **Prediction:** "late" is never computed. - **Settings copy:** the exact text from the design, including what reaches the model and voice providers. - **Caring message:** - It appears only on a day the tracker has something to say, and sends exactly one templated line ("{Name} has told you: today is day 2 of their period."). - It sends only when pressed, and never with Debug mode, `DEBUG_AGENTS` or a debug log level, or in **Keep it off the model** mode; the love interest's comfort lines answer then. - The server validates the line against its templates and writes nothing anywhere; replies are `no-store`. - The note is voiced with no cache key and is never offered as a Reply quote. Love interests comfort and never diagnose. ### Internal review - **First round:** 16 confirmed findings fixed. Among them: - another tab's Delete all or mode switch was ignored; - a warn line dated each failed Caring message; - P27's repair turn re-sent the line unchecked; - one press could send twice. - **Integration with M3:** 5 more fixed. Among them, rail and button overlaps on Home at phone heights, and an Engine log tagged each Caring press. ### For the maintainer - The Engine adds the route and request id to every log line during a request. A provider warning during the care call (a rate limit or retry) can therefore name the care-note route and its time, though never the line or the note. That is an Engine-side follow-up. ## Package and security impact - Affected package IDs: `otome-forge` (0.0.8, staging-only). - Engine compatibility impact: Capability API 1.386, unchanged. - New or changed permissions/entrypoints: none beyond `routes`, `storage`, `ui`. New routes: `POST /runs/:run/care-note` and `GET /runs/:run/calendar`. - Restart, storage, update, or uninstall impact: cycle data lives only in the browser's storage; no server document stores it. ## 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 Please verify by hand: - [ ] Manually verify the tracker is off by default and its copy is neutral. - [ ] Manually verify opting in shows predicted hearts, and a Caring message sends exactly one line (check the request in DevTools). - [ ] Manually verify Keep it off the model and Debug mode send nothing, and Delete all clears every cycle key. - [ ] Manually verify Remind Me at phone width (390 px) and by keyboard only. 🤖 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:38:33 +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#1987
No description provided.