[GH-ISSUE #1478] [Issue]: Nine packages overwrite the Engine's saved UI settings with an old copy of its UI store #749

Closed
opened 2026-10-20 17:30:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1478

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Nine catalog packages bundle an old copy of the Engine's UI store (packages/client/src/stores/ui.store.ts, persist version 74). The copy is persisted under the Engine's own localStorage key, marinara-engine-ui. When the Engine loads one of these package clients, the copy reads the Engine's saved UI settings, migrates them to its own older shape and writes them back. On the next reload the Engine (persist version 101 on v2.5.0, 103 on staging) migrates from version 74, and every setting that is saved only in this browser goes back to its default.

Affected package

eightball 1.0.5, conversation-calls 1.1.4, chess 1.0.5, noodle 1.5.6, poker 1.0.5, rock-paper-scissors 1.0.5, slurp2 0.3.48, tic-tac-toe 1.0.5 and uno 1.0.5.

The other client bundles in the catalog (Beholder, Gacha Forge, Long-Term Memory, Memory Nag, Quartermaster, Relationship Tracker, World Maps, Modern Life Sim) do not carry the copy.

Expected behavior

Loading a package never changes the Engine's saved UI settings.

Actual behavior

After a package client loads, the stored marinara-engine-ui entry drops from 245 keys to 178 on Engine staging and its version changes to 74. After the next reload, settings that the server does not sync are back to their defaults, for example roleplayReducedPaintEffects, activeImpersonatePromptTemplateId, noodleNavigation, trackerPanelOpenByChatId, echoChamberSideByChatId and echoChamberSizeByChatId.

Steps to reproduce

  1. Install Tic-Tac-Toe 1.0.5 on Marinara Engine 2.5.0 or staging.
  2. Change a browser-only setting, such as reduced paint effects in Roleplay or the active impersonate prompt template.
  3. Reload once so that the Tic-Tac-Toe client loads. JSON.parse(localStorage.getItem("marinara-engine-ui")).version is now 74.
  4. Reload again. The setting is back to its default.

Each affected bundle shows the copy with:

unzip -p artifacts/<id>-<version>.zip client.js | grep -o 'marinara-engine-ui",version:[0-9]*'

Environment

  • Marinara Engine version: 2.5.0 and staging
  • Package version: listed above
  • Install type: source
  • OS + version: macOS
  • Browser or app shell: Chromium (Playwright)

Logs, screenshots, or video

None. The commands above show the problem.

Additional context

The copy reaches each bundle through shared hooks (use-characters.ts, use-chats.ts, use-connections.ts, use-conversation-calls.ts), and the Calls call surface imports it directly. The packages read Debug mode, Enter to send, the user status and the Calls voice volume from it, so the copy should keep reading the Engine's settings and stop writing them.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1478 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Nine catalog packages bundle an old copy of the Engine's UI store (`packages/client/src/stores/ui.store.ts`, persist version 74). The copy is persisted under the Engine's own localStorage key, `marinara-engine-ui`. When the Engine loads one of these package clients, the copy reads the Engine's saved UI settings, migrates them to its own older shape and writes them back. On the next reload the Engine (persist version 101 on v2.5.0, 103 on staging) migrates from version 74, and every setting that is saved only in this browser goes back to its default. ## Affected package `eightball` 1.0.5, `conversation-calls` 1.1.4, `chess` 1.0.5, `noodle` 1.5.6, `poker` 1.0.5, `rock-paper-scissors` 1.0.5, `slurp2` 0.3.48, `tic-tac-toe` 1.0.5 and `uno` 1.0.5. The other client bundles in the catalog (Beholder, Gacha Forge, Long-Term Memory, Memory Nag, Quartermaster, Relationship Tracker, World Maps, Modern Life Sim) do not carry the copy. ## Expected behavior Loading a package never changes the Engine's saved UI settings. ## Actual behavior After a package client loads, the stored `marinara-engine-ui` entry drops from 245 keys to 178 on Engine staging and its version changes to 74. After the next reload, settings that the server does not sync are back to their defaults, for example `roleplayReducedPaintEffects`, `activeImpersonatePromptTemplateId`, `noodleNavigation`, `trackerPanelOpenByChatId`, `echoChamberSideByChatId` and `echoChamberSizeByChatId`. ## Steps to reproduce 1. Install Tic-Tac-Toe 1.0.5 on Marinara Engine 2.5.0 or staging. 2. Change a browser-only setting, such as reduced paint effects in Roleplay or the active impersonate prompt template. 3. Reload once so that the Tic-Tac-Toe client loads. `JSON.parse(localStorage.getItem("marinara-engine-ui")).version` is now 74. 4. Reload again. The setting is back to its default. Each affected bundle shows the copy with: ```sh unzip -p artifacts/<id>-<version>.zip client.js | grep -o 'marinara-engine-ui",version:[0-9]*' ``` ## Environment - Marinara Engine version: 2.5.0 and staging - Package version: listed above - Install type: source - OS + version: macOS - Browser or app shell: Chromium (Playwright) ## Logs, screenshots, or video None. The commands above show the problem. ## Additional context The copy reaches each bundle through shared hooks (`use-characters.ts`, `use-chats.ts`, `use-connections.ts`, `use-conversation-calls.ts`), and the Calls call surface imports it directly. The packages read Debug mode, Enter to send, the user status and the Calls voice volume from it, so the copy should keep reading the Engine's settings and stop writing them. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:22 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 20, 2026):

Done on staging by #1494.

<!-- gh-comment-id:6290818108 --> @SpicyMarinara commented on GitHub (Oct 20, 2026): Done on staging by #1494.
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#749
No description provided.