[GH-ISSUE #16] [Feature]: Move Hierarchical Maps 1.1 to package-owned source #6

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

Originally created by @thetopham on GitHub (Jul 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/16

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

Hierarchical Maps 1.0.1 restores Engine 2.3 compatibility, but its generated server and client bundles are still rebuilt from a captured sources/engine tree. That makes private Engine implementation files the effective editable source, gives the package no durable public host contract, and risks another install-success/runtime-failure incident when Engine internals change.

Proposed package or change

Deliver Hierarchical Maps 1.1.0 from canonical package-owned source in Marinara-Agents:

  • establish packages/hierarchical-maps/src/{shared,server,client} as the editable source of truth;
  • move map validation, definition/drafting, state resolution, movement, projection, Game binding, lore selection, routes, storage orchestration, and map UI into that tree;
  • consume the paired Engine capability API instead of private Engine source paths, raw database access, or copied Engine table objects;
  • emit manifest v2 capabilityApi and exact builtAgainst provenance;
  • remove the Hierarchical Maps production fallback to sources/engine from the feature builder;
  • add a build guard that fails on private Engine imports;
  • rebuild server.mjs, client.js, manifest hashes, immutable ZIP, and catalog entry as version 1.1.0 only after exact-artifact compatibility proof passes;
  • preserve existing definitions and spatial snapshots across update, disable, remove, and reinstall.

Supported modes remain Roleplay and Game. Existing permissions and contribution slots should not expand without a separate review.

Why should this be optional?

Hierarchical Maps includes substantial authoring UI, runtime navigation, spatial validation, prompt projection, Game integration, and storage orchestration that many users do not need. Keeping that implementation downloadable avoids bloating Marinara Engine while allowing map users to install and update it independently. Engine should own only generic, inert host contracts and compatibility persistence.

Alternatives considered

  • Continuing to rebuild from sources/engine preserves the same private-source coupling that caused the 1.0.0 incident.
  • Moving the Maps implementation back into Marinara Engine would violate the agreed optional-package boundary and increase core size.
  • Editing generated server.mjs or client.js directly would make the package unreproducible and is prohibited by repository policy.

Additional context

Paired generic Engine host work:

Recovery baseline:

Delivery rule: keep the Engine and Agents PRs draft until the exact generated Maps artifact passes against the paired Engine branch. Land Engine support before publishing the Agents catalog update.

Owner: @thetopham

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/16 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? Hierarchical Maps 1.0.1 restores Engine 2.3 compatibility, but its generated server and client bundles are still rebuilt from a captured `sources/engine` tree. That makes private Engine implementation files the effective editable source, gives the package no durable public host contract, and risks another install-success/runtime-failure incident when Engine internals change. ## Proposed package or change Deliver Hierarchical Maps 1.1.0 from canonical package-owned source in Marinara-Agents: - establish `packages/hierarchical-maps/src/{shared,server,client}` as the editable source of truth; - move map validation, definition/drafting, state resolution, movement, projection, Game binding, lore selection, routes, storage orchestration, and map UI into that tree; - consume the paired Engine capability API instead of private Engine source paths, raw database access, or copied Engine table objects; - emit manifest v2 `capabilityApi` and exact `builtAgainst` provenance; - remove the Hierarchical Maps production fallback to `sources/engine` from the feature builder; - add a build guard that fails on private Engine imports; - rebuild `server.mjs`, `client.js`, manifest hashes, immutable ZIP, and catalog entry as version 1.1.0 only after exact-artifact compatibility proof passes; - preserve existing definitions and spatial snapshots across update, disable, remove, and reinstall. Supported modes remain Roleplay and Game. Existing permissions and contribution slots should not expand without a separate review. ## Why should this be optional? Hierarchical Maps includes substantial authoring UI, runtime navigation, spatial validation, prompt projection, Game integration, and storage orchestration that many users do not need. Keeping that implementation downloadable avoids bloating Marinara Engine while allowing map users to install and update it independently. Engine should own only generic, inert host contracts and compatibility persistence. ## Alternatives considered - Continuing to rebuild from `sources/engine` preserves the same private-source coupling that caused the 1.0.0 incident. - Moving the Maps implementation back into Marinara Engine would violate the agreed optional-package boundary and increase core size. - Editing generated `server.mjs` or `client.js` directly would make the package unreproducible and is prohibited by repository policy. ## Additional context Paired generic Engine host work: - Pasta-Devs/Marinara-Engine#3651 - Pasta-Devs/Marinara-Engine#3652 Recovery baseline: - Pasta-Devs/Marinara-Agents#14 - Pasta-Devs/Marinara-Agents#15 - Hierarchical Maps recovery plan Phase 2 and future roadmap Workstream 1 Delivery rule: keep the Engine and Agents PRs draft until the exact generated Maps artifact passes against the paired Engine branch. Land Engine support before publishing the Agents catalog update. Owner: @thetopham ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#6
No description provided.