[GH-ISSUE #4323] [Feature]: Select a World Maps shared world during Game setup #2342

Closed
opened 2026-10-21 05:47:27 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

Game setup can select an independent World Maps template, but it cannot select and link an existing shared world.

The setup picker displays Shared worlds, yet it cannot offer Link to chat because the Game chat does not exist until setup begins. A user who wants the shared world active from the first playable turn must currently choose Build manually, finish setup, open the map library, link the shared world, and only then press Start Game.

This is confusing because:

  • Use template creates an independent Game-owned copy rather than a durable link.
  • Shared worlds appear in the setup picker without an applicable setup action.
  • The manual workaround is not discoverable and makes it easy to start the first turn before linking the intended world.

Proposed solution

Add a Use shared world route to the hierarchical World Map choices in the New Game setup wizard.

The flow should:

  1. Open the World Maps library in a setup-selection mode that permits selecting a valid shared world.
  2. Show the selected shared-world name in the Game wizard before submission.
  3. Create the Game/chat, then link that chat to the selected shared world before Start Game becomes available and before the initial GM turn is generated.
  4. Enable World Maps for the Game and initialize the chat at the shared world's starting location.
  5. Preserve shared-world semantics: the definition and Global Gallery artwork remain account-owned, while the Game keeps its own current location, route history, snapshots, Game bindings, and unpublished discoveries.
  6. Surface link failures as a recoverable setup error rather than silently falling back to an independent copy or standard Game map.

Ownership split:

  • Marinara Engine: extend the Game setup map-plan contract and post-creation handoff to carry and apply a shared-world selection before Game start.
  • World Maps package / Marinara-Agents: expose shared-world selection through the setup capability view and return a validated shared-world selection payload.

Acceptance coverage should keep the existing Create with AI, Build manually, and independent Use template paths unchanged, and verify that selecting a shared world does not mutate its canonical revision during Game creation.

Alternatives considered

  • Keep the current workaround: choose Build manually, finish setup, then link the shared world before pressing Start Game. This works for the first playable turn but is hidden and unnecessarily fragile.
  • Use an independent template copy. This does not satisfy users who want multiple chats linked to one canonical shared world.
  • Link only after the first Game turn. This allows the opening turn to be generated without the intended spatial context.

Additional context

Current behavior distinguishes the two concepts correctly after a chat exists:

  • Add to chat / Use template creates an independent copy.
  • Link to chat attaches a Roleplay or Game chat to a canonical shared world.

The missing piece is making the durable shared-world choice available during New Game setup.

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 @thetopham on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4323 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? Game setup can select an independent World Maps template, but it cannot select and link an existing shared world. The setup picker displays **Shared worlds**, yet it cannot offer **Link to chat** because the Game chat does not exist until setup begins. A user who wants the shared world active from the first playable turn must currently choose **Build manually**, finish setup, open the map library, link the shared world, and only then press **Start Game**. This is confusing because: - **Use template** creates an independent Game-owned copy rather than a durable link. - Shared worlds appear in the setup picker without an applicable setup action. - The manual workaround is not discoverable and makes it easy to start the first turn before linking the intended world. ## Proposed solution Add a **Use shared world** route to the hierarchical World Map choices in the New Game setup wizard. The flow should: 1. Open the World Maps library in a setup-selection mode that permits selecting a valid shared world. 2. Show the selected shared-world name in the Game wizard before submission. 3. Create the Game/chat, then link that chat to the selected shared world before **Start Game** becomes available and before the initial GM turn is generated. 4. Enable World Maps for the Game and initialize the chat at the shared world's starting location. 5. Preserve shared-world semantics: the definition and Global Gallery artwork remain account-owned, while the Game keeps its own current location, route history, snapshots, Game bindings, and unpublished discoveries. 6. Surface link failures as a recoverable setup error rather than silently falling back to an independent copy or standard Game map. Ownership split: - **Marinara Engine:** extend the Game setup map-plan contract and post-creation handoff to carry and apply a shared-world selection before Game start. - **World Maps package / Marinara-Agents:** expose shared-world selection through the setup capability view and return a validated shared-world selection payload. Acceptance coverage should keep the existing **Create with AI**, **Build manually**, and independent **Use template** paths unchanged, and verify that selecting a shared world does not mutate its canonical revision during Game creation. ## Alternatives considered - Keep the current workaround: choose **Build manually**, finish setup, then link the shared world before pressing **Start Game**. This works for the first playable turn but is hidden and unnecessarily fragile. - Use an independent template copy. This does not satisfy users who want multiple chats linked to one canonical shared world. - Link only after the first Game turn. This allows the opening turn to be generated without the intended spatial context. ## Additional context Current behavior distinguishes the two concepts correctly after a chat exists: - **Add to chat / Use template** creates an independent copy. - **Link to chat** attaches a Roleplay or Game chat to a canonical shared world. The missing piece is making the durable shared-world choice available during New Game setup. ## 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:47:27 +07:00
Author
Owner

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

Implementation is in progress by @thetopham with Codex in Engine draft PR #4329 and companion World Maps draft PR Pasta-Devs/Marinara-Agents#149. The Agents PR is intentionally stacked on PR #148 until the connection-line package update merges.

<!-- gh-comment-id:5139645341 --> @thetopham commented on GitHub (Jul 31, 2026): Implementation is in progress by @thetopham with Codex in Engine draft PR #4329 and companion World Maps draft PR Pasta-Devs/Marinara-Agents#149. The Agents PR is intentionally stacked on PR #148 until the connection-line package update merges.
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#2342
No description provided.