mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #384] [MERGED] Pixelforge 0.4.1: instant travel outcomes via capability API 1.12 spatial events #942
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#942
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/384
Author: @kolacheee
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @kolacheee
Base:
staging← Head:feat/pixelforge-0.4.1-spatial-events📝 Commits (3)
53955f4feat(pixelforge): 0.4.1 — consume the capability API 1.12 spatial events1b785cbfix(pixelforge): travel/refresh hardening from the pair-review round3d573c5chore(pixelforge): pin builtAgainst to the engine commit carrying capability API 1.12📊 Changes
11 files changed (+298 additions, -64 deletions)
View changed files
➕
artifacts/pixelforge-0.4.1.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v3/catalog.json(+8 -8)📝
packages/pixelforge/client.js(+89 -17)📝
packages/pixelforge/engine-boundary.json(+5 -2)📝
packages/pixelforge/manifest.json(+4 -4)📝
packages/pixelforge/src/50-spatial.js(+74 -16)📝
packages/pixelforge/src/90-element.js(+14 -0)📝
packages/pixelforge/test-brief.mjs(+87 -0)📝
scripts/build-pixelforge-package.mjs(+1 -1)📄 Description
Linked issue
Closes #383
Why this change
What changed
src/50-spatial.js: newonHostEvent—spatial_transition_committedwith the pending journey's commandId resolves it instantly (honoring the host'sstep_by_step/complete: falsekeep-pending rule) and letsrefresh()drift-follow to the destination's bound zone with an arrival toast;spatial_transition_rejectedclears the journey and toasts immediately, with the engine's error code available in the payload;spatial_context_refreshtriggers a refresh. The stale-count fallback stays for engines without 1.12.src/90-element.js: one always-onmarinara-capability-server-eventwindow listener (bound once, like the pagehide flush), filtering on the injectedpackageIdand the live chat id so chat switches never misroute a stale event.capabilityApistays {1,10} deliberately: the events are a soft seam, the fallback keeps 0.4.1 fully functional on current engines, and declaring 1.12 would refuse installation everywhere until the engine ships it.client.js(166,699 bytes),manifest.json,artifacts/pixelforge-0.4.1.zip, all three catalog lanes.Package and security impact
pixelforge(0.4.0 → 0.4.1)capabilityApi {1,10},engine.min 2.4.3,builtAgainstunchanged at315c4bc78(the events are additive host behavior; the package feature-detects by simply receiving them or not).restartRequired: false, no storage changes.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Performed by the submitting agent (boxes above intentionally left for the human reviewer):
node scripts/build-pixelforge-package.mjs→built pixelforge 0.4.1, client.js 166699 bytes, 9 assets, artifact 176981 bytes;validate-catalog,test-catalog-lanes, 27-case harness,git diff --checkall green.spatial_transition_committedevent addressed topixelforgewith the matching commandId; the pending journey cleared the moment the turn settled (not via stale-count) and the location advanced. Reject path — a deliberately stale map revision produced the synthesizedspatial_transition_rejectedwithcode: "spatial_transition_stale_definition"; the journey cleared and toasted immediately instead of two turns later.Documentation impact
No user-facing behavior text changes; the engine-side seam is documented in Marinara-Engine's
docs/development/optional-agent-packages.md(see #5143's PR).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.