[PR #1183] [MERGED] feat(modern-life-sim): 0.3.1 — NPCs as a rule, staying the night once you're dating, no more getting stuck #1331

Closed
opened 2026-10-21 05:08:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1183
Author: @SonaGat3
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @SonaGat3

Base: staging ← Head: staging


📝 Commits (3)

  • 8744f95 fix(modern-life-sim): 0.3.1 — NPCs as a rule, staying the night once you're dating, no more getting stuck
  • b0a0b14 Merge branch 'staging' into staging
  • e38865e docs(modern-life-sim): 0.3.1 — say the NPCs rule is off by default in a new life

📊 Changes

12 files changed (+646 additions, -620 deletions)

View changed files

➕ artifacts/modern-life-sim-0.3.1.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/modern-life-sim/CHANGELOG.md (+6 -0)
📝 packages/modern-life-sim/README.md (+2 -0)
📝 packages/modern-life-sim/client.js (+426 -426)
📝 packages/modern-life-sim/manifest.json (+5 -5)
📝 packages/modern-life-sim/server.mjs (+165 -165)

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

Why this change

0.3.1 follows player reports on 0.3.0: a way to keep people who aren't from your own cards out of a life, staying the night while dating, and a softlock at the end of someone's party, plus the five other dead ends a review of the package found. All of it is in the linked request.

What changed

  • packages/modern-life-sim/server.mjs and client.js: rebuilt from the package's source tree as pre-built, minified esbuild bundles, as before.
    • NPCs, a rule of the life. In the creation (a new «Town» group under Rules) and in Settings · Rules. Off by default in a new life. A life from before keeps it on when it already had such people. Turned off, they step aside (not shown, not used, not named in any prompt) with their pictures; nothing is deleted. It can't be switched off with a scene or an outing on screen.
    • Module options that need a rule or another option (needsRule, needsOption, holdsOff): greyed out with the reason, and the server refuses the same thing the screen offers.
    • Staying the night opens from dating instead of from partners.
    • No more softlocks: the door scenes of someone's party never need spare time, nor the host awake or in the same room, and the host stays at the door; a lunch that already passed goes straight to the afternoon; an outing's money request is drawn in every phase; a reload during a module's honeymoon night reopens its scene; leaving their party when the host moves away or your wedding starts. Each one has a regression test that builds the stuck state.
    • Optional Adult Module (off by default, mature content, asks the player to confirm they are an adult): the club's dancers and regulars become options that need the NPCs rule, and its own goodbye fixes.
  • packages/modern-life-sim/manifest.json: version 0.3.1, with the payload hashes and sizes re-derived. builtAgainst, permissions, entrypoints and the engine range are unchanged.
  • packages/modern-life-sim/CHANGELOG.md and README.md: the 0.3.1 entry, and a line about it.
  • artifacts/modern-life-sim-0.3.1.zip (new).

Generated outputs

node scripts/build-modern-life-sim-package.mjs re-derived these from the committed payload bytes:

  • the manifest;
  • the artifact;
  • the preview catalogs (catalog/preview/, v2/, v3/) and their release-notes sidecars.

Nothing was edited by hand, and re-running the builder after the commit leaves the tree clean. No script changed.

Package and security impact

  • Affected package IDs: modern-life-sim only.
  • Engine compatibility impact: none. The engine range stays >=2.4.4 <4.0.0 and Capability API 1.9. The package stays staging only.
  • New permissions/entrypoints: none. No external service.
  • Restart, storage, update, or uninstall impact: restartRequired: true, as before. Saves from 0.3.0 open and are migrated in place: the NPCs rule is written on for a life that already had such people, off otherwise.
  • Payload:
    • server.mjs 1,278,530 bytes;
    • client.js 960,048 bytes;
    • the artifact, 2,248,629 bytes;
    • the diff, +646 / −620 lines.

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

⚠️ Why the fourth and fifth boxes are unticked.

  • The Engine fetches artifacts only from a public https URL, and this one exists there only after the PR lands. The same bytes were installed by sideload instead: the artifact zip, with every file checked against its manifest hash.
  • Uninstall goes through the Engine's package manager, which acts only on what it installed itself.

Manual verification notes

  • Branch hygiene:

    • branched from the current origin/staging (2336c3ca);
    • no CRLF in any changed file;
    • git diff --check "origin/staging...HEAD" is clean;
    • no script changed;
    • the build is reproducible.
  • Integrity: the manifest, the three preview catalogs and the artifact agree (version, file list, every file's hash and size, the artifact's hash and size, the zip's own manifest), and the package is in no stable catalog.

  • Repo checks, run locally in the workflow's own order (pull-request-checks.yml). All green except one known Windows-only failure:

    • npm run check and typecheck:packages;
    • the Calls, Memory Nag, Pixelforge, Beholder and Quartermaster regressions;
    • vendored-engine and test-catalog-lanes;
    • the locale validators;
    • validate-catalog, catalog-generatedat-determinism, catalog-release-notes and ruleset-package;
    • the World Maps and Long-Term Memory UI contracts;
    • validate-pr-triage and test-owner-approval;
    • git diff --check.

    ⚠️ The exception is the first half of npm run test:security, catalog-path-safety.regression.mjs. It expects a POSIX path and gets D:\tmp\… on Windows. That file is identical to staging. The second half, long-term-memory-index-keys, passes.

  • Package's own suite: 2,375 tests, all green, fake model only.

  • Sideloaded into Engine staging (3ec25a04e) from artifacts/modern-life-sim-0.3.1.zip:

    • all four files matched their manifest hashes;
    • the package came up active/ready at 0.3.1;
    • WHAT'S NEW shows 0.3.1 (with its FIXES fold) above 0.3.0;
    • existing lives open;
    • the Engine logged no error.
  • In mockups on the real client, by eye: the NPCs rule in the creation and in Settings.

Documentation impact

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

The package's README.md and CHANGELOG.md describe 0.3.1. In game, the GUIDE and WHAT'S NEW do too.

UI evidence (if applicable)

Summary by CodeRabbit

  • New Features
    • NPC settings can now be managed separately for each life. Turning NPCs off moves them and their pictures aside without deleting them.
    • Dating partners can stay overnight. Optional club dancer and regular NPCs are available with the Adult Module.
  • Bug Fixes
    • Fixed scenarios that could leave a life stuck after a party, during a lunch break, when requesting money on an outing, or after reloading during a honeymoon night.

🔄 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/1183 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 10/1/2026 **Status:** ✅ Merged **Merged:** 10/1/2026 **Merged by:** [@SonaGat3](https://github.com/SonaGat3) **Base:** `staging` ← **Head:** `staging` --- ### 📝 Commits (3) - [`8744f95`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8744f959c0d109923b6c39f93a8da5f0d8639b8e) fix(modern-life-sim): 0.3.1 — NPCs as a rule, staying the night once you're dating, no more getting stuck - [`b0a0b14`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b0a0b141c1ae644142d42027116864919976c2c2) Merge branch 'staging' into staging - [`e38865e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e38865eea75abc0372795a836293a6fd1efdf641) docs(modern-life-sim): 0.3.1 — say the NPCs rule is off by default in a new life ### 📊 Changes **12 files changed** (+646 additions, -620 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/modern-life-sim-0.3.1.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/modern-life-sim/CHANGELOG.md` (+6 -0) 📝 `packages/modern-life-sim/README.md` (+2 -0) 📝 `packages/modern-life-sim/client.js` (+426 -426) 📝 `packages/modern-life-sim/manifest.json` (+5 -5) 📝 `packages/modern-life-sim/server.mjs` (+165 -165) </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 #1182 ## Why this change 0.3.1 follows player reports on 0.3.0: a way to keep people who aren't from your own cards out of a life, staying the night while dating, and a softlock at the end of someone's party, plus the five other dead ends a review of the package found. All of it is in the linked request. ## What changed - **`packages/modern-life-sim/server.mjs`** and **`client.js`**: rebuilt from the package's source tree as pre-built, minified esbuild bundles, as before. - **NPCs, a rule of the life.** In the creation (a new «Town» group under Rules) and in Settings · Rules. Off by default in a new life. A life from before keeps it on when it already had such people. Turned off, they step aside (not shown, not used, not named in any prompt) with their pictures; nothing is deleted. It can't be switched off with a scene or an outing on screen. - **Module options that need a rule or another option** (`needsRule`, `needsOption`, `holdsOff`): greyed out with the reason, and the server refuses the same thing the screen offers. - **Staying the night** opens from dating instead of from partners. - **No more softlocks:** the door scenes of someone's party never need spare time, nor the host awake or in the same room, and the host stays at the door; a lunch that already passed goes straight to the afternoon; an outing's money request is drawn in every phase; a reload during a module's honeymoon night reopens its scene; leaving their party when the host moves away or your wedding starts. Each one has a regression test that builds the stuck state. - **Optional Adult Module** (off by default, mature content, asks the player to confirm they are an adult): the club's dancers and regulars become options that need the NPCs rule, and its own goodbye fixes. - **`packages/modern-life-sim/manifest.json`**: `version` 0.3.1, with the payload hashes and sizes re-derived. `builtAgainst`, permissions, entrypoints and the `engine` range are unchanged. - **`packages/modern-life-sim/CHANGELOG.md`** and **`README.md`**: the 0.3.1 entry, and a line about it. - **`artifacts/modern-life-sim-0.3.1.zip`** (new). ### Generated outputs `node scripts/build-modern-life-sim-package.mjs` re-derived these from the committed payload bytes: - the manifest; - the artifact; - the preview catalogs (`catalog/preview/`, `v2/`, `v3/`) and their release-notes sidecars. Nothing was edited by hand, and re-running the builder after the commit leaves the tree clean. No script changed. ## Package and security impact - **Affected package IDs:** `modern-life-sim` only. - **Engine compatibility impact:** none. The `engine` range stays `>=2.4.4 <4.0.0` and Capability API 1.9. The package stays staging only. - **New permissions/entrypoints:** none. No external service. - **Restart, storage, update, or uninstall impact:** `restartRequired: true`, as before. Saves from 0.3.0 open and are migrated in place: the NPCs rule is written on for a life that already had such people, off otherwise. - **Payload:** - `server.mjs` 1,278,530 bytes; - `client.js` 960,048 bytes; - the artifact, 2,248,629 bytes; - the diff, +646 / −620 lines. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] 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 - [x] Read and followed `CONTRIBUTING.md` > ⚠️ **Why the fourth and fifth boxes are unticked.** > - The Engine fetches artifacts only from a public https URL, and this one exists there only after the PR lands. The same bytes were installed by sideload instead: the artifact zip, with every file checked against its manifest hash. > - Uninstall goes through the Engine's package manager, which acts only on what it installed itself. ### Manual verification notes - **Branch hygiene:** - branched from the current `origin/staging` (`2336c3ca`); - no CRLF in any changed file; - `git diff --check "origin/staging...HEAD"` is clean; - no script changed; - the build is reproducible. - **Integrity:** the manifest, the three preview catalogs and the artifact agree (version, file list, every file's hash and size, the artifact's hash and size, the zip's own manifest), and the package is in no stable catalog. - **Repo checks, run locally in the workflow's own order** (`pull-request-checks.yml`). All green except one known Windows-only failure: - `npm run check` and `typecheck:packages`; - the Calls, Memory Nag, Pixelforge, Beholder and Quartermaster regressions; - `vendored-engine` and `test-catalog-lanes`; - the locale validators; - `validate-catalog`, `catalog-generatedat-determinism`, `catalog-release-notes` and `ruleset-package`; - the World Maps and Long-Term Memory UI contracts; - `validate-pr-triage` and `test-owner-approval`; - `git diff --check`. ⚠️ The exception is the first half of `npm run test:security`, `catalog-path-safety.regression.mjs`. It expects a POSIX path and gets `D:\tmp\…` on Windows. That file is identical to `staging`. The second half, `long-term-memory-index-keys`, passes. - **Package's own suite:** 2,375 tests, all green, fake model only. - **Sideloaded into Engine `staging` (`3ec25a04e`)** from `artifacts/modern-life-sim-0.3.1.zip`: - all four files matched their manifest hashes; - the package came up `active`/`ready` at 0.3.1; - WHAT'S NEW shows 0.3.1 (with its FIXES fold) above 0.3.0; - existing lives open; - the Engine logged no error. - **In mockups on the real client, by eye:** the NPCs rule in the creation and in Settings. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation The package's `README.md` and `CHANGELOG.md` describe 0.3.1. In game, the GUIDE and WHAT'S NEW do too. ## UI evidence (if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * NPC settings can now be managed separately for each life. Turning NPCs off moves them and their pictures aside without deleting them. * Dating partners can stay overnight. Optional club dancer and regular NPCs are available with the Adult Module. * **Bug Fixes** * Fixed scenarios that could leave a life stuck after a party, during a lunch break, when requesting money on an outing, or after reloading during a honeymoon night. <!-- 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-21 05:08:57 +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#1331
No description provided.