[GH-ISSUE #86] [Feature]: Add a history-safe Start new map workflow #45

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

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

Originally assigned to: @thetopham on GitHub.

Problem

A chat with an existing Hierarchical Map can archive individual locations, but there is no clear way to start a fresh map for the same chat. Whole-map replacement is blocked once campaign history references stable location IDs, so users are left with expansion or a new chat even when the current hierarchy is no longer useful.

Proposed behavior

Add a Start new map action to the map editor.

  • Before committed spatial history exists, replace the current working hierarchy with a fresh starting location.
  • After committed spatial history exists, archive the old hierarchy and retain every existing location ID, then create a fresh active starting location.
  • Move the current and starting location to the new root atomically when the working copy is saved.
  • Keep the operation inside the existing working-copy and Save boundary.
  • Explain clearly that older locations remain archived so historical messages continue resolving correctly.
  • Preserve global prompt libraries and the chat's reusable location-type vocabulary.

Acceptance criteria

  • The action is reachable and touch-friendly on desktop and mobile.
  • A destructive confirmation explains whether the old hierarchy will be replaced or archived.
  • Cancelling changes nothing.
  • Saving a history-free reset removes old locations and activates the new root.
  • Saving a history-protected reset retains every prior location ID as archived and activates the new root.
  • The runtime map shows the new active hierarchy while historical snapshots can still resolve archived locations.
  • Focused regression coverage proves both reset modes and the confirmation flow.

Ownership

Implementation is being prepared by @thetopham on the existing Hierarchical Maps development branch. No PR is being opened yet while local manual testing continues.

Originally created by @thetopham on GitHub (Jul 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/86 Originally assigned to: @thetopham on GitHub. ## Problem A chat with an existing Hierarchical Map can archive individual locations, but there is no clear way to start a fresh map for the same chat. Whole-map replacement is blocked once campaign history references stable location IDs, so users are left with expansion or a new chat even when the current hierarchy is no longer useful. ## Proposed behavior Add a **Start new map** action to the map editor. - Before committed spatial history exists, replace the current working hierarchy with a fresh starting location. - After committed spatial history exists, archive the old hierarchy and retain every existing location ID, then create a fresh active starting location. - Move the current and starting location to the new root atomically when the working copy is saved. - Keep the operation inside the existing working-copy and Save boundary. - Explain clearly that older locations remain archived so historical messages continue resolving correctly. - Preserve global prompt libraries and the chat's reusable location-type vocabulary. ## Acceptance criteria - The action is reachable and touch-friendly on desktop and mobile. - A destructive confirmation explains whether the old hierarchy will be replaced or archived. - Cancelling changes nothing. - Saving a history-free reset removes old locations and activates the new root. - Saving a history-protected reset retains every prior location ID as archived and activates the new root. - The runtime map shows the new active hierarchy while historical snapshots can still resolve archived locations. - Focused regression coverage proves both reset modes and the confirmation flow. ## Ownership Implementation is being prepared by @thetopham on the existing Hierarchical Maps development branch. No PR is being opened yet while local manual testing continues.
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#45
No description provided.