mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 21:03:32 +07:00
[PR #4279] [MERGED] feat: support shared World Maps artwork #6315
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6315
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-Engine/pull/4279
Author: @thetopham
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @thetopham
Base:
staging← Head:feature/spatial-global-gallery-4278📝 Commits (10+)
c292522feat: resolve shared spatial artworkad360c8docs: explain shared map artworka061a61feat: protect shared map artwork1a609e4feat(maps): add roleplay agent menu shortcut69d18cdMerge remote-tracking branch 'origin/staging' into HEAD8409e2btest: harden shared artwork reference checkscdfe8e1Merge staging and harden Global Gallery referencesd1a39f0Merge latest staging into shared World Maps artwork5c8f158Merge latest staging into shared World Maps artwork2cc343aperf: skip irrelevant gallery reference scans📊 Changes
11 files changed (+726 additions, -90 deletions)
View changed files
📝
docs/agents/hierarchical-maps.md(+71 -22)📝
e2e/core-flows.e2e.ts(+6 -1)📝
package.json(+1 -1)📝
packages/client/src/components/chat/AgentSettingsControls.tsx(+8 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+46 -7)📝
packages/server/src/routes/global-gallery.routes.ts(+29 -5)📝
packages/server/src/services/capability-packages/capability-persistence.service.ts(+68 -41)📝
packages/server/src/services/image/gallery-file-lifecycle.ts(+27 -6)➕
packages/server/src/services/image/global-gallery-capability-references.ts(+155 -0)📝
packages/server/src/services/image/spatial-location-reference.ts(+37 -6)➕
scripts/regressions/spatial-location-reference.regression.ts(+278 -0)📄 Description
Linked issue
Closes #4278
Implements the Engine-owned portions of Pasta-Devs/Marinara-Agents#129, Pasta-Devs/Marinara-Agents#130, Pasta-Devs/Marinara-Agents#133, and Pasta-Devs/Marinara-Agents#137 for companion package PR Pasta-Devs/Marinara-Agents#136.
Why this change
Reusable templates and linked shared worlds need one account-owned location image to work across many chats. Provider-facing spatial references previously accepted only Gallery images owned by the active chat, Global Gallery deletion did not know when saved capability documents or chat drafts still referenced an image, and Roleplay users had no Agent Menus shortcut to installed World Maps controls.
What changed
global-gallery:<image-id>spatial references through guarded Global Gallery storage.409 global_gallery_image_in_usewith document/chat counts while saved maps own an image.Dependency and Gallery lifecycle integration
stagingand included in this branch.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence at pushed head
e115a731acorepack pnpm regression:spatialpassed, including deterministic writer-first and deletion-first Global Gallery race coverage.corepack pnpm regression:gallery-deletepassed the merged shared-file lifecycle regression.corepack pnpm --filter @marinara-engine/server lintpassed.corepack pnpm lintpassed.corepack pnpm localization:checkpassed.git diff --checkpassed.stagingthrough7759b9d45is integrated; the focused regressions and server typecheck passed again after that merge.Local baseline limitations
pnpm checkstops at the knownImpeccable context loader did not return valid JSONboundary; its remaining lanes were run directly above.origin/stagingopen-issues regression has an unrelated pre-existing background-organization expectation mismatch (favorites: []).Manual verification still required before merge
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The English World Maps guide is updated. Translation follow-up is tracked by #4280. No Engine version bump is included.
UI evidence (if applicable)
Screenshots or recordings are still required for the new Roleplay Agent Menus shortcut.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.