mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3564] [Feature]: Add hierarchical maps and spatial context #1928
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#1928
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?
Originally created by @thetopham on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3564
Originally assigned to: @thetopham on GitHub.
What problem does this solve?
Roleplay and Game models can lose spatial orientation because locations are currently represented as flat or mode-specific state. Creators cannot define nested regions, buildings, floors, rooms, and local maps as one stable hierarchy, and injecting every place description would waste prompt context.
Proposed solution
Add a shared hierarchical map and spatial-context system for Roleplay and Game:
The first implementation package will add the shared TypeScript/Zod contracts and pure graph, breadcrumb, destination, archive, and transition helpers. Persistence, prompt integration, authoring UI, and runtime UI will follow as focused packages.
The implementation plan is documented in
docs/development/hierarchical-locations-prd-v3.md.Alternatives considered
Keeping existing Game maps completely independent was also considered, but it would preserve competing sources of named location truth. Explicit stable-ID bindings provide integration without replacing the current tactical map system.
Additional context
The MVP supports Roleplay and Game only. Conversation projection, lorebook attachments, creator templates, model-requested movement, and per-character positions are later phases.
Owner: @thetopham
Branch:
hierarchical-locationsTarget:
stagingTemplate check