[PR #281] [MERGED] fix(world-maps): stack #257, and #264 #889

Closed
opened 2026-10-20 17:32:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/281
Author: @thetopham
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/9/2026
Merged by: @thetopham

Base: staging ← Head: codex/bug-sweep-stacked-20260808


📝 Commits (10+)

  • efd6d26 fix(world-maps): keep mobile map access during queued travel (#4655)
  • 9d757c9 feat(world-maps): customize AI expansion targets (#257)
  • 98916d4 fix(world-maps): make start-over replacement explicit (#264)
  • e504f58 chore(world-maps): rebuild stacked issue artifacts
  • d42971d release(world-maps): bump stacked package to 1.3.4
  • b2ad804 fix(world-maps): require Engine 2.4.2 movement contract
  • 3cf2967 fix(world-maps): expose custom targets for every AI draft
  • 2db294b fix(world-maps): make non-AI map replacement history-safe
  • ad1ded8 fix(world-maps): mark file imports as map replacements
  • 496584e fix(world-maps): clear stale replacement import intent

📊 Changes

23 files changed (+1073 additions, -282 deletions)

View changed files

📝 artifacts/hierarchical-maps-1.3.3.zip (+0 -0)
➕ artifacts/hierarchical-maps-1.3.4.zip (+0 -0)
📝 catalog/catalog.json (+11 -11)
📝 catalog/v2/catalog.json (+11 -11)
📝 catalog/v3/catalog.json (+11 -11)
📝 packages/hierarchical-maps/client.js (+55 -55)
📝 packages/hierarchical-maps/engine-boundary.json (+1 -1)
📝 packages/hierarchical-maps/manifest.json (+7 -7)
📝 packages/hierarchical-maps/server.mjs (+55 -55)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapLibrary.tsx (+74 -21)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx (+106 -41)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx (+1 -1)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialMapAiBuilder.tsx (+128 -18)
📝 packages/hierarchical-maps/src/engine/packages/client/src/hooks/use-spatial-context.ts (+26 -0)
📝 packages/hierarchical-maps/src/engine/packages/maps-shared/src/maps-model.ts (+1 -0)
📝 packages/hierarchical-maps/src/engine/packages/server/src/routes/spatial-context.routes.ts (+97 -5)
📝 packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/ai-draft.ts (+37 -6)
📝 packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/definition.service.ts (+8 -4)
📝 packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/game-map-binding.ts (+31 -0)
📝 scripts/build-feature-packages.mjs (+8 -6)

...and 3 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #257
Closes #264
Refs Pasta-Devs/Marinara-Engine#4655
Refs Pasta-Devs/Marinara-Engine#4732 (unable to reproduce on current Engine staging)

Why this change

This stacked World Maps sweep carries the three reproducible issue fixes in one reviewable package update. Engine #4732 was investigated against the refreshed staging snapshots but could not be reproduced, so this PR does not claim a fix for it.

What changed

  • #4655: keep the compact World Maps access control available during queued Roleplay travel.
  • #257: allow an editable bounded place target for AI expansion while retaining the Small/Medium/Large presets.
  • #264: make confirmed start-over explicit, route it through the continuity-breaking endpoint, and preserve old messages while replacing the map.
  • Bumped the installable package to hierarchical-maps 1.3.4 and rebuilt its server/client payload, manifest, ZIP, hashes, and v2/v3 catalog lanes from the combined source.

Package and security impact

  • Affected package IDs: hierarchical-maps
  • Engine compatibility impact: World Maps now requires >=2.4.2 <4.0.0 for the movement contract and is built against Engine 2.4.2 baseline 00986ff5bfdcd5705d70c7fca8d8ade86665b217.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: package update remains restart-required; start-over intentionally breaks historical map continuity only after explicit confirmation.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated proof completed locally (human checklist intentionally remains unchecked):

  • Catalog lanes, package locales, catalog integrity, UI contract, generated bundle syntax, and git diff --check passed.
  • Host-authorized exact-artifact lifecycle regression passed, including update/install, queued movement, AI expansion, explicit start-over confirmation and continuity behavior, offline restart, uninstall, backup, and restore.
  • Browser-operated/manual verification is still required from the reviewer. Engine #4732 remains not reproduced on current staging.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

The package UI contract regression covers the changed controls; reviewer browser evidence is still requested for the final staging install.

Summary by CodeRabbit

  • New Features
    • Replace existing maps with blank, AI-generated, templated, or imported maps through a guided start-over flow.
    • Customize AI map generation and expansion targets, up to 40 locations.
    • Receive clearer confirmations, loading states, and safeguards when replacing maps.
  • Bug Fixes
    • Improved mobile story-map availability during pending travel transitions.
    • Preserved existing messages while warning that historical map links may no longer work after replacement.
  • Updates
    • Released Hierarchical Maps 1.3.4, requiring Engine 2.4.2.

🔄 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-Agents/pull/281 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 8/8/2026 **Status:** ✅ Merged **Merged:** 8/9/2026 **Merged by:** [@thetopham](https://github.com/thetopham) **Base:** `staging` ← **Head:** `codex/bug-sweep-stacked-20260808` --- ### 📝 Commits (10+) - [`efd6d26`](https://github.com/Pasta-Devs/Marinara-Agents/commit/efd6d26e5cd1abd6d1b42cdff86766b7170dc5e3) fix(world-maps): keep mobile map access during queued travel (#4655) - [`9d757c9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9d757c9c65a94d758835e88909d2ed77c9271ade) feat(world-maps): customize AI expansion targets (#257) - [`98916d4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/98916d4b10bf06861a885cf2626bd33da6b6b323) fix(world-maps): make start-over replacement explicit (#264) - [`e504f58`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e504f58e86ab99d590d5dc1e82bdf0caa3977fd6) chore(world-maps): rebuild stacked issue artifacts - [`d42971d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d42971db18205f5b6a003bc63df45a458d241fac) release(world-maps): bump stacked package to 1.3.4 - [`b2ad804`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b2ad804fb557f0f7e9443c5bacaa52411cafccf5) fix(world-maps): require Engine 2.4.2 movement contract - [`3cf2967`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3cf29674556140daa1b7331089469f247dea4aba) fix(world-maps): expose custom targets for every AI draft - [`2db294b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2db294b93cff6b5844a090e3da69097910d9160c) fix(world-maps): make non-AI map replacement history-safe - [`ad1ded8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ad1ded8438226ccf7253358de3bfeddb8344a525) fix(world-maps): mark file imports as map replacements - [`496584e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/496584e180bccc12dc18015b92a60b3ea2b6990f) fix(world-maps): clear stale replacement import intent ### 📊 Changes **23 files changed** (+1073 additions, -282 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/hierarchical-maps-1.3.3.zip` (+0 -0) ➕ `artifacts/hierarchical-maps-1.3.4.zip` (+0 -0) 📝 `catalog/catalog.json` (+11 -11) 📝 `catalog/v2/catalog.json` (+11 -11) 📝 `catalog/v3/catalog.json` (+11 -11) 📝 `packages/hierarchical-maps/client.js` (+55 -55) 📝 `packages/hierarchical-maps/engine-boundary.json` (+1 -1) 📝 `packages/hierarchical-maps/manifest.json` (+7 -7) 📝 `packages/hierarchical-maps/server.mjs` (+55 -55) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapLibrary.tsx` (+74 -21) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx` (+106 -41) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx` (+1 -1) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialMapAiBuilder.tsx` (+128 -18) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/hooks/use-spatial-context.ts` (+26 -0) 📝 `packages/hierarchical-maps/src/engine/packages/maps-shared/src/maps-model.ts` (+1 -0) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/routes/spatial-context.routes.ts` (+97 -5) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/ai-draft.ts` (+37 -6) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/definition.service.ts` (+8 -4) 📝 `packages/hierarchical-maps/src/engine/packages/server/src/services/spatial-context/game-map-binding.ts` (+31 -0) 📝 `scripts/build-feature-packages.mjs` (+8 -6) _...and 3 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #257 Closes #264 Refs Pasta-Devs/Marinara-Engine#4655 Refs Pasta-Devs/Marinara-Engine#4732 (unable to reproduce on current Engine staging) ## Why this change This stacked World Maps sweep carries the three reproducible issue fixes in one reviewable package update. Engine #4732 was investigated against the refreshed staging snapshots but could not be reproduced, so this PR does not claim a fix for it. ## What changed - #4655: keep the compact World Maps access control available during queued Roleplay travel. - #257: allow an editable bounded place target for AI expansion while retaining the Small/Medium/Large presets. - #264: make confirmed start-over explicit, route it through the continuity-breaking endpoint, and preserve old messages while replacing the map. - Bumped the installable package to hierarchical-maps 1.3.4 and rebuilt its server/client payload, manifest, ZIP, hashes, and v2/v3 catalog lanes from the combined source. ## Package and security impact - Affected package IDs: `hierarchical-maps` - Engine compatibility impact: World Maps now requires `>=2.4.2 <4.0.0` for the movement contract and is built against Engine `2.4.2` baseline `00986ff5bfdcd5705d70c7fca8d8ade86665b217`. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: package update remains restart-required; start-over intentionally breaks historical map continuity only after explicit confirmation. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated proof completed locally (human checklist intentionally remains unchecked): - Catalog lanes, package locales, catalog integrity, UI contract, generated bundle syntax, and `git diff --check` passed. - Host-authorized exact-artifact lifecycle regression passed, including update/install, queued movement, AI expansion, explicit start-over confirmation and continuity behavior, offline restart, uninstall, backup, and restore. - Browser-operated/manual verification is still required from the reviewer. Engine #4732 remains not reproduced on current staging. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The package UI contract regression covers the changed controls; reviewer browser evidence is still requested for the final staging install. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Replace existing maps with blank, AI-generated, templated, or imported maps through a guided start-over flow. * Customize AI map generation and expansion targets, up to 40 locations. * Receive clearer confirmations, loading states, and safeguards when replacing maps. * **Bug Fixes** * Improved mobile story-map availability during pending travel transitions. * Preserved existing messages while warning that historical map links may no longer work after replacement. * **Updates** * Released Hierarchical Maps 1.3.4, requiring Engine 2.4.2. <!-- 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-20 17:32:00 +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-Agents#889
No description provided.