mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #386] World Maps 1.4.0: additive location write API for Experience packages #194
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#194
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?
Originally created by @kolacheee on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/386
Originally assigned to: @kolacheee on GitHub.
What
The Marinara-Agents half of Marinara-Engine #5144: World Maps gains
POST /api/chats/:chatId/spatial-context/locations— an additive write that appends locations under revision CAS without replacing the map.Until now the only mid-play definition writes were the GM's
[spatial_discover:]directive (one location, GM-initiated) and the editor's full-replace PUT. An Experience that generates its own world (Pixelforge's brief compiler) had no way to register its places as map locations — its World Maps export has been explicitly deferred since 0.4.0.Shape
Request:
{ expectedRevision, locations: [{ id?, parentId?, name, kind?, description? } ×1–50] }. Ids may be caller-supplied (deterministic references, duplicate-checked) or allocatedloc_<id>like discover's; a batch may build its own subtree (parents may reference sibling additions);sortOrdercontinues each parent's sequence. The write delegates to the editor-PUT machinery, inheriting the full guard set — corrupt/shared-world checks, revision CAS (409spatial_definition_stale), whole-definition schema validation, and the repair-snapshot tail. New error codes:spatial_definition_missing(no map yet) andspatial_location_conflict(id taken). Response: the full refreshed spatial context plusaddedLocationIds, so no follow-up GET is needed.Also in this change
The feature-package build now runs on Windows dev machines: tool binaries (esbuild, vite) invoke as JS entrypoints under the current Node instead of
pnpm exec(a.cmdbare spawn cannot start on Windows), NODE_PATH lists the engine workspace module dirs explicitly, and the artifact zip uses the same deterministic store-only writer the Pixelforge build already uses — removing the systemzipdependency. No behavior change for POSIX CI; artifact bytes for other features change only at their next rebuild.