mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6911] [MERGED] fix(maps): raise the World Map location limit to 5,000 #7379
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#7379
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/6911
Author: @SpicyMarinara
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/world-map-location-limit📝 Commits (3)
f043ebefix(maps): raise the World Map location limit to 5,0008f20e32fix(maps): bound the depth check at maxDepth steps per location90449d4Merge branch 'staging' into fix/world-map-location-limit📊 Changes
4 files changed (+23 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/agents/hierarchical-maps.md(+1 -1)📝
packages/shared/src/utils/spatial-context.ts(+3 -2)📝
scripts/regressions/spatial-context.regression.ts(+18 -0)📄 Description
Refs Pasta-Devs/Marinara-Agents#1132 (the issue lives in Marinara-Agents; the shared map contract is Engine-owned)
Why
A user recreating Skyrim hit "A spatial map can contain at most 500 locations." before they finished the basic places and named houses, let alone floors and rooms. The cap is
SPATIAL_CONTEXT_LIMITS.maxLocationsin@marinara-engine/shared. The Engine also re-validates the World Maps package's map with this schema when a Game starts (world-map-mode.ts), so the Engine limit has to move with the package.What changed
SPATIAL_CONTEXT_LIMITS.maxLocations: 500 → 5,000.spatial-contextregression: a map of exactly 5,000 locations passes the schema, and 5,001 reportstoo_many_locations.docs/agents/hierarchical-maps.mdnow says 5,000. The ten translated copies ondocs-i18neach contain the same single number; I'll update them after this merges, so their manifests can cite the merged source commit.The World Maps package in Marinara-Agents builds from a frozen vendored snapshot of shared, so it needs its own companion change with the same limit. That PR links back here.
Manual verification
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.