[PR #3565] [MERGED] Add hierarchical maps and spatial context #5995

Closed
opened 2026-10-23 04:06:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3565
Author: @thetopham
Created: 7/13/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: hierarchical-locations


📝 Commits (10+)

  • 6bbc811 docs: propose hierarchical spatial context
  • eb6b7e7 docs: add spatial context PRD v3
  • 4fd752e Merge branch 'staging' into hierarchical-locations
  • fefcd98 docs: detail spatial context implementation plan
  • 173d1f0 docs: refine hierarchical map implementation plan
  • 142bea9 feat: add hierarchical spatial core
  • 540584f feat: persist hierarchical spatial context
  • 6f5d9bf feat: add hierarchical spatial history
  • ca7aa1c Merge branch 'staging' into hierarchical-locations
  • b076293 feat: project hierarchical spatial context

📊 Changes

76 files changed (+12605 additions, -192 deletions)

View changed files

➕ docs/development/hierarchical-locations-prd-v3.md (+1159 -0)
📝 e2e/core-flows.e2e.ts (+113 -0)
➕ e2e/spatial-context.e2e.ts (+885 -0)
📝 package.json (+2 -1)
📝 packages/client/src/components/chat/ChatInput.tsx (+30 -8)
📝 packages/client/src/components/chat/ChatRoleplayPanels.tsx (+60 -6)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+18 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+13 -0)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+7 -6)
📝 packages/client/src/components/game/GameInput.tsx (+47 -10)
📝 packages/client/src/components/game/GameMap.tsx (+136 -20)
📝 packages/client/src/components/game/GameSetupWizard.tsx (+171 -9)
📝 packages/client/src/components/game/GameSurface.tsx (+180 -34)
➕ packages/client/src/components/game/GameWorldMap.tsx (+400 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+18 -4)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+24 -0)
📝 packages/client/src/components/lorebooks/LorebookEntryRow.tsx (+19 -0)
➕ packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx (+84 -0)
➕ packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx (+963 -0)
➕ packages/client/src/features/spatial-context/components/GameMapBindingsPanel.tsx (+205 -0)

...and 56 more files

📄 Description

Linked issue

Closes #3564

Why this change

Roleplay and Game models need stable spatial orientation without injecting an entire world map into every prompt. Creators also need a shared way to define nested regions, buildings, floors, rooms, and local maps while preserving the existing Game grid and node-map systems.

This change introduces a hierarchical spatial-state foundation: persistent current location selects bounded context, and all movement is validated against stable location IDs. It intentionally does not introduce a generic scenario engine, Visual Novel mode support, or a separate action-inference LLM.

What changed

  • Added and refined the V1 through V3 hierarchical-location implementation plans.
  • Package A: added shared contracts, schemas, graph validation, breadcrumbs, deterministic destinations, archive rules, and transition validation.
  • Package B: added validated definition APIs, revision conflicts, spatial snapshot persistence, migrations, cleanup, and file-native/libSQL regression coverage.
  • Package C: added atomic Roleplay/Game owner turns, idempotent movement commands, visible-history resolution, assistant swipe materialization, regeneration and continuation handling, branch re-keying, Game checkpoint capture/restore, and native JSONL definition/snapshot portability.
  • Package D: added one bounded owner projection for Roleplay and Game, injected the same spatial block into live generation, Game GM, dry-run, live Peek Prompt, continuation, and retry paths, and limited prompt context to the current location plus reachable destinations.
  • Package E: added React Query definition hooks, a Roleplay/Game settings summary, a lazy responsive map workspace, hierarchy/list/map/layer navigation, preview-versus-enter behavior, a full location inspector, duplicate-subtree and archive/restore workflows, graph validation, and revision-conflict recovery that preserves local edits.
  • Package E.1: added on-demand AI map drafting from bounded Game or Roleplay setup context, server-assigned stable IDs, normalization and graph repair, size limits, a responsive preview/apply experience, and an explicit Save boundary so generation never mutates persisted state.
  • Package E.1.1: added selected-location AI expansion that preserves all existing location IDs, current and starting locations, descriptions, links, layout, archives, and revision state. Once message-linked spatial history exists, whole-map replacement and location removal are rejected server-side; the UI becomes add-only and refreshes protection state when opened.
  • Package E.2: added an optional Draft a Hierarchical World Map choice and size control to Game setup. Drafting runs only after /game/setup persists the generated world, keeps setup visibly busy, then hands the result to the normal preview/editor. Skip persists nothing; Apply changes only the working copy; Enable + Save remain explicit before the map can affect turns. A failed draft preserves the created game and points creators back to Chat Settings.
  • Hardened AI location icons so both fresh drafts and expansions require and normalize to one actual emoji grapheme. Text labels such as castle, busy port, or beer mug now resolve to deterministic emoji fallbacks instead of rendering as icon text.
  • Made the hierarchical snapshot the sole Game location authority when enabled. Legacy tracker location is now a breadcrumb projection; generated and manual free-text location writes cannot compete with it, and new tracker snapshots preserve the breadcrumb for existing UI compatibility.
  • Package F: added the shared Roleplay/Game runtime location surface, per-chat pending-transition persistence, atomic send-path integration, explicit Game map/cell/node bindings, and bound-map selection after accepted movement while preserving unbound tactical movement.
  • Package F.1: added bounded location lorebookEntryIds, inline attachment controls, lorebook backlinks, missing/excluded-reference warnings, exact-current-location forced activation across Roleplay, Game GM, dry run, and live Peek Prompt, plus deduplication, caps, truncation reporting, Active Context sources, and portability.
  • Package F.2: added explicit lorebook grounding modes and source selection for map creation, replacement, and expansion; bounded source catalogs; validated source keys; automatic node bindings; inspectable Lore-backed, Inferred, and Added by AI provenance; Strict canon enforcement; and history-safe add-only expansion.
  • Fixed the mobile map-editor collision by suppressing the draggable music widget layer while the hierarchical map editor is open, without unmounting playback, then restoring the widget on return to chat.
  • Kept Conversation read-only. Connected Conversation projection, location visual identity, scene-art references, Storyboard manifests, and model-requested movement remain deferred to their planned packages.

