[GH-ISSUE #1601] [Issue]: World Maps drops a Game Master move to a place more than one step away #1585

Closed
opened 2026-10-24 04:02:16 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1601

Originally assigned to: @kolacheee on GitHub.

Summary

When the Game Master's reply moves the party to a place that is more than one step away on the map (for example a boat ride to the next town), World Maps ignores the move and the map stays where it was.

Affected package

hierarchical-maps (World Maps) 1.5.2

Expected behavior

The map follows the story: the party ends up at the named place, reached by the shortest route over the map's normal one-step moves (into a place, out to the place around it, or along a link).

Actual behavior

The move only applies when the destination is exactly one step away. materializeAssistantSpatialState in spatial-context/state-resolution.ts checks the destination against the one-step reachable set and drops anything further, even when a route exists.

Steps to reproduce

  1. Make a map where the harbor and a ship's deck are both inside the same world but not linked to each other (two steps apart).
  2. Start a Game chat at the harbor with World Maps enabled.
  3. Have the Game Master move the party to the deck.
  4. The current location stays at the harbor.

Environment

  • Marinara Engine version: staging (built against 2.5.0, 25f8df7b)
  • Package version: 1.5.2
  • Install type: source
  • OS + version: Linux
  • Browser or app shell: n/a (reproduced in the package's lifecycle regression)

Logs, screenshots, or video

Reproduced by the lifecycle regression: without the fix, a harbor-to-deck move leaves currentLocationId at lifecycle_harbor.

Additional context

The shared resolveSpatialRoute helper already finds the shortest route over the same one-step moves, so the fix can reuse it.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1601 Originally assigned to: @kolacheee on GitHub. ## Summary When the Game Master's reply moves the party to a place that is more than one step away on the map (for example a boat ride to the next town), World Maps ignores the move and the map stays where it was. ## Affected package hierarchical-maps (World Maps) 1.5.2 ## Expected behavior The map follows the story: the party ends up at the named place, reached by the shortest route over the map's normal one-step moves (into a place, out to the place around it, or along a link). ## Actual behavior The move only applies when the destination is exactly one step away. `materializeAssistantSpatialState` in `spatial-context/state-resolution.ts` checks the destination against the one-step `reachable` set and drops anything further, even when a route exists. ## Steps to reproduce 1. Make a map where the harbor and a ship's deck are both inside the same world but not linked to each other (two steps apart). 2. Start a Game chat at the harbor with World Maps enabled. 3. Have the Game Master move the party to the deck. 4. The current location stays at the harbor. ## Environment - Marinara Engine version: staging (built against 2.5.0, 25f8df7b) - Package version: 1.5.2 - Install type: source - OS + version: Linux - Browser or app shell: n/a (reproduced in the package's lifecycle regression) ## Logs, screenshots, or video Reproduced by the lifecycle regression: without the fix, a harbor-to-deck move leaves `currentLocationId` at `lifecycle_harbor`. ## Additional context The shared `resolveSpatialRoute` helper already finds the shortest route over the same one-step moves, so the fix can reuse it. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-24 04:02:16 +07:00
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#1585
No description provided.