[PR #1113] [MERGED] feat(modern-life-sim): 0.2.0 — personalities, relationships all the way, the GUIDE and modules, staging only #1301

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1113
Author: @SonaGat3
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @SonaGat3

Base: staging ← Head: staging


📝 Commits (1)

  • e64c8ce feat(modern-life-sim): 0.2.0 — personalities, relationships all the way, the GUIDE and modules, staging only

📊 Changes

12 files changed (+5666 additions, -2891 deletions)

View changed files

➕ artifacts/modern-life-sim-0.2.0.zip (+0 -0)
📝 catalog/preview/catalog.json (+9 -9)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+9 -9)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+9 -9)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/modern-life-sim/CHANGELOG.md (+11 -0)
📝 packages/modern-life-sim/README.md (+11 -8)
📝 packages/modern-life-sim/client.js (+5382 -2788)
📝 packages/modern-life-sim/manifest.json (+6 -6)
📝 packages/modern-life-sim/server.mjs (+211 -62)

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

Why this change

Modern Life Sim 0.1.0 (#1053) gave staging testers a whole life, but thin people: twelve fixed archetypes,
relationships that stopped early, and a town where nothing got around. 0.2.0 covers everything since:

  • each character gets their own personality, read from their card;
  • relationships go all the way to weddings;
  • the town talks, and the game explains itself in an in-game GUIDE;
  • optional modules, the first one being Adult.

It stays staging only, because it is still an alpha.

What changed

  • packages/modern-life-sim/client.js and server.mjs: rebuilt, pre-built and minified esbuild
    bundles from the package's source tree, which lives outside this repository (same as 0.1.0).
  • packages/modern-life-sim/manifest.json: version 0.2.0; builtAgainst Engine 2.4.6 at 3ec25a04e,
    the current Engine staging. The payload hashes and sizes are re-derived. The permissions, entrypoints,
    slots and engine range are unchanged.
  • packages/modern-life-sim/CHANGELOG.md: the 0.2.0 entry (923 characters, under the 1,000 cap).
  • packages/modern-life-sim/README.md: what 0.2.0 adds since 0.1.0.
  • artifacts/modern-life-sim-0.2.0.zip (new). 0.1.0's artifact stays, as with every package.

Generated outputs

These files were re-derived by node scripts/build-modern-life-sim-package.mjs from the committed
payload bytes:

  • manifest.json;
  • 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,
no other package and no published lane was touched.

Package and security impact

  • Affected package IDs: modern-life-sim only.
  • Engine compatibility impact: engine stays >=2.4.4 <4.0.0 and Capability API 1.9. builtAgainst
    moves to Engine 2.4.6 at 3ec25a04e. Staging only, so stable Engines never see it.
  • New permissions/entrypoints: none. The package keeps network, routes, storage and ui, and the
    entrypoints agents, client and server.
    • routes: 162 routes under /api/modern-life-sim/*, up from 60. They are still registered with
      registerPrivilegedRoutes, and each new screen reads through a GET and acts through a POST.
      Examples: the GUIDE, the welcome, the relationship chart, BILLS, HOMES, JOBS, weddings, presets.
    • storage: still one document per life. The shared documents grow from three to eight:
      • the backgrounds library, the paint queue and the bank of activity lines (as in 0.1.0);
      • creation drafts and presets;
      • the image-prompt overrides;
      • which welcome was accepted;
      • a log of the last 200 model calls, which feeds the calls screen in Settings.
    • network: still only the Engine itself. There is one new loopback call, /api/sprites/cleanup, the
      Engine's own sprite background remover, used when the player chooses to show characters cut out
      instead of framed. No external service.
    • server.mjs is still one Node ES module: no file reads at run time, no child processes, no dynamic
      imports, no eval.
    • Model output is still never parsed as prose. Every decision is made by the code from ids, numbers and
      booleans the model is asked for.
    • Adult module: off by default, switched on per life after the player confirms they are an adult.
  • Restart, storage, update, or uninstall impact: restartRequired: true, as in 0.1.0.
    • Saves from 0.1.0 predate what 0.2.0 builds on (the network between the cast). Opening one warns
      first, and the player can start a new life or continue at their own risk. The welcome says up front
      that saves may not carry over while the game is an alpha.
  • Payload: client.js 840,082 bytes, server.mjs 872,288, life-sim-icon.png 7,106 and agents.json
    678. The artifact is 1,722,420 bytes.
    • The diff is +5,666 / −2,891 lines. Of that, 5,382 / 2,788 is the minified client, whose HTML templates
      keep their line breaks.

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 catalogs and artifacts only from a
public https URL, and this artifact exists there only after the PR lands, so 0.2.0 cannot be installed
through the Engine's download path yet. The same bytes were installed by sideload into a staging
Engine (3ec25a04e) instead: the artifact zip, with every file checked against its manifest hash. The
fifth box waits for the same reason: uninstall goes through the Engine's package manager, which acts on
what it installed itself.

Manual verification notes

  • Branch hygiene.

    • Branched from the current origin/staging (2ea2767e, the merge of #1053).
    • None of the changed files carries CRLF.
    • git diff --check "origin/staging...HEAD" is clean.
    • The build is reproducible.
  • Repo checks, run locally in the workflow's own order (pull-request-checks.yml at origin/staging,
    after a fresh npm ci): all green except one known Windows-only failure.

    • npm run check
    • typecheck:packages
    • the Calls, Memory Nag, Pixelforge, Beholder and Quartermaster regressions
    • vendored-engine
    • test-catalog-lanes
    • the locale validators and validate-package-locale-keys
    • validate-catalog (v2=38, v3=38; preview overlay: modern-life-sim 0.2.0, quartermaster,
      relationship-tracker, ruleset-5e-2014)
    • 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
    fails on Windows because it expects a POSIX path and gets D:\tmp\package\assets\icon.png. That file
    is identical to staging and never touches this package. The second half,
    long-term-memory-index-keys, passes.

  • Package's own suite: 1,245 tests, all green. They cover the core rules, the server routes against a
    fake Engine, the screens as HTML, and the modules with a fake model.

  • Bundles: server.mjs imports cleanly in Node 24, and client.js parses as one classic script.

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

    • all four files matched their manifest hashes;
    • after the restart the package came up active/ready at 0.2.0;
    • on the minified bundles, the Life Sim tab opened the title screen with an existing save, WHAT'S NEW
      (with the module fold) and LOAD LIFE;
    • a life's sheet, its relationship chart and the GUIDE all answered;
    • the Engine logged no package error.

Documentation impact

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

packages/modern-life-sim/README.md and CHANGELOG.md describe 0.2.0. The repository README's
In development row still fits and is unchanged. In game, the GUIDE and WHAT'S NEW cover the same ground
for players.

UI evidence (if applicable)

Summary by CodeRabbit

  • New Features
    • Modern Life Sim 0.2.0 expands the life-simulation experience with an updated game interface, more individualized personalities, and additional relationship paths.
    • Explore more town activities and outings, find and keep a job, manage bills and finances, and capture pictures.
    • Optional modules let you customize each life.

🔄 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/1113 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 9/27/2026 **Status:** ✅ Merged **Merged:** 9/27/2026 **Merged by:** [@SonaGat3](https://github.com/SonaGat3) **Base:** `staging` ← **Head:** `staging` --- ### 📝 Commits (1) - [`e64c8ce`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e64c8ce0840dcdc081240eba76e5f3c25ef09d63) feat(modern-life-sim): 0.2.0 — personalities, relationships all the way, the GUIDE and modules, staging only ### 📊 Changes **12 files changed** (+5666 additions, -2891 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/modern-life-sim-0.2.0.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+9 -9) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+9 -9) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+9 -9) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/modern-life-sim/CHANGELOG.md` (+11 -0) 📝 `packages/modern-life-sim/README.md` (+11 -8) 📝 `packages/modern-life-sim/client.js` (+5382 -2788) 📝 `packages/modern-life-sim/manifest.json` (+6 -6) 📝 `packages/modern-life-sim/server.mjs` (+211 -62) </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 #1112 ## Why this change Modern Life Sim 0.1.0 (#1053) gave staging testers a whole life, but thin people: twelve fixed archetypes, relationships that stopped early, and a town where nothing got around. **0.2.0** covers everything since: - each character gets their own personality, read from their card; - relationships go all the way to weddings; - the town talks, and the game explains itself in an in-game GUIDE; - optional modules, the first one being Adult. It stays **staging only**, because it is still an alpha. ## What changed - **`packages/modern-life-sim/client.js`** and **`server.mjs`**: rebuilt, pre-built and minified esbuild bundles from the package's source tree, which lives outside this repository (same as 0.1.0). - **`packages/modern-life-sim/manifest.json`**: `version` 0.2.0; `builtAgainst` Engine 2.4.6 at `3ec25a04e`, the current Engine `staging`. The payload hashes and sizes are re-derived. The permissions, entrypoints, slots and `engine` range are unchanged. - **`packages/modern-life-sim/CHANGELOG.md`**: the 0.2.0 entry (923 characters, under the 1,000 cap). - **`packages/modern-life-sim/README.md`**: what 0.2.0 adds since 0.1.0. - **`artifacts/modern-life-sim-0.2.0.zip`** (new). 0.1.0's artifact stays, as with every package. ### Generated outputs These files were **re-derived** by `node scripts/build-modern-life-sim-package.mjs` from the committed payload bytes: - `manifest.json`; - 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, no other package and no published lane was touched. ## Package and security impact - **Affected package IDs:** `modern-life-sim` only. - **Engine compatibility impact:** `engine` stays `>=2.4.4 <4.0.0` and Capability API 1.9. `builtAgainst` moves to Engine 2.4.6 at `3ec25a04e`. Staging only, so stable Engines never see it. - **New permissions/entrypoints:** none. The package keeps `network`, `routes`, `storage` and `ui`, and the entrypoints `agents`, `client` and `server`. - `routes`: **162** routes under `/api/modern-life-sim/*`, up from 60. They are still registered with `registerPrivilegedRoutes`, and each new screen reads through a GET and acts through a POST. Examples: the GUIDE, the welcome, the relationship chart, BILLS, HOMES, JOBS, weddings, presets. - `storage`: still one document per life. The shared documents grow from three to eight: - the backgrounds library, the paint queue and the bank of activity lines (as in 0.1.0); - creation drafts and presets; - the image-prompt overrides; - which welcome was accepted; - a log of the last 200 model calls, which feeds the calls screen in Settings. - `network`: still only the Engine itself. There is one new loopback call, `/api/sprites/cleanup`, the Engine's own sprite background remover, used when the player chooses to show characters cut out instead of framed. No external service. - `server.mjs` is still one Node ES module: no file reads at run time, no child processes, no dynamic imports, no `eval`. - Model output is still never parsed as prose. Every decision is made by the code from ids, numbers and booleans the model is asked for. - **Adult module:** off by default, switched on per life after the player confirms they are an adult. - **Restart, storage, update, or uninstall impact:** `restartRequired: true`, as in 0.1.0. - Saves from 0.1.0 predate what 0.2.0 builds on (the network between the cast). Opening one warns first, and the player can start a new life or continue at their own risk. The welcome says up front that saves may not carry over while the game is an alpha. - **Payload:** `client.js` 840,082 bytes, `server.mjs` 872,288, `life-sim-icon.png` 7,106 and `agents.json` 678. The artifact is 1,722,420 bytes. - The diff is +5,666 / −2,891 lines. Of that, 5,382 / 2,788 is the minified client, whose HTML templates keep their line breaks. ## 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 catalogs and artifacts only from a > public https URL, and this artifact exists there only after the PR lands, so 0.2.0 cannot be installed > *through* the Engine's download path yet. The same bytes were installed by sideload into a `staging` > Engine (`3ec25a04e`) instead: the artifact zip, with every file checked against its manifest hash. The > fifth box waits for the same reason: uninstall goes through the Engine's package manager, which acts on > what it installed itself. ### Manual verification notes - **Branch hygiene.** - Branched from the current `origin/staging` (`2ea2767e`, the merge of #1053). - None of the changed files carries CRLF. - `git diff --check "origin/staging...HEAD"` is clean. - The build is reproducible. - **Repo checks, run locally in the workflow's own order** (`pull-request-checks.yml` at `origin/staging`, after a fresh `npm ci`): **all green except one known Windows-only failure.** - `npm run check` - `typecheck:packages` - the Calls, Memory Nag, Pixelforge, Beholder and Quartermaster regressions - `vendored-engine` - `test-catalog-lanes` - the locale validators and `validate-package-locale-keys` - `validate-catalog` (v2=38, v3=38; preview overlay: modern-life-sim 0.2.0, quartermaster, relationship-tracker, ruleset-5e-2014) - `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 fails on Windows because it expects a POSIX path and gets `D:\tmp\package\assets\icon.png`. That file is identical to `staging` and never touches this package. The second half, `long-term-memory-index-keys`, passes. - **Package's own suite:** 1,245 tests, all green. They cover the core rules, the server routes against a fake Engine, the screens as HTML, and the modules with a fake model. - **Bundles:** `server.mjs` imports cleanly in Node 24, and `client.js` parses as one classic script. - **Sideloaded into Engine `staging` (`3ec25a04e`)** from `artifacts/modern-life-sim-0.2.0.zip`: - all four files matched their manifest hashes; - after the restart the package came up `active`/`ready` at 0.2.0; - on the minified bundles, the Life Sim tab opened the title screen with an existing save, WHAT'S NEW (with the module fold) and LOAD LIFE; - a life's sheet, its relationship chart and the GUIDE all answered; - the Engine logged no package error. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation `packages/modern-life-sim/README.md` and `CHANGELOG.md` describe 0.2.0. The repository README's *In development* row still fits and is unchanged. In game, the GUIDE and WHAT'S NEW cover the same ground for players. ## UI evidence (if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Modern Life Sim 0.2.0 expands the life-simulation experience with an updated game interface, more individualized personalities, and additional relationship paths. * Explore more town activities and outings, find and keep a job, manage bills and finances, and capture pictures. * Optional modules let you customize each life. <!-- 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:07:53 +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#1301
No description provided.