mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #213] [MERGED] fix(maps): refresh portable lore across host UI #859
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#859
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/213
Author: @thetopham
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/3/2026
Merged by: @thetopham
Base:
staging← Head:agent/fix-world-map-lore-refresh📝 Commits (8)
8e94940fix(maps): notify host of lorebook changes33408dfMerge remote-tracking branch 'origin/agent/address-promotion-review' into agent/fix-world-map-lore-refreshdeba7eafix(maps): release host lore refresh bridge847069dMerge remote-tracking branch 'origin/agent/address-promotion-review' into agent/fix-world-map-lore-refresh9859fa9build(maps): refresh 1.3.0 artifact84f8585fix(maps): refresh lorebooks from library editorsf495657Merge branch 'staging' into agent/fix-world-map-lore-refresh10d756dtest(maps): prove library lore refresh callbacks📊 Changes
11 files changed (+349 additions, -98 deletions)
View changed files
➕
artifacts/hierarchical-maps-1.3.0.zip(+0 -0)📝
catalog/catalog.json(+7 -7)📝
catalog/v2/catalog.json(+7 -7)📝
catalog/v3/catalog.json(+7 -7)📝
packages/hierarchical-maps/client.js(+52 -52)📝
packages/hierarchical-maps/manifest.json(+3 -3)📝
packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapLibrary.tsx(+5 -1)📝
packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapWorkspace.tsx(+4 -2)📝
scripts/build-feature-packages.mjs(+3 -3)📝
tests/hierarchical-maps-lifecycle.regression.ts(+17 -11)📝
tests/spatial-context.e2e.ts(+244 -5)📄 Description
Pull request
Linked issue
Closes #181
Paired host work: Pasta-Devs/Marinara-Engine#4491
This branch is stacked on #211 so World Maps 1.3.0 retains its pending portable-lore safeguards. Merge #211 first, then update this branch from
stagingbefore taking the PR out of draft.Why this change
Portable World Map lore persists and remaps correctly, but World Maps and Marinara Engine use separate React Query clients. After importing separate lorebook copies, the package saw the restored entries while the main Lorebooks library kept its deleted-book cache until a full browser refresh. That stale host state also made linked-lore navigation appear broken.
What changed
Package and security impact
hierarchical-mapsValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAutomated evidence:
node scripts/test-catalog-lanes.mjspassed.node scripts/validate-catalog.mjspassed: 31 packages in each v2/v3 lane.git diff --checkpassed.tests/map-lore-portability.regression.tspassed against the paired Engine worktree.tests/hierarchical-maps-lifecycle.regression.tspassed against the exact 1.3.0 ZIP, including update, offline restart, remove, reinstall, backup, and restore.portable map import refreshes host lorebooks and linked navigation without reloadpassed against an isolated Engine data directory seeded with the exact 1.3.0 ZIP.Manual verification notes
Documentation impact
No user-facing copy or workflow documentation changed.
UI evidence (if applicable)
Automated installed-package Chromium coverage now proves the exact no-refresh reproduction and linked Open path. Human browser verification remains listed above.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.