Automated validation evidence

  • pnpm exec playwright test e2e/spatial-context.e2e.ts — 13 passed across desktop and mobile; 1 desktop-only binding case intentionally skipped on mobile.
  • pnpm regression — every deterministic regression lane passed; Playwright UI smoke finished with 52 passed and 26 intentional viewport/project skips.
  • pnpm check — Impeccable context guard, workspace TypeScript/ESLint, server/shared builds, client production build, and PWA generation passed.
  • pnpm version:check — all version-bearing files are synchronized at 2.2.2.
  • pnpm credits:check — generated Credits modal is current with 51 contributors.
  • git diff --check — passed before commit.

The focused mobile smoke proves the custom music widget remains mounted but hidden inside the map editor, the AI expansion action stays visible, and the widget returns after leaving the editor.

The local runtime used Node 22 and emitted the repository engine warning because the project requests Node 24-26; all commands completed successfully.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually start a new Game, enable Draft a Hierarchical World Map in Features, choose each size, and verify the map preview appears only after world setup completes.
  • Manually Skip a setup-generated draft and verify the game remains usable with no saved hierarchical map.
  • Manually Apply a setup-generated draft and verify it remains unsaved and disabled until Enable + Save; then start a turn and inspect the bounded current-location context.
  • Manually force map-generation failure after successful Game setup and verify the campaign is preserved and Chat Settings remains a valid retry path.
  • Manually generate and expand maps whose model output uses icon labels instead of emoji, and verify every new location renders with one relevant emoji.
  • Manually open a Roleplay or Game chat, open Chat Settings, and launch Hierarchical map.
  • Manually generate Small, Medium, and Large AI drafts, review the root-location preview, decline one draft, and apply another.
  • Manually confirm Generate and Apply do not change the saved map, then press Save and verify the chosen AI draft persists after reload.
  • Manually verify a map without committed turn history defaults to expansion but still offers explicit whole-map replacement.
  • Manually create a turn-backed map snapshot, reopen the AI panel, and verify replacement disappears, the protection notice appears, and expansion defaults to the current location.
  • Manually generate and apply an expansion beneath several location kinds, save it, and verify every previous location ID, the current location, starting location, links, layout, and archived nodes remain unchanged.
  • Manually verify stale or concurrent UI state cannot replace or remove locations after message-linked spatial history begins.
  • Manually create nested regions, floors, and rooms; switch hierarchy, list, map, and layer views; verify selection previews a location while Enter changes the editor context.
  • Manually verify add child, add sibling, duplicate subtree, reparent, archive, restore, starting-location selection, validation focus, save, reload, and current-location replacement.
  • Manually verify keyboard-only and touch use, the one-pane mobile tabs, empty/loading/error states, and readable light/dark themes.
  • Manually open the same map in two browser tabs, save conflicting revisions, and verify the local draft remains available with Reload server and Review differences actions.
  • Manually inspect live Roleplay and Game prompts plus live Peek Prompt and confirm the normalized spatial block agrees for the same location.
  • Manually verify only the active location breadcrumb, description, private model memory, and reachable destinations appear, while inactive, archived, hidden, and unrelated locations do not leak.
  • Manually verify the Game tracker displays the breadcrumb and rejects an explicit manual location edit while Spatial Context is enabled.
  • Manually verify regenerate, continuation, retry-agent, branch, and checkpoint flows retain the expected breadcrumb.
  • Manually verify legacy Game location updates remain unchanged when Spatial Context is disabled.
  • Manually verify runtime destination movement, stale-state recovery, reload, chat switching, and bound versus unbound Game map behavior in Roleplay and Game.
  • Manually attach different lorebook entries to two locations, move between them in Roleplay and Game, then inspect Active Context and live Peek Prompt for exact activation, deduplication, exclusions, and truncation.
  • Manually draft and expand a map from selected lorebooks in Strict canon and Canon with expansion, inspect source excerpts and provenance, and reject an unsupported invented location before Save.
  • Manually enable each mobile music-player source, open the hierarchical map editor, verify Build/Expand with AI stays unobstructed, then return to chat and verify the player reappears without interrupting playback.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Packages E through F.2 include responsive authoring, AI drafting and history-safe expansion, setup-wizard handoff, runtime movement, Game map bindings, location-lore attachments, lore-grounded provenance, and the mobile player collision fix. Screenshots or recordings should be added after manual browser verification.

