mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1600] [MERGED] build: resolve versioned Motion host modules from the correct dependency #1598
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#1598
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/1600
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:build/motion14-host-shims📝 Commits (5)
e270390chore: track versioned Motion host toolingb323e75build: keep Motion runtime exports and package types on their declared host slot93f8083test: follow versioned host imports in package browser fixtures27c5a58test: include host helper in isolated typecheck fixture356a7d5fix: validate host mappings and resolve hoisted package types📊 Changes
10 files changed (+393 additions, -25 deletions)
View changed files
📝
CONTRIBUTING.md(+8 -1)📝
scripts/build-feature-packages.mjs(+14 -2)📝
scripts/client-host-gates.mjs(+2 -0)📝
scripts/esbuild-host-plugins.mjs(+84 -10)📝
scripts/tests/client-host-gates.regression.mjs(+2 -0)📝
scripts/tests/host-module-shims.regression.mjs(+243 -1)📝
scripts/tests/typecheck-packages-missing-tsc.regression.mjs(+2 -1)📝
scripts/typecheck-packages.mjs(+22 -5)📝
tests/package-engine-boundary.regression.mjs(+8 -0)📝
tests/package-host-fixture.ts(+8 -5)📄 Description
Why this change
Engine Motion 14 coexistence retains the complete Motion 13 namespace at the existing API-1 host slot. Probing the Engine's primary
framer-motiondependency would give a legacy package the wrong exports and types even though its runtime slot still uses 13.What changed
MARINARA_HOST_MODULE_IMPORTSfrom the Engine contract for export inventories, with identity resolution for older contracts. Reject invalid dependency mappings.motion/reacthost slot. Building an import requires a declared capability API 1.377 or newer; an older Engine or missing runtime slot fails clearly. The legacy slot keeps its 1.341 floor.framer-motionsees version-13 declarations;motion/reactsees version 14. A declared mapping that cannot be parsed fails clearly; only a genuinely absent mapping uses legacy identity resolution.Closes #1599. Coordinates Pasta-Devs/Marinara-Engine#8134 / #8078. No package payload, version, manifest, ZIP or catalog is rebuilt by this tooling-only change.
Package and security impact
motion/reactrequires 1.377 and the companion Engine.Validation
npm run checkpasses on the final ten-file change, with existing warnings and zero errors.test-catalog-lanes,validate-package-locales,validate-catalogandcatalog-release-notes.regressionpass.observeTimelineand modernuseScopeMotionin their respective slots.hasTouch: true: the exact keys fire without input/change events. No assertions, skips or timeouts were changed. The repair head passes hosted catalog validation and the complete Linux Long-Term Memory workflow. Attempt 1 passed against Enginee63449e56470044b4a906b6d429a51b42f663167(API 1.376). The unchanged attempt 2 passed after Engine merge against1ffb916dfb32a3400fdca2fb65616d078fa6018e(API 1.377): full browser lifecycle, every LTM regression, and strict checks for the same 142 files. Both actual checkout SHAs are retained in the job logs.git diff --checkpasses.356a7d55ed048966acc76167d156e14f2fa180bc.Review follow-up
The first Dottore review reported three defects. Two were reproduced and repaired:
The boundary-precedence finding was rejected after tracing the emitted manifest: it uses the same validated boundary API as the build gate.
readPackageEngineBoundaryrequires exact API equality, and Hierarchical Maps also validates its fixed floor. A feature override cannot unlock a slot while the installed manifest still declares an older API. Added an explanatory comment and a mismatch-rejection regression; gate precedence is retained. The diagnostic wording note remains non-blocking: both compatibility failures name the unavailable slot and required API floor.Fresh full Dottore review on
356a7d55ed048966acc76167d156e14f2fa180bcis Viable, With Notes: 0 defects, 1 nonblocking note. Both repairs are explicitly confirmed. The stale boundary thread was resolved with the source-linked disposition above, leaving zero open review threads. The new note suggests caching contract parsing; direct reads remain in this compatibility fix.Documentation impact
Updated contributor guidance and the companion Engine's host-module reference. Engine translation work is tracked in Pasta-Devs/Marinara-Engine#8136.
Claim boundary and manual checks
This changes build/typecheck tooling, not installed package data or lifecycle. Existing API-1 package bundles continue to read the same Motion-13 namespace. Engine's companion browser proof uses synthetic old/new package roots in Chromium and WebKit; actual Noodle/Slurp user flows and physical hardware were not rerun.
motion/reactagainst the companion Engine.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.