mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4535] [MERGED] Fix World Maps movement for /impersonate #6414
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#6414
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/4535
Author: @thetopham
Created: 8/3/2026
Status: ✅ Merged
Merged: 8/3/2026
Merged by: @thetopham
Base:
staging← Head:agent/4433-impersonate-map-movement📝 Commits (9)
ef2f02bfix: commit queued map moves after impersonate2d759fffix: recover already-applied impersonate moves8375ebfMerge remote-tracking branch 'origin/staging' into agent/4433-impersonate-map-movement63b2b41Merge branch 'staging' into agent/4433-impersonate-map-movement076a3c2fix: make impersonate movement recovery idempotent640d311Merge remote-tracking branch 'origin/agent/4433-impersonate-map-movement' into agent/4433-impersonate-map-movement3b53da5fix: preflight repeated impersonate moves157b0a9fix: recover committed moves before busy guard7d06b59Merge branch 'staging' into agent/4433-impersonate-map-movement📊 Changes
7 files changed (+397 additions, -25 deletions)
View changed files
📝
packages/client/src/components/chat/ChatInput.tsx(+9 -1)📝
packages/client/src/hooks/use-generate.ts(+26 -2)📝
packages/client/src/hooks/use-spatial-context.ts(+12 -0)📝
packages/server/src/routes/generate.routes.ts(+159 -22)➕
packages/server/src/routes/generate/spatial-transition-request.ts(+85 -0)📝
packages/server/src/services/spatial-context/owner-turn.ts(+12 -0)📝
scripts/regressions/spatial-context.regression.ts(+94 -0)📄 Description
Linked issue
Closes #4433
Paired World Maps package change: Pasta-Devs/Marinara-Agents#220
Why this change
staging, the Roleplay World Maps regression remained reproducible when the owner used/impersonateand NPC turns used/guided./guidedmust leave the browser-local queued owner move untouched./impersonatemust generate the user-role prose and atomically commit that exact message with the queued destination.What changed
/impersonategeneration; reject guided, autonomous, turn-game, regeneration, continuation, and non-Roleplay movement submissions.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence:
pnpm checkpasses, including Impeccable context, localization, shared/server type checking, client ESLint, and production builds.pnpm regression:spatialpasses./impersonatecommand makes zero provider requests while preserving the original message, metadata, and location.git diff --checkpasses.Manual verification notes
/guidedfor an NPC reply, and verify the move remains ready and the location does not change./impersonateand verify the generated user message and destination commit exactly once.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.