[GH-ISSUE #264] [Issue]: Replace / start over -> Create with AI expands the current map #135

Closed
opened 2026-10-20 17:24:42 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

A Roleplay user tested Replace / start over on a World Map that was already used by the chat. The primary defect is that the Create with AI choice does not start over:

  • Replace / start over -> Create with AI behaves like Expand with AI on the current map. The previous hierarchy, current-map context, and options for expanding under the existing map are still present.
  • Start blank carries the old locations into the replacement definition as archived entries instead of creating a completely separate empty map.
  • Removing and re-adding World Maps restores the old map instead of opening first-time map creation.

The last behavior is useful recovery after accidental removal, and the backup reminder in the replacement flow was helpful. The problem is that Replace / start over promises a new map, but the implementation follows the expansion path and preserves the old map context. The user should be able to choose whether to preserve historical breadcrumbs or explicitly break that continuity in order to create a genuinely unrelated map.

The archived locations also become useful source material when a new version of the world needs only small changes, but the editor does not offer a direct workspace for reusing them.

Proposed package or change

Fix and clarify the World Maps replacement flow for Roleplay and Game chats:

  • Make Replace / start over -> Create with AI use the same new-map builder as an empty map. It must not pass the current map, selected parent, or expansion-specific choices into the AI request.
  • Keep Expand with AI as the separate action for adding locations to the current hierarchy.
  • Make Start blank create a new map definition with none of the previous locations carried into it, either active or archived.
  • Add an explicit, destructive Break breadcrumb continuity and start a new map confirmation when the chat has existing location history. Explain that old messages remain in the chat but their map breadcrumbs may no longer resolve against the new definition, and never sever that continuity implicitly.
  • If the old map is retained for recovery, keep it as a separate backup or read-only previous-map revision rather than as archived nodes inside the new map.
  • Before the user chooses a replacement source, show a concise outcome summary based on the current chat: whether breaking breadcrumb continuity is required and whether AI will create a new hierarchy or expand the existing one.
  • Preserve the existing save-template/export-backup reminder.
  • As an optional reuse workflow, provide a Previous map or archived-recovery palette that remains separate from the new definition. Allow a location or branch to be intentionally restored or copied into the new map.
  • Provide an equivalent Restore under... action for keyboard, touch, and screen-reader users; drag and drop must not be the only way to reuse a location.
  • Let the user make small corrections to restored locations before saving, while retaining normal hierarchy, link, current-location, and breadcrumb validation.
  • If the user does not opt into breaking breadcrumb continuity, explain the exact constraint and offer safe choices such as expanding the current map, rebuilding with archived references, exporting the map, or starting a new chat.

Removing World Maps from a chat is a host-level action. A linked Marinara Engine companion issue should add a removal warning that explains the retained-map behavior and points users who intend to reset toward Replace / start over.

Why should this be optional?

World Maps owns map replacement, AI drafting versus expansion, archived hierarchy state, stable location IDs, and the map editor. These behaviors belong in the downloadable hierarchical-maps package. Marinara Engine should only provide the generic chat-level removal confirmation needed by the companion issue.

Alternatives considered

  • Documentation only. The guide already explains that replacement may retain history and that removing and re-adding World Maps is not a reset, but the user needs the distinction between Create with AI and Expand with AI at the decision point.
  • Permanently delete the archived locations. This can break historical breadcrumbs and other stable-ID references.
  • Carry the prior map into the replacement as archived nodes. This preserves references, but it is not a complete start-over and should instead be an explicit preservation/recovery choice.
  • Use agent removal and re-addition as a reset. Retaining the map is the safer recovery behavior and should remain intentional.

Additional context

  • Reported mode: Roleplay.
  • The map had already been used by the chat, so location breadcrumbs/history safety applies.
  • The primary report is a behavioral mismatch: Replace / start over -> Create with AI is equivalent to Expand with AI instead of creating a new world.
  • Exact Marinara Engine version, World Maps version, install type, OS, and browser/app shell were not provided.
  • No agent-operated browser reproduction was performed for this filing.
  • Follow-up to #135, which introduced history-safe Replace / start over, and #162, which clarified map ownership and lifecycle actions.
  • Companion host issue: Marinara-Engine #4690.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Aug 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/264 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? A Roleplay user tested **Replace / start over** on a World Map that was already used by the chat. The primary defect is that the **Create with AI** choice does not start over: - **Replace / start over -> Create with AI** behaves like **Expand with AI** on the current map. The previous hierarchy, current-map context, and options for expanding under the existing map are still present. - **Start blank** carries the old locations into the replacement definition as archived entries instead of creating a completely separate empty map. - Removing and re-adding World Maps restores the old map instead of opening first-time map creation. The last behavior is useful recovery after accidental removal, and the backup reminder in the replacement flow was helpful. The problem is that **Replace / start over** promises a new map, but the implementation follows the expansion path and preserves the old map context. The user should be able to choose whether to preserve historical breadcrumbs or explicitly break that continuity in order to create a genuinely unrelated map. The archived locations also become useful source material when a new version of the world needs only small changes, but the editor does not offer a direct workspace for reusing them. ## Proposed package or change Fix and clarify the World Maps replacement flow for Roleplay and Game chats: - Make **Replace / start over -> Create with AI** use the same new-map builder as an empty map. It must not pass the current map, selected parent, or expansion-specific choices into the AI request. - Keep **Expand with AI** as the separate action for adding locations to the current hierarchy. - Make **Start blank** create a new map definition with none of the previous locations carried into it, either active or archived. - Add an explicit, destructive **Break breadcrumb continuity and start a new map** confirmation when the chat has existing location history. Explain that old messages remain in the chat but their map breadcrumbs may no longer resolve against the new definition, and never sever that continuity implicitly. - If the old map is retained for recovery, keep it as a separate backup or read-only previous-map revision rather than as archived nodes inside the new map. - Before the user chooses a replacement source, show a concise outcome summary based on the current chat: whether breaking breadcrumb continuity is required and whether AI will create a new hierarchy or expand the existing one. - Preserve the existing save-template/export-backup reminder. - As an optional reuse workflow, provide a **Previous map** or archived-recovery palette that remains separate from the new definition. Allow a location or branch to be intentionally restored or copied into the new map. - Provide an equivalent **Restore under...** action for keyboard, touch, and screen-reader users; drag and drop must not be the only way to reuse a location. - Let the user make small corrections to restored locations before saving, while retaining normal hierarchy, link, current-location, and breadcrumb validation. - If the user does not opt into breaking breadcrumb continuity, explain the exact constraint and offer safe choices such as expanding the current map, rebuilding with archived references, exporting the map, or starting a new chat. Removing World Maps from a chat is a host-level action. A linked Marinara Engine companion issue should add a removal warning that explains the retained-map behavior and points users who intend to reset toward **Replace / start over**. ## Why should this be optional? World Maps owns map replacement, AI drafting versus expansion, archived hierarchy state, stable location IDs, and the map editor. These behaviors belong in the downloadable `hierarchical-maps` package. Marinara Engine should only provide the generic chat-level removal confirmation needed by the companion issue. ## Alternatives considered - Documentation only. The guide already explains that replacement may retain history and that removing and re-adding World Maps is not a reset, but the user needs the distinction between **Create with AI** and **Expand with AI** at the decision point. - Permanently delete the archived locations. This can break historical breadcrumbs and other stable-ID references. - Carry the prior map into the replacement as archived nodes. This preserves references, but it is not a complete start-over and should instead be an explicit preservation/recovery choice. - Use agent removal and re-addition as a reset. Retaining the map is the safer recovery behavior and should remain intentional. ## Additional context - Reported mode: Roleplay. - The map had already been used by the chat, so location breadcrumbs/history safety applies. - The primary report is a behavioral mismatch: **Replace / start over -> Create with AI** is equivalent to **Expand with AI** instead of creating a new world. - Exact Marinara Engine version, World Maps version, install type, OS, and browser/app shell were not provided. - No agent-operated browser reproduction was performed for this filing. - Follow-up to [#135](https://github.com/Pasta-Devs/Marinara-Agents/issues/135), which introduced history-safe **Replace / start over**, and [#162](https://github.com/Pasta-Devs/Marinara-Agents/issues/162), which clarified map ownership and lifecycle actions. - Companion host issue: [Marinara-Engine #4690](https://github.com/Pasta-Devs/Marinara-Engine/issues/4690). ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#135
No description provided.