mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1159] [MERGED] fix(hierarchical-maps): allow maps up to 5,000 locations (1.5.0) #1320
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1320
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-Agents/pull/1159
Author: @SpicyMarinara
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/maps-location-limit📝 Commits (1)
a608f32fix(hierarchical-maps): allow maps up to 5,000 locations (1.5.0)📊 Changes
23 files changed (+250 additions, -132 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+4 -2)➕
artifacts/hierarchical-maps-1.5.0.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -0)📝
packages/hierarchical-maps/CHANGELOG.md(+3 -0)📝
packages/hierarchical-maps/client.js(+25 -25)📝
packages/hierarchical-maps/manifest.json(+5 -5)📝
packages/hierarchical-maps/server.mjs(+29 -29)📝
packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapLibrary.tsx(+3 -6)📝
packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx(+3 -3)📝
packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/editor-state.ts(+3 -4)📝
packages/hierarchical-maps/src/engine/packages/maps-shared/src/maps-model.ts(+50 -6)📝
packages/hierarchical-maps/src/engine/packages/server/src/routes/spatial-context.routes.ts(+8 -8)📝
packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/ai-draft.ts(+7 -9)📝
packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/definition.service.ts(+2 -2)📝
packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/shared-world.service.ts(+4 -4)...and 3 more files
📄 Description
Pull request
Linked issue
Closes #1132
Engine companion: Pasta-Devs/Marinara-Engine#6911 raises the Engine's shared limit to the same 5,000. Game Mode re-validates the map at game start, so the two limits need to match.
Why this change
A user recreating Skyrim hit "A spatial map can contain at most 500 locations." before finishing the basic places and named houses, with floors and rooms still to come. The cap comes from
SPATIAL_CONTEXT_LIMITSin the vendored shared snapshot,sources/engine/packages/shared/dist. The vendored-Engine baseline freezes that snapshot, since an entry can only be removed, never re-fingerprinted. So World Maps can't pick up the Engine change by refreshing the snapshot, and has to own its ceiling.What changed
maps-model.ts, the package-owned module:SPATIAL_MAP_LOCATION_LIMIT = 5_000validateSpatialMapDefinition(): runs the shared validator and replaces only itstoo_many_locationscheck with the package ceiling. Every other shared rule still applies.spatialMapDefinitionSchemaandupdateSpatialMapRequestSchema, derived from the shared shapes.ponytail:comment records the ceiling and the upgrade path (validate through the host contract, Marinara-Engine#6385).tests/map-location-limit.regression.ts(added to PR checks):client.js,server.mjs,manifest.json,artifacts/hierarchical-maps-1.5.0.zip, and the v2/v3/legacy catalog entries and notes. The catalog diffs touch only World Maps.Package and security impact
hierarchical-mapsminEngineVersionis unchanged, so staging and stable users both get the fix.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run results (not substitutes for the human checklist above):
npm run check(0 errors; the only warnings in touched files are pre-existing hook warnings),npm run typecheck:packages,scripts/test-catalog-lanes.mjs,validate-package-locales,validate-package-locale-keys,validate-catalog,catalog-release-notes,catalog-generatedat-determinism,world-maps-ui-contract,test:security, and the newmap-location-limitregression.tests/hierarchical-maps-lifecycle.regression.ts(not in CI) fails atmessages/bulk-delete, expecting 204 but getting 200{"trashed":false}. Untouchedorigin/stagingfails the same way against current Engine staging, so it's a stale expectation after the Engine's message-trash change, not this PR. Every Maps step before it passed.To check by hand:
Documentation impact
The World Maps guide's limit changes in Marinara-Engine#6911.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.