[GH-ISSUE #3642] [Issue]: Hierarchical Maps appears active while snapshot reads fail #1971

Closed
opened 2026-10-21 05:44:17 +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-Engine/issues/3642

Originally assigned to: @thetopham on GitHub.

Summary

Hierarchical Maps 1.0.0 is recorded as active after startup even though its first real spatial snapshot read fails against the current file-native storage adapter. The Engine needs a functional readiness state so an imported-but-broken package cannot appear in agent registries, client contributions, or mode capability lists.

Expected behavior

A server-backed capability package should become ready only after its activation self-check proves the required host operations work. Diagnostics should report the installed package version and readiness without exposing map definitions or snapshots.

Actual behavior

hierarchical-maps@1.0.0 remains active with no registry error after module activation. Requests that read spatial snapshots then fail with Cannot read properties of undefined (reading 'name') in getFileTableConfig, because the published bundle contains a table definition from the former Drizzle-backed Engine implementation.

Steps to reproduce

  1. Install Hierarchical Maps 1.0.0 on Marinara Engine 2.3.0 and restart the Engine.
  2. Confirm the installed registry reports the package as active.
  3. Open or request a chat path that reads an existing spatial definition or snapshot.
  4. Observe the route returns 500 from the file-table adapter while the package still appears active.

Environment

  • Marinara Engine version: 2.3.0 staging
  • Install type: source
  • OS + version: Linux
  • Browser or app shell: API path; browser-independent

Logs, screenshots, or video

Observed server error signature:

TypeError: Cannot read properties of undefined (reading 'name')
at getFileTableConfig
at tableNameOf
at Object.from
at hierarchical-maps/1.0.0/server.mjs

Additional context

This is the Engine-side Phase 0/1 entrypoint from the Hierarchical Maps add-on recovery plan. Initial scope:

  • add deterministic failure/readiness fixtures;
  • expose package version and readiness in diagnostics without map data;
  • distinguish registered from functionally ready;
  • prevent non-ready packages from reaching runtime registries and client entrypoints;
  • preserve installed artifacts and all stored definitions/snapshots.

The package compatibility release itself belongs in Pasta-Devs/Marinara-Agents and should proceed in parallel.

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-Engine/issues/3642 Originally assigned to: @thetopham on GitHub. ## Summary Hierarchical Maps 1.0.0 is recorded as active after startup even though its first real spatial snapshot read fails against the current file-native storage adapter. The Engine needs a functional readiness state so an imported-but-broken package cannot appear in agent registries, client contributions, or mode capability lists. ## Expected behavior A server-backed capability package should become ready only after its activation self-check proves the required host operations work. Diagnostics should report the installed package version and readiness without exposing map definitions or snapshots. ## Actual behavior `hierarchical-maps@1.0.0` remains `active` with no registry error after module activation. Requests that read spatial snapshots then fail with `Cannot read properties of undefined (reading 'name')` in `getFileTableConfig`, because the published bundle contains a table definition from the former Drizzle-backed Engine implementation. ## Steps to reproduce 1. Install Hierarchical Maps 1.0.0 on Marinara Engine 2.3.0 and restart the Engine. 2. Confirm the installed registry reports the package as active. 3. Open or request a chat path that reads an existing spatial definition or snapshot. 4. Observe the route returns 500 from the file-table adapter while the package still appears active. ## Environment - Marinara Engine version: 2.3.0 staging - Install type: source - OS + version: Linux - Browser or app shell: API path; browser-independent ## Logs, screenshots, or video Observed server error signature: ```text TypeError: Cannot read properties of undefined (reading 'name') at getFileTableConfig at tableNameOf at Object.from at hierarchical-maps/1.0.0/server.mjs ``` ## Additional context This is the Engine-side Phase 0/1 entrypoint from the Hierarchical Maps add-on recovery plan. Initial scope: - add deterministic failure/readiness fixtures; - expose package version and readiness in diagnostics without map data; - distinguish registered from functionally ready; - prevent non-ready packages from reaching runtime registries and client entrypoints; - preserve installed artifacts and all stored definitions/snapshots. The package compatibility release itself belongs in Pasta-Devs/Marinara-Agents and should proceed in parallel. Owner: @thetopham ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:44:17 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
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-Engine#1971
No description provided.