[GH-ISSUE #2139] [Issue]: Game mode — party map marker no longer auto-syncs to the narrated location #1049

Closed
opened 2026-10-21 05:25:40 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2139

Originally assigned to: @cha1latte on GitHub.

Summary

Severity: major. The location-driven map-marker auto-sync (syncGameMapMetaPartyPosition) was not ported. The party marker now only moves when the GM emits a literal [map_update:] tag; when the GM narrates arrival via the world-state location field without that tag (common), the map silently desyncs.

Expected behavior

As in main: two mechanisms keep the marker aligned — (1) explicit [map_update:] tags, and (2) a location-driven auto-sync that reads the structured location field each turn, fuzzy-matches it against map nodes/cells, moves the marker, and marks nodes discovered, even with no tag.

Actual behavior

Only mechanism (1) survives. syncGameMapPartyPosition, syncGameMapMetaPartyPosition, and gameMapContainsLocation are absent from the refactor (grep across src + src-tauri = 0). The only consumer (GameSurface.tsx:3720-3722) runs solely on a parsed [map_update:] tag.

Steps to reproduce

  1. Start a game with a node/grid map that has two labeled, connected locations.
  2. Take a turn where the GM narrates moving to the second location and the world-state location updates, but the output contains no [map_update:] tag.
  3. Refactor: the marker stays put and the destination is not auto-discovered. Main: the marker moves and the node is marked discovered.

Impact area

  • Game mode
  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/server/src/services/game/map-position.service.ts:229-386, wired at game.routes.ts:2641, generate.routes.ts:8848, generate/retry-agents-route.ts:1440.
  • refactor: src/engine/modes/game/world/map-position.service.ts retains only the explicit-tag path; the three sync functions are absent.
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2139 Originally assigned to: @cha1latte on GitHub. ## Summary **Severity: major.** The location-driven map-marker auto-sync (`syncGameMapMetaPartyPosition`) was not ported. The party marker now only moves when the GM emits a literal `[map_update:]` tag; when the GM narrates arrival via the world-state `location` field without that tag (common), the map silently desyncs. ## Expected behavior As in main: two mechanisms keep the marker aligned — (1) explicit `[map_update:]` tags, and (2) a location-driven auto-sync that reads the structured `location` field each turn, fuzzy-matches it against map nodes/cells, moves the marker, and marks nodes discovered, even with no tag. ## Actual behavior Only mechanism (1) survives. `syncGameMapPartyPosition`, `syncGameMapMetaPartyPosition`, and `gameMapContainsLocation` are absent from the refactor (grep across src + src-tauri = 0). The only consumer (`GameSurface.tsx:3720-3722`) runs solely on a parsed `[map_update:]` tag. ## Steps to reproduce 1. Start a game with a node/grid map that has two labeled, connected locations. 2. Take a turn where the GM narrates moving to the second location and the world-state `location` updates, but the output contains no `[map_update:]` tag. 3. Refactor: the marker stays put and the destination is not auto-discovered. Main: the marker moves and the node is marked discovered. ## Impact area - [x] Game mode - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/server/src/services/game/map-position.service.ts:229-386`, wired at `game.routes.ts:2641`, `generate.routes.ts:8848`, `generate/retry-agents-route.ts:1440`. - refactor: `src/engine/modes/game/world/map-position.service.ts` retains only the explicit-tag path; the three sync functions are absent.
bsakaguchi 2026-10-21 05:25:40 +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-Engine#1049
No description provided.