Summary by CodeRabbit

  • New Features

    • Added hierarchical world maps for Roleplay and Game chats, with location trees, breadcrumbs, destinations, and movement controls.
    • Added a visual map editor with import/export, archiving, linking, lorebook attachments, and tactical map bindings.
    • Added optional AI-assisted map drafting and expansion during game setup and editing.
    • Added persistent spatial history across messages, swipes, branches, checkpoints, exports, and imports.
    • Added current-location context in prompts and clearer lorebook activation indicators.
  • Tests

    • Added regression and end-to-end coverage for map editing, movement, persistence, history, AI drafting, and map bindings.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3565 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `hierarchical-locations` --- ### 📝 Commits (10+) - [`6bbc811`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6bbc811091efe7b4b73cf6a07d002f7b95dd24da) docs: propose hierarchical spatial context - [`eb6b7e7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/eb6b7e77d251f7547a4204774be8410470931caf) docs: add spatial context PRD v3 - [`4fd752e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4fd752ea25e8d9fb75be44444d9b3d595233555a) Merge branch 'staging' into hierarchical-locations - [`fefcd98`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fefcd989f78668ea11bddd5eb60fcc056c1c588b) docs: detail spatial context implementation plan - [`173d1f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/173d1f0ead19a383f86034c03225195e56e3ba59) docs: refine hierarchical map implementation plan - [`142bea9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/142bea99fa1a3b3b6b51059cb63502361faa5e82) feat: add hierarchical spatial core - [`540584f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/540584fedfda440531152a967c5146ef877388eb) feat: persist hierarchical spatial context - [`6f5d9bf`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6f5d9bfdfd3fe500c285406a38276aab84931e07) feat: add hierarchical spatial history - [`ca7aa1c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ca7aa1c35e7adbbda2f75c0608d1e485ace47a25) Merge branch 'staging' into hierarchical-locations - [`b076293`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b076293039fa5c3d18c17efaeda37fd8cc6e40c5) feat: project hierarchical spatial context ### 📊 Changes **76 files changed** (+12605 additions, -192 deletions) <details> <summary>View changed files</summary> ➕ `docs/development/hierarchical-locations-prd-v3.md` (+1159 -0) 📝 `e2e/core-flows.e2e.ts` (+113 -0) ➕ `e2e/spatial-context.e2e.ts` (+885 -0) 📝 `package.json` (+2 -1) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+30 -8) 📝 `packages/client/src/components/chat/ChatRoleplayPanels.tsx` (+60 -6) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+18 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+13 -0) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+7 -6) 📝 `packages/client/src/components/game/GameInput.tsx` (+47 -10) 📝 `packages/client/src/components/game/GameMap.tsx` (+136 -20) 📝 `packages/client/src/components/game/GameSetupWizard.tsx` (+171 -9) 📝 `packages/client/src/components/game/GameSurface.tsx` (+180 -34) ➕ `packages/client/src/components/game/GameWorldMap.tsx` (+400 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+18 -4) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+24 -0) 📝 `packages/client/src/components/lorebooks/LorebookEntryRow.tsx` (+19 -0) ➕ `packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx` (+84 -0) ➕ `packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx` (+963 -0) ➕ `packages/client/src/features/spatial-context/components/GameMapBindingsPanel.tsx` (+205 -0) _...and 56 more files_ </details> ### 📄 Description ## Linked issue Closes #3564 ## Why this change Roleplay and Game models need stable spatial orientation without injecting an entire world map into every prompt. Creators also need a shared way to define nested regions, buildings, floors, rooms, and local maps while preserving the existing Game grid and node-map systems. This change introduces a hierarchical spatial-state foundation: persistent current location selects bounded context, and all movement is validated against stable location IDs. It intentionally does not introduce a generic scenario engine, Visual Novel mode support, or a separate action-inference LLM. ## What changed - Added and refined the V1 through V3 hierarchical-location implementation plans. - Package A: added shared contracts, schemas, graph validation, breadcrumbs, deterministic destinations, archive rules, and transition validation. - Package B: added validated definition APIs, revision conflicts, spatial snapshot persistence, migrations, cleanup, and file-native/libSQL regression coverage. - Package C: added atomic Roleplay/Game owner turns, idempotent movement commands, visible-history resolution, assistant swipe materialization, regeneration and continuation handling, branch re-keying, Game checkpoint capture/restore, and native JSONL definition/snapshot portability. - Package D: added one bounded owner projection for Roleplay and Game, injected the same spatial block into live generation, Game GM, dry-run, live Peek Prompt, continuation, and retry paths, and limited prompt context to the current location plus reachable destinations. - Package E: added React Query definition hooks, a Roleplay/Game settings summary, a lazy responsive map workspace, hierarchy/list/map/layer navigation, preview-versus-enter behavior, a full location inspector, duplicate-subtree and archive/restore workflows, graph validation, and revision-conflict recovery that preserves local edits. - Package E.1: added on-demand AI map drafting from bounded Game or Roleplay setup context, server-assigned stable IDs, normalization and graph repair, size limits, a responsive preview/apply experience, and an explicit Save boundary so generation never mutates persisted state. - Package E.1.1: added selected-location AI expansion that preserves all existing location IDs, current and starting locations, descriptions, links, layout, archives, and revision state. Once message-linked spatial history exists, whole-map replacement and location removal are rejected server-side; the UI becomes add-only and refreshes protection state when opened. - Package E.2: added an optional `Draft a Hierarchical World Map` choice and size control to Game setup. Drafting runs only after `/game/setup` persists the generated world, keeps setup visibly busy, then hands the result to the normal preview/editor. Skip persists nothing; Apply changes only the working copy; Enable + Save remain explicit before the map can affect turns. A failed draft preserves the created game and points creators back to Chat Settings. - Hardened AI location icons so both fresh drafts and expansions require and normalize to one actual emoji grapheme. Text labels such as `castle`, `busy port`, or `beer mug` now resolve to deterministic emoji fallbacks instead of rendering as icon text. - Made the hierarchical snapshot the sole Game location authority when enabled. Legacy tracker location is now a breadcrumb projection; generated and manual free-text location writes cannot compete with it, and new tracker snapshots preserve the breadcrumb for existing UI compatibility. - Package F: added the shared Roleplay/Game runtime location surface, per-chat pending-transition persistence, atomic send-path integration, explicit Game map/cell/node bindings, and bound-map selection after accepted movement while preserving unbound tactical movement. - Package F.1: added bounded location `lorebookEntryIds`, inline attachment controls, lorebook backlinks, missing/excluded-reference warnings, exact-current-location forced activation across Roleplay, Game GM, dry run, and live Peek Prompt, plus deduplication, caps, truncation reporting, Active Context sources, and portability. - Package F.2: added explicit lorebook grounding modes and source selection for map creation, replacement, and expansion; bounded source catalogs; validated source keys; automatic node bindings; inspectable Lore-backed, Inferred, and Added by AI provenance; Strict canon enforcement; and history-safe add-only expansion. - Fixed the mobile map-editor collision by suppressing the draggable music widget layer while the hierarchical map editor is open, without unmounting playback, then restoring the widget on return to chat. - Kept Conversation read-only. Connected Conversation projection, location visual identity, scene-art references, Storyboard manifests, and model-requested movement remain deferred to their planned packages. ## Automated validation evidence - `pnpm exec playwright test e2e/spatial-context.e2e.ts` — 13 passed across desktop and mobile; 1 desktop-only binding case intentionally skipped on mobile. - `pnpm regression` — every deterministic regression lane passed; Playwright UI smoke finished with 52 passed and 26 intentional viewport/project skips. - `pnpm check` — Impeccable context guard, workspace TypeScript/ESLint, server/shared builds, client production build, and PWA generation passed. - `pnpm version:check` — all version-bearing files are synchronized at 2.2.2. - `pnpm credits:check` — generated Credits modal is current with 51 contributors. - `git diff --check` — passed before commit. The focused mobile smoke proves the custom music widget remains mounted but hidden inside the map editor, the AI expansion action stays visible, and the widget returns after leaving the editor. The local runtime used Node 22 and emitted the repository engine warning because the project requests Node 24-26; all commands completed successfully. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually start a new Game, enable `Draft a Hierarchical World Map` in Features, choose each size, and verify the map preview appears only after world setup completes. - Manually Skip a setup-generated draft and verify the game remains usable with no saved hierarchical map. - Manually Apply a setup-generated draft and verify it remains unsaved and disabled until Enable + Save; then start a turn and inspect the bounded current-location context. - Manually force map-generation failure after successful Game setup and verify the campaign is preserved and Chat Settings remains a valid retry path. - Manually generate and expand maps whose model output uses icon labels instead of emoji, and verify every new location renders with one relevant emoji. - Manually open a Roleplay or Game chat, open Chat Settings, and launch Hierarchical map. - Manually generate Small, Medium, and Large AI drafts, review the root-location preview, decline one draft, and apply another. - Manually confirm Generate and Apply do not change the saved map, then press Save and verify the chosen AI draft persists after reload. - Manually verify a map without committed turn history defaults to expansion but still offers explicit whole-map replacement. - Manually create a turn-backed map snapshot, reopen the AI panel, and verify replacement disappears, the protection notice appears, and expansion defaults to the current location. - Manually generate and apply an expansion beneath several location kinds, save it, and verify every previous location ID, the current location, starting location, links, layout, and archived nodes remain unchanged. - Manually verify stale or concurrent UI state cannot replace or remove locations after message-linked spatial history begins. - Manually create nested regions, floors, and rooms; switch hierarchy, list, map, and layer views; verify selection previews a location while Enter changes the editor context. - Manually verify add child, add sibling, duplicate subtree, reparent, archive, restore, starting-location selection, validation focus, save, reload, and current-location replacement. - Manually verify keyboard-only and touch use, the one-pane mobile tabs, empty/loading/error states, and readable light/dark themes. - Manually open the same map in two browser tabs, save conflicting revisions, and verify the local draft remains available with Reload server and Review differences actions. - Manually inspect live Roleplay and Game prompts plus live Peek Prompt and confirm the normalized spatial block agrees for the same location. - Manually verify only the active location breadcrumb, description, private model memory, and reachable destinations appear, while inactive, archived, hidden, and unrelated locations do not leak. - Manually verify the Game tracker displays the breadcrumb and rejects an explicit manual location edit while Spatial Context is enabled. - Manually verify regenerate, continuation, retry-agent, branch, and checkpoint flows retain the expected breadcrumb. - Manually verify legacy Game location updates remain unchanged when Spatial Context is disabled. - Manually verify runtime destination movement, stale-state recovery, reload, chat switching, and bound versus unbound Game map behavior in Roleplay and Game. - Manually attach different lorebook entries to two locations, move between them in Roleplay and Game, then inspect Active Context and live Peek Prompt for exact activation, deduplication, exclusions, and truncation. - Manually draft and expand a map from selected lorebooks in Strict canon and Canon with expansion, inspect source excerpts and provenance, and reject an unsupported invented location before Save. - Manually enable each mobile music-player source, open the hierarchical map editor, verify Build/Expand with AI stays unobstructed, then return to chat and verify the player reappears without interrupting playback. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Packages E through F.2 include responsive authoring, AI drafting and history-safe expansion, setup-wizard handoff, runtime movement, Game map bindings, location-lore attachments, lore-grounded provenance, and the mobile player collision fix. Screenshots or recordings should be added after manual browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added hierarchical world maps for Roleplay and Game chats, with location trees, breadcrumbs, destinations, and movement controls. * Added a visual map editor with import/export, archiving, linking, lorebook attachments, and tactical map bindings. * Added optional AI-assisted map drafting and expansion during game setup and editing. * Added persistent spatial history across messages, swipes, branches, checkpoints, exports, and imports. * Added current-location context in prompts and clearer lorebook activation indicators. * **Tests** * Added regression and end-to-end coverage for map editing, movement, persistence, history, AI drafting, and map bindings. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:01 +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#5995
No description provided.