[PR #1123] [MERGED] fix(modern-life-sim): 0.2.4 — your own pictures, renaming, fewer lost scene turns, a sharp clothes rack #1306

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

📋 Pull Request Information

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

Base: staging ← Head: staging


📝 Commits (2)

  • 091c693 fix(modern-life-sim): 0.2.4 — your own pictures, renaming, fewer lost scene turns, a sharp clothes rack
  • 361d554 Merge branch 'staging' into staging

📊 Changes

12 files changed (+429 additions, -369 deletions)

View changed files

➕ artifacts/modern-life-sim-0.2.4.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 (+7 -0)
📝 packages/modern-life-sim/README.md (+2 -0)
📝 packages/modern-life-sim/client.js (+253 -220)
📝 packages/modern-life-sim/manifest.json (+5 -5)
📝 packages/modern-life-sim/server.mjs (+120 -120)

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

Why this change

Staging testers asked for their own pictures of people and a way to rename a character, and reported lost scene turns on GLM 5.3, a blurry clothes rack and furniture showing up in the supermarket. All of it is in the linked issue. 0.2.4 covers it, plus a small fix in the optional Adult Module.

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.
    • Your own pictures.

      • A player can use their own picture for a cast member's season and work outfits and for themselves in an outfit.
      • It is picked from a file and framed by hand (drag, zoom) at the life's PORTRAIT SIZE.
      • It is marked as the player's own: nothing painted replaces it, nor a change of job or of what they wear. Only REDO SPRITE (PAINT IT INSTEAD) does.
      • A PNG with a see-through background stands cut out as it is. Any other is offered to the Engine's sprite cleaner when people stand cut out, as painted pictures are.
      • Background uploads use the same frame, now at the life's PICTURE SIZE instead of a fixed 1216 × 832.
      • Three new routes: POST /lives/:id/sheet/:character/season/upload, …/work/upload and POST /lives/:id/rack/upload. They run the same checks as the background upload: PNG, JPEG or WebP, 8 MB at most, and really one.
    • Renaming.

      • RENAME in the cast settings changes a character's name in the life, the card untouched: POST /lives/:id/cast/rename.
      • UPDATE FROM THE CARD now brings the card's name when it changed. A name given by hand stays until the card's changes again.
    • Fewer lost scene turns. Before an answer is given up as broken, the reader:

      • escapes double quotes left bare inside a string (where JSON can't go on after them);
      • gives a line written as {"who":"x":"…"} its text key.

      It only looks at the JSON's shape, never at the words.

    • Screens.

      • The clothes rack's cards and its fitting box stand straight.
      • The phone's SHOP opened inside a store is a screen of its own; going back returns to the store's shelves with their cart.
    • Optional Adult Module (off by default, mature content): a small fix.

  • packages/modern-life-sim/manifest.json: version 0.2.4, 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.2.4 entry, and a line about it.
  • artifacts/modern-life-sim-0.2.4.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. The uploaded pictures go to the Engine's own gallery through the Capability API, as background uploads already did. No external service.
  • Restart, storage, update, or uninstall impact: restartRequired: true, as before. Saves from 0.2.3 open unchanged; a picture without the new mark is treated as painted.
  • Payload:
    • server.mjs 886,130 bytes;
    • client.js 851,625 bytes;
    • the artifact, 1,747,805 bytes;
    • the diff, +429 / −369 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 (cf15d5f5);
    • no CRLF in any changed file;
    • git diff --check "origin/staging...HEAD" is clean;
    • no script changed;
    • the build is reproducible.
  • Repo checks, run locally in the workflow's own order (pull-request-checks.yml, after a fresh npm ci). 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: 1,273 tests, all green. The new ones cover:

    • an uploaded picture kept at the life's size, marked as the player's, and never painted over (a painting on its way, a failed one, a new job, an edited outfit); REDO drops it;
    • a see-through PNG kept as its own cut-out, a JPEG left for the cleaner;
    • a background upload at the life's PICTURE SIZE;
    • the frame: the picture always fills it and never slides off an edge;
    • renaming by hand, the card's new name through UPDATE FROM THE CARD, and a hand-given name kept while the card's is unchanged;
    • the tester's exact GLM 5.3 answer, read whole (four lines, three suggestions) where the Engine's reader alone fails;
    • the phone's SHOP over a store: its own cart, and back to the store's shelves.
  • Sideloaded into Engine staging (3ec25a04e) from artifacts/modern-life-sim-0.2.4.zip:

    • all four files matched their manifest hashes;
    • the package came up active/ready at 0.2.4;
    • WHAT'S NEW shows 0.2.4 above 0.2.3, 0.2.1 and 0.2.0;
    • existing lives open;
    • the Engine logged no error.
  • In mockups on the real client, by eye:

    • the framing window and the upload buttons on the sheet, the closet and the rack;
    • RENAME in the cast settings;
    • the clothes rack, sharp once its cards stand straight.

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.2.4. In game, the GUIDE (Pictures, A life's settings) and WHAT'S NEW do too.

UI evidence (if applicable)

Summary by CodeRabbit

  • New Features
    • Added custom images for seasonal and work outfits, plus options to rename characters manually or from a character card.
  • Bug Fixes
    • Scene turns are retained when model replies contain minor errors.
    • Improved clothes-store displays and navigation between the phone shop and other stores.
    • Fixed an issue in the optional Adult Module.

🔄 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/1123 **Author:** [@SonaGat3](https://github.com/SonaGat3) **Created:** 9/28/2026 **Status:** ✅ Merged **Merged:** 9/28/2026 **Merged by:** [@SonaGat3](https://github.com/SonaGat3) **Base:** `staging` ← **Head:** `staging` --- ### 📝 Commits (2) - [`091c693`](https://github.com/Pasta-Devs/Marinara-Agents/commit/091c6934f8a3f9a9be7a3f4814d524c5fc611808) fix(modern-life-sim): 0.2.4 — your own pictures, renaming, fewer lost scene turns, a sharp clothes rack - [`361d554`](https://github.com/Pasta-Devs/Marinara-Agents/commit/361d554cc4d28c7b66daba17bbe2eb84fad1085c) Merge branch 'staging' into staging ### 📊 Changes **12 files changed** (+429 additions, -369 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/modern-life-sim-0.2.4.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` (+7 -0) 📝 `packages/modern-life-sim/README.md` (+2 -0) 📝 `packages/modern-life-sim/client.js` (+253 -220) 📝 `packages/modern-life-sim/manifest.json` (+5 -5) 📝 `packages/modern-life-sim/server.mjs` (+120 -120) </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 #1122 ## Why this change Staging testers asked for their own pictures of people and a way to rename a character, and reported lost scene turns on GLM 5.3, a blurry clothes rack and furniture showing up in the supermarket. All of it is in the linked issue. 0.2.4 covers it, plus a small fix in the optional Adult Module. ## 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. - **Your own pictures.** - A player can use their own picture for a cast member's season and work outfits and for themselves in an outfit. - It is picked from a file and framed by hand (drag, zoom) at the life's PORTRAIT SIZE. - It is marked as the player's own: nothing painted replaces it, nor a change of job or of what they wear. Only REDO SPRITE (PAINT IT INSTEAD) does. - A PNG with a see-through background stands cut out as it is. Any other is offered to the Engine's sprite cleaner when people stand cut out, as painted pictures are. - Background uploads use the same frame, now at the life's PICTURE SIZE instead of a fixed 1216 × 832. - Three new routes: `POST /lives/:id/sheet/:character/season/upload`, `…/work/upload` and `POST /lives/:id/rack/upload`. They run the same checks as the background upload: PNG, JPEG or WebP, 8 MB at most, and really one. - **Renaming.** - RENAME in the cast settings changes a character's name in the life, the card untouched: `POST /lives/:id/cast/rename`. - UPDATE FROM THE CARD now brings the card's name when it changed. A name given by hand stays until the card's changes again. - **Fewer lost scene turns.** Before an answer is given up as broken, the reader: - escapes double quotes left bare inside a string (where JSON can't go on after them); - gives a line written as `{"who":"x":"…"}` its `text` key. It only looks at the JSON's shape, never at the words. - **Screens.** - The clothes rack's cards and its fitting box stand straight. - The phone's SHOP opened inside a store is a screen of its own; going back returns to the store's shelves with their cart. - **Optional Adult Module** (off by default, mature content): a small fix. - **`packages/modern-life-sim/manifest.json`**: `version` 0.2.4, 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.2.4 entry, and a line about it. - **`artifacts/modern-life-sim-0.2.4.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. The uploaded pictures go to the Engine's own gallery through the Capability API, as background uploads already did. No external service. - **Restart, storage, update, or uninstall impact:** `restartRequired: true`, as before. Saves from 0.2.3 open unchanged; a picture without the new mark is treated as painted. - **Payload:** - `server.mjs` 886,130 bytes; - `client.js` 851,625 bytes; - the artifact, 1,747,805 bytes; - the diff, +429 / −369 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` (`cf15d5f5`); - no CRLF in any changed file; - `git diff --check "origin/staging...HEAD"` is clean; - no script changed; - the build is reproducible. - **Repo checks, run locally in the workflow's own order** (`pull-request-checks.yml`, after a fresh `npm ci`). 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:** 1,273 tests, all green. The new ones cover: - an uploaded picture kept at the life's size, marked as the player's, and never painted over (a painting on its way, a failed one, a new job, an edited outfit); REDO drops it; - a see-through PNG kept as its own cut-out, a JPEG left for the cleaner; - a background upload at the life's PICTURE SIZE; - the frame: the picture always fills it and never slides off an edge; - renaming by hand, the card's new name through UPDATE FROM THE CARD, and a hand-given name kept while the card's is unchanged; - the tester's exact GLM 5.3 answer, read whole (four lines, three suggestions) where the Engine's reader alone fails; - the phone's SHOP over a store: its own cart, and back to the store's shelves. - **Sideloaded into Engine `staging` (`3ec25a04e`)** from `artifacts/modern-life-sim-0.2.4.zip`: - all four files matched their manifest hashes; - the package came up `active`/`ready` at 0.2.4; - WHAT'S NEW shows 0.2.4 above 0.2.3, 0.2.1 and 0.2.0; - existing lives open; - the Engine logged no error. - **In mockups on the real client, by eye:** - the framing window and the upload buttons on the sheet, the closet and the rack; - RENAME in the cast settings; - the clothes rack, sharp once its cards stand straight. ## 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.2.4. In game, the GUIDE (Pictures, A life's settings) 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** * Added custom images for seasonal and work outfits, plus options to rename characters manually or from a character card. * **Bug Fixes** * Scene turns are retained when model replies contain minor errors. * Improved clothes-store displays and navigation between the phone shop and other stores. * Fixed an issue in the optional Adult Module. <!-- 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: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-Agents#1306
No description provided.