mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4623] [MERGED] feat: unify step-by-step and instant travel #6447
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#6447
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/4623
Author: @thetopham
Created: 8/5/2026
Status: ✅ Merged
Merged: 8/5/2026
Merged by: @thetopham
Base:
staging← Head:agent/4618-movement-modes-engine📝 Commits (10+)
aa124bffeat: add hierarchical map movement modesbb40d3ffix: harden routed movement reconciliation5406bacMerge branch 'staging' into agent/4618-movement-modes-engine7d1f0d1Merge branch 'staging' into agent/4618-movement-modes-engine2a6e0f2Merge remote-tracking branch 'origin/staging' into agent/4618-movement-modes-engine00986fffix: harden spatial travel recovery45fbf8bMerge branch 'staging' into agent/4618-movement-modes-engined89f182fix: preserve suppressed spatial directive turns460f0b4Merge branch 'staging' into agent/4618-movement-modes-enginea1ea001Merge branch 'staging' into agent/4618-movement-modes-engine📊 Changes
15 files changed (+746 additions, -86 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/chat/CyoaChoices.tsx(+35 -17)➕
packages/client/src/components/chat/cyoa-choice-submission.ts(+32 -0)📝
packages/client/src/components/game/GameSurface.tsx(+7 -2)➕
packages/client/src/hooks/spatial-owner-turn-recovery.ts(+25 -0)📝
packages/client/src/hooks/use-generate.ts(+68 -15)📝
packages/client/src/hooks/use-spatial-context.ts(+41 -3)📝
packages/server/src/routes/generate.routes.ts(+41 -27)📝
packages/server/src/routes/generate/spatial-transition-request.ts(+23 -2)📝
packages/server/src/services/spatial-context/owner-turn.ts(+16 -4)📝
packages/server/src/services/spatial-context/state-resolution.ts(+17 -2)📝
packages/shared/src/schemas/spatial-context.schema.ts(+6 -1)📝
packages/shared/src/types/spatial-context.ts(+30 -0)📝
packages/shared/src/utils/spatial-context.ts(+123 -4)📝
scripts/regressions/spatial-context.regression.ts(+281 -9)📄 Description
Linked issue
Closes #4618
Paired World Maps package PR: Pasta-Devs/Marinara-Agents#250
Why this change
Queued navigation needs one explicit, server-owned contract across Roleplay and Game. Previously, typed input and CYOA choices could take different submit paths, route state could advance ambiguously after failures, and the model did not receive a distinct canonical movement event for the accepted turn.
What changed
step_by_stepandtravel_nowtravel modes with bounded server-owned directed route validation.Automated validation performed
git diff --checkValidation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
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)
Pending manual browser review after exact local installation.
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.