[GH-ISSUE #133] [Feature]: Support one shared World Map across multiple chats #62

Closed
opened 2026-10-20 17:23:58 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @thetopham on GitHub (Jul 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/133

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

World Maps templates and exports make a world reusable, but independent copies do not propagate later edits or discoveries. Users with many characters and scenarios want one lorebook-style canonical world and one shared artwork set without duplicating definitions and images into every chat.

At the same time, current location, travel history, messages, Game bindings, and alternate-continuity changes must remain private to each chat.

Proposed package or change

Add an opt-in account-owned shared World Map mode while preserving independent templates and copies.

  • Store one canonical world definition containing its hierarchy profile, locations, descriptions, model memory, links, lore associations, location references, and child-map backgrounds.
  • Let Roleplay and Game chats attach as Linked shared world or create an Independent copy/fork.
  • Keep current location, travel history, pending routes, snapshots, Game bindings, messages, and other runtime state per chat.
  • Keep linked-chat edits and story discoveries private as drafts until the user explicitly publishes them.
  • Support reviewed publish/discard, optimistic revisions, stale-conflict detection, relink protection, and fork/copy flows.
  • Propagate canonical definition changes to linked chats without overwriting their private runtime state.
  • Prevent deletion of a world while chats are linked and prevent removing established locations used by linked worlds; archive instead.
  • Reuse account-level Global Gallery artwork instead of copying it into every chat.
  • Support complete shared-world import/export, including portable artwork.
  • Never share chat history, credentials, or unrelated chat data through a world link.

Supported modes: Roleplay and Game. Package-owned world behavior uses generic Engine capability-document, spatial-context, Gallery, and Global Gallery contracts.

Why should this be optional?

Many campaigns need independent copies that can diverge safely. Linked worlds are therefore opt-in, while existing templates and independent maps remain available for isolated scenarios and alternate timelines.

Alternatives considered

  • Apply the same template to every chat. Definitions and artwork are copied and later edits do not propagate.
  • Export/import after every change. This is manual and risks overwriting chat-specific state.
  • Complete #129 alone. Shared artwork reduces storage but does not create one durable evolving definition.
  • Share raw chat Gallery IDs. Chat ownership and deletion semantics make this unsafe.
  • Share all map state. This would leak current location, history, or scenario-specific changes across campaigns.

Additional context

This request came from World Maps 1.2.0 beta feedback describing the desired model as "one instance shared among chats" and "akin to Lorebooks."

The implementation is in draft PR #136. Shared artwork is split through #129/#137, and generic Engine resolution/deletion support is Pasta-Devs/Marinara-Engine#4278 / Pasta-Devs/Marinara-Engine#4279.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/133 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? World Maps templates and exports make a world reusable, but independent copies do not propagate later edits or discoveries. Users with many characters and scenarios want one lorebook-style canonical world and one shared artwork set without duplicating definitions and images into every chat. At the same time, current location, travel history, messages, Game bindings, and alternate-continuity changes must remain private to each chat. ## Proposed package or change Add an opt-in account-owned shared World Map mode while preserving independent templates and copies. - Store one canonical world definition containing its hierarchy profile, locations, descriptions, model memory, links, lore associations, location references, and child-map backgrounds. - Let Roleplay and Game chats attach as **Linked shared world** or create an **Independent copy/fork**. - Keep current location, travel history, pending routes, snapshots, Game bindings, messages, and other runtime state per chat. - Keep linked-chat edits and story discoveries private as drafts until the user explicitly publishes them. - Support reviewed publish/discard, optimistic revisions, stale-conflict detection, relink protection, and fork/copy flows. - Propagate canonical definition changes to linked chats without overwriting their private runtime state. - Prevent deletion of a world while chats are linked and prevent removing established locations used by linked worlds; archive instead. - Reuse account-level Global Gallery artwork instead of copying it into every chat. - Support complete shared-world import/export, including portable artwork. - Never share chat history, credentials, or unrelated chat data through a world link. Supported modes: Roleplay and Game. Package-owned world behavior uses generic Engine capability-document, spatial-context, Gallery, and Global Gallery contracts. ## Why should this be optional? Many campaigns need independent copies that can diverge safely. Linked worlds are therefore opt-in, while existing templates and independent maps remain available for isolated scenarios and alternate timelines. ## Alternatives considered - Apply the same template to every chat. Definitions and artwork are copied and later edits do not propagate. - Export/import after every change. This is manual and risks overwriting chat-specific state. - Complete #129 alone. Shared artwork reduces storage but does not create one durable evolving definition. - Share raw chat Gallery IDs. Chat ownership and deletion semantics make this unsafe. - Share all map state. This would leak current location, history, or scenario-specific changes across campaigns. ## Additional context This request came from World Maps 1.2.0 beta feedback describing the desired model as "one instance shared among chats" and "akin to Lorebooks." The implementation is in draft PR #136. Shared artwork is split through #129/#137, and generic Engine resolution/deletion support is Pasta-Devs/Marinara-Engine#4278 / Pasta-Devs/Marinara-Engine#4279. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

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

First implementation phase is tracked in #137 and draft PR #136. It reuses account-wide Global Gallery artwork IDs across independent chat map copies. This does not yet create one canonical live map definition or revision model, so #133 remains open for the full shared-world-map architecture.

<!-- gh-comment-id:5125664053 --> @thetopham commented on GitHub (Jul 30, 2026): First implementation phase is tracked in #137 and draft PR #136. It reuses account-wide Global Gallery artwork IDs across independent chat map copies. This does not yet create one canonical live map definition or revision model, so #133 remains open for the full shared-world-map architecture.
Author
Owner

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

The basic shared-world implementation is now pushed in draft PR #136, with companion Engine artwork support in Pasta-Devs/Marinara-Engine#4279. It adds one account-owned canonical world linked across chats, private per-chat location/history/Game state, unpublished chat drafts, optimistic revisions, publish/discard/conflict/fork controls, atomic independent copies, and linked-world/location deletion safeguards. The rebuilt package passes the two-chat exact-artifact lifecycle regression; CI and manual UX verification remain pending.

<!-- gh-comment-id:5125991587 --> @thetopham commented on GitHub (Jul 30, 2026): The basic shared-world implementation is now pushed in draft PR #136, with companion Engine artwork support in Pasta-Devs/Marinara-Engine#4279. It adds one account-owned canonical world linked across chats, private per-chat location/history/Game state, unpublished chat drafts, optimistic revisions, publish/discard/conflict/fork controls, atomic independent copies, and linked-world/location deletion safeguards. The rebuilt package passes the two-chat exact-artifact lifecycle regression; CI and manual UX verification remain pending.
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#62
No description provided.