[GH-ISSUE #160] [Issue]: World Maps route and pending movement fail to progress after restart or cancel #81

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

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

Originally assigned to: @thetopham on GitHub.

Summary

World Maps v1.2.3 can restore a chat at the wrong story location, fail to advance a planned multi-step route after multiple user turns, and mark a replacement adjacent move as Needs review immediately after the prior route is canceled. The intended manual correction exists, but testers could not find it while trying to recover.

Affected package

World Maps (hierarchical-maps) v1.2.3

Expected behavior

  • Reopening or restarting a chat should restore the same current story location represented by its latest visible spatial snapshot.
  • Planning a two-step route should queue the first hop.
  • Each eligible accepted owner turn should commit at most one hop, advance the progress indicator, and queue the next valid hop.
  • Canceling a route should clear its route and pending-transition state completely.
  • Selecting an adjacent destination afterward should create one clean pending move that remains ready until committed or until the underlying location/revision genuinely changes.
  • Needs review should appear only for a real stale-state conflict and should explain what changed.
  • When recovery is necessary, Set current story location should be visible from the route/pending-move error state rather than requiring the user to discover it elsewhere.

Actual behavior

Reported sequence:

  • The tester reported that movement had worked the previous day, but on the affected day neither planned routes nor stepping to adjacent locations could change the story location.
  • After restarting a chat from the previous day, the story location was different from where the chat had been left.
  • A two-step route back to the intended location remained on Next step 1 of 2 after three subsequent posts.
  • The tester canceled the route and selected a nearby destination for one-hop movement.
  • After posting, World Maps displayed Needs review — choose the destination again even though the same destination was still queued and had not been reached.
  • The tester believed there was no way to override the incorrect story location; Set current story location was found only later.

Steps to reproduce

  1. In a Roleplay or Game chat with World Maps v1.2.3, establish a current location and send enough messages to create spatial history.
  2. Close/restart and reopen the chat.
  3. Verify whether the current story location matches the location before restart.
  4. Plan a route requiring two hops.
  5. Send three normal owner turns while allowing assistant generation to complete.
  6. Observe whether progress remains at Next step 1 of 2.
  7. Cancel the route.
  8. Select an immediately reachable location as a direct destination.
  9. Send the next owner turn.
  10. Observe whether the pending move becomes Needs review while the same destination remains queued.
  11. Attempt to locate Set current story location from the runtime recovery state.

Environment

  • Marinara Engine version: v2.3.5
  • Engine build: a121d12
  • Package version: World Maps v1.2.3
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs were attached. Runtime screenshots and the exact chat/map data would help distinguish snapshot restoration, transition submission, and route reconciliation failures.

Additional context

This is a regression report against completed issues #77 (multi-step route planning) and #130 (explicit current-location correction).

The current route reconciler advances only after the observed currentLocationId changes and marks the plan for review when the definition revision or location index no longer matches its expected state. Coverage should exercise the full installed-package flow across reload/restart, not only direct route-helper calls.

If restart drift and post-cancel stale state prove to have separate causes, they can be split after reproduction while retaining this issue as the beta incident record.

Template check

  • 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-Agents/issues/160 Originally assigned to: @thetopham on GitHub. ## Summary World Maps v1.2.3 can restore a chat at the wrong story location, fail to advance a planned multi-step route after multiple user turns, and mark a replacement adjacent move as **Needs review** immediately after the prior route is canceled. The intended manual correction exists, but testers could not find it while trying to recover. ## Affected package World Maps (`hierarchical-maps`) v1.2.3 ## Expected behavior - Reopening or restarting a chat should restore the same current story location represented by its latest visible spatial snapshot. - Planning a two-step route should queue the first hop. - Each eligible accepted owner turn should commit at most one hop, advance the progress indicator, and queue the next valid hop. - Canceling a route should clear its route and pending-transition state completely. - Selecting an adjacent destination afterward should create one clean pending move that remains ready until committed or until the underlying location/revision genuinely changes. - **Needs review** should appear only for a real stale-state conflict and should explain what changed. - When recovery is necessary, **Set current story location** should be visible from the route/pending-move error state rather than requiring the user to discover it elsewhere. ## Actual behavior Reported sequence: - The tester reported that movement had worked the previous day, but on the affected day neither planned routes nor stepping to adjacent locations could change the story location. - After restarting a chat from the previous day, the story location was different from where the chat had been left. - A two-step route back to the intended location remained on **Next step 1 of 2** after three subsequent posts. - The tester canceled the route and selected a nearby destination for one-hop movement. - After posting, World Maps displayed **Needs review — choose the destination again** even though the same destination was still queued and had not been reached. - The tester believed there was no way to override the incorrect story location; **Set current story location** was found only later. ## Steps to reproduce 1. In a Roleplay or Game chat with World Maps v1.2.3, establish a current location and send enough messages to create spatial history. 2. Close/restart and reopen the chat. 3. Verify whether the current story location matches the location before restart. 4. Plan a route requiring two hops. 5. Send three normal owner turns while allowing assistant generation to complete. 6. Observe whether progress remains at **Next step 1 of 2**. 7. Cancel the route. 8. Select an immediately reachable location as a direct destination. 9. Send the next owner turn. 10. Observe whether the pending move becomes **Needs review** while the same destination remains queued. 11. Attempt to locate **Set current story location** from the runtime recovery state. ## Environment - Marinara Engine version: v2.3.5 - Engine build: a121d12 - Package version: World Maps v1.2.3 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs were attached. Runtime screenshots and the exact chat/map data would help distinguish snapshot restoration, transition submission, and route reconciliation failures. ## Additional context This is a regression report against completed issues #77 (multi-step route planning) and #130 (explicit current-location correction). The current route reconciler advances only after the observed `currentLocationId` changes and marks the plan for review when the definition revision or location index no longer matches its expected state. Coverage should exercise the full installed-package flow across reload/restart, not only direct route-helper calls. If restart drift and post-cancel stale state prove to have separate causes, they can be split after reproduction while retaining this issue as the beta incident record. ## 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#81
No description provided.