mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #15] [MERGED] Restore Hierarchical Maps file storage compatibility #765
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/15
Author: @thetopham
Created: 7/15/2026
Status: ✅ Merged
Merged: 7/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/hierarchical-maps-recovery-14📝 Commits (1)
30cdf33Restore Hierarchical Maps file storage compatibility📊 Changes
49 files changed (+843 additions, -529 deletions)
View changed files
➕
artifacts/hierarchical-maps-1.0.1.zip(+0 -0)📝
catalog/catalog.json(+12 -12)📝
packages/hierarchical-maps/client.js(+35 -35)📝
packages/hierarchical-maps/manifest.json(+6 -6)📝
packages/hierarchical-maps/server.mjs(+137 -137)📝
scripts/build-feature-packages.mjs(+17 -5)➕
sources/engine/packages/client/src/lib/game-npc-avatar.ts(+33 -0)📝
sources/engine/packages/client/src/stores/game-asset.store.ts(+3 -57)📝
sources/engine/packages/client/src/stores/game-mode.store.ts(+10 -5)📝
sources/engine/packages/client/src/stores/ui.store.ts(+139 -29)📝
sources/engine/packages/server/src/config/runtime-config.ts(+3 -99)➕
sources/engine/packages/server/src/db/file-query.ts(+83 -0)➕
sources/engine/packages/server/src/db/file-schema.ts(+220 -0)📝
sources/engine/packages/server/src/db/schema/achievements.ts(+2 -2)📝
sources/engine/packages/server/src/db/schema/agents.ts(+4 -4)📝
sources/engine/packages/server/src/db/schema/app-settings.ts(+2 -2)📝
sources/engine/packages/server/src/db/schema/assets.ts(+2 -2)📝
sources/engine/packages/server/src/db/schema/characters.ts(+7 -7)📝
sources/engine/packages/server/src/db/schema/chat-presets.ts(+2 -2)📝
sources/engine/packages/server/src/db/schema/chats.ts(+8 -8)...and 29 more files
📄 Description
Linked issue
Closes #14
Paired Engine host change: Pasta-Devs/Marinara-Engine#3644
Why this change
Hierarchical Maps 1.0.0 activates but fails on its first spatial snapshot read because the generated server bundle captured Drizzle-era table definitions and query expressions. Marinara Engine 2.3 uses file-native table metadata, so the package can appear installed while real map routes return 500.
This emergency compatibility release restores the downloadable package without moving its feature implementation back into the Engine. The broader package-owned source and capability API work remains a separate 1.1.0 phase.
What changed
selfCheckthat reads the spatial snapshot table before the Engine marks the package ready.server.mjs,client.js, manifest hashes, the immutable ZIP artifact, and catalog metadata.Package and security impact
hierarchical-maps>=2.3.0 <2.4.0Validation
Automated evidence:
node scripts/validate-catalog.mjs— passed; 29 packages valid (21 agents, 8 features).git diff --check— passed.hierarchical-mapsbuilder — completed and regenerated all declared payloads, hashes, catalog metadata, andartifacts/hierarchical-maps-1.0.1.zip.3515b16c48570e43266732ef5461c52ecc95533f608eee25f71d45c914917010— verified before extraction.ready; empty GET, map PUT, map GET, app restart, and persisted map/snapshot readback all passed against file-native storage.pnpm regression:issues,pnpm regression:prompt, andpnpm checkpassed on Node 24.18.0.Known extraction debt: the legacy Engine
pnpm regression:spatialcommand still imports map source files already removed from Enginestaging, so it exits before assertions. The exact artifact proof above exercises the downloadable package and its storage boundary directly.node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
readyonly after the snapshot read succeeds.Documentation impact
UI evidence (if applicable)
No intentional visual changes. The rebuilt client bundle is included because executable package artifacts are immutable and versioned together.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.