[PR #52] [MERGED] feat: requires engine 3.2 : publish Hierarchical Maps 1.1.0 recovery #787

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

📋 Pull Request Information

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

Base: main ← Head: release/hierarchical-maps-1.1.0-engine-2.3


📝 Commits (10+)

  • 95d1abe test: cover hierarchical maps package lifecycle
  • dad64e1 refactor: move hierarchical maps source into package
  • 1948183 feat: reconcile existing game maps
  • ca697c6 Enforce hierarchical maps package boundary
  • ac1193c Move Maps utilities into the package
  • 269cf93 Use capability runtime logging in Maps
  • d7eca93 Migrate Maps spatial persistence to host API
  • 75d876f Migrate Maps definition persistence to host API
  • 1958ac4 Migrate Maps routes to host APIs
  • 737f859 Isolate Maps client runtime

📊 Changes

47 files changed (+7035 additions, -1828 deletions)

View changed files

📝 CONTRIBUTING.md (+6 -2)
📝 README.md (+1 -1)
➕ artifacts/hierarchical-maps-1.1.0.zip (+0 -0)
📝 catalog/catalog.json (+25 -12)
📝 packages/hierarchical-maps/client.js (+49 -38)
➕ packages/hierarchical-maps/engine-boundary.json (+12 -0)
📝 packages/hierarchical-maps/manifest.json (+21 -8)
📝 packages/hierarchical-maps/server.mjs (+50 -340)
📝 packages/hierarchical-maps/src/engine/packages/client/src/components/game/GameWorldMap.tsx (+27 -9)
➕ packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx (+210 -0)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx (+311 -79)
➕ packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx (+267 -0)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/GameMapBindingsPanel.tsx (+185 -3)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/HierarchyNavigator.tsx (+9 -4)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LayerSelector.tsx (+6 -2)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LocalMapCanvas.tsx (+2 -2)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LocationInspector.tsx (+2 -2)
➕ packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx (+311 -0)
➕ packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialMapAiBuilder.tsx (+920 -0)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/editor-state.ts (+0 -0)

...and 27 more files

📄 Description

Linked issue

Closes #50

Requires engine 3.2

Do not merge yet. The implementation and automated proof are complete, but keep this PR in draft until the required real desktop/mobile, keyboard/touch, theme, clean-install, and upgraded-profile sign-off is complete.

Why this change

  • The public Maps package line does not include the complete post-extraction recovery work.
  • Maps 1.1.0 moves the implementation behind capability API 1.3 so it no longer imports or bundles Engine-private implementation details.
  • The package source, domain behavior, prompts, UI, generated payloads, artifact, and catalog entry belong in Marinara Agents.

What changed

  • Establish packages/hierarchical-maps/src/engine as the package-owned Maps source and enforce a zero-private-Engine-import boundary.
  • Move Maps persistence/domain decisions, resource use, model calls, route handling, prompt projection, owner transitions, Game bindings, and browser recovery onto the public capability host.
  • Restore full-screen map authoring, AI drafting/expansion, Roleplay and Game runtime surfaces, authoritative Game world-location behavior, and location-lore selection.
  • Add the global Maps feature home, inspect-before-destination navigation, explicit destination staging, current-location details, Game list navigation, and loading/error/empty/disabled recovery states.
  • Add package lifecycle, prompt/lore, continuation, retry, branch/delete/import/export, Game checkpoint, and browser recovery coverage.
  • Rebuild Maps 1.1.0 payloads, schema-v2 manifest, immutable artifact, hashes, sizes, and catalog entry at checkpoint 349e911a83f4fb22213f5c585b3f229489ecde27.

Package and security impact

  • Affected package IDs: hierarchical-maps
  • Engine compatibility impact: requires Pasta-Devs/Marinara-Engine#3693 and capability API 1.3. The manifest targets Engine >=3.2.0 <3.3.0 and records Engine 3.2.2 baseline 7d5c09975abfd28e7e5e6645ff3b0bdeef86e1d7.
  • New or changed permissions/entrypoints: no new permission names or entrypoint types; the manifest moves to schema v2 and declares the public capability API/built-against provenance.
  • Restart, storage, update, or uninstall impact: update requires restart; definitions and spatial snapshots remain user data; uninstall/reinstall and backup/restore must preserve them.

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

  • Current-head automated validation:
    • node scripts/validate-catalog.mjs — Catalog valid: 29 packages (21 agents, 8 features).
    • git diff --check — passed.
  • Exact artifact lifecycle validation — passed.
  • Browser matrix — 25 passed, with 7 intentional mobile skips reserved for real-device sign-off.
  • Artifact SHA-256: 0d8866516155ea85750d8f41f4f8a6ad49319b09359d1fd7037bb79b768be65f (268,692 bytes).
  • Earlier human sign-off confirmed readiness, desktop themes with light confidence, keyboard operation, client retry recovery, missing-package/reinstall recovery, and unchanged canonical fingerprints for 10 definitions and 110 spatial snapshots.
  • Real-device Story Location/CYOA composition, landscape editor usability, and direct minimap-to-editor access failed. Those defects are tracked in Pasta-Devs/Marinara-Engine#3691 and #51.
  • Remaining gate: real desktop/mobile and keyboard/touch review across dark, light, and SillyTavern themes, including conflict/runtime errors plus clean-install and upgraded-profile verification.

Documentation impact

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

The paired generic host issue/PR are Pasta-Devs/Marinara-Engine#3690 and Pasta-Devs/Marinara-Engine#3693.

UI evidence (if applicable)

No screenshot or recording was captured during the earlier Phase 2 sign-off. Known real-device mobile failures remain explicit blockers in Pasta-Devs/Marinara-Engine#3691 and #51.


🔄 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/52 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/16/2026 **Status:** ✅ Merged **Merged:** 7/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `release/hierarchical-maps-1.1.0-engine-2.3` --- ### 📝 Commits (10+) - [`95d1abe`](https://github.com/Pasta-Devs/Marinara-Agents/commit/95d1abe458d5de621992835025135278de696b0c) test: cover hierarchical maps package lifecycle - [`dad64e1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dad64e1fa598312ba1be72981674af66265bc4c3) refactor: move hierarchical maps source into package - [`1948183`](https://github.com/Pasta-Devs/Marinara-Agents/commit/19481838a2d3a8249c37188db41f9e41900a414e) feat: reconcile existing game maps - [`ca697c6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ca697c6ed30ddf79a29c4deab6500e10fed95bd0) Enforce hierarchical maps package boundary - [`ac1193c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ac1193ca7a5479ed5a7df59a474aec56f1189f48) Move Maps utilities into the package - [`269cf93`](https://github.com/Pasta-Devs/Marinara-Agents/commit/269cf93d1e9f1f6797193e92d6d4ca039429aaf4) Use capability runtime logging in Maps - [`d7eca93`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d7eca93b42e83d589b6cdbde11eb78916b33b231) Migrate Maps spatial persistence to host API - [`75d876f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/75d876f28916fc8d34738445424bb6fdaf0ae3a1) Migrate Maps definition persistence to host API - [`1958ac4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1958ac4d947edf62b81b75c04db6538fefafac51) Migrate Maps routes to host APIs - [`737f859`](https://github.com/Pasta-Devs/Marinara-Agents/commit/737f859193fb66a15f7690a9adaa86196423b986) Isolate Maps client runtime ### 📊 Changes **47 files changed** (+7035 additions, -1828 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+6 -2) 📝 `README.md` (+1 -1) ➕ `artifacts/hierarchical-maps-1.1.0.zip` (+0 -0) 📝 `catalog/catalog.json` (+25 -12) 📝 `packages/hierarchical-maps/client.js` (+49 -38) ➕ `packages/hierarchical-maps/engine-boundary.json` (+12 -0) 📝 `packages/hierarchical-maps/manifest.json` (+21 -8) 📝 `packages/hierarchical-maps/server.mjs` (+50 -340) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/components/game/GameWorldMap.tsx` (+27 -9) ➕ `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx` (+210 -0) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx` (+311 -79) ➕ `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx` (+267 -0) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/GameMapBindingsPanel.tsx` (+185 -3) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/HierarchyNavigator.tsx` (+9 -4) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LayerSelector.tsx` (+6 -2) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LocalMapCanvas.tsx` (+2 -2) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/LocationInspector.tsx` (+2 -2) ➕ `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx` (+311 -0) ➕ `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialMapAiBuilder.tsx` (+920 -0) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/editor-state.ts` (+0 -0) _...and 27 more files_ </details> ### 📄 Description ## Linked issue Closes #50 Requires engine 3.2 > **Do not merge yet.** The implementation and automated proof are complete, but keep this PR in draft until the required real desktop/mobile, keyboard/touch, theme, clean-install, and upgraded-profile sign-off is complete. ## Why this change - The public Maps package line does not include the complete post-extraction recovery work. - Maps 1.1.0 moves the implementation behind capability API 1.3 so it no longer imports or bundles Engine-private implementation details. - The package source, domain behavior, prompts, UI, generated payloads, artifact, and catalog entry belong in Marinara Agents. ## What changed - Establish `packages/hierarchical-maps/src/engine` as the package-owned Maps source and enforce a zero-private-Engine-import boundary. - Move Maps persistence/domain decisions, resource use, model calls, route handling, prompt projection, owner transitions, Game bindings, and browser recovery onto the public capability host. - Restore full-screen map authoring, AI drafting/expansion, Roleplay and Game runtime surfaces, authoritative Game world-location behavior, and location-lore selection. - Add the global Maps feature home, inspect-before-destination navigation, explicit destination staging, current-location details, Game list navigation, and loading/error/empty/disabled recovery states. - Add package lifecycle, prompt/lore, continuation, retry, branch/delete/import/export, Game checkpoint, and browser recovery coverage. - Rebuild Maps 1.1.0 payloads, schema-v2 manifest, immutable artifact, hashes, sizes, and catalog entry at checkpoint `349e911a83f4fb22213f5c585b3f229489ecde27`. ## Package and security impact - Affected package IDs: `hierarchical-maps` - Engine compatibility impact: requires Pasta-Devs/Marinara-Engine#3693 and capability API 1.3. The manifest targets Engine `>=3.2.0 <3.3.0` and records Engine 3.2.2 baseline `7d5c09975abfd28e7e5e6645ff3b0bdeef86e1d7`. - New or changed permissions/entrypoints: no new permission names or entrypoint types; the manifest moves to schema v2 and declares the public capability API/built-against provenance. - Restart, storage, update, or uninstall impact: update requires restart; definitions and spatial snapshots remain user data; uninstall/reinstall and backup/restore must preserve them. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [x] 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 - Current-head automated validation: - `node scripts/validate-catalog.mjs` — `Catalog valid: 29 packages (21 agents, 8 features).` - `git diff --check` — passed. - Exact artifact lifecycle validation — passed. - Browser matrix — 25 passed, with 7 intentional mobile skips reserved for real-device sign-off. - Artifact SHA-256: `0d8866516155ea85750d8f41f4f8a6ad49319b09359d1fd7037bb79b768be65f` (268,692 bytes). - Earlier human sign-off confirmed readiness, desktop themes with light confidence, keyboard operation, client retry recovery, missing-package/reinstall recovery, and unchanged canonical fingerprints for 10 definitions and 110 spatial snapshots. - Real-device Story Location/CYOA composition, landscape editor usability, and direct minimap-to-editor access failed. Those defects are tracked in Pasta-Devs/Marinara-Engine#3691 and #51. - Remaining gate: real desktop/mobile and keyboard/touch review across dark, light, and SillyTavern themes, including conflict/runtime errors plus clean-install and upgraded-profile verification. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation The paired generic host issue/PR are Pasta-Devs/Marinara-Engine#3690 and Pasta-Devs/Marinara-Engine#3693. ## UI evidence (if applicable) No screenshot or recording was captured during the earlier Phase 2 sign-off. Known real-device mobile failures remain explicit blockers in Pasta-Devs/Marinara-Engine#3691 and #51. --- <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:57 +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#787
No description provided.