mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4085] [CLOSED] fix(game): sync map after location tool updates #6228
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4085
Author: @Romuromylus
Created: 7/25/2026
Status: ❌ Closed
Base:
staging← Head:fix/4084-game-map-tool-location-sync📝 Commits (9)
c2a03adfix(game): sync map after location tool updatescbcbacdfix(game): preserve manual map state during sync909df34fix(game): compare normalized map locations53a1b2efix(game): normalize location apostrophes78ea386fix(game): compare resolved map positionsc6d52c9fix(game): update map on existing-node arrivals379780dfix(game): harden narrated map updatesa33af13fix(game): preserve map update authority1ae6b59fix(game): gate map tags on fresh metadata📊 Changes
5 files changed (+280 additions, -51 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/server/src/routes/generate.routes.ts(+102 -40)📝
packages/server/src/services/game/gm-prompts.ts(+5 -2)📝
packages/server/src/services/game/map-position.service.ts(+60 -8)➕
scripts/regressions/game-map-location-sync.regression.ts(+112 -0)📄 Description
Linked issue
Closes #4084
Why this change
[map_update:]only for entirely new nodes. No command or game-state snapshot was produced, so later prompts kept injecting stale<map_state>data and the marker stayed at the farm.update_game_state(location_change), that path updated the tracker but did not synchronize regular map metadata or emitgame_map_update.What changed
[map_update:]for every real node-map arrival, including existing nodes, and to repair stale map state when story continuity disagrees with<map_state>.game_map_updateafter acceptedupdate_game_state(location_change)tool calls.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
activeToolIdswas empty, and no world-state agent was active.pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/game-map-location-sync.regression.tspasses on final commit1ae6b5930.pnpm regression:promptpasses on final commit1ae6b5930.pnpm-validateandcontainer-build-testpass on final commit1ae6b5930.update_game_state.Docs and release impact
UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.