[PR #2134] [MERGED] feat(otome-forge): earn at most 150 affection a day from activities (0.9.1) #2134

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

📋 Pull Request Information

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

Base: staging ← Head: fix/otome-affection-daily-cap


📝 Commits (2)

  • 8497408 feat(otome-forge): earn at most 150 affection a day from activities (0.9.1)
  • 41322df Merge remote-tracking branch 'origin/staging' into fix/otome-affection-daily-cap

📊 Changes

15 files changed (+53 additions, -43 deletions)

View changed files

➕ artifacts/otome-forge-0.9.1.zip (+0 -0)
📝 catalog/catalog.json (+4 -4)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+4 -4)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+4 -4)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+4 -0)
📝 packages/otome-forge/README.md (+1 -1)
📝 packages/otome-forge/manifest.json (+2 -2)
📝 packages/otome-forge/server.mjs (+1 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts (+5 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-phone.regression.ts (+3 -2)
📝 tests/otome-forge-state-caps.regression.ts (+6 -4)

📄 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 #2133

Why this change

The maintainer asked to lower how much affection you can earn from Dates activities each day, from 300 to 150 per love interest.

What changed

  • otome-forge 0.9.1 (rebuilt server.mjs, manifest, artifact and catalog entries; client.js is unchanged because the Dates "Today's rewards" meter reads the cap from the server).
  • shared/economy.ts: OUTSIDE_AFFECTION_DAILY_CAP drops from 300 to 150. It's the one daily cap shared by Date Night, Read Them, Read Me, the Claw Machine, Close and remember, and Show him.
    • Story earnings stay uncapped.
    • A date gift's bonus (#2128) stays uncapped.
    • The 400 Starlight activity cap is unchanged.
  • Tests:
    • The economy pin in tests/otome-forge-state-caps.regression.ts is now 150. The midnight test now expects four dates to pay 100, 50, 0, 0 affection.
    • The Close and remember test starts 3 below the cap, using the constant instead of 297.
  • Docs and release: README Dates line, CHANGELOG 0.9.1.

Version 0.9.1 follows #2131 (0.9.0), which is still open. Whichever merges second has staging merged in and is rebuilt.

Package and security impact

  • Affected package IDs: otome-forge
  • Engine compatibility impact: none (Engine 2.5.1+, capability API 1.386).
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. Today's earnings already saved stay counted. A love interest already past 150 today earns no more activity affection until the player's midnight.

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 in Dates that Today's rewards shows affection out of 150 for each love interest.
  • Manually verify: play two Date Nights with one love interest. The first gives 100 affection, the second 50, and a third gives none, while Starlight still follows its own 400 cap.

Agent-run checks:

  • npm run test:otome-forge: 685 + 13 pass, 0 fail.
  • Strict package typecheck: clean.
  • validate-catalog.mjs (v2=44, v3=44), catalog-release-notes, git diff --check: pass.
  • Local CodeRabbit: 0 findings.

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/2134 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/6/2026 **Status:** ✅ Merged **Merged:** 11/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-affection-daily-cap` --- ### 📝 Commits (2) - [`8497408`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8497408e965b1e876c790b502f0162845946f432) feat(otome-forge): earn at most 150 affection a day from activities (0.9.1) - [`41322df`](https://github.com/Pasta-Devs/Marinara-Agents/commit/41322df3661f69129e6fc36ce2f971bd0ab39a38) Merge remote-tracking branch 'origin/staging' into fix/otome-affection-daily-cap ### 📊 Changes **15 files changed** (+53 additions, -43 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.9.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+4 -4) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+4 -4) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+4 -4) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+4 -0) 📝 `packages/otome-forge/README.md` (+1 -1) 📝 `packages/otome-forge/manifest.json` (+2 -2) 📝 `packages/otome-forge/server.mjs` (+1 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts` (+5 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-phone.regression.ts` (+3 -2) 📝 `tests/otome-forge-state-caps.regression.ts` (+6 -4) </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 #2133 ## Why this change The maintainer asked to lower how much affection you can earn from Dates activities each day, from 300 to 150 per love interest. ## What changed - **otome-forge 0.9.1** (rebuilt `server.mjs`, manifest, artifact and catalog entries; `client.js` is unchanged because the Dates "Today's rewards" meter reads the cap from the server). - `shared/economy.ts`: `OUTSIDE_AFFECTION_DAILY_CAP` drops from 300 to 150. It's the one daily cap shared by Date Night, Read Them, Read Me, the Claw Machine, Close and remember, and Show him. - Story earnings stay uncapped. - A date gift's bonus (#2128) stays uncapped. - The 400 Starlight activity cap is unchanged. - **Tests:** - The economy pin in `tests/otome-forge-state-caps.regression.ts` is now 150. The midnight test now expects four dates to pay 100, 50, 0, 0 affection. - The Close and remember test starts 3 below the cap, using the constant instead of 297. - **Docs and release:** README Dates line, CHANGELOG 0.9.1. Version 0.9.1 follows #2131 (0.9.0), which is still open. Whichever merges second has staging merged in and is rebuilt. ## Package and security impact - Affected package IDs: `otome-forge` - Engine compatibility impact: none (Engine 2.5.1+, capability API 1.386). - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. Today's earnings already saved stay counted. A love interest already past 150 today earns no more activity affection until the player's midnight. ## 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 in Dates that **Today's rewards** shows affection out of 150 for each love interest. - Manually verify: play two Date Nights with one love interest. The first gives 100 affection, the second 50, and a third gives none, while Starlight still follows its own 400 cap. Agent-run checks: - `npm run test:otome-forge`: 685 + 13 pass, 0 fail. - Strict package typecheck: clean. - `validate-catalog.mjs` (v2=44, v3=44), `catalog-release-notes`, `git diff --check`: pass. - Local CodeRabbit: 0 findings. ## 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:46 +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#2134
No description provided.