[GH-ISSUE #4176] [Issue]: Maps bug #2261

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

Originally created by @SpicyMarinara on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4176

Originally assigned to: @thetopham on GitHub.

Summary

A user reported a bug involving maps, but no specific symptoms or details were provided.

Expected behavior

Not provided in the Discord context.

Actual behavior

Not provided in the Discord context.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video details were provided in the Discord context.

Additional context

The Discord thread was titled "maps bug." No further issue details were provided.

Discord thread: maps bug
Discord thread link: https://discord.com/channels/1417099416812392641/1531293610383773789
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-27T13:34:06.775Z] Nevi: maps bug
[Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531293610383773789]

[2026-07-27T13:34:24.029Z] Nevi: (no text content)
[Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531293682752557137]

[2026-07-27T13:35:41.194Z] Marinara: :6073pepedamn:
[Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531294006405890139]

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 (Jul 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4176 Originally assigned to: @thetopham on GitHub. ## Summary A user reported a bug involving maps, but no specific symptoms or details were provided. ## Expected behavior Not provided in the Discord context. ## Actual behavior Not provided in the Discord context. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video details were provided in the Discord context. ## Additional context The Discord thread was titled "maps bug." No further issue details were provided. Discord thread: maps bug Discord thread link: https://discord.com/channels/1417099416812392641/1531293610383773789 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-27T13:34:06.775Z] Nevi: maps bug [Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531293610383773789] [2026-07-27T13:34:24.029Z] Nevi: (no text content) [Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531293682752557137] [2026-07-27T13:35:41.194Z] Marinara: :6073pepedamn: [Discord message: https://discord.com/channels/1417099416812392641/1531293610383773789/1531294006405890139] ``` </details> ## 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-21 05:46:46 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@thetopham commented on GitHub (Jul 27, 2026):

Reproduction and fix update:

  • Reproduced the report on Engine 2.3.5+4d2b049033ed with Hierarchical Maps 1.1.8.
  • Archived Falmart/Special Region fixtures with 42 unavailable lore links produced the exact save-blocking 42-issue banner.
  • A separately created Roleplay chat remained empty (definition: null, zero warnings, Create a starting location in the UI), so saved locations did not leak between genuinely independent chats in a clean profile.
  • The confirmed 1.1.8 bug is that archived locations' stale lore links were still counted as active save issues.
  • The Maps 1.2.0 fix is in Marinara-Agents PR #109, commits 57332a4 and 638b85d: archived links no longer block Save, and active missing-link errors now identify the location in plain English without displaying the opaque internal entry ID.

The remaining report that locations appear in an "unrelated" chat needs the original profile or clarification about whether those chats were branched/duplicated; it did not reproduce with two independent chats.

<!-- gh-comment-id:5093199665 --> @thetopham commented on GitHub (Jul 27, 2026): Reproduction and fix update: - Reproduced the report on Engine `2.3.5+4d2b049033ed` with Hierarchical Maps `1.1.8`. - Archived Falmart/Special Region fixtures with 42 unavailable lore links produced the exact save-blocking 42-issue banner. - A separately created Roleplay chat remained empty (`definition: null`, zero warnings, **Create a starting location** in the UI), so saved locations did not leak between genuinely independent chats in a clean profile. - The confirmed 1.1.8 bug is that archived locations' stale lore links were still counted as active save issues. - The Maps 1.2.0 fix is in [Marinara-Agents PR #109](https://github.com/Pasta-Devs/Marinara-Agents/pull/109), commits `57332a4` and `638b85d`: archived links no longer block Save, and active missing-link errors now identify the location in plain English without displaying the opaque internal entry ID. The remaining report that locations appear in an "unrelated" chat needs the original profile or clarification about whether those chats were branched/duplicated; it did not reproduce with two independent chats.
Author
Owner

@thetopham commented on GitHub (Jul 27, 2026):

Follow-up: the remaining “global on every RP chat” behavior is now reproduced and explained.

  • Two independently created Roleplay chats using the same character and the same character-only, non-global lorebook remained isolated: the source retained Falmart/Special Region, while the fresh chat returned definition: null and showed Create a starting location.
  • The leak reproduces when the source chat's Settings Profile is saved and starred for new Roleplay chats. Engine 2.3.5+4d2b049033ed allowed the profile to capture spatialContext, so applying that profile during new-chat creation copied the complete map, including archived regions and their lore-entry IDs.
  • The lorebook's Global setting is unrelated to this path.

The Engine-side fix is draft PR #4179. It strips all per-chat Maps metadata from profiles on create, save, import, read, duplicate, and apply; sanitizing on read also protects users whose existing profile already contains a map. The archived-link warning and clear missing-entry wording remain in Marinara-Agents PR #109.

Workaround for the affected build: in an unrelated RP, open Chat Settings, choose Default in the Profile dropdown, then click the star beside it so Default is used for future Roleplay chats. Applying Default removes the inherited map from that chat, but it also resets the other profile-controlled chat settings, so re-check those settings afterward. Do not save/star a custom profile from a chat that already has a map until the Engine fix is installed.

<!-- gh-comment-id:5093384074 --> @thetopham commented on GitHub (Jul 27, 2026): Follow-up: the remaining “global on every RP chat” behavior is now reproduced and explained. - Two independently created Roleplay chats using the same character and the same character-only, non-global lorebook remained isolated: the source retained Falmart/Special Region, while the fresh chat returned `definition: null` and showed **Create a starting location**. - The leak reproduces when the source chat's **Settings Profile** is saved and starred for new Roleplay chats. Engine `2.3.5+4d2b049033ed` allowed the profile to capture `spatialContext`, so applying that profile during new-chat creation copied the complete map, including archived regions and their lore-entry IDs. - The lorebook's Global setting is unrelated to this path. The Engine-side fix is draft PR #4179. It strips all per-chat Maps metadata from profiles on create, save, import, read, duplicate, and apply; sanitizing on read also protects users whose existing profile already contains a map. The archived-link warning and clear missing-entry wording remain in [Marinara-Agents PR #109](https://github.com/Pasta-Devs/Marinara-Agents/pull/109). Workaround for the affected build: in an unrelated RP, open **Chat Settings**, choose **Default** in the **Profile** dropdown, then click the star beside it so Default is used for future Roleplay chats. Applying Default removes the inherited map from that chat, but it also resets the other profile-controlled chat settings, so re-check those settings afterward. Do not save/star a custom profile from a chat that already has a map until the Engine fix is installed.
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-Engine#2261
No description provided.