[PR #64] [MERGED] fix: support Maps 1.1.4 on Engine 2.3.2 and compact mobile runtime #793

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/64
Author: @thetopham
Created: 7/16/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @SpicyMarinara

Base: main ← Head: fix/hierarchical-maps-mobile-runtime-toggle


📝 Commits (5)

  • e6cf49c test: require compact mobile Maps toggle
  • 0e8eb84 fix: compact mobile Maps runtime
  • d04ed0a fix: refine mobile Maps runtime placement
  • b16b3b9 fix: restore mobile Maps runtime interactions
  • 2bce0b0 fix: support Maps on Engine 2.3.2

📊 Changes

10 files changed (+470 additions, -87 deletions)

View changed files

➕ artifacts/hierarchical-maps-1.1.3.zip (+0 -0)
➕ artifacts/hierarchical-maps-1.1.4.zip (+0 -0)
📝 catalog/catalog.json (+11 -11)
📝 packages/hierarchical-maps/client.js (+105 -25)
📝 packages/hierarchical-maps/engine-boundary.json (+2 -2)
📝 packages/hierarchical-maps/manifest.json (+7 -7)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx (+148 -7)
📝 scripts/build-feature-packages.mjs (+86 -4)
📝 tests/hierarchical-maps-lifecycle.regression.ts (+37 -28)
📝 tests/spatial-context.e2e.ts (+74 -3)

📄 Description

Linked issue

Closes #65
Closes #66

Related to #51. That issue remains open for the separate mobile-landscape full-screen editor-header work.

Why this change

  • On a real mobile Game/Roleplay surface, the collapsed Hierarchical Maps runtime occupied a full-width row below the existing Logs, Inventory, and Combat controls.
  • The expanded mobile surface inherited translucent chat chrome, competed with narration and choices, and could push its own close control outside the reachable viewport.
  • Windows users on Engine 2.3.2 could not update Maps 1.0.6 because the published Maps metadata still required the abandoned Engine 3.2.x release identity.
  • Leaving 1.0.6 active exposes affected chats to a first-message server crash in spatial projection: TypeError: t.select is not a function.

What changed

  • Replaces the ordinary mobile Story Location strip with one compact map trigger while preserving the existing desktop bar.
  • Uses a 32px visual tile matching the Game controls while preserving a 44px touch target.
  • Renders the expanded mobile map as a bounded, opaque overlay that does not move the composer.
  • Keeps icon and explicit-close controls, focus restoration, destination groups, loading/error states, and disabled-map recovery available on mobile.
  • Keeps Hierarchical Maps at version 1.1.4 and rebuilds its manifest, immutable ZIP, and catalog entry for Engine >=2.3.2 <3.0.0.
  • Pins build provenance to the exact Engine v2.3.2 release commit, 614e62a38fc2d9685f9b4981a9628be9fda0fc03.
  • Updates the lifecycle proof to exercise the field upgrade from Maps 1.0.6 to 1.1.4 against released Engine v2.3.2.

Package and security impact

  • Affected package IDs: hierarchical-maps
  • Engine compatibility impact: capability API 1.3 on Engine >=2.3.2 <3.0.0; Engine 2.3.1 and 3.0.0 remain excluded.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: updating from 1.0.6 to 1.1.4 requires restart; package storage and spatial data formats are unchanged. Uninstalling removes the runtime without deleting chat map definitions or spatial history.

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

  • node scripts/validate-catalog.mjs reported Catalog valid: 29 packages (21 agents, 8 features).
  • git diff --check passed.
  • Exact-artifact lifecycle passed against Engine v2.3.2 at 614e62a38fc2d9685f9b4981a9628be9fda0fc03 using the real 1.0.6 to 1.1.4 update path.
  • The lifecycle covered activation, first spatial projection, Roleplay/Game history, prompt parity, restart, offline restart, uninstall/reinstall, backup, and restore.
  • Compatibility negative controls exclude Engine 2.3.1 and Engine 3.0.0 while accepting Engine 2.3.2.
  • Focused mobile Chromium proof from the prior commits covered the compact runtime, unchanged composer position, toggle/close controls, nested levels, destination selection, movement, and recovery states.
  • Artifact SHA-256: 5df6c53a5b3e3d74778370e4892b3a10370cff4e2d0cad7c03e52444aeb89849, 271,714 bytes.
  • Server SHA-256: f846c2e7029fe17449da7ac26df11e12d47b05fb78ec69ed88ea1f9c2e080f01.
  • Client SHA-256: 84a57eb7069ff5824069f772bba7d298c120219cd6741d85fc8ffd9bb3ae46b9.
  • Manually verify the final package on the reporting Windows 11 installation before merge.
  • Manually verify the final mobile surface on the reporting real device before merge.

Documentation impact

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

Catalog membership, permissions, and setup guidance are unchanged. The corrected compatibility range is carried by the manifest and catalog.

UI evidence (if applicable)


🔄 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/64 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/16/2026 **Status:** ✅ Merged **Merged:** 7/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `fix/hierarchical-maps-mobile-runtime-toggle` --- ### 📝 Commits (5) - [`e6cf49c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e6cf49c0b61da59ee57afa68c81501e1df6f5e5e) test: require compact mobile Maps toggle - [`0e8eb84`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0e8eb8464f12dc5f1c3ed127638fcfbd6901f60a) fix: compact mobile Maps runtime - [`d04ed0a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d04ed0a180c58f81a1ebaf84f11098859dd6dcbb) fix: refine mobile Maps runtime placement - [`b16b3b9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b16b3b97b3a566c290493fa6732accccda08af77) fix: restore mobile Maps runtime interactions - [`2bce0b0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2bce0b082754ef688b2f20f6f5cd7cdc6710135e) fix: support Maps on Engine 2.3.2 ### 📊 Changes **10 files changed** (+470 additions, -87 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/hierarchical-maps-1.1.3.zip` (+0 -0) ➕ `artifacts/hierarchical-maps-1.1.4.zip` (+0 -0) 📝 `catalog/catalog.json` (+11 -11) 📝 `packages/hierarchical-maps/client.js` (+105 -25) 📝 `packages/hierarchical-maps/engine-boundary.json` (+2 -2) 📝 `packages/hierarchical-maps/manifest.json` (+7 -7) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx` (+148 -7) 📝 `scripts/build-feature-packages.mjs` (+86 -4) 📝 `tests/hierarchical-maps-lifecycle.regression.ts` (+37 -28) 📝 `tests/spatial-context.e2e.ts` (+74 -3) </details> ### 📄 Description ## Linked issue Closes #65 Closes #66 Related to #51. That issue remains open for the separate mobile-landscape full-screen editor-header work. ## Why this change - On a real mobile Game/Roleplay surface, the collapsed Hierarchical Maps runtime occupied a full-width row below the existing Logs, Inventory, and Combat controls. - The expanded mobile surface inherited translucent chat chrome, competed with narration and choices, and could push its own close control outside the reachable viewport. - Windows users on Engine 2.3.2 could not update Maps 1.0.6 because the published Maps metadata still required the abandoned Engine 3.2.x release identity. - Leaving 1.0.6 active exposes affected chats to a first-message server crash in spatial projection: `TypeError: t.select is not a function`. ## What changed - Replaces the ordinary mobile Story Location strip with one compact map trigger while preserving the existing desktop bar. - Uses a 32px visual tile matching the Game controls while preserving a 44px touch target. - Renders the expanded mobile map as a bounded, opaque overlay that does not move the composer. - Keeps icon and explicit-close controls, focus restoration, destination groups, loading/error states, and disabled-map recovery available on mobile. - Keeps Hierarchical Maps at version 1.1.4 and rebuilds its manifest, immutable ZIP, and catalog entry for Engine `>=2.3.2 <3.0.0`. - Pins build provenance to the exact Engine v2.3.2 release commit, `614e62a38fc2d9685f9b4981a9628be9fda0fc03`. - Updates the lifecycle proof to exercise the field upgrade from Maps 1.0.6 to 1.1.4 against released Engine v2.3.2. ## Package and security impact - Affected package IDs: `hierarchical-maps` - Engine compatibility impact: capability API 1.3 on Engine `>=2.3.2 <3.0.0`; Engine 2.3.1 and 3.0.0 remain excluded. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: updating from 1.0.6 to 1.1.4 requires restart; package storage and spatial data formats are unchanged. Uninstalling removes the runtime without deleting chat map definitions or spatial history. ## 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 - `node scripts/validate-catalog.mjs` reported `Catalog valid: 29 packages (21 agents, 8 features).` - `git diff --check` passed. - Exact-artifact lifecycle passed against Engine v2.3.2 at `614e62a38fc2d9685f9b4981a9628be9fda0fc03` using the real 1.0.6 to 1.1.4 update path. - The lifecycle covered activation, first spatial projection, Roleplay/Game history, prompt parity, restart, offline restart, uninstall/reinstall, backup, and restore. - Compatibility negative controls exclude Engine 2.3.1 and Engine 3.0.0 while accepting Engine 2.3.2. - Focused mobile Chromium proof from the prior commits covered the compact runtime, unchanged composer position, toggle/close controls, nested levels, destination selection, movement, and recovery states. - Artifact SHA-256: `5df6c53a5b3e3d74778370e4892b3a10370cff4e2d0cad7c03e52444aeb89849`, 271,714 bytes. - Server SHA-256: `f846c2e7029fe17449da7ac26df11e12d47b05fb78ec69ed88ea1f9c2e080f01`. - Client SHA-256: `84a57eb7069ff5824069f772bba7d298c120219cd6741d85fc8ffd9bb3ae46b9`. - Manually verify the final package on the reporting Windows 11 installation before merge. - Manually verify the final mobile surface on the reporting real device before merge. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Catalog membership, permissions, and setup guidance are unchanged. The corrected compatibility range is carried by the manifest and catalog. ## UI evidence (if applicable) - Before: https://imgur.com/a/lza0T3f - Real-device Game follow-up: https://imgur.com/a/7obpHT3 - Real-device open-state follow-up: https://imgur.com/a/imMUMOZ - No media files are committed to the repository. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:30:59 +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#793
No description provided.